1 2014-05-09 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10 (__fegetenv): Save SSE state in envp->__eip if supported.
11 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12 envp->__eip if supported.
13 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16 __data_offset and __data_selector in environment to 0. Set SSE
18 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
24 2014-05-09 Will Newton <will.newton@linaro.org>
26 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27 and libc_relro_required for ARM.
28 * sysdeps/arm/preconfigure: Regenerate.
30 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
31 Stefan Liebler <stli@linux.vnet.ibm.com>
33 * config.make.in (enable-lock-elision): New Makefile variable.
34 * configure.ac: Likewise.
35 * configure: Regenerate.
36 * sysdeps/s390/configure.ac:
37 Add check for gcc transactions support.
38 * sysdeps/s390/configure: Regenerate.
39 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
40 Build elision files if enabled.
41 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42 Add lock elision support for s390.
43 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
53 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
55 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
57 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
58 (__lll_timedlock_elision, __lll_lock_elision)
59 (__lll_unlock_elision, __lll_trylock_elision)
60 (lll_timedlock_elision, lll_lock_elision)
61 (lll_unlock_elision, lll_trylock_elision): Add.
62 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
63 (pthread_mutex_t): Add lock elision support for s390.
65 2014-05-09 Will Newton <will.newton@linaro.org>
67 * sysdeps/arm/armv7/strcmp.S: New file.
68 * NEWS: Mention addition of ARMv7 optimized strcmp.
70 2014-05-08 Roland McGrath <roland@hack.frob.com>
72 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
73 look for %.ac rather than %.in.
75 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
76 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
77 * sysdeps/mach/hurd/configure: Regenerated.
78 * sysdeps/unix/sysv/linux/configure: Regenerated.
80 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
82 2014-05-07 Steve Ellcey <sellcey@mips.com>
85 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
89 2014-05-07 Andreas Schwab <schwab@suse.de>
91 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
92 when skipping over non-matching result from nscd.
94 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
97 * nptl/sockperf.c (client): Check socket return value.
100 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
103 2014-05-06 Roland McGrath <roland@hack.frob.com>
105 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
106 * sysdeps/arm/unwind.h: ... here.
108 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
111 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
114 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
116 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
117 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
118 multiarch strncpy for PPC64.
119 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
120 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
122 multiarch optimizations.
123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
124 (__libc_ifunc_impl_list): Likewise.
125 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
126 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
127 multiarch stpncpy for PPC64.
128 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
129 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
131 2014-05-06 Andreas Schwab <schwab@suse.de>
134 * gmon/mcount.c (_MCOUNT_DECL): Use
135 atomic_compare_and_exchange_bool_acq instead of
136 catomic_compare_and_exchange_bool_acq.
138 2014-05-05 Roland McGrath <roland@hack.frob.com>
140 * elf/Makefile (others, install-bin): Remove pldd.
141 (pldd-modules): Variable removed.
142 ($(objpfx)pldd): Target removed.
143 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
144 (others, install-bin): Append pldd here.
145 ($(objpfx)pldd): New target.
147 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
148 to 0, so the first #if test emitted later doesn't see it undefined.
149 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
150 * sysdeps/gnu/errlist.c: Regenerated.
152 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
155 [libc_hidden_builtin_def]: Define to empty value.
156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
157 [libc_hidden_builtin_def]: Likewise.
158 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
159 [libc_hidden_builtin_def]: Likewise.
160 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
161 [libc_hidden_builtin_def]: Likewise.
162 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
163 __redirect_memcpy and define ifunc as default hidden symbol.
164 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
165 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
167 2014-05-04 Adam Conrad <adconrad@0c3.net>
169 * locale/iso-4217.def: Reintroduce XDR currency.
171 2014-05-04 Allan McRae <allan@archlinux.org>
173 * po/eo.po: Update Esperanto translation from translation project.
175 2014-05-02 Carlos O'Donell <carlos@redhat.com>
177 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
178 and FEATURE_INDEX_MAX to 1.
179 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
181 2014-05-01 Steve Ellcey <sellcey@mips.com>
183 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
184 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
185 * iconvdata/big5.c (ONE_DIRECTION): Define.
186 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
187 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
188 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
189 * iconvdata/cp932.c (ONE_DIRECTION): Define.
190 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
191 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
192 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
193 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
194 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
195 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
196 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
197 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
198 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
199 * iconvdata/gbk.c (ONE_DIRECTION): Define.
200 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
201 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
202 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
203 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
204 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
205 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
206 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
207 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
208 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
209 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
210 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
211 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
212 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
213 * iconvdata/iso646.c (ONE_DIRECTION): Define.
214 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
215 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
216 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
217 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
218 * iconvdata/johab.c (ONE_DIRECTION): Define.
219 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
220 * iconvdata/sjis.c (ONE_DIRECTION): Define.
221 * iconvdata/t.61.c (ONE_DIRECTION): Define.
222 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
223 * iconvdata/tscii.c (ONE_DIRECTION): Define.
224 * iconvdata/uhc.c (ONE_DIRECTION): Define.
225 * iconvdata/unicode.c (ONE_DIRECTION): Define.
226 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
227 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
228 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
230 2014-05-01 Roland McGrath <roland@hack.frob.com>
232 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
233 (_IO_JUMPS_OFFSET): Define to 0.
235 * nptl/sysdeps/pthread/bits/libc-lock.h
236 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
237 (__libc_lock_define_initialized_recursive): Always define using
238 initializer. Modern compilers treat uninitialized (implicit zero) and
239 explicit zero initializers the same (i.e. put the datum in bss).
241 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
243 * nscd/nscd-client.h: Include <string.h>.
245 2014-05-01 David S. Miller <davem@davemloft.net>
248 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
249 multiple zero bytes exist at the end of a string.
250 Reported by Aurelien Jarno <aurelien@aurel32.net>
252 * string/test-strcmp.c (check): Add explicit test for situations where
253 there are multiple zero bytes after the first.
255 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
258 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
259 when compiling wprintf.
260 * stdio-common/tstdiomisc.c (t3): New function.
263 2014-05-01 Steve Ellcey <sellcey@mips.com>
265 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
266 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
267 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
268 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
270 2014-05-01 Steve Ellcey <sellcey@mips.com>
272 * stdlib/longlong.h: Updated from GCC.
274 2014-05-01 Will Newton <will.newton@linaro.org>
275 Bernard Ogden <bernie.ogden@linaro.org>
277 * NEWS: Update fixed bug list.
280 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
282 2014-04-30 David S. Miller <davem@davemloft.net>
284 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
285 (libc_feholdexcept_setround_sparc_ctx): New function.
286 (libc_fesetenv_sparc_ctx): Likewise.
287 (libc_feupdateenv_sparc_ctx): Likewise.
288 (libc_feholdsetround_sparc_ctx): Likewise.
289 (libc_feholdexcept_setround_ctx): Define.
290 (libc_feholdexcept_setroundf_ctx): Likewise.
291 (libc_feholdexcept_setroundl_ctx): Likewise.
292 (libc_fesetenv_ctx): Likewise.
293 (libc_fesetenvf_ctx): Likewise.
294 (libc_fesetenvl_ctx): Likewise.
295 (libc_feupdateenv_ctx): Likewise.
296 (libc_feupdateenvf_ctx): Likewise.
297 (libc_feupdateenvl_ctx): Likewise.
298 (libc_feresetround_ctx): Likewise.
299 (libc_feresetroundf_ctx): Likewise.
300 (libc_feresetroundl_ctx): Likewise.
301 (libc_feholdsetround_ctx): Likewise.
302 (libc_feholdsetroundf_ctx): Likewise.
303 (libc_feholdsetroundl_ctx): Likewise.
305 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
306 with __USE_GNU instead of XOPEN cpp guards.
308 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
312 with XOPEN cpp guards.
314 2014-04-30 Julian Brown <julian@codesourcery.com>
317 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
320 2014-04-30 Joseph Myers <joseph@codesourcery.com>
323 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
325 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
326 * sysdeps/unix/sysv/linux/configure: Regenerated.
327 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
328 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
329 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
330 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
331 * README: Update reference to required Linux kernel version.
332 * manual/install.texi (Linux): Update reference to required Linux
333 kernel headers version.
334 * INSTALL: Regenerated.
336 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
338 [POSIX] (limits.h): Likewise.
339 [POSIX] (math.h): Likewise.
340 [POSIX] (sys/wait.h): Likewise.
341 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
343 [POSIX] (stddef.h): Do not allow header inclusion.
345 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
347 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
349 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
351 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
352 Return immediately after lll_futex_wake.
354 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
357 * nscd/nscd-client.h (datahead_init_common): Initialize entire
359 (datahead_init_pos): Call datahead_init_common early.
360 (datahead_init_neg): Likewise.
362 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
363 datahead_init_neg): New functions.
364 * nscd/aicache.c (addhstaiX): Use them.
365 * nscd/grpcache.c (cache_addgr): Likewise.
366 * nscd/hstcache.c (cache_addhst): Likewise.
367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
368 * nscd/netgroupcache.c (do_notfound): Likewise.
369 (addgetnetgrentX): Likewise.
370 (addinnetgrX): Likewise.
371 * nscd/pwdcache.c (cache_addpw): Likewise.
372 * nscd/servicescache.c (cache_addserv): Likewise.
374 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
375 Atsushi Onoe <atsushi@onoe.org>
380 * resolv/res_query.c (__libc_res_nsearch): Return if at least
381 one response is valid.
382 * resolv/res_send.c (send_dg): Check for validity of other
383 response if the current response is a referral.
385 2014-04-29 Steve Ellcey <sellcey@mips.com>
387 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
389 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
392 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
393 Always divide by positive zero when computing -Inf result.
394 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
395 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
397 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
400 FPSCR if value do not change.
401 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
402 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
403 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
404 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
405 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
406 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
409 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
411 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
412 * sysdeps/unix/sysv/linux/hppa: Move directory from
413 ports/systeps/unix/sysv/linux/hppa.
414 * README: Update listing for hppa-*-linux-gnu.
416 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
419 * manual/stdio.texi (Hook functions): Fix types of stream hook
422 * socket/sys/socket.h: Fix typo in comment.
424 2014-04-28 Wilco <wdijkstr@arm.com>
426 * sysdeps/arm/fenv_private.h: New file.
427 * sysdeps/arm/math_private.h: New file.
428 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
430 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
432 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
434 (La_x86_64_retval): Likewise.
436 2014-04-24 Ian Bolton <ian.bolton@arm.com>
438 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
439 fpsr if value didn't change.
440 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
441 to fpcr if value didn't change.
442 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
443 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
444 fpsr or fpcr if value didn't change.
445 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
446 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
447 fpcr if value didn't change.
448 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
449 to fpsr if value didn't change.
451 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
453 * nptl/tst-sem3.c: Use test-skeleton.c
454 (main): Rename to do_test. Use return instead of
456 * nptl/tst-sem4.c: Use test-skeleton.c
457 (main): Rename to do_test.
459 2014-04-22 David S. Miller <davem@davemloft.net>
461 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
462 (struct sigaction): New struct member __glibc_reserved0, change
463 type of sa_flags to int.
465 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
467 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
468 (COUNT_LEADING_ZEROS_0): Define for AArch64.
470 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
472 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
473 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
475 2014-04-22 Will Newton <will.newton@linaro.org>
476 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
478 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
479 (__longjmp): Add longjmp and longjmp_target SystemTap
481 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
482 (__sigsetjmp): Add setjmp SystemTap probe.
484 2014-04-17 Carlos O'Donell <carlos@redhat.com>
486 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
489 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
493 * sysdeps/powerpc/fpu/fenv_private.h
494 (libc_feholdexcept_setroundl_ctx): Define to
495 libc_feholdexcept_setround_ppc_ctx.
496 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
497 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
498 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
499 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
501 2014-04-17 Ian Bolton <ian.bolton@arm.com>
503 * sysdeps/aarch64/math-tests.h: New file.
505 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
507 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
510 Check and set bit_AVX2_Usable.
511 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
513 (bit_AVX2): Likewise.
514 (index_AVX2_Usable): Likewise.
515 (CPUID_AVX2): Likewise.
516 (HAS_AVX2): Likewise.
518 2014-04-17 Will Newton <will.newton@linaro.org>
520 * manual/setjmp.texi (System V contexts): Add note that
521 calling setcontext on a context created by a call to a
522 signal handler is undefined. Update text to note that
523 setcontext from a signal handler is possible but not
527 * stdlib/tst-setcontext.c: Include signal.h.
528 (main): Check that the signal stack before and
529 after swapcontext is the same.
531 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
532 Re-implement to restore registers in user code and avoid
533 rt_sigreturn system call.
535 2014-04-17 Wilco <wdijkstr@arm.com>
537 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
538 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
539 * math/test-fenv.c: Skip exception trap tests on targets which only
540 support non-stop mode.
542 2014-04-17 Ian Bolton <ian.bolton@arm.com>
543 Wilco Dijkstra <wilco.dijkstra@arm.com>
545 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
546 (libc_feholdsetround_aarch64_ctx)
547 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
548 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
549 (libc_feresetround_ctx, libc_feresetroundf_ctx)
550 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
551 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
552 (libc_feresetround_noexl_ctx): Define.
554 2014-04-16 Richard Henderson <rth@redhat.com>
556 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
558 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
561 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
562 const from the non-libc, non-ldso copy.
564 * sysdeps/alpha/libm-test-ulps: Regenerate.
566 2014-04-16 Ian Bolton <ian.bolton@arm.com>
567 Wilco Dijkstra <wilco.dijkstra@arm.com>
569 * sysdeps/aarch64/fpu/math_private.h: New file.
571 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
573 * sysdeps/aarch64/libm-test-ulps: Regenerate.
575 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
577 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
578 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
580 Intel MPX bound registers before _dl_profile_fixup.
581 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
582 registers after _dl_profile_fixup. Save and restore bound
583 registers bnd0/bnd1 when calling _dl_call_pltexit.
584 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
585 (LR_BND_OFFSET): Likewise.
586 (LRV_BND0_OFFSET): Likewise.
587 (LRV_BND1_OFFSET): Likewise.
589 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
591 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
593 * sysdeps/mach/hurd/i386/tls.h: ... here.
594 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
595 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
598 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
600 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
602 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
604 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
606 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
609 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
610 * sysdeps/s390/configure: Regenerate.
613 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
614 Set round-to-nearest internally to reduce error accumulation.
616 2014-04-16 Alan Modra <amodra@gmail.com>
620 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
621 * math/libm-test.inc (frexp_test_data): Add tests.
622 * NEWS: Update fixed bug list.
624 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
626 * benchtests/Makefile: Depend on libraries in build directory.
627 (bench-math): Separate out math tests.
628 (bench-pthread): Separate out pthread tests.
629 (bench): Include math and pthread tests.
631 2014-04-14 Carlos O'Donell <carlos@redhat.com>
634 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
635 _dl_debug_initialize.
637 * configure.ac: Remove SELinux header check.
638 * configure: Regenerate.
639 * nscd/selinux.c (perms): Array of const char* to permission names.
640 (nscd_request_avc_has_perm): Call security_deny_unknown to find
641 default policy. Call string_to_security_class and string_to_av_perm to
642 translate strings. Enforce default policy and call avs_has_perm with
643 results of translated strings.
645 2014-04-13 David S. Miller <davem@davemloft.net>
647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
649 2014-04-12 Allan McRae <allan@archlinux.org>
652 * manual/string.texi (Collation Functions): Fix qsort argument
654 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
656 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
658 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
659 Make the test a no-op if there are no exceptions defined.
661 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
663 * elf/Makefile (tests): make tst-dlopen-aout conditional on
664 enable-hardcoded-path-in-tests
666 2014-04-11 Will Newton <will.newton@linaro.org>
668 * benchtests/Makefile (extra-objs): Add json-lib.o.
669 (bench-func): Tidy up JSON output.
670 * benchtests/bench-skeleton.c: Include json-lib.h.
671 (main): Use JSON library functions to do output of
673 * benchtests/bench-timing-type.c (main): Output the
674 timing type simply, leaving formatting to the user.
675 * benchtests/json-lib.c: New file.
676 * benchtests/json-lib.h: Likewise.
678 2014-04-11 Torvald Riegel <triegel@redhat.com>
681 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
682 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
683 memory barriers. Add comments.
684 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
685 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
686 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
687 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
688 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
689 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
691 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
693 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
694 * sysdeps/s390/s390-64/configure.ac: ... this ...
695 * sysdeps/s390/configure.ac: ... to here.
696 * sysdeps/s390/s390-32/configure: Delete file.
697 * sysdeps/s390/s390-64/configure: Delete file.
698 * sysdeps/s390/configure: Regenerate.
700 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
702 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
704 2014-04-11 Will Newton <will.newton@linaro.org>
706 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
707 to zero if it is not defined elsewhere. (mtrim): Test
708 the value of MALLOC_DEBUG with #if rather than #ifdef.
710 2014-04-10 Torvald Riegel <triegel@redhat.com>
712 * benchtests/pthread_once-inputs: New file.
713 * benchtests/pthread_once-source.c: New file.
714 * benchtests/README: Update documentation.
716 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
717 H.J. Lu <hongjiu.lu@intel.com>
719 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
720 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
721 * sysdeps/x86_64/configure: Regenerated.
722 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
724 (REGISTER_SAVE_RAX): Likewise.
725 (REGISTER_SAVE_RCX): Likewise.
726 (REGISTER_SAVE_RDX): Likewise.
727 (REGISTER_SAVE_RSI): Likewise.
728 (REGISTER_SAVE_RDI): Likewise.
729 (REGISTER_SAVE_R8): Likewise.
730 (REGISTER_SAVE_R9): Likewise.
731 (REGISTER_SAVE_BND0): Likewise.
732 (REGISTER_SAVE_BND1): Likewise.
733 (REGISTER_SAVE_BND2): Likewise.
734 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
735 bound registers when calling _dl_fixup.
737 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
740 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
742 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
743 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
744 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
745 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
746 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
747 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
748 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
750 2014-04-09 Peter Brett <peter@peter-b.co.uk>
753 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
754 pathconf(_PC_NAME_MAX).
756 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
758 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
760 (__PTHREAD_SPINS): Move definition to ...
761 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
762 (__PTHREAD_SPINS): ... here.
763 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
764 (__PTHREAD_SPIN): Likewise.
765 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
766 (__PTHREAD_SPIN): Likewise.
767 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
768 (__PTHREAD_SPIN): Likewise.
769 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
770 (__PTHREAD_SPIN): Likewise.
771 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
772 (__PTHREAD_SPIN): Likewise.
773 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
774 (__PTHREAD_SPIN): Likewise.
775 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
776 (__PTHREAD_SPIN): Likewise.
777 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
778 (__PTHREAD_SPIN): Likewise.
779 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
780 (__PTHREAD_SPIN): Likewise.
781 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
782 (__PTHREAD_SPIN): Likewise.
783 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
784 (__PTHREAD_SPIN): Likewise.
785 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
786 (__PTHREAD_SPIN): Likewise.
788 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
789 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
790 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
791 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
793 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
794 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
795 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
796 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
798 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
799 strlen symbol for non multi-arch builds.
800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
801 missing hidden_def and weak_alias.
803 2014-04-08 Carlos O'Donell <carlos@redhat.com>
805 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
807 2014-04-07 Will Newton <will.newton@linaro.org>
809 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
810 and contents. [!_LIBC] Remove #ifndef and contents.
811 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
812 * string/memccpy.c (__memccpy): Use ANSI prototype.
813 * string/memfrob.c (memfrob): Likewise.
814 * string/strcoll.c (STRCOLL): Likewise.
815 * string/strlen.c (strlen): Likewise.
816 * string/strtok.c (STRTOK): Likewise.
817 * string/strcat.c: Remove unused #include of memcopy.h.
818 (strcat): Use ANSI prototype.
819 * string/strchr.c: Remove unused #include of memcopy.h.
820 (strchr): Use ANSI prototype.
821 * string/strcmp.c: Remove unused #include of memcopy.h.
822 (strcmp): Use ANSI prototype.
823 * string/strcpy.c: Remove unused #include of memcopy.h.
824 (strcpy): Use ANSI prototype.
826 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
829 * config.make.in (config-extra-cppflags): Set it from
831 * configure.ac (libc_extra_cflags): Make it accumulate over
833 (libc_extra_cppflags): New flag.
834 * configure. Regenerate.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
836 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
837 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
841 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
842 result for FE_DOWNWARD rounding mode.
843 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
847 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
849 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
850 in function argument name.
852 2014-04-03 David Svoboda <svoboda@cert.org>
855 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
858 2014-04-03 Roland McGrath <roland@hack.frob.com>
860 * elf/dl-unmap-segments.h: New file.
861 * sysdeps/generic/ldsodefs.h
862 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
863 * elf/dl-close.c: Include <dl-unmap-segments.h>.
864 * elf/dl-fptr.c: Likewise.
865 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
866 * sysdeps/aarch64/tlsdesc.c: Likewise.
867 * sysdeps/arm/tlsdesc.c: Likewise.
868 * sysdeps/i386/tlsdesc.c: Likewise.
869 * sysdeps/tile/dl-runtime.c: Likewise.
870 * sysdeps/x86_64/tlsdesc.c: Likewise.
871 * elf/dl-load.h: New file.
872 * elf/dl-load.c: Include it.
873 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
874 Macros moved to dl-load.h.
875 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
876 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
877 Use _dl_unmap_segments in place of __munmap.
878 Break out segment-mapping loop into ...
879 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
881 2014-04-03 Will Newton <will.newton@linaro.org>
883 * elf/dl-lookup.c (do_lookup_x): Remove comment
884 referring to nested function and move variable
885 declarations down to before first use.
887 2014-04-02 Joseph Myers <joseph@codesourcery.com>
891 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
893 * math/s_catanf.c (__catanf): Likewise.
894 * math/s_catanh.c (__catanh): Likewise.
895 * math/s_catanhf.c (__catanhf): Likewise.
896 * math/s_catanhl.c (__catanhl): Likewise.
897 * math/s_catanl.c (__catanl): Likewise.
898 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
899 by positive zero when computing -Inf result.
900 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
901 (catanh_test): Likewise.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
907 instead of using underflowing value in computing result.
908 * math/s_clog10.c (__clog10): Likewise.
909 * math/s_clog10f.c (__clog10f): Likewise.
910 * math/s_clog10l.c (__clog10l): Likewise.
911 * math/s_clogf.c (__clogf): Likewise.
912 * math/s_clogl.c (__clogl): Likewise.
913 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
914 (clog10_test): Likewise.
915 * sysdeps/i386/fpu/libm-test-ulps: Update.
916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
918 2014-04-02 Alan Modra <amodra@gmail.com>
921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
922 output when value is near a power of two. Use int64_t for lx and
923 remove casts. Use decimal rather than hex exponent constants.
924 Don't use long double multiplication when double will suffice.
925 * math/libm-test.inc (nextafter_test_data): Add tests.
926 * NEWS: Add 16739 and 16786 to bug list.
928 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
930 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
932 2014-04-01 Will Newton <will.newton@linaro.org>
934 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
935 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
937 2014-04-01 Florian Weimer <fweimer@redhat.com>
940 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
941 * nptl/tst-setuid2.c: New file.
942 * nptl/Makefile (xtests): Add tst-setuid2.
944 2014-04-01 Alan Modra <amodra@gmail.com>
947 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
949 2014-03-31 Joseph Myers <joseph@codesourcery.com>
953 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
954 set errno as appropriate.
955 * math/w_scalbf.c (__scalbf): Likewise.
956 * math/w_scalbl.c (__scalbl): Likewise.
957 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
958 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
959 * math/libm-test.inc (scalb_test_data): Add errno expectations.
963 * math/w_atan2.c: Include <errno.h>.
964 (__atan2): Set errno for result underflowing to zero.
965 * math/w_atan2f.c: Include <errno.h>.
966 (__atan2f): Set errno for result underflowing to zero.
967 * math/w_atan2l.c: Include <errno.h>.
968 (__atan2l): Set errno for result underflowing to zero.
969 * math/auto-libm-test-in: Don't allow missing errno for some atan2
971 * math/auto-libm-test-out: Regenerated.
973 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
976 Encode instruction correctly in little endian.
977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
979 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
983 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
986 2014-03-31 Joseph Myers <joseph@codesourcery.com>
989 * sysdeps/unix/sysv/linux/kernel-features.h
990 [__sparc__ && !__arch64__ && !__sparc_v9__]
991 (__ASSUME_SET_ROBUST_LIST): Do not define.
992 [__sparc__ && !__arch64__ && !__sparc_v9__]
993 (__ASSUME_FUTEX_LOCK_PI): Likewise.
994 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
997 (__ASSUME_FUTEX_LOCK_PI): Undefine.
998 (__ASSUME_REQUEUE_PI): Likewise.
999 (__ASSUME_SET_ROBUST_LIST): Likewise.
1000 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1001 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1003 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1004 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1006 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1008 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1010 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1011 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1013 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1014 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1019 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1020 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1022 2014-03-31 Will Newton <will.newton@linaro.org>
1024 * benchtests/Makefile (bench): Add ffs and ffsll to list
1026 * benchtests/ffs-inputs: New file.
1027 * benchtests/ffsll-inputs: Likewise.
1029 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1032 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1033 too large before casting to int.
1034 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1035 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1036 * math/libm-test.inc (scalb_test_data): Add more tests.
1038 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1040 * benchtests/Makefile (DETAILED_OPT): New make option.
1041 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1043 * benchtests/bench-skeleton.c: Include stdbool.h.
1044 (main): Store and print timings per input.
1045 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1046 member to each argument value.
1047 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1048 (_print_arg_data): Initialize per-input timing to 0.
1050 * benchtests/Makefile (timing-type): New binary.
1051 (bench-clean): Also remove bench-timing-type.
1052 (bench): New target for timing-type.
1053 (bench-func): Print output in JSON format.
1054 * benchtests/bench-skeleton.c (main): Print output in JSON
1056 * benchtests/bench-timing-type.c: New file.
1057 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1058 (TIMING_PRINT_STATS): Remove.
1059 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1062 * benchtests/bench-modf.c: Remove.
1063 * benchtests/modf-inputs: New inputs file.
1065 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1068 * math/s_clog10.c (M_PI_LOG10E): New macro.
1069 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1070 imaginary parts are 0.
1071 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1072 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1073 imaginary parts are 0.
1074 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1075 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1076 imaginary parts are 0.
1077 * math/libm-test.inc (clog10_test_data): Update expected results
1078 for when real and imaginary parts are 0.
1080 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1082 * elf/dl-load.c: Finish conversion of __builtin_expect into
1085 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1088 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1089 1+x for argument with exponent below -67.
1090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1092 * math/auto-libm-test-in: Add more tests of exp.
1093 * math/auto-libm-test-out: Regenerated.
1095 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1098 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1099 (nscd_getnetgrent): Use it.
1102 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1105 2014-03-27 Andi Kleen <ak@linux.intel.com>
1107 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1108 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1109 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1110 (lll_robust_unlock): Remove out of line section. Use cfi
1112 (LLL_STUB_UNWIND_INFO*): Remove.
1113 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1114 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1115 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1116 (lll_robust_unlock): Remove out of line section. Use cfi
1118 (LLL_STUB_UNWIND_INFO*): Remove.
1120 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1123 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1126 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1128 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1130 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1133 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1135 * math/test-fenv-preserve.c: New file.
1136 * math/Makefile (tests): Add test-fenv-preserve.
1138 2014-03-26 Will Newton <will.newton@linaro.org>
1140 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1142 2014-03-25 Roland McGrath <roland@hack.frob.com>
1144 * scripts/versionlist.awk: Partition the version sets and emit all
1145 GLIBC_* (sorted) before all others (sorted).
1147 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1149 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1150 GLIBC_2.2.5 version.
1152 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1154 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1157 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1162 2014-03-25 Andreas Schwab <schwab@suse.de>
1164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1165 label to be used after in6ailist is initialized.
1167 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1169 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1170 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1172 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1176 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1178 (fp_formats): Update initializers.
1179 (init_fp_formats): Initialize new field.
1180 (output_for_one_input_case): Allow underflow for results up to
1182 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1183 * math/auto-libm-test-in: Don't mark some underflows from asin and
1185 * math/auto-libm-test-out: Regenerated.
1186 * sysdeps/i386/fpu/libm-test-ulps: Update.
1187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1189 2014-03-25 Andreas Schwab <schwab@suse.de>
1191 * libio/Makefile (tst-ftell-partial-wide-ENV)
1192 (tst-ftell-active-handler-ENV): Define.
1194 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1196 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1198 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1200 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1202 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1204 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1205 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1206 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1208 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1211 * elf/dl-load.c (open_verify): Add mode parameter.
1212 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1213 (open_path): Change from boolean 'secure' to complete flag 'mode'
1214 (_dl_map_object): Adjust.
1215 * elf/Makefile (tests): Add tst-dlopen-aout.
1216 * elf/tst-dlopen-aout.c: New test.
1218 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1221 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1222 (struct stat): Rename member pad0 to __glibc_reserved0.
1225 * sysdeps/s390/s390-32/bits/wordsize.h
1226 (__WORDSIZE32_SIZE_ULONG): New define.
1227 * sysdeps/s390/s390-64/bits/wordsize.h
1228 (__WORDSIZE32_SIZE_ULONG): Likewise.
1229 * sysdeps/generic/stdint.h (SIZE_MAX):
1230 Define as UL if __WORDSIZE32_SIZE_ULONG.
1233 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1234 (__glibc_reserved0): New variable.
1235 (sa_flags): Change type to int.
1237 * posix/Makefile (before-compile): Use += before-compile instead
1240 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1241 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1243 2014-03-20 Andreas Schwab <schwab@suse.de>
1246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1247 non-matching result from nscd.
1249 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1251 * scripts/bench.py: Moved to ...
1252 * benchtests/scripts/bench.py: ... here.
1253 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1255 2014-03-24 Andreas Schwab <schwab@suse.de>
1258 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1259 alloca_account and account alloca use for struct in6ailist.
1261 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1264 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1265 rounding mode to recompute results that overflow to infinity or
1267 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1269 * math/auto-libm-test-out: Regenerated.
1270 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1271 (ccosh_test): Likewise.
1272 (csin_test_data): Use plus_oflow.
1273 (csin_test): Use ALL_RM_TEST.
1274 (csinh_test_data): Use plus_oflow.
1275 (csinh_test): Use ALL_RM_TEST.
1276 * sysdeps/i386/fpu/libm-test-ulps: Update.
1277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1281 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1282 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1283 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1286 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1288 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1289 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1290 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1293 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1294 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1296 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1297 * sysdeps/i386/fpu/libm-test-ulps: Update.
1298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1300 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1302 * scripts/bench.pl: Remove file.
1303 * scripts/bench.py: New benchmark script.
1304 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1305 * benchtests/README: Mention python dependency.
1306 * scripts/pylintrc: New file.
1307 * scripts/pylint: New file.
1309 * bits/mathdef.h: Use #ifdef instead of #if.
1310 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1311 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1312 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1313 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1314 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1315 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1317 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1320 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1322 and strpbrk-ppc64 objects.
1323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1324 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1325 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1326 multiarch strpbrk for POWER7.
1327 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1328 multiarch strpbrk for PPC64.
1329 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1331 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1334 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1336 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1337 (atan_test): Likewise.
1338 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1339 (atanh_test): Use ALL_RM_TEST.
1340 (atan2_test_data): Likewise.
1341 (cabs_test): Likewise.
1342 (cacosh_test): Likewise.
1343 (carg_test): Likewise.
1344 (casin_test): Likewise.
1345 (casinh_test): Likewise.
1346 (cbrt_test): Likewise.
1347 (csqrt_test): Likewise.
1348 (erf_test): Likewise.
1349 (erfc_test): Likewise.
1350 (pow10_test): Likewise.
1351 (exp2_test): Likewise.
1352 (hypot_test): Likewise.
1353 (j0_test): Likewise.
1354 (j1_test): Likewise.
1355 (lgamma_test): Likewise.
1356 (gamma_test): Likewise.
1357 (sincos_test): Likewise.
1358 (tanh_test): Likewise.
1359 (y0_test): Likewise.
1360 (y1_test): Likewise.
1361 * sysdeps/i386/fpu/libm-test-ulps: Update.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1364 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1368 and strcspn-ppc64 objects.
1369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1370 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1371 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1372 multiarch strcspn for POWER7.
1373 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1374 multiarch strcspn for PPC64.
1375 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1377 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1380 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1382 * math/gen-libm-test.pl (generate_testfile): Expect only function
1383 name as argument to AUTO_TESTS_* and pass results for all rounding
1384 modes to parse_args.
1385 (parse_auto_input): Separate inputs of automatic tests from
1386 outputs before storing in %auto_tests.
1387 * math/libm-test.inc (acos_test_data): Update call to
1389 (acos_test): Use ALL_RM_TEST.
1390 (acos_tonearest_test_data): Remove.
1391 (acos_test_tonearest): Likewise.
1392 (acos_towardzero_test_data): Likewise.
1393 (acos_test_towardzero): Likewise.
1394 (acos_downward_test_data): Likewise.
1395 (acos_test_downward): Likewise.
1396 (acos_upward_test_data): Likewise.
1397 (acos_test_upward): Likewise.
1398 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1399 (asin_test_data): Likewise.
1400 (asin_test): Use ALL_RM_TEST.
1401 (asin_tonearest_test_data): Remove.
1402 (asin_test_tonearest): Likewise.
1403 (asin_towardzero_test_data): Likewise.
1404 (asin_test_towardzero): Likewise.
1405 (asin_downward_test_data): Likewise.
1406 (asin_test_downward): Likewise.
1407 (asin_upward_test_data): Likewise.
1408 (asin_test_upward): Likewise.
1409 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1410 (atan_test_data): Likewise.
1411 (atanh_test_data): Likewise.
1412 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1413 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1414 (carg_test_data): Likewise.
1415 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1416 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1417 (ccosh_test_data): Likewise.
1418 (cexp_test_data): Likewise.
1419 (clog_test_data): Likewise.
1420 (clog10_test_data): Likewise.
1421 (cos_test_data): Update call to AUTO_TESTS_f_f.
1422 (cos_test): Use ALL_RM_TEST.
1423 (cos_tonearest_test_data): Remove.
1424 (cos_test_tonearest): Likewise.
1425 (cos_towardzero_test_data): Likewise.
1426 (cos_test_towardzero): Likewise.
1427 (cos_downward_test_data): Likewise.
1428 (cos_test_downward): Likewise.
1429 (cos_upward_test_data): Likewise.
1430 (cos_test_upward): Likewise.
1431 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1432 (cosh_test): Use ALL_RM_TEST.
1433 (cosh_tonearest_test_data): Remove.
1434 (cosh_test_tonearest): Likewise.
1435 (cosh_towardzero_test_data): Likewise.
1436 (cosh_test_towardzero): Likewise.
1437 (cosh_downward_test_data): Likewise.
1438 (cosh_test_downward): Likewise.
1439 (cosh_upward_test_data): Likewise.
1440 (cosh_test_upward): Likewise.
1441 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1442 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1443 (ctan_test_data): Likewise.
1444 (ctan_test): Use ALL_RM_TEST.
1445 (ctan_tonearest_test_data): Remove.
1446 (ctan_test_tonearest): Likewise.
1447 (ctan_towardzero_test_data): Likewise.
1448 (ctan_test_towardzero): Likewise.
1449 (ctan_downward_test_data): Likewise.
1450 (ctan_test_downward): Likewise.
1451 (ctan_upward_test_data): Likewise.
1452 (ctan_test_upward): Likewise.
1453 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1454 (ctanh_test): Use ALL_RM_TEST.
1455 (ctanh_tonearest_test_data): Remove.
1456 (ctanh_test_tonearest): Likewise.
1457 (ctanh_towardzero_test_data): Likewise.
1458 (ctanh_test_towardzero): Likewise.
1459 (ctanh_downward_test_data): Likewise.
1460 (ctanh_test_downward): Likewise.
1461 (ctanh_upward_test_data): Likewise.
1462 (ctanh_test_upward): Likewise.
1463 (erf_test_data): Update call to AUTO_TESTS_f_f.
1464 (erfc_test_data): Likewise.
1465 (exp_test_data): Likewise.
1466 (exp_test): Use ALL_RM_TEST.
1467 (exp_tonearest_test_data): Remove.
1468 (exp_test_tonearest): Likewise.
1469 (exp_towardzero_test_data): Likewise.
1470 (exp_test_towardzero): Likewise.
1471 (exp_downward_test_data): Likewise.
1472 (exp_test_downward): Likewise.
1473 (exp_upward_test_data): Likewise.
1474 (exp_test_upward): Likewise.
1475 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1476 (exp10_test): Use ALL_RM_TEST.
1477 (exp10_tonearest_test_data): Remove.
1478 (exp10_test_tonearest): Likewise.
1479 (exp10_towardzero_test_data): Likewise.
1480 (exp10_test_towardzero): Likewise.
1481 (exp10_downward_test_data): Likewise.
1482 (exp10_test_downward): Likewise.
1483 (exp10_upward_test_data): Likewise.
1484 (exp10_test_upward): Likewise.
1485 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1486 (expm1_test_data): Likewise.
1487 (expm1_test): Use ALL_RM_TEST.
1488 (expm1_tonearest_test_data): Remove.
1489 (expm1_test_tonearest): Likewise.
1490 (expm1_towardzero_test_data): Likewise.
1491 (expm1_test_towardzero): Likewise.
1492 (expm1_downward_test_data): Likewise.
1493 (expm1_test_downward): Likewise.
1494 (expm1_upward_test_data): Likewise.
1495 (expm1_test_upward): Likewise.
1496 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1497 (fma_test): Use ALL_RM_TEST.
1498 (fma_towardzero_test_data): Remove.
1499 (fma_test_towardzero): Likewise.
1500 (fma_downward_test_data): Likewise.
1501 (fma_test_downward): Likewise.
1502 (fma_upward_test_data): Likewise.
1503 (fma_test_upward): Likewise.
1504 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1505 (j0_test_data): Update call to AUTO_TESTS_f_f.
1506 (j1_test_data): Likewise.
1507 (jn_test_data): Update call to AUTO_TESTS_if_f.
1508 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1509 (log_test_data): Update call to AUTO_TESTS_f_f.
1510 (log10_test_data): Likewise.
1511 (log1p_test_data): Likewise.
1512 (log2_test_data): Likewise.
1513 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1514 (pow_tonearest_test_data): Likewise.
1515 (sin_test_data): Update call to AUTO_TESTS_f_f.
1516 (sin_test): Use ALL_RM_TEST.
1517 (sin_tonearest_test_data): Remove.
1518 (sin_test_tonearest): Likewise.
1519 (sin_towardzero_test_data): Likewise.
1520 (sin_test_towardzero): Likewise.
1521 (sin_downward_test_data): Likewise.
1522 (sin_test_downward): Likewise.
1523 (sin_upward_test_data): Likewise.
1524 (sin_test_upward): Likewise.
1525 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1526 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1527 (sinh_test): Use ALL_RM_TEST.
1528 (sinh_tonearest_test_data): Remove.
1529 (sinh_test_tonearest): Likewise.
1530 (sinh_towardzero_test_data): Likewise.
1531 (sinh_test_towardzero): Likewise.
1532 (sinh_downward_test_data): Likewise.
1533 (sinh_test_downward): Likewise.
1534 (sinh_upward_test_data): Likewise.
1535 (sinh_test_upward): Likewise.
1536 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1537 (sqrt_test): Use ALL_RM_TEST.
1538 (sqrt_tonearest_test_data): Remove.
1539 (sqrt_test_tonearest): Likewise.
1540 (sqrt_towardzero_test_data): Likewise.
1541 (sqrt_test_towardzero): Likewise.
1542 (sqrt_downward_test_data): Likewise.
1543 (sqrt_test_downward): Likewise.
1544 (sqrt_upward_test_data): Likewise.
1545 (sqrt_test_upward): Likewise.
1546 (tan_test_data): Update call to AUTO_TESTS_f_f.
1547 (tan_test): Use ALL_RM_TEST.
1548 (tan_tonearest_test_data): Remove.
1549 (tan_test_tonearest): Likewise.
1550 (tan_towardzero_test_data): Likewise.
1551 (tan_test_towardzero): Likewise.
1552 (tan_downward_test_data): Likewise.
1553 (tan_test_downward): Likewise.
1554 (tan_upward_test_data): Likewise.
1555 (tan_test_upward): Likewise.
1556 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1557 (tgamma_test_data): Likewise.
1558 (y0_test_data): Likewise.
1559 (y1_test_data): Likewise.
1560 (yn_test_data): Update call to AUTO_TESTS_if_f.
1561 (main): Do not call removed functions.
1563 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1565 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1566 (ldexp_test_data): Remove.
1567 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1569 (scalb_test): Use ALL_RM_TEST.
1571 2014-03-19 Andreas Schwab <schwab@suse.de>
1573 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1575 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1578 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1579 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1580 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1581 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1582 (__ASSUME_PREADV): Undefine.
1583 (__ASSUME_PWRITEV): Likewise.
1585 2014-03-18 Roland McGrath <roland@hack.frob.com>
1587 * bits/mman-linux.h: Add comment about non-Linux use.
1588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1589 bits/mman-linux.h resting place.
1591 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1592 * bits/mman-linux.h: ... here.
1594 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596 * conform/conformtest.pl: Add standard definition when calling C
1597 preprocessor on data files.
1598 (checknamespace): Remove unused variable.
1600 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1602 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1603 minus_oflow, plus_uflow and minus_uflow in expected results.
1604 * math/libm-test.inc (scalbn_test_data): Add more tests of
1605 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1607 (scalbn_test): Use ALL_RM_TEST.
1608 (scalbln_test_data): Add more tests of negative arguments. Use
1609 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1610 (scalbln_test): Use ALL_RM_TEST.
1612 2014-03-18 Roland McGrath <roland@hack.frob.com>
1614 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1616 2014-03-18 Will Newton <will.newton@linaro.org>
1618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1621 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1623 * Makerules [!subdir] (check-abi): Exit with error status if a
1626 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1628 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1629 for rint. Include results for all rounding modes.
1630 (nearbyint_test): Use ALL_RM_TEST.
1631 (rint_test_data): Include all tests used for nearbyint.
1633 2014-03-17 Will Newton <will.newton@linaro.org>
1635 * nptl/sysdeps/pthread/pthread.h: Revert previous
1638 * sysdeps/generic/ldsodefs.h: Revert previous
1641 * libio/genops.c: Revert previous change.
1642 * libio/libioP.h: Likewise.
1643 * stdio-common/vfprintf.c: Likewise.
1645 * sysdeps/generic/math_private.h: Revert previous
1648 * sysdeps/generic/math_private.h: Check whether
1649 HAVE_RM_CTX is defined with #ifdef rather
1652 * argp/argp-fmtstream.h: Check whether
1653 __STRICT_ANSI__ is defined with #ifdef rather
1655 * argp/argp.h: Likewise.
1657 * libio/genops.c: Check whether
1658 _IO_JUMPS_OFFSET is defined with #ifdef rather
1660 * libio/libioP.h: Likewise.
1661 * stdio-common/vfprintf.c: Likewise.
1663 * sysdeps/generic/ldsodefs.h: Check whether
1664 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1667 * nptl/sysdeps/pthread/pthread.h: Check
1668 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1671 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1673 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1675 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1679 * libio/fileops.c (_IO_file_open): Seek to end of file but
1680 don't cache the offset.
1681 (get_file_offset): Remove function.
1682 (do_ftell): Use cached offset when available.
1683 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1684 don't cache the offset.
1685 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1687 (do_one_test): Call it.
1688 (do_ftell_test): Fix up expected old offset for a+ mode.
1689 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1692 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1693 up test status with function return status.
1694 (do_write_test): Likewise.
1695 (do_append_test): Likewise.
1697 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1698 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1701 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1703 * math/gen-libm-test.pl (parse_args): Handle results specified for
1704 each rounding mode separately.
1705 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1706 tests and results from lrint_tonearest_test_data,
1707 lrint_towardzero_test_data, lrint_downward_test_data and
1708 lrint_upward_test_data.
1709 (lrint_test): Use ALL_RM_TEST.
1710 (lrint_tonearest_test_data): Remove.
1711 (lrint_test_tonearest): Likewise.
1712 (lrint_towardzero_test_data): Likewise.
1713 (lrint_test_towardzero): Likewise.
1714 (lrint_downward_test_data): Likewise.
1715 (lrint_test_downward): Likewise.
1716 (lrint_upward_test_data): Likewise.
1717 (lrint_test_upward): Likewise.
1718 (llrint_test_data): Merge in per-rounding-mode tests and results
1719 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1720 llrint_downward_test_data and llrint_upward_test_data.
1721 (llrint_test): Use ALL_RM_TEST.
1722 (llrint_tonearest_test_data): Remove.
1723 (llrint_test_tonearest): Likewise.
1724 (llrint_towardzero_test_data): Likewise.
1725 (llrint_test_towardzero): Likewise.
1726 (llrint_downward_test_data): Likewise.
1727 (llrint_test_downward): Likewise.
1728 (llrint_upward_test_data): Likewise.
1729 (llrint_test_upward): Likewise.
1730 (rint_test_data): Merge in per-rounding-mode tests and results
1731 from rint_tonearest_test_data, rint_towardzero_test_data,
1732 rint_downward_test_data and rint_upward_test_data. Add
1733 per-rounding-mode results for tests not in those arrays.
1734 (rint_test): Use ALL_RM_TEST.
1735 (rint_tonearest_test_data): Remove.
1736 (rint_test_tonearest): Likewise.
1737 (rint_towardzero_test_data): Likewise.
1738 (rint_test_towardzero): Likewise.
1739 (rint_downward_test_data): Likewise.
1740 (rint_test_downward): Likewise.
1741 (rint_upward_test_data): Likewise.
1742 (rint_test_upward): Likewise.
1743 (main): Don't call removed functions.
1745 2014-03-14 Roland McGrath <roland@hack.frob.com>
1747 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1748 "Compiled on ..." crapola. It is anti-useful.
1750 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1752 * scripts/evaluate-test.sh: Handle fourth argument to determine
1753 whether test run should stop on failure.
1754 * Makeconfig (stop-on-test-failure): New variable.
1755 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1756 $(stop-on-test-failure).
1757 * Makefile (tests): Give a summary of results from testing and
1758 exit with failure status if they include an ERROR or FAIL.
1760 * manual/install.texi (Configuring and compiling): Mention
1761 stop-on-test-failure=y.
1762 * INSTALL: Regenerated.
1764 2014-03-14 Roland McGrath <roland@hack.frob.com>
1766 * scripts/versionlist.awk: New file.
1767 * Makerules [$(build-shared) = yes]
1768 (postclean-generated): Add Versions.def, not Versions.def.v and
1770 ($(common-objpfx)Versions.def.v.i): Target removed.
1771 ($(common-objpfx)Versions.def): New target.
1772 ($(common-objpfx)Versions.all): Depend on that rather that
1773 $(common-objpfx)Versions.def.v.
1774 * Versions.def: File removed.
1776 * Makeconfig (+gccwarn): Add -Wundef.
1777 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1778 a dl-sysdep.h breaking its contract.
1779 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1780 * include/stackinfo.h: New file.
1781 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1782 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1783 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1784 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1785 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1786 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1787 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1788 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1789 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1790 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1791 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1792 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1793 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1794 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1795 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1797 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1800 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1802 * math/libm-test.inc (round_test_data): Add more tests.
1805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1807 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1810 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1812 * math/libm-test.inc (ceil_test_data): Add more tests.
1814 * math/libm-test.inc (trunc_test_data): Add more tests related to
1817 2014-03-14 Roland McGrath <roland@hack.frob.com>
1819 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1820 with #if rather than #ifdef.
1821 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1823 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1825 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1826 first. Disable AVX-512 GCC support if assembler doesn't support
1828 * sysdeps/x86_64/configure: Regenerated.
1830 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1832 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1833 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1834 (__old_pthread_attr_setstack): Likewise.
1835 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1836 [!_STACK_GROWS_DOWN]: Likewise.
1838 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1840 * config.make.in (have-bash2): Delete.
1841 * configure.ac (libc_cv_have_bash2): Delete.
1842 * configure: Regenerate.
1843 * elf/Makefile (common-ldd-rewrite): Rename to ...
1844 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1845 (sh-ldd-rewrite): Delete.
1846 (bash-ldd-rewrite): Delete.
1847 (have-bash2): Delete checks.
1848 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1851 * config.make.in (have-ksh): Delete.
1853 * configure.ac (libc_cv_have_ksh): Delete.
1854 * configure: Regenerate.
1856 * elf/Makefile: Delete $(have-ksh) check.
1857 ($(objpfx)sotruss): Change KSH to BASH.
1858 * elf/sotruss.ksh: Rename to ...
1859 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1860 function style to match POSIX. Drop ksh vim mode setting.
1862 * manual/time.texi (Specifying the Time Zone with TZ): Change
1863 Tuesday to Thursday.
1865 * debug/tst-longjmp_chk2.c: Update header comment.
1866 (stackoverflow_handler): Add comment. Call assert on pass value.
1868 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1870 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1871 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1872 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1873 (La_x86_64_vector): Add zmm.
1874 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1875 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1876 ($(objpfx)tst-audit10): New target.
1877 ($(objpfx)tst-audit10.out): Likewise.
1878 (tst-audit10-ENV): New.
1879 (AVX512-CFLAGS): Likewise.
1880 (CFLAGS-tst-audit10.c): Likewise.
1881 (CFLAGS-tst-auditmod10a.c): Likewise.
1882 (CFLAGS-tst-auditmod10b.c): Likewise.
1883 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1884 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1885 * sysdeps/x86_64/configure: Regenerated.
1886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1887 AVX-512 zmm register support.
1888 (_dl_x86_64_save_sse): Likewise.
1889 (_dl_x86_64_restore_sse): Likewise.
1890 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1891 size vector registers.
1892 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1893 (ZMM_SIZE): Likewise.
1894 * sysdeps/x86_64/tst-audit10.c: New file.
1895 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1896 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1898 2014-03-13 Roland McGrath <roland@hack.frob.com>
1900 * configure.ac (HAVE_EHDR_START): New check.
1901 * configure: Regenerated.
1902 * config.h.in (HAVE_EHDR_START): New #undef.
1903 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1904 assuming the lowest-addressed segment maps the start of the file.
1906 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1908 * INSTALL: Regenerated.
1910 2014-03-13 Will Newton <will.newton@linaro.org>
1912 * manual/setjmp.texi (System V contexts): Improve
1913 clarity and grammar of documentation.
1915 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1918 * elf/Makefile (tests): Add tst-pie2.
1919 (tests-pie): Add tst-pie2.
1920 * elf/tst-pie2.c: New file.
1921 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1923 * elf/rtld.c (map_doit): Load executable as lt_executable.
1924 (dl_main): Likewise.
1926 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1930 (__ASSUME_PSELECT): Undefine.
1932 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1936 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1939 selector for static builds.
1941 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1944 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1947 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1949 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1950 IFUNC selector for static builds.
1952 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1954 * sysdeps/mips/math_private.h [__mips_hard_float]
1955 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1956 libc_feresetround_mips_ctx.
1957 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1958 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1959 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1962 * math/s_nextafter.c (__nextafter): Do not return value from
1963 overflowing computation.
1964 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1965 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1966 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1970 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1971 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1973 2014-03-11 Roland McGrath <roland@hack.frob.com>
1975 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1976 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1977 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1978 the new mov targetting sp.
1980 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1984 Define it for static builds as well.
1985 (NO_BZERO_IMPL): Likewise.
1987 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1989 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1990 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1991 multiarch strspn for PPC64.
1992 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1993 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1995 (__libc_ifunc_impl_list): Likewise.
1996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1997 multiarch optimizations
1998 * string/strspn.c (strspn): Using macro to redefine symbol name.
2000 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2001 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2004 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2005 multiarch strncat for PPC64.
2006 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2007 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2009 (__libc_ifunc_impl_list): Likewise.
2010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2011 multiarch optimizations
2013 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2016 * nscd/nscd.service: Make service type forking.
2018 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2021 sign in non default rounding modes.
2022 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2024 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2026 * math/libm-test.inc (ALL_RM_TEST): New macro.
2027 (ceil_test): Use ALL_RM_TEST.
2028 (cimag_test): Likewise.
2029 (conj_test): Likewise.
2030 (copysign_test): Likewise.
2031 (cproj_test): Likewise.
2032 (creal_test): Likewise.
2033 (fabs_test): Likewise.
2034 (floor_test): Likewise.
2035 (fmax_test): Likewise.
2036 (fmin_test): Likewise.
2037 (fmod_test): Likewise.
2038 (fpclassify_test): Likewise.
2039 (frexp_test): Likewise.
2040 (ilogb_test): Likewise.
2041 (isfinite_test): Likewise.
2042 (finite_test): Likewise.
2043 (isgreater_test): Likewise.
2044 (isgreaterequal_test): Likewise.
2045 (isinf_test): Likewise.
2046 (isless_test): Likewise.
2047 (islessequal_test): Likewise.
2048 (islessgreater_test): Likewise.
2049 (isnan_test): Likewise.
2050 (isnormal_test): Likewise.
2051 (issignaling_test): Likewise.
2052 (isunordered_test): Likewise.
2053 (logb_test): Likewise.
2054 (logb_downward_test_data): Remove.
2055 (logb_test_downward): Likewise.
2056 (lround_test): Use ALL_RM_TEST.
2057 (llround_test): Likewise.
2058 (modf_test): Likewise.
2059 (nexttoward_test): Likewise.
2060 (remainder_test): Likewise.
2061 (drem_test): Likewise.
2062 (remainder_tonearest_test_data): Likewise.
2063 (remainder_test_tonearest): Likewise.
2064 (drem_test_tonearest): Likewise.
2065 (remainder_towardzero_test_data): Likewise.
2066 (remainder_test_towardzero): Likewise.
2067 (drem_test_towardzero): Likewise.
2068 (remainder_downward_test_data): Likewise.
2069 (remainder_test_downward): Likewise.
2070 (drem_test_downward): Likewise.
2071 (remainder_upward_test_data): Likewise.
2072 (remainder_test_upward): Likewise.
2073 (drem_test_upward): Likewise.
2074 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2075 (round_test): Use ALL_RM_TEST.
2076 (signbit_test): Likewise.
2077 (trunc_test): Likewise.
2078 (significand_test): Likewise.
2079 (main): Don't call removed functions.
2081 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2084 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2086 (ILL_ILLOPN): Likewise.
2087 (ILL_ILLADR): Likewise.
2088 (ILL_ILLTRP): Likewise.
2089 (ILL_PRVOPC): Likewise.
2090 (ILL_PRVREG): Likewise.
2091 (ILL_COPROC): Likewise.
2092 (ILL_BADSTK): Likewise.
2093 (FPE_INTDIV): Likewise.
2094 (FPE_INTOVF): Likewise.
2095 (FPE_FLTDIV): Likewise.
2096 (FPE_FLTOVF): Likewise.
2097 (FPE_FLTUND): Likewise.
2098 (FPE_FLTRES): Likewise.
2099 (FPE_FLTINV): Likewise.
2100 (FPE_FLTSUB): Likewise.
2101 (SEGV_MAPERR): Likewise.
2102 (SEGV_ACCERR): Likewise.
2103 (BUS_ADRALN): Likewise.
2104 (BUS_ADRERR): Likewise.
2105 (BUS_OBJERR): Likewise.
2106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2107 (TRAP_TRACE): Likewise.
2108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2110 (CLD_KILLED): Likewise.
2111 (CLD_DUMPED): Likewise.
2112 (CLD_TRAPPED): Likewise.
2113 (CLD_STOPPED): Likewise.
2114 (CLD_CONTINUED): Likewise.
2115 (POLL_IN): Likewise.
2116 (POLL_OUT): Likewise.
2117 (POLL_MSG): Likewise.
2118 (POLL_ERR): Likewise.
2119 (POLL_PRI): Likewise.
2120 (POLL_HUP): Likewise.
2121 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2123 (ILL_ILLOPN): Likewise.
2124 (ILL_ILLADR): Likewise.
2125 (ILL_ILLTRP): Likewise.
2126 (ILL_PRVOPC): Likewise.
2127 (ILL_PRVREG): Likewise.
2128 (ILL_COPROC): Likewise.
2129 (ILL_BADSTK): Likewise.
2130 (FPE_INTDIV): Likewise.
2131 (FPE_INTOVF): Likewise.
2132 (FPE_FLTDIV): Likewise.
2133 (FPE_FLTOVF): Likewise.
2134 (FPE_FLTUND): Likewise.
2135 (FPE_FLTRES): Likewise.
2136 (FPE_FLTINV): Likewise.
2137 (FPE_FLTSUB): Likewise.
2138 (SEGV_MAPERR): Likewise.
2139 (SEGV_ACCERR): Likewise.
2140 (BUS_ADRALN): Likewise.
2141 (BUS_ADRERR): Likewise.
2142 (BUS_OBJERR): Likewise.
2143 (BUS_MCEERR_AR): Likewise.
2144 (BUS_MCEERR_AO): Likewise.
2145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2146 (TRAP_TRACE): Likewise.
2147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2149 (CLD_KILLED): Likewise.
2150 (CLD_DUMPED): Likewise.
2151 (CLD_TRAPPED): Likewise.
2152 (CLD_STOPPED): Likewise.
2153 (CLD_CONTINUED): Likewise.
2154 (POLL_IN): Likewise.
2155 (POLL_OUT): Likewise.
2156 (POLL_MSG): Likewise.
2157 (POLL_ERR): Likewise.
2158 (POLL_PRI): Likewise.
2159 (POLL_HUP): Likewise.
2160 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2161 (ILL_ILLOPN): Likewise.
2162 (ILL_ILLADR): Likewise.
2163 (ILL_ILLTRP): Likewise.
2164 (ILL_PRVOPC): Likewise.
2165 (ILL_PRVREG): Likewise.
2166 (ILL_COPROC): Likewise.
2167 (ILL_BADSTK): Likewise.
2168 (FPE_INTDIV): Likewise.
2169 (FPE_INTOVF): Likewise.
2170 (FPE_FLTDIV): Likewise.
2171 (FPE_FLTOVF): Likewise.
2172 (FPE_FLTUND): Likewise.
2173 (FPE_FLTRES): Likewise.
2174 (FPE_FLTINV): Likewise.
2175 (FPE_FLTSUB): Likewise.
2176 (SEGV_MAPERR): Likewise.
2177 (SEGV_ACCERR): Likewise.
2178 (BUS_ADRALN): Likewise.
2179 (BUS_ADRERR): Likewise.
2180 (BUS_OBJERR): Likewise.
2181 (BUS_MCEERR_AR): Likewise.
2182 (BUS_MCEERR_AO): Likewise.
2183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2184 (TRAP_TRACE): Likewise.
2185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2187 (CLD_KILLED): Likewise.
2188 (CLD_DUMPED): Likewise.
2189 (CLD_TRAPPED): Likewise.
2190 (CLD_STOPPED): Likewise.
2191 (CLD_CONTINUED): Likewise.
2192 (POLL_IN): Likewise.
2193 (POLL_OUT): Likewise.
2194 (POLL_MSG): Likewise.
2195 (POLL_ERR): Likewise.
2196 (POLL_PRI): Likewise.
2197 (POLL_HUP): Likewise.
2198 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2200 (ILL_ILLOPN): Likewise.
2201 (ILL_ILLADR): Likewise.
2202 (ILL_ILLTRP): Likewise.
2203 (ILL_PRVOPC): Likewise.
2204 (ILL_PRVREG): Likewise.
2205 (ILL_COPROC): Likewise.
2206 (ILL_BADSTK): Likewise.
2207 (ILL_BADIADDR): Likewise.
2208 (ILL_BREAK): Likewise.
2209 (FPE_INTDIV): Likewise.
2210 (FPE_INTOVF): Likewise.
2211 (FPE_FLTDIV): Likewise.
2212 (FPE_FLTOVF): Likewise.
2213 (FPE_FLTUND): Likewise.
2214 (FPE_FLTRES): Likewise.
2215 (FPE_FLTINV): Likewise.
2216 (FPE_FLTSUB): Likewise.
2217 (FPE_DECOVF): Likewise.
2218 (FPE_DECDIV): Likewise.
2219 (FPE_DECERR): Likewise.
2220 (FPE_INVASC): Likewise.
2221 (FPE_INVDEC): Likewise.
2222 (SEGV_MAPERR): Likewise.
2223 (SEGV_ACCERR): Likewise.
2224 (SEGV_PSTKOVF): Likewise.
2225 (BUS_ADRALN): Likewise.
2226 (BUS_ADRERR): Likewise.
2227 (BUS_OBJERR): Likewise.
2228 (BUS_MCEERR_AR): Likewise.
2229 (BUS_MCEERR_AO): Likewise.
2230 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2231 (TRAP_TRACE): Likewise.
2232 (TRAP_BRANCH): Likewise.
2233 (TRAP_HWBKPT): Likewise.
2234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2236 (CLD_KILLED): Likewise.
2237 (CLD_DUMPED): Likewise.
2238 (CLD_TRAPPED): Likewise.
2239 (CLD_STOPPED): Likewise.
2240 (CLD_CONTINUED): Likewise.
2241 (POLL_IN): Likewise.
2242 (POLL_OUT): Likewise.
2243 (POLL_MSG): Likewise.
2244 (POLL_ERR): Likewise.
2245 (POLL_PRI): Likewise.
2246 (POLL_HUP): Likewise.
2247 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2248 (ILL_ILLOPN): Likewise.
2249 (ILL_ILLADR): Likewise.
2250 (ILL_ILLTRP): Likewise.
2251 (ILL_PRVOPC): Likewise.
2252 (ILL_PRVREG): Likewise.
2253 (ILL_COPROC): Likewise.
2254 (ILL_BADSTK): Likewise.
2255 (FPE_INTDIV): Likewise.
2256 (FPE_INTOVF): Likewise.
2257 (FPE_FLTDIV): Likewise.
2258 (FPE_FLTOVF): Likewise.
2259 (FPE_FLTUND): Likewise.
2260 (FPE_FLTRES): Likewise.
2261 (FPE_FLTINV): Likewise.
2262 (FPE_FLTSUB): Likewise.
2263 (SEGV_MAPERR): Likewise.
2264 (SEGV_ACCERR): Likewise.
2265 (BUS_ADRALN): Likewise.
2266 (BUS_ADRERR): Likewise.
2267 (BUS_OBJERR): Likewise.
2268 (BUS_MCEERR_AR): Likewise.
2269 (BUS_MCEERR_AO): Likewise.
2270 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2271 (TRAP_TRACE): Likewise.
2272 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2274 (CLD_KILLED): Likewise.
2275 (CLD_DUMPED): Likewise.
2276 (CLD_TRAPPED): Likewise.
2277 (CLD_STOPPED): Likewise.
2278 (CLD_CONTINUED): Likewise.
2279 (POLL_IN): Likewise.
2280 (POLL_OUT): Likewise.
2281 (POLL_MSG): Likewise.
2282 (POLL_ERR): Likewise.
2283 (POLL_PRI): Likewise.
2284 (POLL_HUP): Likewise.
2285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2286 (ILL_ILLOPN): Likewise.
2287 (ILL_ILLADR): Likewise.
2288 (ILL_ILLTRP): Likewise.
2289 (ILL_PRVOPC): Likewise.
2290 (ILL_PRVREG): Likewise.
2291 (ILL_COPROC): Likewise.
2292 (ILL_BADSTK): Likewise.
2293 (FPE_INTDIV): Likewise.
2294 (FPE_INTOVF): Likewise.
2295 (FPE_FLTDIV): Likewise.
2296 (FPE_FLTOVF): Likewise.
2297 (FPE_FLTUND): Likewise.
2298 (FPE_FLTRES): Likewise.
2299 (FPE_FLTINV): Likewise.
2300 (FPE_FLTSUB): Likewise.
2301 (SEGV_MAPERR): Likewise.
2302 (SEGV_ACCERR): Likewise.
2303 (BUS_ADRALN): Likewise.
2304 (BUS_ADRERR): Likewise.
2305 (BUS_OBJERR): Likewise.
2306 (BUS_MCEERR_AR): Likewise.
2307 (BUS_MCEERR_AO): Likewise.
2308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2309 (TRAP_TRACE): Likewise.
2310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2312 (CLD_KILLED): Likewise.
2313 (CLD_DUMPED): Likewise.
2314 (CLD_TRAPPED): Likewise.
2315 (CLD_STOPPED): Likewise.
2316 (CLD_CONTINUED): Likewise.
2317 (POLL_IN): Likewise.
2318 (POLL_OUT): Likewise.
2319 (POLL_MSG): Likewise.
2320 (POLL_ERR): Likewise.
2321 (POLL_PRI): Likewise.
2322 (POLL_HUP): Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2324 (ILL_ILLOPN): Likewise.
2325 (ILL_ILLADR): Likewise.
2326 (ILL_ILLTRP): Likewise.
2327 (ILL_PRVOPC): Likewise.
2328 (ILL_PRVREG): Likewise.
2329 (ILL_COPROC): Likewise.
2330 (ILL_BADSTK): Likewise.
2331 (FPE_INTDIV): Likewise.
2332 (FPE_INTOVF): Likewise.
2333 (FPE_FLTDIV): Likewise.
2334 (FPE_FLTOVF): Likewise.
2335 (FPE_FLTUND): Likewise.
2336 (FPE_FLTRES): Likewise.
2337 (FPE_FLTINV): Likewise.
2338 (FPE_FLTSUB): Likewise.
2339 (SEGV_MAPERR): Likewise.
2340 (SEGV_ACCERR): Likewise.
2341 (BUS_ADRALN): Likewise.
2342 (BUS_ADRERR): Likewise.
2343 (BUS_OBJERR): Likewise.
2344 (BUS_MCEERR_AR): Likewise.
2345 (BUS_MCEERR_AO): Likewise.
2346 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2347 (TRAP_TRACE): Likewise.
2348 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2350 (CLD_KILLED): Likewise.
2351 (CLD_DUMPED): Likewise.
2352 (CLD_TRAPPED): Likewise.
2353 (CLD_STOPPED): Likewise.
2354 (CLD_CONTINUED): Likewise.
2355 (POLL_IN): Likewise.
2356 (POLL_OUT): Likewise.
2357 (POLL_MSG): Likewise.
2358 (POLL_ERR): Likewise.
2359 (POLL_PRI): Likewise.
2360 (POLL_HUP): Likewise.
2361 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2362 (ILL_ILLOPN): Likewise.
2363 (ILL_ILLADR): Likewise.
2364 (ILL_ILLTRP): Likewise.
2365 (ILL_PRVOPC): Likewise.
2366 (ILL_PRVREG): Likewise.
2367 (ILL_COPROC): Likewise.
2368 (ILL_BADSTK): Likewise.
2369 (ILL_DBLFLT): Likewise.
2370 (ILL_HARDWALL): Likewise.
2371 (FPE_INTDIV): Likewise.
2372 (FPE_INTOVF): Likewise.
2373 (FPE_FLTDIV): Likewise.
2374 (FPE_FLTOVF): Likewise.
2375 (FPE_FLTUND): Likewise.
2376 (FPE_FLTRES): Likewise.
2377 (FPE_FLTINV): Likewise.
2378 (FPE_FLTSUB): Likewise.
2379 (SEGV_MAPERR): Likewise.
2380 (SEGV_ACCERR): Likewise.
2381 (BUS_ADRALN): Likewise.
2382 (BUS_ADRERR): Likewise.
2383 (BUS_OBJERR): Likewise.
2384 (BUS_MCEERR_AR): Likewise.
2385 (BUS_MCEERR_AO): Likewise.
2386 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2387 (TRAP_TRACE): Likewise.
2388 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2390 (CLD_KILLED): Likewise.
2391 (CLD_DUMPED): Likewise.
2392 (CLD_TRAPPED): Likewise.
2393 (CLD_STOPPED): Likewise.
2394 (CLD_CONTINUED): Likewise.
2395 (POLL_IN): Likewise.
2396 (POLL_OUT): Likewise.
2397 (POLL_MSG): Likewise.
2398 (POLL_ERR): Likewise.
2399 (POLL_PRI): Likewise.
2400 (POLL_HUP): Likewise.
2401 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2402 (ILL_ILLOPN): Likewise.
2403 (ILL_ILLADR): Likewise.
2404 (ILL_ILLTRP): Likewise.
2405 (ILL_PRVOPC): Likewise.
2406 (ILL_PRVREG): Likewise.
2407 (ILL_COPROC): Likewise.
2408 (ILL_BADSTK): Likewise.
2409 (FPE_INTDIV): Likewise.
2410 (FPE_INTOVF): Likewise.
2411 (FPE_FLTDIV): Likewise.
2412 (FPE_FLTOVF): Likewise.
2413 (FPE_FLTUND): Likewise.
2414 (FPE_FLTRES): Likewise.
2415 (FPE_FLTINV): Likewise.
2416 (FPE_FLTSUB): Likewise.
2417 (SEGV_MAPERR): Likewise.
2418 (SEGV_ACCERR): Likewise.
2419 (BUS_ADRALN): Likewise.
2420 (BUS_ADRERR): Likewise.
2421 (BUS_OBJERR): Likewise.
2422 (BUS_MCEERR_AR): Likewise.
2423 (BUS_MCEERR_AO): Likewise.
2424 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2425 (TRAP_TRACE): Likewise.
2426 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2428 (CLD_KILLED): Likewise.
2429 (CLD_DUMPED): Likewise.
2430 (CLD_TRAPPED): Likewise.
2431 (CLD_STOPPED): Likewise.
2432 (CLD_CONTINUED): Likewise.
2433 (POLL_IN): Likewise.
2434 (POLL_OUT): Likewise.
2435 (POLL_MSG): Likewise.
2436 (POLL_ERR): Likewise.
2437 (POLL_PRI): Likewise.
2438 (POLL_HUP): Likewise.
2439 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2440 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2443 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2444 before #include of <time.h>.
2445 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2446 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2447 (test-xfail-UNIX98/sched.h/conform): Likewise.
2449 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2451 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2452 error absence of trapping exception support.
2453 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2455 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2457 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2458 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2459 * timezone/Makefile (testdata): Move definition above include of
2461 (test-zones): New variable.
2462 (tests-special): Add zone files.
2463 (build-testdata): Use $(evaluate-test).
2465 * elf/Makefile (tests-special): Rename tests to end with .out.
2466 ($(objpfx)noload-mem): Likewise.
2467 ($(objpfx)tst-leaks1-mem): Likewise.
2468 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2469 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2470 $(objpfx)test-iconvconfig.out.
2471 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2472 set -e inside subshell and redirect output to file.
2473 * iconvdata/Makefile (generated): Rename tests to end with .out.
2475 (tests-special): Rename tests to end with .out.
2476 ($(objpfx)mtrace-tst-loading): Likewise.
2477 * intl/Makefile (generated): Likewise.
2478 (tests-special): Likewise.
2479 ($(objpfx)mtrace-tst-gettext): Likewise.
2480 * misc/Makefile (generated): Likewise.
2481 (tests-special): Likewise.
2482 ($(objpfx)tst-error1-mem): Likewise.
2483 * nptl/Makefile (tests-special): Likewise.
2484 ($(objpfx)tst-stack3-mem): Likewise.
2485 (generated): Likewise.
2486 * posix/Makefile (generated): Likewise.
2487 (tests-special): Likewise.
2488 (xtests-special): Likewise.
2489 ($(objpfx)tst-fnmatch-mem): Likewise.
2490 ($(objpfx)bug-regex2-mem): Likewise.
2491 ($(objpfx)bug-regex14-mem): Likewise.
2492 ($(objpfx)bug-regex21-mem): Likewise.
2493 ($(objpfx)bug-regex31-mem): Likewise.
2494 ($(objpfx)tst-vfork3-mem): Likewise.
2495 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2496 ($(objpfx)tst-pcre-mem): Likewise.
2497 ($(objpfx)tst-boost-mem): Likewise.
2498 ($(objpfx)bug-ga2-mem): Likewise.
2499 ($(objpfx)bug-glob2-mem): Likewise.
2500 * resolv/Makefile (generate): Likewise.
2501 (tests-special): Likewise.
2502 (xtests-special): Likewise.
2503 (generated): Likewise.
2504 ($(objpfx)mtrace-tst-leaks): Likewise.
2505 ($(objpfx)mtrace-tst-leaks2): Likewise.
2507 * scripts/merge-test-results.sh: New file.
2508 * Makefile (tests-special-notdir): New variable.
2509 (tests): Run merge-test-results.sh.
2511 * Rules (tests-special-notdir): New variable.
2512 (xtests-special-notdir): Likewise.
2513 (tests): Run merge-test-results.sh
2516 * Makeconfig (test-xfail-name): New variable.
2517 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2518 compute variable name for expected failures.
2519 * conform/Makefile (conformtest-headers-data): New variable.
2520 (conformtest-standards): Likewise.
2521 (conformtest-headers-ISO): Likewise.
2522 (conformtest-headers-ISO99): Likewise.
2523 (conformtest-headers-ISO11): Likewise.
2524 (conformtest-headers-POSIX): Likewise.
2525 (conformtest-headers-XPG3): Likewise.
2526 (conformtest-headers-XPG4): Likewise.
2527 (conformtest-headers-UNIX98): Likewise.
2528 (conformtest-headers-XOPEN2K): Likewise.
2529 (conformtest-headers-POSIX2008): Likewise.
2530 (conformtest-headers-XOPEN2K8): Likewise.
2531 (conformtest-header-list-base): Likewise.
2532 (conformtest-header-list-tests): Likewise.
2533 (conformtest-header-base): Likewise.
2534 (conformtest-header-tests): Likewise.
2535 (tests-special): Add $(conformtest-header-list-tests). If
2536 [$(fast-check) && !$(cross-compiling)], add
2537 $(conformtest-header-tests) instead of
2538 $(objpfx)run-conformtest.out.
2539 (generated): Add $(conformtest-header-list-base). If
2540 [$(fast-check) && !$(cross-compiling)], add
2541 $(conformtest-header-base). Remove previous setting.
2542 ($(conformtest-header-list-tests)): New target.
2543 (test-xfail-run-conformtest): Remove variable.
2544 ($(objpfx)run-conformtest.out): Remove target.
2545 (test-xfail-ISO11/complex.h/conform): New variable.
2546 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2547 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2548 (test-xfail-XPG3/varargs.h/conform): Likewise.
2549 (test-xfail-XPG4/varargs.h/conform): Likewise.
2550 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2551 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2552 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2553 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2554 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2555 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2556 (test-xfail-XPG3/ftw.h/conform): Likewise.
2557 (test-xfail-XPG3/grp.h/conform): Likewise.
2558 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2559 (test-xfail-XPG3/limits.h/conform): Likewise.
2560 (test-xfail-XPG3/pwd.h/conform): Likewise.
2561 (test-xfail-XPG3/search.h/conform): Likewise.
2562 (test-xfail-XPG3/signal.h/conform): Likewise.
2563 (test-xfail-XPG3/stdio.h/conform): Likewise.
2564 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2565 (test-xfail-XPG3/string.h/conform): Likewise.
2566 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2567 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2568 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2569 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2570 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2571 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2572 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2573 (test-xfail-XPG3/termios.h/conform): Likewise.
2574 (test-xfail-XPG3/time.h/conform): Likewise.
2575 (test-xfail-XPG3/unistd.h/conform): Likewise.
2576 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2577 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2578 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2579 (test-xfail-XPG4/netdb.h/conform): Likewise.
2580 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2581 (test-xfail-XPG4/signal.h/conform): Likewise.
2582 (test-xfail-XPG4/stdio.h/conform): Likewise.
2583 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2584 (test-xfail-XPG4/stropts.h/conform): Likewise.
2585 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2586 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2587 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2588 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2589 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2590 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2591 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2592 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2593 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2594 (test-xfail-XPG4/termios.h/conform): Likewise.
2595 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2596 (test-xfail-XPG4/unistd.h/conform): Likewise.
2597 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2598 (test-xfail-POSIX/sched.h/conform): Likewise.
2599 (test-xfail-POSIX/signal.h/conform): Likewise.
2600 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2601 (test-xfail-POSIX/tar.h/conform): Likewise.
2602 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2603 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2604 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2605 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2606 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2607 (test-xfail-UNIX98/sched.h/conform): Likewise.
2608 (test-xfail-UNIX98/signal.h/conform): Likewise.
2609 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2610 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2611 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2612 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2613 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2614 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2615 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2616 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2617 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2618 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2619 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2620 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2621 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2622 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2623 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2624 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2625 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2626 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2627 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2628 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2629 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2630 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2631 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2632 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2633 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2634 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2635 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2636 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2637 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2638 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2639 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2640 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2641 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2642 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2643 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2644 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2645 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2646 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2647 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2648 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2649 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2650 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2651 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2652 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2653 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2654 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2655 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2656 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2657 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2658 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2659 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2660 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2661 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2662 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2663 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2664 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2665 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2666 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2667 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2668 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2669 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2670 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2671 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2672 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2673 (conformtest-cc-flags): Likewise.
2674 ($(conformtest-header-tests): New target.
2675 * conform/check-header-lists.sh: New file.
2676 * conform/run-conformtest.sh: Remove.
2678 * conform/conformtest.pl: Allow ' and \ in values given for
2680 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2682 [POSIX] (sys/types.h): Likewise.
2683 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2685 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2687 * conform/data/signal.h-data (SIGIO): Remove expectation.
2688 [XPG3] (SIGBUS): Do not expect.
2689 [POSIX || XPG3] (SIGPOLL): Likewise.
2690 [POSIX || XPG3] (SIGPROF): Likewise.
2691 [POSIX || XPG3] (SIGSYS): Likewise.
2692 [XPG3] (SIGTRAP): Likewise.
2693 [POSIX || XPG3] (SIGURG): Likewise.
2694 [POSIX || XPG3] (SIGVTALRM): Likewise.
2695 [POSIX || XPG3] (SIGXCPU): Likewise.
2696 [POSIX || XPG3] (SIGXFSZ): Likewise.
2697 [POSIX] (SA_SIGINFO): Expect.
2698 [XPG3] (siginfo_t): Do not expect type or contents.
2699 [POSIX] (si_pid): Do not expect element.
2700 [POSIX] (si_uid): Likewise.
2701 [POSIX] (si_addr): Likewise.
2702 [POSIX] (si_status): Likewise.
2703 [POSIX] (si_band): Likewise.
2704 [XPG4] (si_value): Likewise.
2705 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2706 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2707 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2708 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2709 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2710 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2711 [POSIX || XPG3] (ILL_COPROC): Likewise.
2712 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2713 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2714 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2715 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2716 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2717 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2718 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2719 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2720 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2721 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2722 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2723 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2724 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2725 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2726 [POSIX || XPG3] (CLD_EXITED): Likewise.
2727 [POSIX || XPG3] (CLD_KILLED): Likewise.
2728 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2729 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2730 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2731 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2732 [POSIX || XPG3] (POLL_IN): Likewise.
2733 [POSIX || XPG3] (POLL_OUT): Likewise.
2734 [POSIX || XPG3] (POLL_MSG): Likewise.
2735 [POSIX || XPG3] (POLL_ERR): Likewise.
2736 [POSIX || XPG3] (POLL_PRI): Likewise.
2737 [POSIX || XPG3] (POLL_HUP): Likewise.
2738 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2739 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2740 (SIG*): Do not allow.
2741 [XPG3] (si_*): Likewise.
2742 [XPG3] (SI_*): Likewise.
2743 [XPG3 || XPG4] (sigev_*): Likewise.
2744 [XPG3 || XPG4] (SIGEV_*): Likewise.
2745 [XPG3 || XPG4] (sival_*): Likewise.
2746 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2747 [POSIX || XPG3] (BUS_*): Likewise.
2748 [POSIX || XPG3] (CLD_*): Likewise.
2749 [POSIX || XPG3] (FPE_*): Likewise.
2750 [POSIX || XPG3] (ILL_*): Likewise.
2751 [POSIX || XPG3] (POLL_*): Likewise.
2752 [POSIX || XPG3] (SEGV_*): Likewise.
2753 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2754 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2755 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2756 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2757 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2758 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2759 Specify type and value.
2760 (TVERSLEN): Likewise.
2761 (REGTYPE): Likewise.
2762 (AREGTYPE): Likewise.
2763 (LNKTYPE): Likewise.
2764 (SYMTYPE): Likewise.
2765 (CHRTYPE): Likewise.
2766 (BLKTYPE): Likewise.
2767 (DIRTYPE): Likewise.
2768 (FIFOTYPE): Likewise.
2769 (CONTTYPE): Likewise.
2774 (TUWRITE): Likewise.
2777 (TGWRITE): Likewise.
2780 (TOWRITE): Likewise.
2782 [POSIX] (TSVTX): Expect constant.
2784 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2786 * Makefile (tests): Change dependencies to ....
2787 (tests-special): ... additions to this variable.
2788 (tests): Depend on $(tests-special).
2789 * Makerules (check-abi-list): New variable.
2790 (check-abi): Depend on $(check-abi-list).
2791 [$(subdir) = elf] (tests-special): Add
2792 $(objpfx)check-abi-libc.out.
2793 [$(build-shared) = yes && subdir] (tests-special): Add
2795 [$(build-shared) = yes && subdir] (tests): Do not depend on
2797 * Rules (tests): Depend on $(tests-special).
2798 (xtests): Depend on $(xtests-special).
2799 * catgets/Makefile (tests): Change dependencies to ....
2800 (tests-special): ... additions to this variable.
2801 * conform/Makefile (tests): Change dependencies to ....
2802 (tests-special): ... additions to this variable.
2803 * elf/Makefile (tests): Change dependencies to ....
2804 (tests-special): ... additions to this variable.
2805 * grp/Makefile (tests): Change dependencies to ....
2806 (tests-special): ... additions to this variable.
2807 * iconv/Makefile (xtests): Change dependencies to ....
2808 (xtests-special): ... additions to this variable.
2809 * iconvdata/Makefile (tests): Change dependencies to ....
2810 (tests-special): ... additions to this variable.
2811 * intl/Makefile (tests): Change dependencies to ....
2812 (tests-special): ... additions to this variable. Also add
2813 $(objpfx)tst-gettext.out.
2814 * io/Makefile (tests): Change dependencies to ....
2815 (tests-special): ... additions to this variable.
2816 * libio/Makefile (tests): Change dependencies to ....
2817 (tests-special): ... additions to this variable.
2818 * malloc/Makefile (tests): Change dependencies to ....
2819 (tests-special): ... additions to this variable.
2820 * misc/Makefile (tests): Change dependencies to ....
2821 (tests-special): ... additions to this variable.
2822 * nptl/Makefile (tests): Change dependencies to ....
2823 (tests-special): ... additions to this variable.
2824 * nptl_db/Makefile (tests): Change dependencies to ....
2825 (tests-special): ... additions to this variable.
2826 * posix/Makefile (tests): Change dependencies to ....
2827 (tests-special): ... additions to this variable.
2828 (xtests): Change dependencies to ....
2829 (xtests-special): ... additions to this variable.
2830 * resolv/Makefile (tests): Change dependencies to ....
2831 (tests-special): ... additions to this variable.
2832 (xtests): Change dependencies to ....
2833 (xtests-special): ... additions to this variable.
2834 * stdio-common/Makefile (tests): Change dependencies to ....
2835 (tests-special): ... additions to this variable.
2836 (do-tst-unbputc): Remove target.
2837 (do-tst-printf): Likewise.
2838 * stdlib/Makefile (tests): Change dependencies to ....
2839 (tests-special): ... additions to this variable.
2840 * string/Makefile (tests): Change dependencies to ....
2841 (tests-special): ... additions to this variable.
2842 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2843 (tests-special): ... additions to this variable.
2845 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2847 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2849 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2850 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2852 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2853 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2854 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2855 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2856 * conform/data/libgen.h-data [XPG3]: Likewise.
2857 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2858 * conform/data/ndbm.h-data [XPG3]: Likewise.
2859 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2860 * conform/data/netdb.h-data [XPG3]: Likewise.
2861 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2862 * conform/data/poll.h-data [XPG3]: Likewise.
2863 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2864 * conform/data/strings.h-data [XPG3]: Likewise.
2865 * conform/data/stropts.h-data [XPG3]: Likewise.
2866 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2867 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2868 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2870 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2871 * conform/data/sys/time.h-data [XPG3]: Likewise.
2872 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2873 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2874 * conform/data/sys/un.h-data [XPG3]: Likewise.
2875 * conform/data/syslog.h-data [XPG3]: Likewise.
2876 * conform/data/ucontext.h-data [XPG3]: Likewise.
2877 * conform/data/utmpx.h-data [XPG3]: Likewise.
2878 * conform/data/varargs.h-data [UNIX98]: Enable file.
2880 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2882 * math/libm-test.inc (struct test_f_f_data): Move expected results
2883 into structure for each rounding mode.
2884 (struct test_ff_f_data): Likewise.
2885 (struct test_ff_f_data_nexttoward): Likewise.
2886 (struct test_fi_f_data): Likewise.
2887 (struct test_fl_f_data): Likewise.
2888 (struct test_if_f_data): Likewise.
2889 (struct test_fff_f_data): Likewise.
2890 (struct test_c_f_data): Likewise.
2891 (struct test_f_f1_data): Likewise.
2892 (struct test_fF_f1_data): Likewise.
2893 (struct test_ffI_f1_data): Likewise.
2894 (struct test_c_c_data): Likewise.
2895 (struct test_cc_c_data): Likewise.
2896 (struct test_f_i_data): Likewise.
2897 (struct test_ff_i_data): Likewise.
2898 (struct test_f_l_data): Likewise.
2899 (struct test_f_L_data): Likewise.
2900 (struct test_fFF_11_data): Likewise.
2902 (RM_FE_DOWNWARD): Likewise.
2903 (RM_FE_TONEAREST): Likewise.
2904 (RM_FE_TOWARDZERO): Likewise.
2905 (RM_FE_UPWARD): Likewise.
2906 (RUN_TEST_LOOP_f_f): Update references to expected results.
2907 (RUN_TEST_LOOP_2_f): Likewise.
2908 (RUN_TEST_LOOP_fff_f): Likewise.
2909 (RUN_TEST_LOOP_c_f): Likewise.
2910 (RUN_TEST_LOOP_f_f1): Likewise.
2911 (RUN_TEST_LOOP_fF_f1): Likewise.
2912 (RUN_TEST_LOOP_fI_f1): Likewise.
2913 (RUN_TEST_LOOP_ffI_f1): Likewise.
2914 (RUN_TEST_LOOP_c_c): Likewise.
2915 (RUN_TEST_LOOP_cc_c): Likewise.
2916 (RUN_TEST_LOOP_f_i): Likewise.
2917 (RUN_TEST_LOOP_f_i_tg): Likewise.
2918 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2919 (RUN_TEST_LOOP_f_b): Likewise.
2920 (RUN_TEST_LOOP_f_b_tg): Likewise.
2921 (RUN_TEST_LOOP_f_l): Likewise.
2922 (RUN_TEST_LOOP_f_L): Likewise.
2923 (RUN_TEST_LOOP_fFF_11): Likewise.
2924 * math/gen-libm-test.pl (parse_args): Output four copies of
2925 expected results for each test.
2927 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2928 (__ASSUME_UTIMES): Remove.
2929 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2930 (__ASSUME_UTIMES): Likewise.
2932 * math/gen-auto-libm-tests.c: Update comment on output format.
2933 (output_for_one_input_case): Generate before-rounding and
2934 after-rounding information as conditions on output flags not
2935 floating-point format.
2936 * math/auto-libm-test-out: Regenerated.
2937 * math/gen-libm-test.pl (cond_value): New function.
2938 (or_cond_value): Use cond_value.
2939 (generate_testfile): Handle conditional exceptions.
2941 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2943 * math/libm-test.inc (max_valid_error): New variable.
2944 (init_max_error): Take new argument specifying whether function
2945 results are exactly determined. Set max_valid_error and bound
2946 other variables for errors based on this argument.
2947 (set_max_error): Do not record results above max_valid_error.
2948 (check_float_internal): Only accept errors of up to 0.5ulps if
2949 also at most max_valid_error.
2950 (START): Take new argument EXACT and pass it to init_max_error.
2951 (acos_test): Update call to START.
2952 (acos_test_tonearest): Likewise.
2953 (acos_test_towardzero): Likewise.
2954 (acos_test_downward): Likewise.
2955 (acos_test_upward): Likewise.
2956 (acosh_test): Likewise.
2957 (asin_test): Likewise.
2958 (asin_test_tonearest): Likewise.
2959 (asin_test_towardzero): Likewise.
2960 (asin_test_downward): Likewise.
2961 (asin_test_upward): Likewise.
2962 (asinh_test): Likewise.
2963 (atan_test): Likewise.
2964 (atanh_test): Likewise.
2965 (atan2_test): Likewise.
2966 (cabs_test): Likewise.
2967 (cacos_test): Likewise.
2968 (cacosh_test): Likewise.
2969 (carg_test): Likewise.
2970 (casin_test): Likewise.
2971 (casinh_test): Likewise.
2972 (catan_test): Likewise.
2973 (catanh_test): Likewise.
2974 (cbrt_test): Likewise.
2975 (ccos_test): Likewise.
2976 (ccosh_test): Likewise.
2977 (ceil_test): Likewise.
2978 (cexp_test): Likewise.
2979 (cimag_test): Likewise.
2980 (clog_test): Likewise.
2981 (clog10_test): Likewise.
2982 (conj_test): Likewise.
2983 (copysign_test): Likewise.
2984 (cos_test): Likewise.
2985 (cos_test_tonearest): Likewise.
2986 (cos_test_towardzero): Likewise.
2987 (cos_test_downward): Likewise.
2988 (cos_test_upward): Likewise.
2989 (cosh_test): Likewise.
2990 (cosh_test_tonearest): Likewise.
2991 (cosh_test_towardzero): Likewise.
2992 (cosh_test_downward): Likewise.
2993 (cosh_test_upward): Likewise.
2994 (cpow_test): Likewise.
2995 (cproj_test): Likewise.
2996 (creal_test): Likewise.
2997 (csin_test): Likewise.
2998 (csinh_test): Likewise.
2999 (csqrt_test): Likewise.
3000 (ctan_test): Likewise.
3001 (ctan_test_tonearest): Likewise.
3002 (ctan_test_towardzero): Likewise.
3003 (ctan_test_downward): Likewise.
3004 (ctan_test_upward): Likewise.
3005 (ctanh_test): Likewise.
3006 (ctanh_test_tonearest): Likewise.
3007 (ctanh_test_towardzero): Likewise.
3008 (ctanh_test_downward): Likewise.
3009 (ctanh_test_upward): Likewise.
3010 (erf_test): Likewise.
3011 (erfc_test): Likewise.
3012 (exp_test): Likewise.
3013 (exp_test_tonearest): Likewise.
3014 (exp_test_towardzero): Likewise.
3015 (exp_test_downward): Likewise.
3016 (exp_test_upward): Likewise.
3017 (exp10_test): Likewise.
3018 (exp10_test_tonearest): Likewise.
3019 (exp10_test_towardzero): Likewise.
3020 (exp10_test_downward): Likewise.
3021 (exp10_test_upward): Likewise.
3022 (pow10_test): Likewise.
3023 (exp2_test): Likewise.
3024 (expm1_test): Likewise.
3025 (expm1_test_tonearest): Likewise.
3026 (expm1_test_towardzero): Likewise.
3027 (expm1_test_downward): Likewise.
3028 (expm1_test_upward): Likewise.
3029 (fabs_test): Likewise.
3030 (fdim_test): Likewise.
3031 (floor_test): Likewise.
3032 (fma_test): Likewise.
3033 (fma_test_towardzero): Likewise.
3034 (fma_test_downward): Likewise.
3035 (fma_test_upward): Likewise.
3036 (fmax_test): Likewise.
3037 (fmin_test): Likewise.
3038 (fmod_test): Likewise.
3039 (fpclassify_test): Likewise.
3040 (frexp_test): Likewise.
3041 (hypot_test): Likewise.
3042 (ilogb_test): Likewise.
3043 (isfinite_test): Likewise.
3044 (finite_test): Likewise.
3045 (isgreater_test): Likewise.
3046 (isgreaterequal_test): Likewise.
3047 (isinf_test): Likewise.
3048 (isless_test): Likewise.
3049 (islessequal_test): Likewise.
3050 (islessgreater_test): Likewise.
3051 (isnan_test): Likewise.
3052 (isnormal_test): Likewise.
3053 (issignaling_test): Likewise.
3054 (isunordered_test): Likewise.
3055 (j0_test): Likewise.
3056 (j1_test): Likewise.
3057 (jn_test): Likewise.
3058 (ldexp_test): Likewise.
3059 (lgamma_test): Likewise.
3060 (gamma_test): Likewise.
3061 (lrint_test): Likewise.
3062 (lrint_test_tonearest): Likewise.
3063 (lrint_test_towardzero): Likewise.
3064 (lrint_test_downward): Likewise.
3065 (lrint_test_upward): Likewise.
3066 (llrint_test): Likewise.
3067 (llrint_test_tonearest): Likewise.
3068 (llrint_test_towardzero): Likewise.
3069 (llrint_test_downward): Likewise.
3070 (llrint_test_upward): Likewise.
3071 (log_test): Likewise.
3072 (log10_test): Likewise.
3073 (log1p_test): Likewise.
3074 (log2_test): Likewise.
3075 (logb_test): Likewise.
3076 (logb_test_downward): Likewise.
3077 (lround_test): Likewise.
3078 (llround_test): Likewise.
3079 (modf_test): Likewise.
3080 (nearbyint_test): Likewise.
3081 (nextafter_test): Likewise.
3082 (nexttoward_test): Likewise.
3083 (pow_test): Likewise.
3084 (pow_test_tonearest): Likewise.
3085 (pow_test_towardzero): Likewise.
3086 (pow_test_downward): Likewise.
3087 (pow_test_upward): Likewise.
3088 (remainder_test): Likewise.
3089 (drem_test): Likewise.
3090 (remainder_test_tonearest): Likewise.
3091 (drem_test_tonearest): Likewise.
3092 (remainder_test_towardzero): Likewise.
3093 (drem_test_towardzero): Likewise.
3094 (remainder_test_downward): Likewise.
3095 (drem_test_downward): Likewise.
3096 (remainder_test_upward): Likewise.
3097 (drem_test_upward): Likewise.
3098 (remquo_test): Likewise.
3099 (rint_test): Likewise.
3100 (rint_test_tonearest): Likewise.
3101 (rint_test_towardzero): Likewise.
3102 (rint_test_downward): Likewise.
3103 (rint_test_upward): Likewise.
3104 (round_test): Likewise.
3105 (scalb_test): Likewise.
3106 (scalbn_test): Likewise.
3107 (scalbln_test): Likewise.
3108 (signbit_test): Likewise.
3109 (sin_test): Likewise.
3110 (sin_test_tonearest): Likewise.
3111 (sin_test_towardzero): Likewise.
3112 (sin_test_downward): Likewise.
3113 (sin_test_upward): Likewise.
3114 (sincos_test): Likewise.
3115 (sinh_test): Likewise.
3116 (sinh_test_tonearest): Likewise.
3117 (sinh_test_towardzero): Likewise.
3118 (sinh_test_downward): Likewise.
3119 (sinh_test_upward): Likewise.
3120 (sqrt_test): Likewise.
3121 (sqrt_test_tonearest): Likewise.
3122 (sqrt_test_towardzero): Likewise.
3123 (sqrt_test_downward): Likewise.
3124 (sqrt_test_upward): Likewise.
3125 (tan_test): Likewise.
3126 (tan_test_tonearest): Likewise.
3127 (tan_test_towardzero): Likewise.
3128 (tan_test_downward): Likewise.
3129 (tan_test_upward): Likewise.
3130 (tanh_test): Likewise.
3131 (tgamma_test): Likewise.
3132 (trunc_test): Likewise.
3133 (y0_test): Likewise.
3134 (y1_test): Likewise.
3135 (yn_test): Likewise.
3136 (significand_test): Likewise.
3138 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3139 individual tests in comment.
3140 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3141 (prev_max_error): New variable.
3142 (prev_real_max_error): Likewise.
3143 (prev_imag_max_error): Likewise.
3144 (compare_ulp_data): Don't refer to test names in comment.
3145 (find_test_ulps): Remove function.
3146 (find_function_ulps): Likewise.
3147 (find_complex_function_ulps): Likewise.
3148 (init_max_error): Take function name as argument. Look up ulps
3150 (print_ulps): Remove function.
3151 (print_max_error): Use prev_max_error instead of calling
3153 (print_complex_max_error): Use prev_real_max_error and
3154 prev_imag_max_error instead of calling find_complex_function_ulps.
3155 (check_float_internal): Take max_ulp parameter instead of calling
3156 find_test_ulps. Don't call print_ulps.
3157 (check_float): Update call to check_float_internal.
3158 (check_complex): Update calls to check_float_internal.
3159 (START): Pass argument to init_max_error.
3160 * math/gen-libm-test.pl (%results): Don't include "kind"
3162 (parse_ulps): Don't handle ulps of individual tests.
3163 (print_ulps_file): Likewise.
3164 (output_ulps): Likewise.
3165 * math/README.libm-test: Update.
3166 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3168 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3169 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3170 * sysdeps/arm/libm-test-ulps: Likewise.
3171 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3172 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3173 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3174 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3175 * sysdeps/microblaze/libm-test-ulps: Likewise.
3176 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3177 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3179 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3180 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3181 * sysdeps/sh/libm-test-ulps: Likewise.
3182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3183 * sysdeps/tile/libm-test-ulps: Likewise.
3184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3186 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3188 * math/libm-test.inc (print_complex_max_error): Check separately
3189 whether real and imaginary errors are within allowed range and
3190 pass 0 to print_complex_function_ulps instead of value within
3193 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3195 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3197 (get_handles_fopen): Likewise.
3198 (do_write_test): Likewise.
3200 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3202 * libio/fileops.c (do_ftell): Use cached offset when
3204 * libio/iofwide.c (do_ftell_wide): Likewise.
3205 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3207 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3210 * libio/libioP.h (get_file_offset): New function.
3211 * libio/fileops.c (get_file_offset): Likewise.
3212 (do_ftell): Likewise.
3213 (_IO_new_file_seekoff): Split out ftell logic.
3214 * libio/wfileops.c (do_ftell_wide): Likewise.
3215 (_IO_wfile_seekoff): Split out ftell logic.
3216 * libio/tst-ftell-active-handler.c: New test case.
3217 * libio/Makefile (tests): Add it.
3219 2014-03-03 Roland McGrath <roland@hack.frob.com>
3221 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3222 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3224 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3227 * nscd/connections.c (nscd_init): Call do_exit.
3228 (start_threads): Call do_exit and notify_parent.
3229 (begin_drop_privileges): Call do_exit.
3230 (finish_drop_privileges): Likewise.
3231 * nscd/selinux.c (preserve_capabilities): Likewise.
3232 (install_real_capabilities): Likewise.
3233 (nscd_selinux_enabled): Likewise.
3234 (avc_create_thread): Likewise.
3235 (avc_alloc_lock): Likewise.
3236 (nscd_avc_init): Likewise.
3237 * nscd/nscd.c (parent_fd): New static variable.
3238 (main): Create a pipe between parent and child processes.
3239 Skip closing parent_fd.
3240 (monitor_child): New function.
3241 (do_exit): Likewise.
3242 (notify_parent): Likewise.
3243 * nscd/nscd.h (notify_parent): Likewise.
3244 (do_exit): Likewise.
3246 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3248 * malloc/malloc.c (__libc_calloc): Revert last change.
3250 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3254 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3256 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3260 (__libc_ifunc_impl_list): Likewise.
3261 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3262 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3263 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3264 * string/strrchr.c: Define STRRCHR.
3266 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3268 * benchtest/bench-strtok.c (simple_strtok): Delete.
3269 (strtok_string): Use as benchmark.
3270 * string/strtok (STRTOK): New macro.
3272 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3274 * manual/threads.texi: Add header and standard comments to all
3277 * elf/dl-lookup.c (check_match): New function.
3278 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3279 (do_lookup_x): Remove nested function check_match. Use non-nested
3280 function check_match.
3282 2014-02-28 Roland McGrath <roland@hack.frob.com>
3284 * csu/Makefile (generated, before-compile): Use += rather than =.
3285 * catgets/Makefile (generated, generated-dirs): Likewise.
3286 * debug/Makefile (generated): Likewise.
3287 * dlfcn/Makefile (generated): Likewise.
3288 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3289 * iconvdata/Makefile (before-compile, generated): Likewise.
3290 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3291 * libio/Makefile (generated): Likewise.
3292 * malloc/Makefile (generated): Likewise.
3293 * manual/Makefile (generated, generated-dirs): Likewise.
3294 * misc/Makefile (generated): Likewise.
3295 * posix/Makefile (generated): Likewise.
3296 * resolv/Makefile (generated): Likewise.
3297 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3298 * timezone/Makefile (generated, generated-dirs): Likewise.
3300 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3302 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3305 power8 implementation.
3306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3307 file: POWER8 llround ifunc implementation.
3308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3309 (__lllround): Add POWER8 implementation.
3310 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3311 POWER8 llround implementation.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3314 power8 implementation.
3315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3316 file: POWER8 llrint ifunc implementation.
3317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3318 Add POWER8 implementation.
3319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3320 POWER8 llrint implementation.
3322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3323 power8 implementation.
3324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3325 file: POWER8 finite ifunc implementation.
3326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3327 Add POWER8 implementation.
3328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3330 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3331 POWER8 finite implementation.
3332 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3335 power8 implementation.
3336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3337 file: POWER8 isinf ifunc implementation.
3338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3339 POWER8 implementation.
3340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3343 isinf implementation.
3344 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3346 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3347 (INIT_ARCH): Add hwcap2 initialization.
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3349 power8 implementation.
3350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3351 file: POWER8 isnan ifunc implementation.
3352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3353 POWER8 implementation.
3354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3356 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3357 isnan implementation.
3358 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3360 2014-02-27 Joey Ye <joey.ye@arm.com>
3362 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3363 (_FP_NANFRAC_Q): Set to zero.
3365 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3368 * math/auto-libm-test-in: New test inputs.
3369 * math/auto-libm-test-out: Regenerate.
3370 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3375 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3377 * scripts/evaluate-test.sh: Take new argument indicating whether
3378 failure is expected.
3379 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3380 indicating whether failure is expected.
3381 * conform/Makefile (test-xfail-run-conformtest): New variable.
3382 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3384 * posix/Makefile (test-xfail-annexc): New variable.
3385 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3387 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3389 * argp/Makefile: Include Makeconfig immediately after defining
3391 * assert/Makefile: Likewise.
3392 * benchtests/Makefile: Likewise.
3393 * catgets/Makefile: Likewise.
3394 * conform/Makefile: Likewise.
3395 * crypt/Makefile: Likewise.
3396 * csu/Makefile: Likewise.
3397 (all): Remove target.
3398 * ctype/Makefile: Include Makeconfig immediately after defining
3400 * debug/Makefile: Likewise.
3401 * dirent/Makefile: Likewise.
3402 * dlfcn/Makefile: Likewise.
3403 * gmon/Makefile: Likewise.
3404 * gnulib/Makefile: Likewise.
3405 * grp/Makefile: Likewise.
3406 * gshadow/Makefile: Likewise.
3407 * hesiod/Makefile: Likewise.
3408 * hurd/Makefile: Likewise.
3409 (all): Remove target.
3410 * iconvdata/Makefile: Include Makeconfig immediately after
3412 * inet/Makefile: Likewise.
3413 * intl/Makefile: Likewise.
3414 * io/Makefile: Likewise.
3415 * libio/Makefile: Likewise.
3416 (all): Remove target.
3417 * locale/Makefile: Include Makeconfig immediately after defining
3419 * login/Makefile: Likewise.
3420 * mach/Makefile: Likewise.
3421 (all): Remove target.
3422 * malloc/Makefile: Include Makeconfig immediately after defining
3424 (all): Remove target.
3425 * manual/Makefile: Include Makeconfig immediately after defining
3427 * math/Makefile: Likewise.
3428 * misc/Makefile: Likewise.
3429 * nis/Makefile: Likewise.
3430 * nss/Makefile: Likewise.
3431 * po/Makefile: Likewise.
3432 (all): Remove target.
3433 * posix/Makefile: Include Makeconfig immediately after defining
3435 * pwd/Makefile: Likewise.
3436 * resolv/Makefile: Likewise.
3437 * resource/Makefile: Likewise.
3438 * rt/Makefile: Likewise.
3439 * setjmp/Makefile: Likewise.
3440 * shadow/Makefile: Likewise.
3441 * signal/Makefile: Likewise.
3442 * socket/Makefile: Likewise.
3443 * soft-fp/Makefile: Likewise.
3444 * stdio-common/Makefile: Likewise.
3445 * stdlib/Makefile: Likewise.
3446 * streams/Makefile: Likewise.
3447 * string/Makefile: Likewise.
3448 * sunrpc/Makefile: Likewise.
3449 (all): Remove target.
3450 * sysvipc/Makefile: Include Makeconfig immediately after defining
3452 * termios/Makefile: Likewise.
3453 * time/Makefile: Likewise.
3454 * timezone/Makefile: Likewise.
3455 (all): Remove target.
3456 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3458 * wctype/Makefile: Likewise.
3460 2014-02-26 Steve Ellcey <sellcey@mips.com>
3462 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3463 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3464 (libc_feholdexcept_setround_mips): Ditto.
3465 (libc_feholdsetround): New.
3466 (libc_feholdsetroundf): New.
3467 (libc_feholdsetroundl): New.
3468 (libc_feupdateenv_test_mips): New.
3469 (libc_feupdateenv_test): New.
3470 (libc_feupdateenv_testf): New.
3471 (libc_feupdateenv_testl): New.
3472 (libc_feresetround): New.
3473 (libc_feresetroundf): New.
3474 (libc_feresetroundl): New.
3475 (libc_fetestexcept_mips): New.
3476 (libc_fetestexcept): New.
3477 (libc_fetestexceptf): New.
3478 (libc_fetestexceptl): New.
3480 (libc_feholdexcept_setround_mips_ctx): New.
3481 (libc_feholdexcept_setround_ctx): New.
3482 (libc_feholdexcept_setroundf_ctx): New.
3483 (libc_feholdexcept_setroundl_ctx): New.
3484 (libc_fesetenv_mips_ctx): New.
3485 (libc_fesetenv_ctx): New.
3486 (libc_fesetenv_ctxf): New.
3487 (libc_fesetenv_ctxl): New.
3488 (libc_feupdateenv_mips_ctx): New.
3489 (libc_feupdateenv_ctx): New.
3490 (libc_feupdateenvf_ctx): New.
3491 (libc_feupdateenvl_ctx): New.
3492 (libc_feholdsetround_mips_ctx): New.
3493 (libc_feholdsetround_ctx): New.
3494 (libc_feholdsetroundf_ctx): New.
3495 (libc_feholdsetroundl_ctx): New.
3496 (libc_feresetround_mips_ctx): New.
3497 (libc_feresetround_ctx): New.
3498 (libc_feresetroundf_ctx): New.
3499 (libc_feresetroundl_ctx): New.
3501 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3503 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3505 * manual/ipc.texi: New file.
3506 * manual/Makefile (chapters): Add ipc.
3507 * manual/job.texi: Add "Inter-Process Communication" to next.
3508 * manual/process.texi: Add "Inter-Process Communication" to prev.
3510 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3514 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3516 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3518 * manual/arith.texi: Fix spaces after sentences.
3519 * manual/charset.texi: Likewise.
3520 * manual/errno.texi: Likewise.
3521 * manual/install.texi: Likewise.
3522 * manual/llio.texi: Likewise.
3523 * manual/locale.texi: Likewise.
3524 * manual/maint.texi: Likewise.
3525 * manual/math.texi: Likewise.
3526 * manual/memory.texi: Likewise.
3527 * manual/message.texi: Likewise.
3528 * manual/probes.texi: Likewise.
3529 * manual/resource.texi: Likewise.
3530 * manual/signal.texi: Likewise.
3531 * manual/socket.texi: Likewise.
3532 * manual/stdio.texi: Likewise.
3533 * manual/string.texi: Likewise.
3534 * manual/time.texi: Likewise.
3535 * manual/users.texi: Likewise.
3537 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3540 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3541 _DEFAULT_SOURCE is defined.
3543 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3544 Carlos O'Donell <carlos@redhat.com>
3547 * elf/dl-tls.c (_dl_count_modids): New function.
3548 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3549 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3550 audit library and increment generation counter.
3551 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3552 * elf/tst-audit9.c: New file.
3553 * elf/tst-auditmod9a.c: New file.
3554 * elf/tst-auditmod9b.c: New file.
3555 * elf/Makefile: Add rules to build and run tst-audit9.
3557 2014-02-25 Florian Weimer <fweimer@redhat.com>
3560 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3562 2014-02-25 Will Newton <will.newton@linaro.org>
3564 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3565 (__longjmp): Restore sp and lr before restoring callee
3566 saved registers. Add longjmp and longjmp_target
3567 SystemTap probe point.
3568 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3569 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3570 Define to zero to match jmpbuf layout.
3571 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3572 (__sigsetjmp): Save sp and lr before saving callee
3573 saved registers. Add setjmp SystemTap probe point.
3575 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3577 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3579 2014-02-24 Andreas Schwab <schwab@suse.de>
3582 * elf/pldd.c (wait_for_ptrace_stop): New function.
3583 (main): Call it after attaching.
3585 2014-02-22 Roland McGrath <roland@hack.frob.com>
3587 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3588 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3589 Versions files is now verboten.
3590 * hurd/Versions (libc: GLIBC_2.0):
3591 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3592 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3593 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3594 * mach/Versions: Likewise.
3596 * csu/Versions: Remove unused %include.
3597 * resolv/Versions: Likewise.
3599 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3601 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3602 ($(objpfx)check-local-headers.out): Likewise.
3603 ($(objpfx)begin-end-check.out): Likewise.
3604 * Makerules (check-abi-%.out): Likewise.
3605 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3606 ($(objpfx)test2.cat): Likewise.
3607 ($(objpfx)de/libc.cat): Likewise.
3608 ($(objpfx)test-gencat.out): Likewise.
3609 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3610 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3611 ($(objpfx)noload-mem): Likewise.
3612 ($(objpfx)tst-pathopt.out): Likewise.
3613 ($(objpfx)tst-rtld-load-self.out): Likewise.
3614 ($(objpfx)tst-array1-cmp.out): Likewise.
3615 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3616 ($(objpfx)tst-array2-cmp.out): Likewise.
3617 ($(objpfx)tst-array3-cmp.out): Likewise.
3618 ($(objpfx)tst-array4-cmp.out): Likewise.
3619 ($(objpfx)tst-array5-cmp.out): Likewise.
3620 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3621 ($(objpfx)check-textrel.out): Likewise.
3622 ($(objpfx)check-execstack.out): Likewise.
3623 ($(objpfx)check-localplt.out): Likewise.
3624 ($(objpfx)order2-cmp.out): Likewise.
3625 ($(objpfx)tst-leaks1-mem): Likewise.
3626 ($(objpfx)tst-leaks1-static-mem): Likewise.
3627 ($(objpfx)tst-initorder-cmp.out): Likewise.
3628 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3629 ($(objpfx)tst-unused-dep.out): Likewise.
3630 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3631 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3632 * iconv/Makefile (test-iconvconfig): Likewise.
3633 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3634 ($(objpfx)iconv-test.out): Likewise.
3635 ($(objpfx)tst-tables.out): Likewise.
3636 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3637 ($(objpfx)tst-gettext.out): Likewise.
3638 ($(objpfx)tst-translit.out): Likewise.
3639 ($(objpfx)tst-gettext2.out): Likewise.
3640 ($(objpfx)tst-gettext4.out): Likewise.
3641 ($(objpfx)tst-gettext6.out): Likewise.
3642 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3643 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3644 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3645 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3647 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3648 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3649 ($(objpfx)wordexp-tst.out): Likewise.
3650 ($(objpfx)annexc.out): Likewise.
3651 ($(objpfx)tst-fnmatch-mem): Likewise.
3652 ($(objpfx)bug-regex2-mem): Likewise.
3653 ($(objpfx)bug-regex14-mem): Likewise.
3654 ($(objpfx)bug-regex21-mem): Likewise.
3655 ($(objpfx)bug-regex31-mem): Likewise.
3656 ($(objpfx)tst-vfork3-mem): Likewise.
3657 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3658 ($(objpfx)tst-pcre-mem): Likewise.
3659 ($(objpfx)tst-boost-mem): Likewise.
3660 ($(objpfx)tst-getconf.out): Likewise.
3661 ($(objpfx)bug-ga2-mem): Likewise.
3662 ($(objpfx)bug-glob2-mem): Likewise.
3663 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3664 ($(objpfx)mtrace-tst-leaks2): Likewise.
3665 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3666 ($(objpfx)tst-printf.out): Likewise.
3667 ($(objpfx)tst-setvbuf1.out): Likewise.
3668 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3669 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3670 ($(objpfx)tst-fmtmsg.out): Likewise.
3671 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3672 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3674 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3675 * bits/sigaction.h [__USE_MISC]: Likewise.
3676 * bits/waitstatus.h: Update #endif comments.
3677 * ctype/ctype.h: Likewise.
3678 * dirent/dirent.h: Likewise.
3679 [__USE_MISC]: Remove redundant conditionals.
3680 * grp/grp.h: Update #endif comments.
3681 [__USE_GNU]: Remove redundant conditionals.
3682 [__USE_MISC]: Likewise.
3683 * inet/netinet/in.h [__USE_GNU]: Likewise.
3684 * io/sys/stat.h [__USE_MISC]: Likewise.
3685 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3686 * libio/bits/stdio.h: Update #endif comments.
3687 [__USE_MISC]: Remove redundant conditionals.
3688 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3689 * libio/stdio.h: Update #endif comments.
3690 [__USE_MISC]: Remove redundant conditionals.
3691 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3692 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3693 * math/math.h: Update #else and #endif comments.
3694 [__USE_MISC]: Remove redundant conditionals.
3695 * misc/sys/uio.h: Update #endif comments.
3696 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3697 * posix/glob.h [__USE_MISC]: Likewise.
3698 * posix/sys/types.h: Update #endif comments.
3699 [__USE_MISC]: Remove redundant conditionals.
3700 * posix/sys/wait.h: Update #endif comments.
3701 [__USE_MISC]: Remove redundant conditionals.
3702 * posix/unistd.h: Update #endif comments.
3703 [__USE_MISC]: Remove redundant conditionals.
3704 * pwd/pwd.h [__USE_GNU]: Likewise.
3705 [__USE_MISC]: Likewise.
3706 * resolv/netdb.h [__USE_GNU]: Likewise.
3707 * signal/signal.h: Update #endif comments.
3708 [__USE_MISC]: Remove redundant conditionals.
3709 * stdlib/stdlib.h: Update #else and #endif comments.
3710 [__USE_MISC]: Remove redundant conditionals.
3711 [__USE_GNU]: Likewise.
3712 * string/bits/string2.h [__USE_MISC]: Likewise.
3713 * string/string.h: Update #endif comments.
3714 [__USE_MISC]: Remove redundant conditionals.
3715 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3717 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3718 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3719 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3721 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3725 [__USE_MISC]: Remove redundant conditionals.
3726 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3727 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3728 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3729 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3730 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3732 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3733 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3735 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3736 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3738 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3740 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3741 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3743 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3745 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3746 * sysdeps/x86/bits/string.h: Update #endif comments.
3747 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3749 * time/sys/time.h: Update #endif comments.
3750 * time/time.h: Likewise.
3751 [__USE_MISC]: Remove redundant conditionals.
3753 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3756 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3758 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3760 * Versions.def (librt): Add GLIBC_2.17.
3762 2014-02-21 Adam Conrad <adconrad@0c3.net>
3764 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3765 synonym for _SYS_AUXV_H to allow direct inclusion.
3766 * sysdeps/sparc/bits/hwcap.h: Likewise.
3767 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3768 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3769 * sysdeps/sparc/sysdep.h: Likewise.
3771 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3773 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3775 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3777 * benchtests/bench-strrchr.c: Print length instead of position.
3779 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3782 * sysdeps/unix/sysv/linux/kernel-features.h
3783 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3784 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3785 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3786 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3788 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3789 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3790 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3791 (__ASSUME_SENDMMSG): Define instead of using previous
3792 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3793 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3794 (__ASSUME_SENDMMSG_SYSCALL): Define.
3795 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3796 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3798 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3799 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3801 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3802 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3804 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3805 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3806 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3807 [__ASSUME_SENDMMSG]: Change conditionals to
3808 [__ASSUME_SENDMMSG_SOCKETCALL].
3809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3810 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3812 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3813 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3815 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3816 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3817 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3818 [!__ASSUME_SENDMMSG]: Change conditional to
3819 [!__ASSUME_SENDMMSG_SOCKETCALL].
3820 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3821 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3825 * sysdeps/unix/sysv/linux/kernel-features.h
3826 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3827 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3828 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3829 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3830 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3831 [__i386__ || __sparc__]
3832 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3833 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3834 (__ASSUME_RECVMMSG): Define instead of using previous
3835 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3836 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3837 (__ASSUME_RECVMMSG_SYSCALL): Define.
3838 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3839 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3842 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3844 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3847 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3848 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3849 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3850 [__ASSUME_RECVMMSG]: Change condition to
3851 [__ASSUME_RECVMMSG_SOCKETCALL].
3852 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3855 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3856 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3859 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3860 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3861 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3862 [!__ASSUME_RECVMMSG]: Change condition to
3863 [!__ASSUME_RECVMMSG_SOCKETCALL].
3864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3865 (__ASSUME_RECVMMSG_SYSCALL): Define.
3868 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3869 __powerpc__ || __s390__ || __sh__ || __sparc__]
3870 (__ASSUME_SOCKETCALL): Define.
3871 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3872 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3873 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3874 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3875 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3876 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3877 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3878 (__ASSUME_ACCEPT4): Define instead of using previous
3879 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3880 __powerpc__ || __sparc__ || __s390__)] condition.
3881 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3882 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3883 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3884 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3885 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3886 [!__ASSUME_ACCEPT4]: Change condition to
3887 [!__ASSUME_ACCEPT4_SOCKETCALL].
3888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3889 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3890 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3892 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3893 __ASSUME_ACCEPT4_SYSCALL.
3894 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3895 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3896 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3897 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3898 __ASSUME_ACCEPT4_SYSCALL.
3899 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3900 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3901 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3902 [__ASSUME_ACCEPT4]: Change condition to
3903 [__ASSUME_ACCEPT4_SOCKETCALL].
3904 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3905 (__ASSUME_SOCKETCALL): Define.
3906 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3908 (__ASSUME_SOCKETCALL): Define.
3909 (__ASSUME_ACCEPT4): Remove.
3910 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3913 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3915 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3916 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3918 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3920 (HWCAP_ARM_LPAE): Likewise.
3921 (HWCAP_ARM_EVTSTRM): Likewise.
3922 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3923 Add vpfd32, lpae and evtstrm.
3924 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3927 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3929 * math/auto-libm-test-in: Add tests of clog10.
3930 * math/auto-libm-test-out: Regenerated.
3931 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3935 2014-02-18 Andreas Schwab <schwab@suse.de>
3938 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3939 Store non-zero if the second buffer was newly allocated.
3940 (send_dg): Likewise.
3941 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3942 to send_vc and send_dg.
3943 (res_nsend): Pass NULL for ansp2_malloced.
3944 * resolv/res_query.c (__libc_res_nquery): Add parameter
3945 answerp2_malloced and pass it down to __libc_res_nsend.
3946 (res_nquery): Pass additional NULL to __libc_res_nquery.
3947 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3948 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3949 second answer buffer if answerp2_malloced was set.
3950 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3951 (__libc_res_nquerydomain): Add parameter
3952 answerp2_malloced and pass it down to __libc_res_nquery.
3953 (res_nquerydomain): Pass additional NULL to
3954 __libc_res_nquerydomain.
3955 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3956 additional NULL to __libc_res_nsend and __libc_res_nquery.
3957 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3958 additional NULL to __libc_res_nsearch.
3959 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3960 parameter of __libc_res_nsearch to check for separately allocated
3962 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3964 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3965 additional NULL to __libc_res_nquery.
3966 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3968 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3969 * include/resolv.h: Update prototypes of __libc_res_nquery,
3970 __libc_res_nsearch, __libc_res_nsend.
3972 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3974 * math/auto-libm-test-in: Add tests of fma.
3975 * math/auto-libm-test-out: Regenerated.
3976 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3977 (fma_towardzero_test_data): Likewise.
3978 (fma_downward_test_data): Likewise.
3979 (fma_upward_test_data): Likewise.
3980 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3982 (rounding_modes): Add values for new field.
3983 (func_calc_method): Add value mpfr_fff_f.
3984 (func_calc_desc): Add mpfr_fff_f union field.
3985 (test_function): Add field exact_args.
3986 (FUNC): Add macro argument EXACT_ARGS.
3987 (FUNC_mpfr_f_f): Update call to FUNC.
3988 (FUNC_mpfr_f_f): Likewise.
3989 (FUNC_mpfr_ff_f): Likewise.
3990 (FUNC_mpfr_if_f): Likewise.
3991 (FUNC_mpc_c_f): Likewise.
3992 (FUNC_mpc_c_c): Likewise.
3993 (test_functions): Add fma. Update calls to FUNC.
3994 (handle_input_arg): Add argument exact_args.
3995 (add_test): Update call to handle_input_arg.
3996 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3997 (output_for_one_input_case): Update call to calc_generic_results.
3998 Recalculate exact zero results in each rounding mode.
4000 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4001 non-negative before setting low bit.
4002 * math/auto-libm-test-in: Mark one asin test possibly having
4004 * math/auto-libm-test-out: Regenerated.
4005 * sysdeps/i386/fpu/libm-test-ulps: Update.
4006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4008 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4010 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4011 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4012 ports/sysdeps/unix/sysv/linux/microblaze.
4013 * README: Add missing listing for microblaze*-*-linux-gnu.
4015 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4017 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4018 * sysdeps/unix/sysv/linux/ia64: Move directory from
4019 ports/sysdeps/unix/sysv/linux/ia64.
4020 * README: Update listing for ia64-*-linux-gnu.
4022 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4023 Joseph Myers <joseph@codesourcery.com>
4025 * Makeconfig (test-name): New variable.
4026 (evaluate-test): Likewise.
4027 * Makerules (do-test-clean): Remove .test-result files.
4028 (common-mostlyclean): Likewise.
4029 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4030 * scripts/evaluate-test.sh: New file.
4032 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4034 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4035 separate $(objpfx)tst-fopenloc-cmp.out and
4036 $(objpfx)tst-fopenloc-mem.out targets.
4037 (tests): Update dependencies.
4038 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4039 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4040 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4041 (tst-rxspencer-no-utf8-ARGS): New variable.
4042 (tst-rxspencer-no-utf8-ENV): Likewise.
4043 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4044 instead of $(objpfx)tst-rxspencer-mem.
4045 ($(objpfx)tst-rxspencer-mem): Change target to
4046 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4047 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4048 * posix/tst-rxspencer-no-utf8.c: New file.
4050 * elf/Makefile ($(objpfx)order.out): Remove rule.
4051 [$(run-built-tests) = yes] (tests): Depend on
4052 $(objpfx)order-cmp.out.
4053 ($(objpfx)order-cmp.out): New rule.
4054 [$(run-built-tests) = yes] (tests): Depend on
4055 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4056 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4057 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4058 $(objpfx)tst-array5-static-cmp.out.
4059 ($(objpfx)tst-array1.out): Remove rule.
4060 ($(objpfx)tst-array1-cmp.out): New rule.
4061 ($(objpfx)tst-array1-static.out): Remove rule.
4062 ($(objpfx)tst-array1-static-cmp.out): New rule.
4063 ($(objpfx)tst-array2.out): Remove rule.
4064 ($(objpfx)tst-array2-cmp.out): New rule.
4065 ($(objpfx)tst-array3.out): Remove rule.
4066 ($(objpfx)tst-array3-cmp.out): New rule.
4067 ($(objpfx)tst-array4.out): Remove rule.
4068 ($(objpfx)tst-array4-cmp.out): New rule.
4069 ($(objpfx)tst-array5.out): Remove rule.
4070 ($(objpfx)tst-array5-cmp.out): New rule.
4071 ($(objpfx)tst-array5-static.out): Remove rule.
4072 ($(objpfx)tst-array5-static-cmp.out): New rule.
4073 [$(run-built-tests) = yes] (tests): Depend on
4074 $(objpfx)order2-cmp.out.
4075 ($(objpfx)order2.out): Remove rule.
4076 ($(objpfx)order2-cmp.out): New rule.
4077 ($(objpfx)tst-initorder.out): Remove rule.
4078 [$(run-built-tests) = yes] (tests): Depend on
4079 $(objpfx)tst-initorder-cmp.out.
4080 ($(objpfx)tst-initorder-cmp.out): New rule.
4081 ($(objpfx)tst-initorder2.out): Remove rule.
4082 [$(run-built-tests) = yes] (tests): Depend on
4083 $(objpfx)tst-initorder2-cmp.out.
4084 ($(objpfx)tst-initorder2-cmp.out): New rule.
4085 [$(run-built-tests) = yes] (tests): Depend on
4086 $(objpfx)tst-unused-dep-cmp.out.
4087 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4088 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4089 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4090 on $(objpfx)tst-setvbuf1-cmp.out.
4091 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4092 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4093 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4094 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4095 ($(objpfx)tst-svc.out): Remove rule.
4096 ($(objpfx)tst-svc-cmp.out): New rule.
4098 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4100 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4101 * ctype/ctype.h [__USE_MISC]: Likewise.
4102 * dirent/dirent.h [__USE_MISC]: Likewise.
4103 * grp/grp.h [__USE_MISC]: Likewise.
4104 * io/fcntl.h [__USE_MISC]: Likewise.
4105 * io/sys/stat.h [__USE_MISC]: Likewise.
4106 * libio/stdio.h [__USE_MISC]: Likewise.
4107 * posix/unistd.h [__USE_MISC]: Likewise.
4108 * pwd/pwd.h [__USE_MISC]: Likewise.
4109 * stdlib.h [__USE_MISC]: Likewise.
4110 * string/bits/string2.h [__USE_MISC]: Likewise.
4111 * string/string.h [__USE_MISC]: Likewise.
4112 * time/time.h [__USE_MISC]: Likewise.
4114 2014-02-13 Andreas Schwab <schwab@suse.de>
4117 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4118 second answer buffer if it was separately allocated.
4120 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4122 * sysdeps/mips/math-tests.h: Include <features.h>.
4123 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4124 (ROUNDING_TESTS_long_double): Do not define.
4125 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4126 (EXCEPTION_TESTS_long_double): Likewise.
4127 * sysdeps/mips/mips64/libm-test-ulps: Update.
4129 * include/features.h (__USE_BSD): Remove macro definitions.
4130 (__USE_SVID): Likewise.
4131 (_BSD_SOURCE): Likewise.
4132 (_SVID_SOURCE): Likewise.
4133 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4134 from definition of _DEFAULT_SOURCE.
4135 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4137 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4138 * bits/mman.h [__USE_BSD]: Likewise.
4139 * bits/termios.h [__USE_BSD]: Likewise.
4140 * bits/waitstatus.h [__USE_BSD]: Likewise.
4141 * ctype/ctype.h [__USE_SVID]: Likewise.
4142 * dirent/dirent.h [__USE_BSD]: Likewise.
4143 * grp/grp.h [__USE_SVID]: Likewise.
4144 [__USE_BSD]: Likewise.
4145 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4146 * io/fcntl.h [__USE_BSD]: Likewise.
4147 * io/ftw.h [__USE_BSD]: Likewise.
4148 * io/sys/stat.h [__USE_BSD]: Likewise.
4149 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4150 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4151 * libio/stdio.h [__USE_SVID]: Likewise.
4152 [__USE_BSD]: Likewise.
4153 * math/math.h [__USE_SVID]: Likewise.
4154 [__USE_BSD]: Likewise.
4155 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4156 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4157 * misc/search.h [__USE_SVID]: Likewise.
4158 * misc/sys/mman.h [__USE_BSD]: Likewise.
4159 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4160 * misc/sys/uio.h [__USE_BSD]: Likewise.
4161 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4162 * posix/glob.h [__USE_BSD]: Likewise.
4163 * posix/regex.h [__USE_BSD]: Likewise.
4164 * posix/sys/types.h [__USE_BSD]: Likewise.
4165 [__USE_SVID]: Likewise.
4166 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4167 * posix/sys/wait.h [__USE_BSD]: Likewise.
4168 [__USE_SVID]: Likewise.
4169 * posix/unistd.h [__USE_BSD]: Likewise.
4170 [__USE_SVID]: Likewise.
4171 * pwd/pwd.h [__USE_SVID]: Likewise.
4172 * resolv/netdb.h [__USE_BSD]: Likewise.
4173 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4174 * signal/signal.h [__USE_BSD]: Likewise.
4175 [__USE_SVID]: Likewise.
4176 * socket/sys/socket.h [__USE_BSD]: Likewise.
4177 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4178 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4179 [__USE_SVID]: Likewise.
4180 * string/bits/string2.h [__USE_BSD]: Likewise.
4181 [__USE_SVID]: Likewise.
4182 * string/bits/string3.h [__USE_BSD]: Likewise.
4183 * string/endian.h [__USE_BSD]: Likewise.
4184 * string/string.h [__USE_SVID]: Likewise.
4185 [__USE_BSD]: Likewise.
4186 * string/strings.h [__USE_BSD]: Likewise.
4187 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4188 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4189 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4190 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4191 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4192 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4194 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4196 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4197 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4199 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4200 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4202 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4204 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4205 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4206 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4210 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4211 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4212 * termios/termios.h [__USE_BSD]: Likewise.
4213 * time/sys/time.h [__USE_BSD]: Likewise.
4214 * time/time.h [__USE_BSD]: Likewise.
4215 [__USE_SVID]: Likewise.
4217 * Makefile (subdir_targets): Remove subdir_lint.out.
4219 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4220 (do-tst-printf): Likewise.
4221 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4222 $(objpfx)tst-printf.out.
4224 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4226 * Makerules (check-abi-%): Change target to
4227 $(objpfx)check-abi-%.out.
4228 (check-abi target): Update dependencies.
4229 (check-abi-pattern variable): Redirect output of diff to $@.
4230 (check-abi variable): Likewise.
4231 * elf/Makefile (check-abi): Update dependencies.
4233 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4235 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4236 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4238 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4239 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4240 value has largest subnormal exponent.
4241 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4242 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4243 * sysdeps/aarch64/soft-fp/sfp-machine.h
4244 (_FP_TININESS_AFTER_ROUNDING): New macro.
4245 * sysdeps/alpha/soft-fp/sfp-machine.h
4246 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4247 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4249 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4250 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4251 * sysdeps/mips/soft-fp/sfp-machine.h
4252 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4253 * sysdeps/powerpc/soft-fp/sfp-machine.h
4254 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4255 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4257 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4258 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4259 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4260 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4261 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4264 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4267 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4270 2014-02-12 Richard Henderson <rth@redhat.com>
4272 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4273 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4274 * sysdeps/unix/sysv/linux/alpha: Move directory from
4275 ports/sysdeps/unix/sysv/linux/alpha.
4276 * README: Update listing for alpha-*-linux-gnu.
4278 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4280 * include/features.h: Update comment documenting feature test
4282 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4284 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4285 (_SVID_SOURCE): Likewise.
4286 (_DEFAULT_SOURCE): Update description of default features.
4287 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4289 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4290 (S_ISVTX): Likewise.
4291 * manual/math.texi (Mathematical Constants): Likewise.
4292 * manual/signal.texi (Interrupted Primitives): Likewise.
4293 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4294 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4295 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4296 Don't refer to _SVID_SOURCE in warning text.
4298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4300 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4302 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4303 * sysdeps/mips/dl-lookup.c: Remove.
4304 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4306 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4309 * math/auto-libm-test-in: Add testcase for expl.
4310 * math/auto-libm-test-out: Regenerate.
4311 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4312 calculation of unsafe.
4313 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4315 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4317 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4318 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4319 ports/sysdeps/unix/sysv/linux/aarch64.
4320 * README: Update listing for aarch64*-*-linux-gnu.
4322 2014-02-11 Will Newton <will.newton@linaro.org>
4324 * manual/probes.texi (Mathematical Function Probes): Use
4325 "triggered" instead of "hit".
4327 * manual/probes.texi (Internal Probes): Add documentation
4328 of setjmp, longjmp and longjmp_target probes.
4330 * include/stap-probe.h: Add comment about probe argument
4333 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4334 definition. (tr_where, tr_freehook, tr_mallochook,
4335 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4337 2014-02-11 David S. Miller <davem@davemloft.net>
4339 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4340 processing int_tests.
4342 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4344 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4345 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4346 * sysdeps/unix/sysv/linux/mips: Move directory from
4347 ports/sysdeps/unix/sysv/linux/mips.
4348 * README: Update listing for mips-*-linux-gnu and
4351 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4353 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4354 * sysdeps/unix/sysv/linux/m68k: Move directory from
4355 ports/sysdeps/unix/sysv/linux/m68k.
4356 * README: Update listing for m68k-*-linux-gnu.
4358 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4360 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4361 * sysdeps/unix/sysv/linux/generic: Move directory from
4362 ports/sysdeps/unix/sysv/linux/generic.
4363 * sysdeps/unix/sysv/linux/tile: Move directory from
4364 ports/sysdeps/unix/sysv/linux/tile.
4365 * README: Update listing for tile*-*-linux-gnu.
4367 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4369 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4371 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4372 * catgets/open_catalog.c (__open_catalog): Likewise.
4373 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4374 * debug/confstr_chk.c: Likewise.
4375 * debug/fread_chk.c (__fread_chk): Likewise.
4376 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4377 * debug/getgroups_chk.c: Likewise.
4378 * debug/mbsnrtowcs_chk.c: Likewise.
4379 * debug/mbsrtowcs_chk.c: Likewise.
4380 * debug/mbstowcs_chk.c: Likewise.
4381 * debug/memcpy_chk.c: Likewise.
4382 * debug/memmove_chk.c: Likewise.
4383 * debug/mempcpy_chk.c: Likewise.
4384 * debug/memset_chk.c: Likewise.
4385 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4386 * debug/strcat_chk.c (__strcat_chk): Likewise.
4387 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4388 * debug/strncat_chk.c (__strncat_chk): Likewise.
4389 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4390 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4391 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4392 * debug/wcpncpy_chk.c: Likewise.
4393 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4394 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4395 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4396 * debug/wcsncpy_chk.c: Likewise.
4397 * debug/wcsnrtombs_chk.c: Likewise.
4398 * debug/wcsrtombs_chk.c: Likewise.
4399 * debug/wcstombs_chk.c: Likewise.
4400 * debug/wmemcpy_chk.c: Likewise.
4401 * debug/wmemmove_chk.c: Likewise.
4402 * debug/wmempcpy_chk.c: Likewise.
4403 * debug/wmemset_chk.c: Likewise.
4404 * dirent/scandirat.c (SCANDIRAT): Likewise.
4405 * dlfcn/dladdr1.c (dladdr1): Likewise.
4406 * dlfcn/dladdr.c (dladdr): Likewise.
4407 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4408 * dlfcn/dlerror.c (__dlerror): Likewise.
4409 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4410 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4411 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4412 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4413 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4414 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4415 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4416 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4418 * elf/dl-conflict.c: Likewise.
4419 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4420 * elf/dl-dst.h: Likewise.
4421 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4422 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4424 * elf/dl-init.c (call_init, _dl_init): Likewise.
4425 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4426 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4427 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4429 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4431 * elf/dl-minimal.c (__libc_memalign): Likewise.
4432 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4433 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4434 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4435 * elf/dl-sym.c (do_sym): Likewise.
4436 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4437 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4438 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4439 * elf/dl-writev.h (_dl_writev): Likewise.
4440 * elf/ldconfig.c (search_dir): Likewise.
4441 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4442 (dl_main): Likewise.
4443 * elf/setup-vdso.h (setup_vdso): Likewise.
4444 * grp/compat-initgroups.c (compat_call): Likewise.
4445 * grp/fgetgrent.c (fgetgrent): Likewise.
4446 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4447 * grp/putgrent.c (putgrent): Likewise.
4448 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4450 * hurd/hurdinit.c: Likewise.
4451 * iconvdata/8bit-gap.c (struct): Likewise.
4452 * iconvdata/ansi_x3.110.c : Likewise.
4453 * iconvdata/big5.c : Likewise.
4454 * iconvdata/big5hkscs.c : Likewise.
4455 * iconvdata/cp1255.c: Likewise.
4456 * iconvdata/cp1258.c : Likewise.
4457 * iconvdata/cp932.c : Likewise.
4458 * iconvdata/euc-cn.c: Likewise.
4459 * iconvdata/euc-jisx0213.c : Likewise.
4460 * iconvdata/euc-jp.c: Likewise.
4461 * iconvdata/euc-jp-ms.c : Likewise.
4462 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4463 * iconvdata/gb18030.c : Likewise.
4464 * iconvdata/gbbig5.c (const): Likewise.
4465 * iconvdata/gbgbk.c: Likewise.
4466 * iconvdata/gbk.c : Likewise.
4467 * iconvdata/ibm1364.c : Likewise.
4468 * iconvdata/ibm930.c : Likewise.
4469 * iconvdata/ibm932.c: Likewise.
4470 * iconvdata/ibm933.c : Likewise.
4471 * iconvdata/ibm935.c : Likewise.
4472 * iconvdata/ibm937.c : Likewise.
4473 * iconvdata/ibm939.c : Likewise.
4474 * iconvdata/ibm943.c: Likewise.
4475 * iconvdata/iso_11548-1.c: Likewise.
4476 * iconvdata/iso-2022-cn.c : Likewise.
4477 * iconvdata/iso-2022-cn-ext.c : Likewise.
4478 * iconvdata/iso-2022-jp-3.c: Likewise.
4479 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4480 * iconvdata/iso-2022-kr.c : Likewise.
4481 * iconvdata/iso646.c (gconv_end): Likewise.
4482 * iconvdata/iso_6937-2.c : Likewise.
4483 * iconvdata/iso_6937.c : Likewise.
4484 * iconvdata/iso8859-1.c: Likewise.
4485 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4486 * iconvdata/shift_jisx0213.c : Likewise.
4487 * iconvdata/sjis.c : Likewise.
4488 * iconvdata/t.61.c : Likewise.
4489 * iconvdata/tcvn5712-1.c : Likewise.
4490 * iconvdata/tscii.c: Likewise.
4491 * iconvdata/uhc.c : Likewise.
4492 * iconvdata/unicode.c (gconv_end): Likewise.
4493 * iconvdata/utf-16.c (gconv_end): Likewise.
4494 * iconvdata/utf-32.c (gconv_end): Likewise.
4495 * iconvdata/utf-7.c (base64): Likewise.
4496 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4497 * iconv/gconv_close.c (__gconv_close): Likewise.
4498 * iconv/gconv_open.c (__gconv_open): Likewise.
4499 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4500 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4501 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4502 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4503 (ucs4le_internal_loop_single): Likewise.
4504 * iconv/iconv.c (iconv): Likewise.
4505 * iconv/iconv_close.c: Likewise.
4506 * iconv/loop.c (SINGLE): Likewise.
4507 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4508 * include/atomic.h: Likewise.
4509 * inet/inet6_option.c (option_alloc): Likewise.
4510 * intl/bindtextdom.c (set_binding_values): Likewise.
4511 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4512 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4513 * intl/localealias.c (read_alias_file): Likewise.
4514 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4515 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4516 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4517 * libio/fmemopen.c (fmemopen): Likewise.
4518 * libio/iofgets.c (_IO_fgets): Likewise.
4519 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4520 * libio/iofgetws.c (fgetws): Likewise.
4521 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4522 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4523 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4524 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4525 * locale/findlocale.c (_nl_find_locale): Likewise.
4526 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4527 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4529 * locale/setlocale.c (setlocale): Likewise.
4530 * login/programs/pt_chown.c (main): Likewise.
4531 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4532 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4533 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4534 (mmap, mmap64, mremap, munmap): Likewise.
4535 * math/e_exp2l.c: Likewise.
4536 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4537 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4538 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4539 * math/s_catan.c (__catan): Likewise.
4540 * math/s_catanf.c (__catanf): Likewise.
4541 * math/s_catanh.c (__catanh): Likewise.
4542 * math/s_catanhf.c (__catanhf): Likewise.
4543 * math/s_catanhl.c (__catanhl): Likewise.
4544 * math/s_catanl.c (__catanl): Likewise.
4545 * math/s_ccosh.c (__ccosh): Likewise.
4546 * math/s_ccoshf.c (__ccoshf): Likewise.
4547 * math/s_ccoshl.c (__ccoshl): Likewise.
4548 * math/s_cexp.c (__cexp): Likewise.
4549 * math/s_cexpf.c (__cexpf): Likewise.
4550 * math/s_cexpl.c (__cexpl): Likewise.
4551 * math/s_clog10.c (__clog10): Likewise.
4552 * math/s_clog10f.c (__clog10f): Likewise.
4553 * math/s_clog10l.c (__clog10l): Likewise.
4554 * math/s_clog.c (__clog): Likewise.
4555 * math/s_clogf.c (__clogf): Likewise.
4556 * math/s_clogl.c (__clogl): Likewise.
4557 * math/s_csin.c (__csin): Likewise.
4558 * math/s_csinf.c (__csinf): Likewise.
4559 * math/s_csinh.c (__csinh): Likewise.
4560 * math/s_csinhf.c (__csinhf): Likewise.
4561 * math/s_csinhl.c (__csinhl): Likewise.
4562 * math/s_csinl.c (__csinl): Likewise.
4563 * math/s_csqrt.c (__csqrt): Likewise.
4564 * math/s_csqrtf.c (__csqrtf): Likewise.
4565 * math/s_csqrtl.c (__csqrtl): Likewise.
4566 * math/s_ctan.c (__ctan): Likewise.
4567 * math/s_ctanf.c (__ctanf): Likewise.
4568 * math/s_ctanh.c (__ctanh): Likewise.
4569 * math/s_ctanhf.c (__ctanhf): Likewise.
4570 * math/s_ctanhl.c (__ctanhl): Likewise.
4571 * math/s_ctanl.c (__ctanl): Likewise.
4572 * math/w_pow.c: Likewise.
4573 * math/w_powf.c: Likewise.
4574 * math/w_powl.c: Likewise.
4575 * math/w_scalb.c (sysv_scalb): Likewise.
4576 * math/w_scalbf.c (sysv_scalbf): Likewise.
4577 * math/w_scalbl.c (sysv_scalbl): Likewise.
4578 * misc/error.c (error_tail): Likewise.
4579 * misc/pselect.c (__pselect): Likewise.
4580 * nis/nis_callback.c (__nis_create_callback): Likewise.
4581 * nis/nis_call.c (__nisfind_server): Likewise.
4582 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4583 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4584 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4585 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4586 * nis/nis_lookup.c (nis_lookup): Likewise.
4587 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4588 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4589 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4590 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4591 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4592 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4593 * nis/nss_compat/compat-initgroups.c (add_group)
4594 (internal_getgrent_r): Likewise.
4595 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4596 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4597 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4598 (internal_getspnam_r): Likewise.
4599 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4600 (_nss_nis_getaliasbyname_r): Likewise.
4601 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4602 (_nss_nis_getntohost_r): Likewise.
4603 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4604 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4605 (_nss_nis_getgrgid_r): Likewise.
4606 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4607 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4608 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4609 (_nss_nis_gethostbyname4_r): Likewise.
4610 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4611 (initgroups_netid): Likewise.
4612 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4613 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4614 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4615 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4616 (_nss_nis_getprotobynumber_r): Likewise.
4617 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4618 (_nss_nis_getsecretkey): Likewise.
4619 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4620 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4621 (_nss_nis_getpwuid_r): Likewise.
4622 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4623 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4624 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4625 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4626 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4627 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4628 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4630 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4631 (_nss_nisplus_getntohost_r): Likewise.
4632 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4633 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4634 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4635 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4637 * nis/nss_nisplus/nisplus-initgroups.c
4638 (_nss_nisplus_initgroups_dyn): Likewise.
4639 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4640 (_nss_nisplus_getnetbyaddr_r): Likewise.
4641 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4642 (_nss_nisplus_getprotobynumber_r): Likewise.
4643 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4644 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4645 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4647 * nis/nss_nisplus/nisplus-service.c
4648 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4649 (_nss_nisplus_getservbyport_r): Likewise.
4650 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4651 (_nss_nisplus_getspnam_r): Likewise.
4652 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4654 * nscd/aicache.c (addhstaiX): Likewise.
4655 * nscd/cache.c (cache_search, prune_cache): Likewise.
4656 * nscd/connections.c (register_traced_file, send_ro_fd)
4657 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4658 (main_loop_epoll): Likewise.
4659 * nscd/grpcache.c (addgrbyX): Likewise.
4660 * nscd/hstcache.c (addhstbyX): Likewise.
4661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4662 * nscd/mem.c (gc, mempool_alloc): Likewise.
4663 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4664 (addinnetgrX): Likewise.
4665 * nscd/nscd-client.h (__nscd_acquire_maplock)
4666 (__nscd_drop_map_ref): Likewise.
4667 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4668 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4669 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4671 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4672 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4673 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4674 (__nscd_get_map_ref): Likewise.
4675 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4676 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4678 * nscd/pwdcache.c (addpwbyX): Likewise.
4679 * nscd/selinux.c (preserve_capabilities): Likewise.
4680 * nscd/servicescache.c (addservbyX): Likewise.
4681 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4682 * posix/fnmatch.c (fnmatch): Likewise.
4683 * posix/getopt.c (_getopt_internal_r): Likewise.
4684 * posix/glob.c (glob, glob_in_dir): Likewise.
4685 * posix/wordexp.c (exec_comm_child): Likewise.
4686 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4687 (getanswer_r, gaih_getanswer_slice): Likewise.
4688 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4689 * resolv/res_init.c: Likewise.
4690 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4691 * resolv/res_query.c (__libc_res_nquery): Likewise.
4692 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4694 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4695 * stdio-common/perror.c (perror): Likewise.
4696 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4697 * stdio-common/tmpnam.c (tmpnam): Likewise.
4698 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4699 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4700 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4702 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4703 * stdlib/putenv.c (putenv): Likewise.
4704 * stdlib/setenv.c (__add_to_environ): Likewise.
4705 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4706 * stdlib/strtol_l.c (INTERNAL): Likewise.
4707 * string/memmem.c (memmem): Likewise.
4708 * string/strerror.c (strerror): Likewise.
4709 * string/strnlen.c (__strnlen): Likewise.
4710 * string/test-memmem.c (simple_memmem): Likewise.
4711 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4712 * sunrpc/pm_getport.c (__get_socket): Likewise.
4713 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4714 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4715 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4716 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4718 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4719 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4720 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4721 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4722 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4723 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4725 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4727 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4728 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4729 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4730 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4731 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4733 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4734 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4735 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4736 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4737 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4738 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4740 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4746 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4747 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4748 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4749 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4750 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4753 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4754 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4756 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4759 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4761 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4763 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4765 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4767 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4769 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4771 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4772 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4773 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4774 * sysdeps/posix/sleep.c: Likewise.
4775 * sysdeps/posix/tempname.c: Likewise.
4776 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4777 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4779 * sysdeps/powerpc/powerpc32/dl-machine.h
4780 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4781 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4783 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4784 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4786 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4787 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4788 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4789 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4790 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4791 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4792 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4793 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4794 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4795 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4796 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4797 (elf_machine_lazy_rel): Likewise.
4798 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4799 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4800 (elf_machine_lazy_rel): Likewise.
4801 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4802 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4803 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4804 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4805 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4806 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4807 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4810 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4811 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4812 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4813 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4814 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4815 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4816 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4817 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4818 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4819 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4820 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4822 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4823 (__posix_fallocate64_l64): Likewise.
4824 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4825 (posix_fallocate): Likewise.
4826 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4829 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4830 (getifaddrs_internal): Likewise.
4831 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4832 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4833 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4834 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4835 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4836 (__posix_fallocate64_l64): Likewise.
4837 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4839 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4840 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4841 (__get_clockfreq): Likewise.
4842 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4843 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4844 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4847 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4848 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4849 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4851 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4852 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4853 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4854 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4855 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4856 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4857 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4859 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4860 (posix_fallocate): Likewise.
4861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4862 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4863 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4864 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4865 (elf_machine_rela, elf_machine_rela_relative)
4866 (elf_machine_lazy_rel): Likewise.
4867 * time/asctime.c (asctime_internal): Likewise.
4868 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4869 * time/tzset.c (__tzset_parse_tz): Likewise.
4870 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4871 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4872 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4873 * wcsmbs/wcsmbsload.h: Likewise.
4876 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4878 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4879 (arena_get2): Remove THREAD_STATS conditionals.
4880 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4881 (__malloc_stats, int): Likewise.
4883 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4885 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4886 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4888 * manual/setjmp.texi: Fix typos/grammar errors.
4890 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4891 Only return early when n is <= 0. Delete unused return statement.
4893 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4894 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4895 * debug/tst-longjmp_chk3.c: New file.
4897 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4898 (test_main): Replace code with set_fortify_handler call.
4899 * debug/test-strcpy_chk.c: Likewise.
4900 * debug/tst-chk1.c: Likewise.
4901 * debug/tst-longjmp_chk.c: Likewise.
4902 * test-skeleton.c: Include fcntl.h & paths.h
4903 (set_fortify_handler): Define.
4905 * debug/tst-longjmp_chk.c: Add header comment and include
4907 (do_test): Mark static.
4908 (TEST_FUNCTION): Define.
4910 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4911 (IP_PMTUDISC_INTERFACE): Likewise.
4912 (IP_MULTICAST_IF): Likewise.
4913 (IP_MULTICAST_TTL): Likewise.
4914 (IP_MULTICAST_LOOP): Likewise.
4915 (IP_ADD_MEMBERSHIP): Likewise.
4916 (IP_DROP_MEMBERSHIP): Likewise.
4917 (IP_UNBLOCK_SOURCE): Likewise.
4918 (IP_BLOCK_SOURCE): Likewise.
4919 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4920 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4921 (IP_MSFILTER): Likewise.
4922 (MCAST_JOIN_GROUP): Likewise.
4923 (MCAST_BLOCK_SOURCE): Likewise.
4924 (MCAST_UNBLOCK_SOURCE): Likewise.
4925 (MCAST_LEAVE_GROUP): Likewise.
4926 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4927 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4928 (MCAST_MSFILTER): Likewise.
4929 (IP_MULTICAST_ALL): Likewise.
4930 (IP_UNICAST_IF): Likewise.
4932 * timezone/Makefile: Delete $(have-ksh) check.
4933 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4934 * timezone/tzselect.ksh: Add +x mode bits.
4936 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4937 (ANON_INODE_FS_MAGIC): Likewise.
4938 (BDEVFS_MAGIC): Likewise.
4939 (BINFMTFS_MAGIC): Likewise.
4940 (BTRFS_TEST_MAGIC): Likewise.
4941 (CRAMFS_MAGIC_WEND): Likewise.
4942 (DEBUGFS_MAGIC): Likewise.
4943 (ECRYPTFS_SUPER_MAGIC): Likewise.
4944 (EXT3_SUPER_MAGIC): Likewise.
4945 (EXT4_SUPER_MAGIC): Likewise.
4946 (FUTEXFS_SUPER_MAGIC): Likewise.
4947 (HOSTFS_SUPER_MAGIC): Likewise.
4948 (HUGETLBFS_MAGIC): Likewise.
4949 (MINIX3_SUPER_MAGIC): Likewise.
4950 (MTD_INODE_FS_MAGIC): Likewise.
4951 (NILFS_SUPER_MAGIC): Likewise.
4952 (OPENPROM_SUPER_MAGIC): Likewise.
4953 (PIPEFS_MAGIC): Likewise.
4954 (PSTOREFS_MAGIC): Likewise.
4955 (QNX6_SUPER_MAGIC): Likewise.
4956 (RAMFS_MAGIC): Likewise.
4957 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4958 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4959 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4960 (SECURITYFS_MAGIC): Likewise.
4961 (SELINUX_MAGIC): Likewise.
4962 (SMACK_MAGIC): Likewise.
4963 (SOCKFS_MAGIC): Likewise.
4964 (SQUASHFS_MAGIC): Likewise.
4965 (STACK_END_MAGIC): Likewise.
4966 (TMPFS_MAGIC): Likewise.
4967 (USBDEVICE_SUPER_MAGIC): Likewise.
4968 (V9FS_MAGIC): Likewise.
4969 (XENFS_SUPER_MAGIC): Likewise.
4970 (CRAMFS_MAGIC): Fix typo in comment.
4971 (EXT2_SUPER_MAGIC): Update comment.
4972 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4974 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4976 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4977 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4978 * sysdeps/unix/sysv/linux/arm: Move directory from
4979 ports/sysdeps/unix/sysv/linux/arm.
4980 * README: Update listing for arm-*-linux-gnueabi.
4982 * README: Remove mention of am33.
4984 2014-02-07 Roland McGrath <roland@hack.frob.com>
4986 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4987 than the comma operator, to avoid "rhs of comma has no effect"
4989 (__sigfillset, __sigandset, __sigorset): Likewise.
4990 * include/signal.h (__sigemptyset): Likewise.
4991 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4993 2014-02-07 Allan McRae <allan@archlinux.org>
4995 * version.h (RELEASE): Set to "development".
4996 (VERSION): Set to "2.19.90"
4997 * NEWS: Add 2.20 section.
4999 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5002 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5004 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5006 * manual/contrib.texi: Update entry for Carlos O'Donell,
5007 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5009 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5011 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5013 * sysdeps/unix/sysv/linux/kernel-features.h
5014 [__LINUX_KERNEL_VERSION >= 0x020621]
5015 (__ASSUME_PROC_PID_TASK_COMM): Define.
5017 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5020 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5021 conversion when destination buffer does not have enough space.
5022 * libio/tst-ftell-partial-wide.c: New test case.
5023 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5025 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5026 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5027 Leonard and Allan McRae.
5029 2014-02-04 David S. Miller <davem@davemloft.net>
5031 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5034 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5063 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5065 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5066 * shlib-versions: Likewise.
5068 2014-02-04 Roland McGrath <roland@hack.frob.com>
5069 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5071 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5072 (abilist-pattern): New variable, set to %-le.abilist.
5074 * Makerules (abilist-pattern): New variable.
5075 (vpath): Use $(abilist-pattern) in place of %.abilist.
5076 (check-abi-% pattern rule): Likewise.
5077 (check-abi, update-abi): Likewise.
5079 2014-02-04 Eric Wong <normalperson@yhbt.net>
5081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5083 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5085 * manual/startup.texi: Add next, previous, and top entries for
5086 the `Program Arguments' and `Environment Variables' nodes.
5088 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5090 * manual/macros.texi: Add comments before MTASC-safety macros.
5092 * manual/users.texi: Document MTASC-safety properties.
5094 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5095 (pthread_getspecific, pthread_setspecific): Format with
5096 @deftypefun, and add @safety note.
5097 * manual/signal.texi: Move comments that analyze the above
5098 functions to their home place.
5100 2014-02-03 Allan McRae <allan@archlinux.org>
5102 * po/sl.po: Update Slovenian translation from translation project.
5104 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5106 * manual/time.texi (timegm): Add missing blank after @c.
5107 Reported by Joseph Myers <joseph@codesourcery.com>.
5109 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5111 * manual/check-safety.sh: New.
5112 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5114 * manual/terminal.texi: Document MTASC-safety properties.
5116 * manual/filesys.texi: Document MTASC-safety properties.
5118 * manual/errno.texi: Document MTASC-safety properties.
5120 * manual/intro.texi: Document safety identifiers and
5123 * manual/string.texi (wcstok): Fix prototype.
5124 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5126 * manual/time.texi: Document MTASC-safety properties.
5128 * manual/string.texi: Document MTASC-safety properties.
5130 * manual/threads.texi: Document MTASC-safety properties.
5132 * manual/stdio.texi: Document MTASC-safety properties.
5134 * manual/syslog.texi: Document MTASC-safety properties.
5136 * manual/sysinfo.texi: Document MTASC-safety properties.
5138 * manual/startup.texi: Document MTASC-safety properties.
5140 * manual/socket.texi: Document MTASC-safety properties.
5142 * manual/signal.texi: Document MTASC-safety properties.
5144 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5146 * manual/setjmp.texi: Document MTASC-safety properties.
5148 * manual/search.texi: Document MTASC-safety properties.
5150 * manual/resource.texi: Document MTASC-safety properties.
5152 * manual/process.texi: Document MTASC-safety properties.
5154 * manual/platform.texi: Document MTASC-safety properties.
5156 * manual/pipe.texi: Document MTASC-safety properties.
5158 * manual/pattern.texi: Document MTASC-safety properties.
5160 * manual/message.texi: Document MTASC-safety properties.
5163 * manual/memory.texi: Document MTASC-safety properties.
5165 * manual/math.texi: Document MTASC-safety properties.
5167 * manual/locale.texi: Document MTASC-safety properties.
5169 * manual/llio.texi: Document MTASC-safety properties.
5171 * manual/libdl.texi: New.
5173 * manual/lang.texi: Document MTASC-safety properties.
5175 * manual/job.texi: Document MTASC-safety properties.
5177 * manual/getopt.texi: Document MTASC-safety properties.
5179 * manual/ctype.texi: Document MTASC-safety properties.
5181 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5184 * csu/libc-tls.c (static_map): Remove variable.
5185 (__libc_setup_tls): Use main executable's link map for TLS data.
5186 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5187 casing for LM_ID_BASE and GL(dl_nns).
5188 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5189 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5190 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5191 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5192 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5194 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5197 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5199 * manual/debug.texi: Document MTASC-safety properties.
5201 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5204 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5205 of __x86_64__ when disabling x87 inline functions.
5207 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5209 * manual/charset.texi: Document MTASC-safety properties.
5211 * manual/crypt.texi: Document MTASC-safety properties.
5213 * manual/conf.texi: Document MTASC-safety properties.
5215 * manual/arith.texi: Document MTASC-safety properties.
5217 * manual/argp.texi: Document MTASC-safety properties.
5219 * manual/macros.texi: Introduce macros to document multi
5220 thread, asynchronous signal and asynchronous cancellation
5222 * manual/intro.texi: Introduce the properties themselves.
5224 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5226 * sysdeps/sh/sh4/Makefile: New file.
5228 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5230 * math/gen-libm-test.pl ($srcdir): New variable.
5231 ($auto_input): Use it.
5233 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5236 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5237 access beyond array bounds when parsing netgroups file.
5239 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5240 the old buffer before realloc.
5242 2014-01-27 Allan McRae <allan@archlinux.org>
5244 * po/fr.po: Update French translation from translation project.
5246 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5248 * sysdeps/sh/libm-test-ulps: Regenerate.
5250 2014-01-24 David S. Miller <davem@davemloft.net>
5252 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5254 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5256 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5257 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5259 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5262 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5263 string pointers after reallocation.
5265 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5267 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5268 __SH4A__ instead of __SH_FPU_ANY__.
5270 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5272 * sysdeps/sh/fpu_control.h: New file.
5273 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5274 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5275 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5276 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5277 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5278 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5279 * sysdeps/sh/sys/ucontext.h: Remove.
5280 * sysdeps/sh/sys: Remove directory.
5282 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5284 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5285 s390/sys/ucontext.h.
5286 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5287 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5289 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5292 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5294 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5297 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5298 Adjust the vDSO correctly for internal calls.
5299 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5301 2014-01-20 Allan McRae <allan@archlinux.org>
5303 * po/ca.po: Update Catalan translation from translation project.
5305 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5307 * sysdeps/s390/sotruss-lib.c: New file.
5309 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5312 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5313 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5314 local calls issues by not having a PLT stub required for IFUNC calls.
5315 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5317 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5319 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5320 * math/test-fpucw-static.c: Likewise.
5322 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5325 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5327 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5329 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5330 implementation for powerpc.
5332 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5335 * sysdeps/posix/system.c (__libc_system): Do not enable
5336 asynchronous cancellation.
5338 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5341 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5342 handling only for numbers special also in the IEEE case.
5344 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5346 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5348 2014-01-11 Allan McRae <allan@archlinux.org>
5350 * po/bg.po: Update Bulgarian translation from translation project.
5352 * po/de.po: Update German translation from translation project.
5354 2014-01-10 Roland McGrath <roland@hack.frob.com>
5356 * sysdeps/generic/gcc-compat.h: New file.
5358 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5360 * benchtests/asin-inputs: Correct slow inputs.
5361 * benchtests/acos-inputs: Likewise.
5363 2014-01-10 Allan McRae <allan@archlinux.org>
5365 * po:sv.po: Update Swedish translation from translation project.
5367 * po/vi.po: Update Vietnamese translation from translation project.
5369 * po/eo.po: Update Esperanto translation from translation project.
5371 * po/cs.po: Update Czech translation from translation project.
5373 * po/nl.po: Update Dutch translation from translation project.
5375 * po/pl.po: Update Polish translation from translation project.
5377 * po/ru.po: Update Russian translation from translation project.
5379 * po/uk.po: Update Ukrainian translation from translation project.
5381 2014-01-08 Brooks Moses <bmoses@google.com>
5383 * elf/dl-load.c: Fix comment typo.
5385 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5387 * po/header.pot: Rename to...
5388 * po/pot.header: ... this.
5389 * po/Makefile: Use pot.header.
5391 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5392 Maxim Kuvyrkov <maxim@kugelworks.com>
5395 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5396 SRC and DEST against LEN.
5398 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5401 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5403 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5405 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5409 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5413 for large positive arguments.
5415 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5417 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5419 * math/auto-libm-test-in: Mark various tests with
5420 xfail-rounding:ldbl-128ibm.
5421 * math/auto-libm-test-out: Regenerated.
5424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5425 Increase overflow threshold.
5427 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5430 * stdio-common/vfprintf.c: Check for integer overflow.
5432 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5434 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5435 the first argument and return value of __tls_get_addr_internal.
5437 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5439 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5440 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5442 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5444 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5445 * sysdeps/s390/rtld-global-offsets.sym: New file.
5446 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5448 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5449 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5450 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5452 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5453 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5459 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5460 halfs of GPRs for high_gprs contexts.
5461 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5462 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5464 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5466 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5468 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5469 for high GPRs (uc_high_gprs) and for future extensions
5471 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5472 for future extensions (__reserved).
5473 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5475 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5476 SC_HIGHGPRS offset definition.
5477 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5478 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5480 * Versions.def: Add GLIBC_2.19 for libpthread.
5481 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5482 siglongjmp for libpthread with GLIBC_2.19 symver.
5483 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5484 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5485 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5486 * sysdeps/s390/__longjmp.c: New file.
5487 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5488 * sysdeps/s390/longjmp.c: New file.
5489 * sysdeps/s390/setjmp.S: New file.
5490 * sysdeps/s390/sigjmp.S: New file.
5491 * sysdeps/s390/v1-longjmp.c: New file.
5492 * sysdeps/s390/v1-setjmp.h: New file.
5493 * sysdeps/s390/v1-sigjmp.c: New file.
5494 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5495 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5497 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5498 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5499 versioned symbols for ____longjmp_chk.
5500 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5510 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5511 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5512 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5513 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5514 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5515 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5516 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5517 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5518 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5519 * sysdeps/s390/rtld-__longjmp.c: New file.
5520 * sysdeps/s390/rtld-setjmp.S: New file.
5522 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5525 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5526 Return -__logl (x) for small positive arguments without evaluating
5529 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5531 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5533 (__ptrace_peeksiginfo_args): ... this.
5534 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5536 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5538 2014-01-06 Allan McRae <allan@archlinux.org>
5540 * inet/netinet/in.h: Fix typo in comment.
5542 2014-01-05 Andreas Jaeger <aj@suse.de>
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5546 2014-01-05 Allan McRae <allan@archlinux.org>
5548 * po/libc.pot: Regenerated.
5550 * malloc/memusagestat.c: Fix gettext call formatting.
5552 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5554 * nscd/nscd.c: Improve usage() output.
5556 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5558 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5559 * sysdeps/unix/sysv/linux/configure: Regenerated.
5560 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5561 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5563 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5566 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5567 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5569 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5572 extra tokens at end of #undef directive.
5573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5574 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5575 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5577 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5579 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5581 * math/auto-libm-test-in: Mark various tests with
5582 xfail-rounding:ldbl-128ibm.
5583 * math/auto-libm-test-out: Regenerated.
5585 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5588 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5589 numbers with subnormal high part when calculating exponent.
5592 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5596 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5598 (__ieee754_acoshl): Use __log1pl not __log1p.
5600 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5602 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5603 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5604 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5605 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5606 (reused_arena, arena_get2): Convert to GNU style.
5607 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5608 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5609 (memalign_check, __malloc_set_state): Likewise.
5610 * malloc/mallocbug.c (main): Likewise.
5611 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5612 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5613 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5614 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5615 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5616 (__posix_memalign, malloc_info): Likewise.
5617 * malloc/malloc.h: Likewise.
5618 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5619 (mallochook, memalignhook, reallochook, mabort): Likewise.
5620 * malloc/mcheck.h: Likewise.
5621 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5622 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5623 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5624 * malloc/morecore.c (__default_morecore): Likewise.
5625 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5626 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5627 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5628 (print_and_abort): Likewise.
5629 * malloc/obstack.h: Likewise.
5630 * malloc/set-freeres.c (__libc_freeres): Likewise.
5631 * malloc/tst-mallocstate.c (main): Likewise.
5632 * malloc/tst-mtrace.c (main): Likewise.
5633 * malloc/tst-realloc.c (do_test): Likewise.
5635 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5638 * nscd/netgroupcache.c (do_notfound): New function.
5639 (addgetnetgrentX): Use it.
5642 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5643 NSS_STATUS_NOTFOUND.
5645 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650 2014-01-01 Allan McRae <allan@archlinux.org>
5652 * scripts/update-copyrights: Update configure input file suffix.
5654 * NEWS: Update copyright year.
5655 * catgets/gencat.c: Likewise.
5656 * csu/version.c: Likewise.
5657 * debug/catchsegv.sh: Likewise.
5658 * debug/pcprofiledump.c: Likewise.
5659 * debug/xtrace.sh: Likewise.
5660 * elf/ldconfig.c: Likewise.
5661 * elf/ldd.bash.in: Likewise.
5662 * elf/pldd.c: Likewise.
5663 * elf/sotruss.ksh: Likewise.
5664 * elf/sprof.c: Likewise.
5665 * iconv/iconv_prog.c: Likewise.
5666 * iconv/iconvconfig.c: Likewise.
5667 * locale/programs/locale.c: Likewise.
5668 * locale/programs/localedef.c: Likewise.
5669 * login/programs/pt_chown.c: Likewise.
5670 * malloc/memusage.sh: Likewise.
5671 * malloc/memusagestat.c: Likewise.
5672 * malloc/mtrace.pl: Likewise.
5673 * manual/libc.texinfo: Likewise.
5674 * nscd/nscd.c: Likewise.
5675 * nss/getent.c: Likewise.
5676 * nss/makedb.c: Likewise.
5677 * posix/getconf.c: Likewise.
5678 * scripts/test-installation.pl: Likewise.
5680 * All files with FSF copyright notices: Update copyright dates
5681 using scripts/update-copyrights.
5682 * intl/plural.c: Regenerated.
5683 * locale/programs/charmap-kw.h: Likewise.
5684 * locale/programs/locfile-kw.h: Likewise.
5686 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5688 * sysdeps/unix/sysv/linux/configure: Regenerated.
5689 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5690 the linux/fanotify.h header.
5691 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5692 HAVE_LINUX_FANOTIFY_H is defined.
5694 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5696 * benchtests/cos-inputs: New inputs.
5697 * benchtests/sin-inputs: Likewise.
5699 * benchtests/atan-inputs: New inputs. Fix name of multiple
5700 precision fallback inputs.
5702 * benchtests/atanh-inputs: New inputs.
5703 * benchtests/tanh-inputs: Likewise.
5705 * benchtests/acosh-inputs: New inputs.
5706 * benchtests/asinh-inputs: Likewise.
5708 * benchtests/cosh-inputs: New inputs.
5709 * benchtests/sinh-inputs: Likewise.
5711 * benchtests/acos-inputs: Add more inputs.
5712 * benchtests/asin-inputs: Likewise.
5714 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5717 * manual/arith.texi: Fix spelling.
5718 * manual/charset.texi: Likewise.
5719 * manual/errno.texi: Likewise.
5720 * manual/filesys.texi: Likewise.
5721 * manual/lang.texi: Likewise.
5722 * manual/llio.texi: Likewise.
5723 * manual/locale.texi: Likewise.
5724 * manual/message.texi: Likewise.
5725 * manual/resource.texi: Likewise.
5726 * manual/search.texi: Likewise.
5727 * manual/setjmp.texi: Likewise.
5728 * manual/stdio.texi: Likewise.
5729 * manual/string.texi: Likewise.
5730 * manual/sysinfo.texi: Likewise.
5731 * manual/time.texi: Likewise.
5733 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5735 * po/sl.po: New file.
5737 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5739 * .gitignore: Add core/.gdbinit/.gdb_history.
5741 2013-12-27 Allan McRae <allan@archlinux.org>
5744 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5745 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5747 2013-12-24 Brooks Moses <bmoses@google.com>
5749 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5750 all compilers that claim C++98 compliance, not just GCC.
5751 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5754 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5756 * NEWS: Restore accidentally deleted bug-fix entries.
5758 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5759 Ondřej Bílka <neleai@seznam.cz>
5762 * malloc/malloc.c (_int_free): Perform sanity check only if we
5765 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5768 * manual/stdio.texi (String Input Conversions): Clarify that character
5769 classes are not supported.
5771 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5775 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5779 Calculate results for small negative arguments directly rather
5780 than using reflection formula with special underflow handling.
5782 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5783 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5784 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5785 (fchflags): Likewise.
5787 (setlogin): Likewise.
5788 (sigaltstack): Likewise.
5791 (sigsetmask): Likewise.
5793 (waitpid): Likewise.
5794 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5795 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5797 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5798 * sysdeps/unix/bsd/Makefile: ... here.
5799 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5800 * sysdeps/unix/bsd/Versions: ... here.
5801 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5802 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5803 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5804 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5805 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5806 * sysdeps/unix/bsd/sigblock.c: ... here.
5807 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5808 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5809 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5810 * sysdeps/unix/bsd/sigvec.c: ... here.
5811 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5812 * sysdeps/unix/bsd/tcdrain.c: ... here.
5813 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5814 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5815 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5816 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5817 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5818 * sysdeps/unix/bsd/wait.c: ... here.
5819 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5820 * sysdeps/unix/bsd/wait3.c: ... here.
5821 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5822 * sysdeps/unix/bsd/waitpid.c: ... here.
5824 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5828 round-to-nearest for [!USE_AS_EXPM1L].
5829 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5830 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5831 more tests of exp and exp10. Expect some exp10 tests to miss
5832 exceptions or fail in directed rounding modes.
5833 * math/auto-libm-test-out: Regenerated.
5834 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5835 (exp10_test_tonearest): New function.
5836 (exp10_towardzero_test_data): New array.
5837 (exp10_test_towardzero): New function.
5838 (exp10_downward_test_data): New array.
5839 (exp10_test_downward): New function.
5840 (exp10_upward_test_data): New array.
5841 (exp10_test_upward): New function.
5842 (main): Call the new functions.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5846 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5848 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5849 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5850 * math/auto-libm-test-out: Regenerated.
5851 * math/libm-test.inc (acosh_test_data): Add more tests.
5852 (atanh_test_data): Likewise.
5853 (ceil_test_data): Likewise.
5854 (copysign_test_data): Likewise.
5855 * sysdeps/i386/fpu/libm-test-ulps: Update.
5856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858 * timezone/checktab.awk: Update from tzcode 2013i.
5859 * timezone/private.h: Likewise.
5860 * timezone/scheck.c: Likewise.
5861 * timezone/tzfile.h: Likewise.
5862 * timezone/tzselect.ksh: Likewise.
5863 * timezone/zdump.c: Likewise.
5864 * timezone/zic.c: Likewise.
5866 * math/auto-libm-test-in: Add tests of cpow.
5867 * math/auto-libm-test-out: Regenerated.
5868 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5869 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5871 (func_calc_desc): Add mpc_cc_c union field.
5872 (test_functions): Add cpow.
5873 (special_fill_2pi): New function.
5874 (special_real_inputs): Add 2pi.
5875 (calc_generic_results): Handle mpc_cc_c.
5876 * sysdeps/i386/fpu/libm-test-ulps: Update.
5877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5879 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5880 csqrt, ctan and ctanh.
5881 * math/auto-libm-test-out: Regenerated.
5882 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5883 (TEST_COND_x86): Likewise.
5884 (ccos_test_data): Use AUTO_TESTS_c_c.
5885 (ccosh_test_data): Likewise.
5886 (cexp_test_data): Likewise.
5887 (clog_test_data): Likewise.
5888 (csqrt_test_data): Likewise.
5889 (ctan_test_data): Likewise.
5890 (ctan_tonearest_test_data): Likewise.
5891 (ctan_towardzero_test_data): Likewise.
5892 (ctan_downward_test_data): Likewise.
5893 (ctan_upward_test_data): Likewise.
5894 (ctanh_test_data): Likewise.
5895 (ctanh_tonearest_test_data): Likewise.
5896 (ctanh_towardzero_test_data): Likewise.
5897 (ctanh_downward_test_data): Likewise.
5898 (ctanh_upward_test_data): Likewise.
5899 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5901 (func_calc_desc): Add mpc_c_c union field.
5902 (FUNC_mpc_c_c): New macro.
5903 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5904 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5906 (special_fill_min_subnorm_p120): New function.
5907 (special_real_inputs): Add min_subnorm_p120.
5908 (calc_generic_results): Handle mpc_c_c.
5909 * sysdeps/i386/fpu/libm-test-ulps: Update.
5910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5914 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5915 (do_sin_slow): New functions.
5916 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5917 (cslow2, csloww1, csloww2): Use the new functions.
5919 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5920 Use M to change sign of result instead of X. Assume X is
5922 (csloww1): Likewise.
5926 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5933 (sloww1): Don't adjust sign of DX.
5934 (csloww1): Likewise.
5935 (sloww2): Use X directly and don't adjust sign of DX.
5936 (csloww2): Likewise.
5938 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5940 * math/auto-libm-test-in: Add tests of cabs and carg.
5941 * math/auto-libm-test-out: Regenerated.
5942 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5943 (carg_test_data): Likewise.
5944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5946 (func_calc_desc): Add mpc_c_f union field.
5947 (test_functions): Add cabs and carg.
5948 (calc_generic_results): Handle mpc_c_f.
5950 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5951 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5952 as a macro and a compat symbol.
5953 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5954 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5955 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5956 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5957 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5958 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5960 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5962 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5964 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5966 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5968 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5970 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5971 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5974 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5978 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5980 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5981 trailing whitespace removed.
5982 * scripts/config.guess: Update to version 2013-11-29.
5983 * scripts/config.sub: Update to version 2013-10-01.
5985 * math/auto-libm-test-in: Add tests of sincos.
5986 * math/auto-libm-test-out: Regenerated.
5987 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5990 (func_calc_desc): Add mpfr_f_11 union field.
5991 (test_functions): Add sincos.
5992 (calc_generic_results): Handle mpfr_f_11.
5993 * sysdeps/i386/fpu/libm-test-ulps: Update.
5994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5996 2013-12-19 Andreas Schwab <schwab@suse.de>
5998 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6001 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6002 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6004 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6006 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6007 * sysdeps/i386/fpu/libm-test-ulps: Update.
6008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6012 round-to-nearest mode when using frndint.
6013 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6014 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6015 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6017 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6019 * math/auto-libm-test-out: Regenerated.
6020 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6021 (TEST_COND_x86): Likewise.
6022 (expm1_tonearest_test_data): New array.
6023 (expm1_test_tonearest): New function.
6024 (expm1_towardzero_test_data): New array.
6025 (expm1_test_towardzero): New function.
6026 (expm1_downward_test_data): New array.
6027 (expm1_test_downward): New function.
6028 (expm1_upward_test_data): New array.
6029 (expm1_test_upward): New function.
6030 (main): Run the new test functions.
6031 * sysdeps/i386/fpu/libm-test-ulps: Update.
6032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6034 * include/features.h: Update comment documenting feature test
6035 macros. Mention _DEFAULT_SOURCE in comment.
6036 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6037 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6038 _BSD_SOURCE and _SVID_SOURCE.
6039 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6040 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6041 !_SVID_SOURCE]: Likewise.
6042 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6043 (__USE_POSIX_IMPLICITLY): Define.
6044 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6045 (_POSIX_SOURCE): Undefine and redefine.
6046 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6047 (_POSIX_C_SOURCE): Likewise.
6048 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6049 (Feature Test Macros): Update documentation of default features.
6051 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6053 * benchtests/Makefile: Add bench-strtok.
6054 * benchtests/bench-strtok.c: New file: strtok benchtest.
6056 2013-12-19 Allan McRae <allan@archlinux.org>
6058 * manual/install.texi: Suppress menu for plain text output.
6059 * INSTALL: Regenerated.
6061 2013-12-18 Brooks Moses <bmoses@google.com>
6064 * misc/getauxval.c: Include errno.h.
6065 (__getauxval): Set errno to ENOENT if the requested type is not
6067 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6068 don't declare with __attribute_const__.
6069 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6070 * manual/startup.texi: Document that getauxval sets errno.
6072 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6074 * math/auto-libm-test-in: Add tests of jn and yn.
6075 * math/auto-libm-test-out: Regenerated.
6076 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6077 (yn_test_data): Likewise.
6078 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6080 (func_calc_desc): Add mpfr_if_f union field.
6081 (FUNC_mpfr_if_f): New macro.
6082 (test_functions): Add jn and yn.
6083 (calc_generic_results): Assert type of second input for
6084 mpfr_ff_f. Handle mpfr_if_f.
6085 (output_for_one_input_case): Disable all checking for arguments
6086 fitting floating-point types in case of an integer argument.
6087 * sysdeps/i386/fpu/libm-test-ulps: Update.
6088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6091 Don't expect fegetround reference in libm.so.
6093 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6095 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6096 $(config-cflags-nofma).
6098 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6100 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6101 * math/auto-libm-test-out: Regenerated.
6104 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6105 to determine exponent and adjust argument to have exponent of -1.
6106 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6108 * math/auto-libm-test-out: Regenerated.
6109 * sysdeps/i386/fpu/libm-test-ulps: Update.
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6112 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6114 * manual/probes.texi: Remove cases when per-thread arenas are
6117 2013-12-18 Andreas Schwab <schwab@suse.de>
6119 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6120 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6121 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6122 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6123 * sysdeps/i386/i686/multiarch/Makefile: Update.
6124 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6126 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6128 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6129 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6131 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6134 Support TZ transition times < 00:00:00.
6135 This is needed for version-3 tz-format files; it supports time
6136 stamps past 2037 for America/Godthab (the only entry in the tz
6137 database for which this change is relevant).
6138 * manual/time.texi (TZ Variable): Document transition times
6139 from -167:59:59 through -00:00:01.
6140 * time/tzset.c (tz_rule): Time of day is now signed.
6141 (__tzset_parse_tz): Parse negative time of day.
6143 Document TZ transition times >= 25:00:00.
6144 * manual/time.texi (TZ Variable): Document transition times from
6145 25:00:00 through 167:59:59. These are already supported, and this
6146 support will help with version-3 tz-format files.
6148 * manual/time.texi (TZ Variable): Modernize North America example
6149 to reflect current (i.e., 2007-and-later) daylight saving rules.
6151 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6153 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6155 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6156 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6159 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6160 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6161 * sysdeps/unix/bsd/clock.c: Likewise.
6162 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6163 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6164 * sysdeps/unix/bsd/init-posix.c: Likewise.
6165 * sysdeps/unix/bsd/poll.c: Likewise.
6166 * sysdeps/unix/bsd/ptsname.c: Likewise.
6167 * sysdeps/unix/bsd/seekdir.c: Likewise.
6168 * sysdeps/unix/bsd/setegid.c: Likewise.
6169 * sysdeps/unix/bsd/seteuid.c: Likewise.
6170 * sysdeps/unix/bsd/setgid.c: Likewise.
6171 * sysdeps/unix/bsd/setrgid.c: Likewise.
6172 * sysdeps/unix/bsd/setruid.c: Likewise.
6173 * sysdeps/unix/bsd/setsid.c: Likewise.
6174 * sysdeps/unix/bsd/setuid.c: Likewise.
6175 * sysdeps/unix/bsd/sigaction.c: Likewise.
6176 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6177 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6178 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6179 * sysdeps/unix/bsd/telldir.c: Likewise.
6180 * sysdeps/unix/bsd/times.c: Likewise.
6181 * sysdeps/unix/bsd/usleep.c: Likewise.
6183 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6184 ($(objpfx)libbsd-compat.a): Remove rule.
6186 * include/features.h (__FAVOR_BSD): Do not define.
6187 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6188 features conflicting with POSIX.
6189 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6190 (_BSD_SOURCE): Remove description of not being a subset of other
6191 feature test macros.
6192 * manual/job.texi (getpgrp): Do not document BSD version.
6193 (getpgid): Do not document by reference to BSD getpgrp.
6194 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6195 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6196 * signal/signal.h [__FAVOR_BSD]: Likewise.
6197 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6198 instead of making contents conditional on [__FAVOR_BSD].
6199 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6201 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6205 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6208 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6209 values below 2**-450, not 2**-500.
6210 * math/auto-libm-test-in: Don't allow spurious underflow from
6212 * math/auto-libm-test-out: Regenerated.
6216 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6217 values of ha and hb and sort them after adjusting subnormal
6219 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6221 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6222 values of ea and eb and sort them after adjusting subnormal
6224 * math/auto-libm-test-in: Do not expect some hypot tests of
6225 subnormals to fail. Add more hypot tests.
6226 * math/auto-libm-test-out: Regenerated.
6228 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6231 * sysdeps/sh/s_fma.c: New file.
6232 * sysdeps/sh/s_fmaf.c: New file.
6233 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6235 * sysdeps/sh/Implies: Add sh/soft-fp.
6237 2013-12-16 Roland McGrath <roland@hack.frob.com>
6239 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6240 level of indirection to members `objname', `errstring', `malloced'.
6241 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6242 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6243 it as the __longjmp argument (just pass 1 instead).
6244 (_dl_catch_error): Initialize C with argument pointers and address of
6245 volatile local ERRCODE rather than copying values out of C at return.
6247 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6249 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6250 * math/auto-libm-test-out: Regenerated.
6251 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6252 (hypot_test_data): Likewise.
6253 (pow_test_data): Likewise.
6254 (pow_tonearest_test_data): Likewise.
6255 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6257 (func_calc_desc): Add mpfr_ff_f union field.
6258 (FUNC_mpfr_ff_f): New macro.
6259 (test_functions): Add atan2, hypot and pow.
6260 (special_fill_min): New function.
6261 (special_fill_minus_min): Likewise.
6262 (special_fill_min_subnorm): Likewise.
6263 (special_fill_minus_min_subnorm): Likewise.
6264 (special_real_inputs): Add min, -min, min_subnorm and
6266 (calc_generic_results): Handle mpfr_ff_f.
6267 * sysdeps/i386/fpu/libm-test-ulps: Update.
6268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6270 2013-12-16 Will Newton <will.newton@linaro.org>
6272 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6273 (Aligned Memory Blocks): Add documentation for aligned_alloc
6274 and suggest it as an alternative to posix_memalign.
6275 (Hooks for Malloc): Document __memalign_hook is also called
6276 for aligned_alloc. (Summary of Malloc): Add summary for
6277 aligned alloc. Document __memalign_hook is also called
6280 2013-12-16 Will Newton <will.newton@linaro.org>
6282 * manual/memory.texi (Malloc Examples): Clarify default
6283 alignment documentation. Suggest posix_memalign rather
6284 than memalign or valloc.
6285 (Aligned Memory Blocks): Remove suggestion to use memalign
6286 or valloc. Remove obsolete comment about BSD.
6287 Document memalign errno values and mark the function obsolete.
6288 Document posix_memalign returned error codes. Mark valloc
6289 as obsolete. (Hooks for Malloc): __memalign_hook is also
6290 called for posix_memalign and valloc.
6291 (Summary of Malloc): Add posix_memalign to function summary.
6292 __memalign_hook is also called for posix_memalign and valloc.
6294 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6296 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6300 (sloww): Use mynumber union. Expand ternary operator into
6302 (cslow): use mynumber union.
6304 2013-12-16 Allan McRae <allan@archlinux.org>
6306 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6307 * configure: Regenerated.
6309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6312 * configure.ac: Added --enable-maintainer-mode. Check for
6313 autoconf when enabled.
6314 * configure: Regenerated.
6316 * nscd/nscd.service: New file.
6317 * nscd/nscd.tmpfiles: New file.
6319 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6322 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6323 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6324 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6325 (strstr): Add __strstr_sse2_unaligned ifunc.
6326 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6327 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6328 (strcasestr): Remove __strcasestr_sse42 ifunc.
6329 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6333 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6335 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6336 * sysdeps/sh/bits/fenv.h: ... here.
6337 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6339 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6341 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6344 hypotf multiarch implementations.
6345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6348 multiarch hypot for PPC64.
6349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6352 multiarch hypotf for PPC64.
6354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6355 modff multiarch implementations.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6359 multiarch modf for PPC64.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6363 multiarch modff for PPC64.
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6366 and logl multiarch implementations.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6370 multiarch logb for PPC64.
6371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6374 multiarch logb for PPC64.
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6378 multiarch logb for PPC64.
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6381 isinff multiarch implementation.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6386 multiarch isinf for PPC64.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6390 multiarch isinff for PPC64.
6392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6393 finitef multiarch implementation.
6394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6398 multiarch finite for PPC64.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6402 multiarch finitef for PPC64.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6405 lrint multiarch implementation.
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6410 multiarch llrint for PPC64.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6412 multiarch lrint for PPC64.
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6415 copysignf multiarch implementation.
6416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6421 multiarch copysign for PPC64.
6422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6423 multiarch copysignf for PPC64.
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6426 multiarch implementation.
6427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6435 multiarch llround for PPC64.
6436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6437 multiarch trunc for PPC64.
6438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6439 multiarch truncf for PPC64.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6442 multiarch implementation.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6451 multiarch llround for PPC64.
6452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6453 multiarch round for PPC64.
6454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6455 multiarch roundf for PPC64.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6458 multiarch implementation.
6459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6467 multiarch llround for PPC64.
6468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6469 multiarch floor for PPC64.
6470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6471 multiarch floorf for PPC64.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6474 multiarch implementation.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6483 multiarch llround for PPC64.
6484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6485 multiarch ceil for PPC64.
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6487 multiarch ceilf for PPC64.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6490 multiarch implementation.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6498 multiarch llround for PPC64.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6500 multiarch lround for PPC64.
6502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6503 multiarch implementation.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6511 multiarch isnan for PPC64.
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6513 multiarch isnanf for PPC64.
6515 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6516 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6517 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6518 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6519 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6522 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6523 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6528 multiarch implementations.
6529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6530 (__libc_ifunc_impl_list): Likewise.
6531 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6534 multiarch stpcpy for PPC64.
6536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6537 multiarch implementations.
6538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6539 (__libc_ifunc_impl_list): Likewise.
6540 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6541 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6542 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6543 multiarch strcpy for PPC64.
6545 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6546 redefine function name.
6547 (_wordcopy_fwd_dest_aligned): Likewise.
6548 (_wordcopy_bwd_aligned): Likewise.
6549 (_wordcopy_bwd_dest_aligned): Likewise.
6550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6551 multiarch implementations.
6552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6553 (__libc_ifunc_impl_list): Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6558 multiarch wcscpy for PPC64.
6560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6561 multiarch implementations.
6562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6563 (__libc_ifunc_impl_list): Likewise.
6564 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6568 multiarch wcscpy for PPC64.
6570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6571 multiarch implementations.
6572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6573 (__libc_ifunc_impl_list): Likewise.
6574 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6578 multiarch wcsrchr for PPC64.
6580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6581 multiarch implementations.
6582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6583 (__libc_ifunc_impl_list): Likewise.
6584 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6585 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6586 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6587 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6588 multiarch wcschr for PPC64.
6590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6591 multiarch implementations.
6592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6593 (__libc_ifunc_impl_list): Likewise.
6594 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6595 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6596 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6597 multiarch strchrnul for PPC64.
6599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6602 (__libc_ifunc_impl_list): Likewise.
6603 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6604 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6605 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6606 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6612 (__libc_ifunc_impl_list): Likewise.
6613 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6614 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6615 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6616 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6620 multiarch implementations.
6621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6622 (__libc_ifunc_impl_list): Likewise.
6623 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6624 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6625 strncasecmp for PPC64.
6626 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6627 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6628 multiarch strncasecmp_l for PPC64.
6630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6631 multiarch implementations.
6632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6633 (__libc_ifunc_impl_list): Likewise.
6634 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6635 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6636 multiarch strcasecmp for PPC64.
6637 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6640 multiarch strcasecmp_l for PPC64.
6642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6645 (__libc_ifunc_impl_list): Likewise.
6646 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6647 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6648 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6654 (__libc_ifunc_impl_list): Likewise.
6655 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6656 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6657 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6663 (__libc_ifunc_impl_list): Likewise.
6664 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6666 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6667 rawmemrchr for PPC64.
6669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6672 (__libc_ifunc_impl_list): Likewise.
6673 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6674 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6675 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6681 (__libc_ifunc_impl_list): Likewise.
6682 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6683 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6684 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6690 (__libc_ifunc_impl_list): Likewise.
6691 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6696 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6697 avoid cretion of __bzero symbol.
6698 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6700 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6702 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6705 multiarch implementations.
6706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6707 (__libc_ifunc_impl_list): Likewise.
6708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6711 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6713 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6714 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6715 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6716 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6717 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6719 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6721 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6725 (__libc_ifunc_impl_list): Likewise.
6726 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6727 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6729 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6733 multiarch for POWER/PPC64.
6734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6735 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6742 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6745 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6746 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6747 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6748 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6749 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6750 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6751 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6752 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6753 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6754 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6755 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6756 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6757 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6758 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6759 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6768 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6770 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6772 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6774 * benchtests/Makefile (bench): Add exp2 and log2.
6775 (LDLIBS-bench-exp2): Add -lm.
6776 (LDLIBS-bench-log2): Likewise.
6777 * benchtests/exp2-inputs: New inputs file.
6778 * benchtests/log2-inputs: New inputs file.
6779 * benchtests/log-inputs: Add new inputs.
6780 * benchtests/tan-inputs: Likewise.
6782 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6784 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6786 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6787 (csloww2): ... from here.
6789 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6790 instead of structures.
6791 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6792 (POLYNOMIAL): Likewise.
6793 (TAYLOR_SLOW): Likewise.
6801 (bsloww1): Likewise.
6802 (bsloww2): Likewise.
6805 (csloww1): Likewise.
6806 (csloww2): Likewise.
6808 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6810 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6811 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6812 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6813 * malloc/hooks.c (realloc_check): Likewise.
6815 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6816 * malloc/arena.c: Remove PER_THREAD conditional.
6817 [!PER_THREAD]: Remove code.
6818 (ptmalloc_unlock_all2): Likewise.
6819 (ptmalloc_init): Likewise.
6820 (_int_new_arena): Likewise.
6821 (arena_get2): Likewise.
6822 * malloc/hooks.c (__malloc_get_state): Likewise.
6823 (__malloc_set_state): Likewise.
6824 * malloc/malloc.c: Likewise.
6825 (struct malloc_state): Likewise.
6826 (struct malloc_par): Likewise.
6827 (__libc_realloc): Likewise.
6828 (__libc_mallopt): Likewise.
6830 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6834 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6836 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6837 macro to a function. Check for zero perturb_byte.
6838 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6840 * malloc/malloc.c: (force_reg): Remove.
6841 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6842 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6843 force_reg by atomic_forced_read.
6844 * malloc/arena.c (ptmalloc_init): Likewise.
6845 * malloc/hooks.c (top_check): Likewise.
6847 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6851 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6855 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6857 * math/auto-libm-test-in: Add tests of lgamma.
6858 * math/auto-libm-test-out: Regenerated.
6859 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6860 (M_LOG_2_SQRT_PIl): Likewise.
6861 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6862 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6864 (func_calc_desc): Add mpfr_f_f1 union field.
6873 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6874 (test_functions): Add lgamma.
6875 (calc_generic_results): Handle mpfr_f_f1.
6876 * sysdeps/i386/fpu/libm-test-ulps: Update.
6877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6879 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6882 __mpn_add_n for PowerPC64/POWER7.
6883 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6884 __mpn_sub_n for PowerPC64/POWER7.
6886 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6887 __mpn_addmul_1 for PowerPC64.
6888 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6889 __mpn_submul_1 for PowerPC64.
6890 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6892 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6895 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6898 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6900 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6902 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6904 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6905 add multiarch folders.
6906 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6907 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6908 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6909 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6910 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6911 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6912 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6913 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6914 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6915 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6916 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6925 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6931 multiarch __ieee754_hypot for PowerPC32.
6932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6937 multiarch __ieee754_hypotf for PowerPC32.
6939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6940 long_double_symbol only if __logbl is defined.
6941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6942 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6944 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6946 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6947 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6948 path for implementation.
6949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6952 logb, and logbl multiarch implementations for PowerPC32.
6953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6958 multiarch logb for PowerPC32.
6959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6964 multiarch logbf for PowerPC32.
6965 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6969 multiarch logbl implementation for PowerPC32.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6972 and modff multiarch implementations.
6973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6978 multiarch modf for PowerPC32.
6979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6984 multiarch modff for PowerPC32.
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6987 and lrintf multiarch implementations.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6993 multiarch lrint for PowerPC32.
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6995 file: multiarch lrintf for PowerPC32.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6998 and lroundf multiarch implementations.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7006 multiarch lround for PowerPC32.
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7008 file: multiarch lroundf for PowerPC32.
7010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7011 copysign and copysignf multiarch implementations.
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7017 file: multiarch copysign for PowerPC32.
7018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7019 file: multiarch copysignf for PowerPC32.
7021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7022 and truncf multiarch implementations.
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7028 multiarch trunc for PowerPC32.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7034 multiarch truncf for PowerPC32.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7037 and roundf multiarch implementations.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7043 multiarch round for PowerPC32.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7049 multiarch roundf for PowerPC32.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7052 and floorf multiarch implementations.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7058 multiarch floor for PowerPC32.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7064 multiarch floorf for PowerPC32.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7067 and ceilf multiarch implementations.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7073 multiarch ceil for PowerPC32.
7074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7079 multiarch ceilf for PowerPC32.
7081 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7083 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7086 and finitef multiarch implementations.
7087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7092 multiarch finite for PowerPC32.
7093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7096 file: multiarch finitef for PowerPC32.
7098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7099 and isinff multiarch implementations.
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7105 multiarch isinf for PowerPC32.
7106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7109 multiarch isinff for PowerPC32.
7111 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7112 alias when __isnan is defined.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7114 and isnanf multiarch implementations.
7115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7124 multiarch isnan for PowerPC32.
7125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7130 multiarch isnanf for PowerPC32.
7132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7133 and sqrtf multiarch implementations.
7134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7139 multiarch sqrt for PowerPC32.
7140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7145 multiarch sqrtf for PowerPC32.
7147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7148 and llroundf multiarch implementations.
7149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7156 file: multiarch llround for PowerPC32.
7157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7158 file: multiarch llroundf for PowerPC32.
7160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7161 multiarch PowerPC32 fpu implementations.
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7167 multiarch llrint for PowerPC32.
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7181 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7184 multiarch wordcopy for PPC32.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7188 (__libc_ifunc_impl_list): Likewise.
7189 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7190 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7192 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7194 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7196 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7204 multiarch wcscpy for PPC32.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7208 (__libc_ifunc_impl_list): Likewise.
7209 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7210 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7211 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7212 sysdeps/powerpc/power6/wcscpy.c.
7214 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7222 multiarch wcsrchr for PPC32.
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7226 (__libc_ifunc_impl_list): Likewise.
7227 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7228 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7229 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7230 sysdeps/powerpc/power6/wcsrchr.c.
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7238 multiarch wcschr for PPc32.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7242 (__libc_ifunc_impl_list): Likewise.
7243 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7244 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7245 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7246 sysdeps/powerpc/power6/wcschr.c.
7248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7252 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7253 file: multiarch strchr for PPC32.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7257 (__libc_ifunc_impl_list): Likewise.
7259 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7261 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7266 multiarch strchrnul for PPC32.
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7270 (__libc_ifunc_impl_list): Likewise.
7272 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7275 multiarch strncasecmp for PPC32.
7276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7279 multiarch strncasecmp_l for PPC32.
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7281 strncasecmp multiarch objects.
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7283 (__libc_ifunc_impl_list): Likewise.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7288 multiarch strncasecmp for PPC32.
7289 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7291 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7292 multiarch strcasecmp_l for PPC32.
7293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7296 (__libc_ifunc_impl_list): Likewise.
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7303 multiarch strncmp for PPC32.
7304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7307 (__libc_ifunc_impl_list): Likewise.
7309 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7310 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7312 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7317 (__libc_ifunc_impl_list): Likewise.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7327 (__libc_ifunc_impl_list): Likewise.
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7333 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7334 multiarch rawmemchr for PPC32.
7335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7338 (__libc_ifunc_impl_list): Likewise.
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7342 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7344 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7345 file: memrchr multiarch for PPC32.
7346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7349 (__libc_ifunc_impl_list): Likewise.
7351 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7352 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7354 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7356 multiarch memchr for PPC32.
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7360 (__libc_ifunc_impl_list): Likewise.
7362 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7363 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7365 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7367 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7368 file: multiarch mempcpy for PPC32.
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7372 (__libc_ifunc_impl_list): Likewise.
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7375 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7378 multiarch bzero for PPC32.
7379 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7381 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7384 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7385 file: multiarch memset for PPC32.
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7388 memset multiarch objects.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7390 (__libc_ifunc_impl_list): Likewise.
7392 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7394 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7397 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7401 (__libc_ifunc_impl_list): Likewise.
7403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7407 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7412 multiarch memcpy for PPC32.
7413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7416 (__libc_ifunc_impl_list): Likewise.
7418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7419 support multiarch for POWER/PPC32.
7420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7422 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7424 Implies file to make multiarch folder appers before the fpu and
7425 default folder for power4 configuration.
7427 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7429 * scripts/bench.pl: Append volatile keyword to type.
7431 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7433 * sysdeps/sh/sotruss-lib.c: New file.
7434 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7436 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7440 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7443 * math/w_tgamma.c: Include <errno.h>.
7444 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7445 * math/w_tgammaf.c: Include <errno.h>.
7446 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7447 * math/w_tgammal.c: Include <errno.h>.
7448 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7449 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7450 underflow. Add more tgamma tests.
7451 * math/auto-libm-test-out: Regenerated.
7452 * sysdeps/i386/fpu/libm-test-ulps: Update.
7453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7455 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7456 sin, sinh, tan, tanh, tgamma, y0 and y1.
7457 * math/auto-libm-test-out: Regenerated.
7458 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7459 (TEST_COND_x86): Likewise.
7460 (M_E2l): Remove macro.
7462 (M_2_SQRT_PIl): Likewise.
7463 (M_SQRT_PIl): Likewise.
7464 (M_1_DIV_El): Likewise.
7465 (log_test_data): Use AUTO_TESTS_f_f.
7466 (log10_test_data): Likewise.
7467 (log1p_test_data): Likewise.
7468 (log2_test_data): Likewise.
7469 (sin_test_data): Likewise.
7470 (sin_tonearest_test_data): Likewise.
7471 (sin_towardzero_test_data): Likewise.
7472 (sin_downward_test_data): Likewise.
7473 (sin_upward_test_data): Likewise.
7474 (sinh_test_data): Likewise.
7475 (sinh_tonearest_test_data): Likewise.
7476 (sinh_towardzero_test_data): Likewise.
7477 (sinh_downward_test_data): Likewise.
7478 (sinh_upward_test_data): Likewise.
7479 (tan_test_data): Likewise.
7480 (tan_tonearest_test_data): Likewise.
7481 (tan_towardzero_test_data): Likewise.
7482 (tan_downward_test_data): Likewise.
7483 (tan_upward_test_data): Likewise.
7484 (tanh_test_data): Likewise.
7485 (tgamma_test_data): Likewise.
7486 (y0_test_data): Likewise.
7487 (y1_test_data): Likewise.
7488 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7489 (special_real_inputs): Add pi/4.
7490 * sysdeps/i386/fpu/libm-test-ulps: Update.
7491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7493 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7495 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7496 "longjmp_target" static probes.
7497 (__longjmp): Rename to __longjmp_symbol.
7498 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7499 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7500 on which longjmp to generate.
7501 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7502 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7504 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7505 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7506 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7507 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7508 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7509 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7511 __longjmp_symbol based on which __longjmp to generate.
7512 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7514 (setjmp): Rename to setjmp_symbol.
7515 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7516 (_setjmp): Rename to _setjmp_symbol.
7517 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7518 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7519 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7520 which setjmp to generate.
7521 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7522 "longjmp_target" static probes.
7524 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7526 * benchtests/README: Add note about output arguments.
7527 * benchtests/bench-sincos.c: Remove file.
7528 * benchtests/sincos-inputs: New file.
7529 * scripts/bench.pl: Identify output arguments and define
7530 static variables for them.
7532 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7535 * Makefile (INSTALL): Add install-plain.texi as the primary
7537 * manual/install-plain.texi: New file.
7538 * manual/install.texi: Include node directive only for
7539 non-plaintext output.
7541 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7543 * stdlib/longlong.h: Update from GCC.
7547 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7548 * math/w_j0f.c (y0f): Likewise.
7549 * math/w_j0l.c (__y0l): Likewise.
7550 * math/w_j1.c (y1): Likewise.
7551 * math/w_j1f.c (y1f): Likewise.
7552 * math/w_j1l.c (__y1l): Likewise
7553 * math/w_jn.c (yn): Likewise.
7554 * math/w_jnf.c (ynf): Likewise.
7555 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7556 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7557 value for Bessel function domain errors outside _SVID_ mode.
7558 Adjust sign of return value for yn (negative integer, 0).
7559 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7560 by zero in return for negative x and set sign appropriately for
7562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7564 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7565 expectations in error cases.
7566 (y1_test_data): Likewise.
7567 (yn_test_data): Likewise.
7568 * sysdeps/i386/fpu/libm-test-ulps: Update.
7569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7573 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7574 "64" to "64-v1". Add "64-v2".
7575 (abi-64-options): Rename to ...
7576 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7577 (abi-64-condition): Rename to ...
7578 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7579 (abi-64-ld-soname): Rename to ...
7580 (abi-64-v1-ld-soname): ... this.
7581 (abi-64-v2-options): Define.
7582 (abi-64-v2-condition): Likewise.
7583 (abi-64-v2-ld-soname): Likewise.
7584 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7585 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7590 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7591 Alan Modra <amodra@gmail.com>
7593 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7594 New versions for use with the ELFv2 ABI.
7595 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7596 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7598 (struct La_ppc64v2_retval): Likewise.
7599 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7600 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7601 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7602 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7603 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7604 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7605 Do not save or restore CR.
7606 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7607 (_dl_profile_resolve): Do no save or restore CR. Support extended
7608 return values for ELFv2 ABI. Fix location of FPR return registers.
7609 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7610 updated values for _CALL_ELF == 2.
7611 (La_regs, La_retval, int_retval): Likewise.
7613 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7615 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7616 (FRAME_MIN_SIZE_PARM): Likewise.
7617 (FRAME_BACKCHAIN): Likewise.
7618 (FRAME_CR_SAVE): Likewise.
7619 (FRAME_LR_SAVE): Likewise.
7620 (FRAME_TOC_SAVE): Likewise.
7621 (FRAME_PARM_SAVE): Likewise.
7622 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7623 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7624 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7625 (call_mcount_parm_offset): New macro.
7626 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7627 (PROF): Use symbolic stack frame offsets.
7628 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7630 Redefine in terms of FRAME_MIN_SIZE.
7631 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7632 (_dl_profile_resolve): Likewise. Update comment.
7633 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7634 symbols stack frame offsets.
7635 (__sigsetjmp): Likewise.
7636 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7637 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7638 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7639 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7642 (FRAME_BACKCHAIN): Remove.
7643 (FRAME_CR_SAVE): Likewise.
7644 (FRAME_LR_SAVE): Likewise.
7645 (FRAME_COMPILER_DW): Likewise.
7646 (FRAME_LINKER_DW): Likewise.
7647 (FRAME_TOC_SAVE): Likewise.
7648 (FRAME_PARM_SAVE): Likewise.
7649 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7650 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7651 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7653 (CHECK_SP): Use symbolic stack frame offsets.
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7655 zone" instead of caller's parameter save area for temp storage.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7657 Likewise. Also, use symbolic stack frame offsets.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7659 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7660 our own stack frame instead of the caller's.
7661 (__socket): Use symbolic stack frame offsets.
7663 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7664 Alan Modra <amodra@gmail.com>
7666 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7668 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7669 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7670 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7672 (elf_machine_fixup_plt): Call it.
7673 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7675 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7676 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7677 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7678 r2 before calling target.
7680 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7681 Alan Modra <amodra@gmail.com>
7683 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7684 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7685 versions of macros to support ELFv2 ABI.
7686 (LOCALENTRY): New macro.
7687 (ENTRY, EALIGN): Use it.
7688 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7689 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7690 fall through into ENTRY entry point.
7691 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7692 Only define if _CALL_ELF != 2.
7694 (elf_machine_matches_host): Verify ABI version matches.
7695 (RTLD_START): Use LOCALENTRY.
7696 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7697 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7698 (PLT_ENTRY_WORDS): New macro.
7699 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7700 (elf_machine_runtime_setup): Support ELFv2 ABI.
7701 (elf_machine_fixup_plt): Likewise.
7702 (elf_machine_plt_conflict): Likewise.
7703 (resolve_ifunc): Likewise.
7704 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7705 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7708 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7710 (makecontext): Support ELFv2 ABI.
7711 * elf/elf.h (EF_PPC64_ABI): Define.
7713 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7715 * sysdeps/powerpc/powerpc64/sysdep.h
7716 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7717 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7718 (ENTRY) [ASSEMBLER]: ... but instead here ...
7719 (EALIGN) [ASSEMBLER]: ... and here.
7720 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7721 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7722 (ENTRY_2) [!ASSEMBLER]: Use it.
7723 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7724 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7725 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7726 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7727 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7729 Use PPC64_LOAD_FUNCPTR.
7731 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7733 2013-12-04 Alan Modra <amodra@gmail.com>
7735 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7736 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7737 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7738 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7741 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7742 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7743 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7744 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7745 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7747 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7750 (__makecontext): Fix incorrect CFI when backtracing out of
7751 context created via makecontext.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7753 (__setcontext): Fix incorrect CFI during switch to new context.
7754 (__novec_setcontext): Likewise.
7756 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7759 * time/strptime_l.c (__strptime_internal): Allow modifiers
7761 * time/tst-strptime.c (day_tests): Add testcase.
7763 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7765 * scripts/bench.pl: Skip over blank lines.
7767 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7770 * manual/time.texi (Calendar Time): Clarify what timezone functions
7773 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7777 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7779 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7781 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7782 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7783 * debug/memset_chk.c (__memset_chk): Likewise.
7784 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7785 * debug/strncpy_chk.c: Likewise.
7787 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7791 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7792 (__ieee754_exp): For possibly underflowing results, check size of
7793 result and force underflow exception if required.
7794 * math/auto-libm-test-in: Add more tests of exp.
7795 * math/auto-libm-test-out: Regenerated.
7796 * sysdeps/i386/fpu/libm-test-ulps: Update.
7797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7800 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7801 * math/w_exp2f.c (__exp2f): Likewise.
7802 * math/w_exp2l.c (__exp2l): Likewise.
7803 * math/auto-libm-test-in: Do not allow missing errno on exp2
7805 * math/auto-libm-test-out: Regenerated.
7807 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7810 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7811 handle filename validation.
7812 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7815 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7818 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7819 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7820 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7822 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7824 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7826 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7828 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7829 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7830 Add more erfc tests.
7831 * math/auto-libm-test-out: Regenerated.
7832 * sysdeps/i386/fpu/libm-test-ulps: Update.
7833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7835 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7836 exp2, expm1, j0 and j1.
7837 * math/auto-libm-test-out: Regenerated.
7838 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7839 (erfc_test_data): Likewise.
7840 (exp_test_data): Likewise.
7841 (exp_tonearest_test_data): Likewise.
7842 (exp_towardzero_test_data): Likewise.
7843 (exp_downward_test_data): Likewise.
7844 (exp_upward_test_data): Likewise.
7845 (exp10_test_data): Likewise.
7846 (exp2_test_data): Likewise.
7847 (expm1_test_data): Likewise.
7848 (j0_test_data): Likewise.
7849 (j1_test_data): Likewise.
7850 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7851 (input_flag_type): Add flag_xfail_rounding.
7852 (input_flags): Add xfail-rounding.
7853 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7854 (output_for_one_input_case): Handle flag_xfail_rounding.
7855 * sysdeps/i386/fpu/libm-test-ulps: Update.
7856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7858 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7861 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7864 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7867 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7868 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7869 (STAP_PROBE0): New macro.
7870 (STAP_PROBE1): Likewise.
7871 (STAP_PROBE2): Likewise.
7872 (STAP_PROBE3): Likewise.
7873 (STAP_PROBE4): Likewise.
7875 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7877 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7879 2013-12-02 Steve Ellcey <sellcey@mips.com>
7881 * benchtests/Makefile (bench): Add sqrt.
7882 (LDLIBS-bench-sqrt): New.
7883 * benchtests/sqrt-input: New.
7885 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7887 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7888 (GAIH_EAI): Likewise.
7889 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7890 (gaih_inet): Likewise.
7891 (getaddrinfo): Don't use GAIH_EAI.
7893 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7894 (struct gaih): Remove definition.
7896 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7898 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7899 Use HERRNOP directly.
7901 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7905 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7907 * math/gen-auto-libm-tests.c (test_functions): Add more
7908 single-argument functions.
7909 (special_fill_pi_2): New function.
7910 (special_fill_minus_pi_2): Likewise.
7911 (special_fill_pi_6): Likewise.
7912 (special_fill_minus_pi_6): Likewise.
7913 (special_fill_pi_3): Likewise.
7914 (special_fill_2pi_3): Likewise.
7915 (special_fill_e): Likewise.
7916 (special_fill_1_e): Likewise.
7917 (special_fill_e_minus_1): Likewise.
7918 (special_real_inputs): Add more special inputs.
7919 (output_for_one_input_case): Do not require ERANGE on underflow to
7920 zero if round-to-nearest result does not underflow to zero, unless
7921 exact results required.
7922 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7923 atan, atanh, cbrt, cos and cosh.
7924 * math/auto-libm-test-out: Regenerated.
7925 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7926 (acos_tonearest_test_data): Likewise.
7927 (acos_towardzero_test_data): Likewise.
7928 (acos_downward_test_data): Likewise.
7929 (acos_upward_test_data): Likewise.
7930 (acosh_test_data): Likewise.
7931 (asin_test_data): Likewise.
7932 (asin_tonearest_test_data): Likewise.
7933 (asin_towardzero_test_data): Likewise.
7934 (asin_upward_test_data): Likewise.
7935 (asinh_test_data): Likewise.
7936 (atan_test_data): Likewise.
7937 (atanh_test_data): Likewise.
7938 (cbrt_test_data): Likewise.
7939 (cos_test_data): Likewise.
7940 (cos_tonearest_test_data): Likewise.
7941 (cos_towardzero_test_data): Likewise.
7942 (cos_downward_test_data): Likewise.
7943 (cos_upward_test_data): Likewise.
7944 (cosh_test_data): Likewise.
7945 (cosh_tonearest_test_data): Likewise.
7946 (cosh_towardzero_test_data): Likewise.
7947 (cosh_downward_test_data): Likewise.
7948 (cosh_upward_test_data): Likewise.
7949 * sysdeps/i386/fpu/libm-test-ulps: Update.
7950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7952 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7955 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7956 * math/w_exp10f.c (__exp10f): Likewise.
7957 * math/w_exp10l.c (__exp10l): Likewise.
7958 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7959 errno settings in existing tests.
7962 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7963 precision control set to double precision.
7964 * sysdeps/i386/fpu/w_sqrt.c: New file.
7965 * math/auto-libm-test-in: Add more tests.
7966 * math/auto-libm-test-out: Update.
7968 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7969 (sqrt_test_tonearest): New function.
7970 (sqrt_towardzero_test_data): New variable.
7971 (sqrt_test_towardzero): New function.
7972 (sqrt_downward_test_data): New variable.
7973 (sqrt_test_downward): New function.
7974 (sqrt_upward_test_data): New variable.
7975 (sqrt_test_upward): New function.
7976 (main): Call the new functions.
7978 * math/gen-auto-libm-tests.c: New file.
7979 * math/auto-libm-test-in: Likewise.
7980 * math/auto-libm-test-out: New generated file.
7981 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7983 (%beautify): Add generated representations of zero.
7984 (top level): Set $auto_input and call parse_auto_input.
7985 (beautify): Remove trailing "f" from hex float constants.
7986 (parse_args): Handle XFAIL_TEST.
7987 (convert_condition): New function.
7988 (or_value): Likewise.
7989 (or_cond_value): Likewise.
7990 (generate_testfile): Handle AUTO_TESTS_* lines.
7991 (parse_auto_input): New function.
7992 * math/libm-test.inc (XFAIL_TEST): New macro.
7993 (ERRNO_UNCHANGED): Update value.
7994 (ERRNO_EDOM): Likewise.
7995 (ERRNO_ERANGE): Likewise.
7996 (IGNORE_RESULT): Likewise.
7997 (TEST_COND_flt_32): New macro.
7998 (TEST_COND_dbl_64): Likewise.
7999 (TEST_COND_ldbl_96_intel): Likewise.
8000 (TEST_COND_ldbl_96_m68k): Likewise.
8001 (TEST_COND_ldbl_128): Likewise.
8002 (TEST_COND_ldbl_128ibm): Likewise.
8003 (TEST_COND_long32): Likewise.
8004 (TEST_COND_long64): Likewise.
8005 (TEST_COND_before_rounding): Likewise.
8006 (TEST_COND_after_rounding): Likewise.
8007 (enable_test): Handle XFAIL_TEST flag.
8008 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8009 with finite results.
8010 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8013 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8014 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8017 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8018 __tls_get_addr_internal instead of __tls_get_offset in order to
8019 avoid GOT pointer dependency. Make rtld export
8020 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8021 __tls_get_addr since we are a __tls_get_offset platform.
8022 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8023 GOT pointer being set up before.
8024 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8026 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8028 * manual/math.texi (Errors in Math Functions): Document accuracy
8032 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8033 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8034 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8035 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8036 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8037 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8038 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8039 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8040 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8041 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8042 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8043 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8045 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8049 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8050 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8051 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8052 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8053 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8055 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8057 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8059 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8060 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8061 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8062 atomic-feupdateenv and flt-rounds.
8063 * sysdeps/powerpc/nofpu/Versions (libc): Add
8064 __atomic_feholdexcept, __atomic_feclearexcept,
8065 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8066 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8067 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8068 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8069 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8074 * manual/arith.texi (FP Exceptions): Document that exceptions may
8075 not be raised when matherr is used.
8076 (Math Error Reporting): Document overflow in directed rounding
8077 modes. Document that errno may not be set when finite values are
8078 returned on overflow. Document intent to set errno on underflow
8079 only for underflow to zero.
8082 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8083 round-to-nearest then adjust result for other rounding modes.
8084 * include/fenv.h (fegetround): Use libm_hidden_proto.
8085 * math/fegetround.c (fegetround): Use libm_hidden_def.
8086 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8087 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8088 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8089 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8091 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8092 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8093 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8094 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8096 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8099 * nss/Versions (libnss_files): Add
8100 _nss_files_gethostbyname3_r.
8101 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8103 (HOST_DB_LOOKUP): Remove macro.
8104 (_nss_files_gethostbyname_r): Implement function without the
8105 HOST_DB_LOOKUP macro.
8106 (_nss_files_gethostbyname2_r): Likewise.
8108 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8110 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8112 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8114 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8115 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8118 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8120 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8121 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8122 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8123 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8124 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8125 __fe_nomask_env_priv and attribute_hidden.
8126 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8127 (libc_feupdateenv_test_ppc): Likewise.
8128 (libc_feresetround_ppc): Likewise.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8130 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8131 compat_symbol macro.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8133 (__fe_nomask_env): Likewise.
8134 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8136 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8138 * string/Makefile: Remove ifunc tests.
8139 * string/test-string.h: Define TEST_IFUNC.
8140 * string/test-bcopy-ifunc.c: Remove.
8141 * string/test-bzero-ifunc.c: Likewise.
8142 * string/test-memccpy-ifunc.c: Likewise.
8143 * string/test-memchr-ifunc.c: Likewise.
8144 * string/test-memcmp-ifunc.c: Likewise.
8145 * string/test-memcpy-ifunc.c: Likewise.
8146 * string/test-memmem-ifunc.c: Likewise.
8147 * string/test-memmove-ifunc.c: Likewise.
8148 * string/test-mempcpy-ifunc.c: Likewise.
8149 * string/test-memrchr-ifunc.c: Likewise.
8150 * string/test-memset-ifunc.c: Likewise.
8151 * string/test-rawmemchr-ifunc.c: Likewise.
8152 * string/test-stpcpy-ifunc.c: Likewise.
8153 * string/test-stpncpy-ifunc.c: Likewise.
8154 * string/test-strcasecmp-ifunc.c: Likewise.
8155 * string/test-strcasestr-ifunc.c: Likewise.
8156 * string/test-strcat-ifunc.c: Likewise.
8157 * string/test-strchr-ifunc.c: Likewise.
8158 * string/test-strchrnul-ifunc.c: Likewise.
8159 * string/test-strcmp-ifunc.c: Likewise.
8160 * string/test-strcpy-ifunc.c: Likewise.
8161 * string/test-strcspn-ifunc.c: Likewise.
8162 * string/test-strlen-ifunc.c: Likewise.
8163 * string/test-strncasecmp-ifunc.c: Likewise.
8164 * string/test-strncat-ifunc.c: Likewise.
8165 * string/test-strncmp-ifunc.c: Likewise.
8166 * string/test-strncpy-ifunc.c: Likewise.
8167 * string/test-strnlen-ifunc.c: Likewise.
8168 * string/test-strpbrk-ifunc.c: Likewise.
8169 * string/test-strrchr-ifunc.c: Likewise.
8170 * string/test-strspn-ifunc.c: Likewise.
8171 * string/test-strstr-ifunc.c: Likewise.
8173 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8175 * benchtests/Makefile: Remove ifunc tests.
8176 * benchtests/bench-string.h: Define TEST_IFUNC.
8177 * benchtests/bench-bcopy-ifunc.c: Remove.
8178 * benchtests/bench-bzero-ifunc.c: Likewise.
8179 * benchtests/bench-memccpy-ifunc.c: Likewise.
8180 * benchtests/bench-memchr-ifunc.c: Likewise.
8181 * benchtests/bench-memcmp-ifunc.c: Likewise.
8182 * benchtests/bench-memcpy-ifunc.c: Likewise.
8183 * benchtests/bench-memmem-ifunc.c: Likewise.
8184 * benchtests/bench-memmove-ifunc.c: Likewise.
8185 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8186 * benchtests/bench-memrchr-ifunc.c: Likewise.
8187 * benchtests/bench-memset-ifunc.c: Likewise.
8188 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8189 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8190 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8191 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8192 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8193 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8194 * benchtests/bench-strcat-ifunc.c: Likewise.
8195 * benchtests/bench-strchr-ifunc.c: Likewise.
8196 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8197 * benchtests/bench-strcmp-ifunc.c: Likewise.
8198 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8199 * benchtests/bench-strcpy-ifunc.c: Likewise.
8200 * benchtests/bench-strcspn-ifunc.c: Likewise.
8201 * benchtests/bench-strlen-ifunc.c: Likewise.
8202 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8203 * benchtests/bench-strncat-ifunc.c: Likewise.
8204 * benchtests/bench-strncmp-ifunc.c: Likewise.
8205 * benchtests/bench-strncpy-ifunc.c: Likewise.
8206 * benchtests/bench-strnlen-ifunc.c: Likewise.
8207 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8208 * benchtests/bench-strrchr-ifunc.c: Likewise.
8209 * benchtests/bench-strsep-ifunc.c: Likewise.
8210 * benchtests/bench-strspn-ifunc.c: Likewise.
8211 * benchtests/bench-strstr-ifunc.c: Likewise.
8213 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8215 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8217 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8219 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8220 * rt/aio.h: Likewise.
8221 * sysdeps/gnu/bits/utmp.h: Likewise.
8222 * sysdeps/gnu/bits/utmpx.h: Likewise.
8223 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8224 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8225 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8226 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8227 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8228 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8229 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8230 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8231 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8232 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8233 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8234 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8235 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8237 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8238 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8239 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8240 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8241 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8242 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8243 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8244 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8245 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8246 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8247 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8249 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8251 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8252 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8253 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8254 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8255 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8256 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8257 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8258 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8259 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8260 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8261 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8262 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8263 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8264 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8266 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8269 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8270 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8272 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8274 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8275 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8278 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8281 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8282 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8283 (__fesetround): Remove define.
8284 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8285 rounding and exceptions handling.
8286 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8287 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8288 (__fe_nomask_env): Likewise.
8289 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8290 __fegetround instead of fegetround.
8291 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8294 2013-11-21 Roland McGrath <roland@hack.frob.com>
8296 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8299 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8301 2013-11-21 Meador Inge <meadori@codesourcery.com>
8304 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8305 (encrypt_r): Likewise.
8306 * malloc/obstack.h (obstack_free): Likewise.
8307 * posix/unistd.h (encrypt): Likewise.
8309 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8311 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8312 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8313 DL_CALL_DT_FINI() that call the functions directly.
8314 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8315 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8316 * elf/dl-fini.c: Likewise.
8318 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8320 * malloc/hooks.c (memalign_check): Add alignment rounding.
8321 * malloc/malloc.c (_mid_memalign): New function.
8322 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8323 Implement by calling _mid_memalign.
8324 * manual/probes.texi (Memory Allocation Probes): Remove
8325 memory_valloc_retry and memory_pvalloc_retry.
8327 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8329 * locale/programs/locarchive.c (open_archive): Add const
8330 qualifier to ARCHIVEFNAME and copy default fname to
8334 * libio/tst-widetext.input: Rename Oriya to Odia.
8335 * locale/iso-639.def: Likewise.
8337 * manual/probes.texi (Mathematical Function Probes): Add
8338 documentation for sin, cos, asin and acos probes.
8339 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8340 (__sin32): Add slowasin probe.
8341 (__cos32): Add slowacos probe.
8342 (__mpsin): Add slowsin probe.
8343 (__mpcos): Add slowcos probe.
8345 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8348 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8349 thread-local __sim_exceptions_thread and global
8350 __sim_exceptions_global.
8351 (__sim_disabled_exceptions): Change to thread-local
8352 __sim_disabled_exceptions_thread and global
8353 __sim_disabled_exceptions_global.
8354 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8355 and global __sim_round_mode_global.
8356 (__simulate_exceptions): Use thread-local floating-point state and
8357 set global state from it as needed.
8358 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8359 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8360 __sim_round_mode_thread.
8361 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8362 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8363 and global __sim_exceptions_global.
8364 (__sim_disabled_exceptions): Change to thread-local
8365 __sim_disabled_exceptions_thread and global
8366 __sim_disabled_exceptions_global.
8367 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8368 and global __sim_round_mode_global.
8369 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8370 (SIM_SET_GLOBAL): Likewise.
8371 * sysdeps/powerpc/soft-fp/sfp-machine.h
8372 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8373 __sim_round_mode_thread.
8374 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8375 __sim_disabled_exceptions_thread.
8376 (__sim_exceptions): Change to __sim_exceptions_thread.
8377 (__sim_disabled_exceptions): Change to
8378 __sim_disabled_exceptions_thread.
8379 (__sim_round_mode): Change to __sim_round_mode_thread.
8380 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8381 thread-local floating-point state and set global state from it as
8383 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8384 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8385 (__sim_disabled_exceptions): Remove extern declaration.
8386 (feenableexcept): Use thread-local floating-point state and set
8387 global state from it as needed.
8388 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8390 (__sim_disabled_exceptions): Likewise.
8391 (__sim_round_mode): Likewise.
8392 (__fegetenv): Use thread-local floating-point state.
8393 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8394 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8395 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8396 floating-point state and set global state from it as needed.
8397 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8398 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8399 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8401 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8402 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8404 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8405 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8406 Use __sim_round_mode_thread.
8407 * math/test-fenv-tls.c: New file.
8408 * math/Makefile (tests): Add test-fenv-tls.
8409 ($(objpfx)test-fenv-tls): Depend on
8410 $(common-objpfx)nptl/libpthread.so.
8412 2013-11-19 Andreas Schwab <schwab@suse.de>
8414 * locale/programs/locale.c (show_info): Decode wordarray elements.
8415 * locale/categories.def (LC_MONETARY): Add element for
8416 _NL_MONETARY_CRNCYSTR.
8417 * locale/C-monetary.c (conversion_rate): New variable.
8418 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8421 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8423 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8424 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8426 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8428 * elf/Makefile (tst-auxv): New test.
8429 * elf/tst-auxv.c: New
8430 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8432 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8434 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8435 (hidden_proto): Caller changed.
8436 (hidden_tls_proto): New macro.
8437 (libc_hidden_tls_proto): Likewise.
8438 (rtld_hidden_tls_proto): Likewise.
8439 (libm_hidden_tls_proto): Likewise.
8440 (libresolv_hidden_tls_proto): Likewise.
8441 (librt_hidden_tls_proto): Likewise.
8442 (libdl_hidden_tls_proto): Likewise.
8443 (libnss_files_hidden_tls_proto): Likewise.
8444 (libnsl_hidden_tls_proto): Likewise.
8445 (libnss_nisplus_hidden_tls_proto): Likewise.
8446 (libutil_hidden_tls_proto): Likewise.
8448 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8451 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8452 (decompose_rpath): Defer expansion to fillin_rpath.
8453 (_dl_init_paths): Pass linkmap to fillin_rpath.
8455 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8457 * benchtests/Makefile: Add strsep.
8458 * benchtests/bench-strsep.c: New file: strsep benchtest.
8459 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8461 2013-11-18 Andreas Schwab <schwab@suse.de>
8463 * locale/programs/locale.c (show_info) [case byte]: Check for
8464 '\377' instead of '\177'.
8465 * locale/C-monetary.c (not_available): Always use "\377".
8466 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8467 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8468 detect unavailable sign_posn locale elements.
8469 * locale/localeconv.c (__localeconv): For grouping and
8470 mon_grouping handle "\177" and "\377" like no grouping.
8471 (INT_ELEM): New macro. Use it to set all numeric members.
8472 * locale/programs/ld-monetary.c (monetary_read)
8473 <tok_mon_grouping>: Normalize single -1 to the empty string.
8474 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8477 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8480 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8481 when we match (nil).
8482 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8484 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8486 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8487 (NO_TEST_INLINE): Update value.
8488 (ERRNO_UNCHANGED): Likewise.
8489 (ERRNO_EDOM): Likewise.
8490 (ERRNO_ERANGE): Likewise.
8491 (IGNORE_RESULT): Likewise.
8492 (check_float_internal): Check signs of NaN results if
8494 (check_complex): Pass TEST_NAN_SIGN flag through to second
8495 check_float_internal call.
8496 (copysign_test_data): Add tests with quiet NaNs as second
8497 argument. Use TEST_NAN_SIGN.
8498 (fabs_test_data): Add test of negative quiet NaN argument. Use
8500 (signbit_test_data): Add tests of quiet NaN argument.
8501 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8503 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8505 (parse_args): Handle function results specified as IGNORE.
8506 * math/libm-test.inc (IGNORE_RESULT): New macro.
8507 (check_float_internal): Do not check numerical result if flag
8509 (check_complex): Pass through IGNORE_RESULT to second
8510 check_float_internal call.
8511 (check_int): Do not check numerical result if flag IGNORE_RESULT
8513 (check_long): Likewise.
8514 (check_bool): Likewise.
8515 (check_longlong): Likewise.
8516 (lrint_test_data): Add tests of infinite and NaN arguments.
8517 (lrint_tonearest_test_data): Likewise.
8518 (lrint_towardzero_test_data): Likewise.
8519 (lrint_downward_test_data): Likewise.
8520 (lrint_upward_test_data): Likewise.
8521 (llrint_test_data): Likewise.
8522 (llrint_tonearest_test_data): Likewise.
8523 (llrint_towardzero_test_data): Likewise.
8524 (llrint_downward_test_data): Likewise.
8525 (llrint_upward_test_data): Likewise.
8526 (lround_test_data): Likewise.
8527 (llround_test_data): Likewise.
8529 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8530 (ERRNO_UNCHANGED): Update value.
8531 (ERRNO_EDOM): Likewise.
8532 (ERRNO_ERANGE): Likewise.
8533 (NO_TEST_INLINE_FLOAT): New macro.
8534 (NO_TEST_INLINE_DOUBLE): Likewise.
8535 (enable_test): New function.
8536 (RUN_TEST_f_f): Check enable_test before running test.
8537 (RUN_TEST_2_f): Likewise.
8538 (RUN_TEST_fff_f): Likewise.
8539 (RUN_TEST_c_f): Likewise.
8540 (RUN_TEST_f_f1): Likewise.
8541 (RUN_TEST_fF_f1): Likewise.
8542 (RUN_TEST_fI_f1): Likewise.
8543 (RUN_TEST_ffI_f1): Likewise.
8544 (RUN_TEST_c_c): Likewise.
8545 (RUN_TEST_cc_c): Likewise.
8546 (RUN_TEST_f_i): Likewise.
8547 (RUN_TEST_f_i_tg): Likewise.
8548 (RUN_TEST_ff_i_tg): Likewise.
8549 (RUN_TEST_f_b): Likewise.
8550 (RUN_TEST_f_b_tg): Likewise.
8551 (RUN_TEST_f_l): Likewise.
8552 (RUN_TEST_f_L): Likewise.
8553 (RUN_TEST_fFF_11): Likewise.
8554 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8556 (cosh_test_data): Likewise.
8557 (exp_test_data): Likewise.
8558 (expm1_test_data): Likewise.
8559 (hypot_test_data): Likewise.
8560 (pow_test_data): Likewise.
8561 (sinh_test_data): Likewise.
8562 (tanh_test_data): Likewise.
8563 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8566 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8567 tests with quiet NaN input and output.
8568 (acosh_test_data): Likewise.
8569 (asin_test_data): Likewise.
8570 (asinh_test_data): Likewise.
8571 (atan_test_data): Likewise.
8572 (atanh_test_data): Likewise.
8573 (atan2_test_data): Likewise.
8574 (cbrt_test_data): Likewise.
8575 (cos_test_data): Likewise.
8576 (cosh_test_data): Likewise.
8577 (erf_test_data): Likewise.
8578 (erfc_test_data): Likewise.
8579 (exp_test_data): Likewise.
8580 (exp10_test_data): Likewise.
8581 (exp2_test_data): Likewise.
8582 (expm1_test_data): Likewise.
8583 (hypot_test_data): Likewise.
8584 (j0_test_data): Likewise.
8585 (j1_test_data): Likewise.
8586 (jn_test_data): Likewise.
8587 (lgamma_test_data): Likewise.
8588 (log_test_data): Likewise.
8589 (log10_test_data): Likewise.
8590 (log1p_test_data): Likewise.
8591 (log2_test_data): Likewise.
8592 (pow_test_data): Likewise.
8593 (scalb_test_data): Likewise.
8594 (sin_test_data): Likewise.
8595 (sincos_test_data): Likewise.
8596 (sinh_test_data): Likewise.
8597 (tan_test_data): Likewise.
8598 (tanh_test_data): Likewise.
8599 (tgamma_test_data): Likewise.
8600 (y0_test_data): Likewise.
8601 (y1_test_data): Likewise.
8602 (yn_test_data): Likewise.
8605 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8606 argument being NaN and avoid computations with second argument in
8608 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8609 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8610 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8612 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8614 * locale/iso-639.def: Add Chitwani Tharu (the).
8616 2013-11-14 Andreas Schwab <schwab@suse.de>
8618 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8619 word instead of empty string.
8621 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8624 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8626 (__fe_nomask_env): Likewise.
8628 2013-11-13 Steve Ellcey <sellcey@mips.com>
8630 * benchtests/bench-timing.h: Include time.h.
8632 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8635 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8637 * sysdeps/unix/sysv/linux/configure: Regenerated.
8639 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8642 * stdlib/strtod_l.c (round_and_return): Do not consider
8643 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8644 exponent one less than half the least subnormal exponent.
8645 * stdlib/test-strtod-round-data: Add more tests.
8646 * stdlib/tst-strtod-round.c (tests): Regenerated.
8648 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8651 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8652 (__fe_mask_env): Likewise.
8653 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8654 libm_hidden_proto and add function prototype.
8655 (__fe_mask_env): Add function prototype.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8657 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8659 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8661 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8663 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8665 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8666 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8668 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8670 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8671 of htab_find_slot().
8673 2013-11-11 David S. Miller <davem@davemloft.net>
8676 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8677 symbol in the non-vis3 case in static builds.
8678 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8679 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8680 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8681 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8683 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8686 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8689 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8691 * benchtests/Makefile: Add bench-strtod.
8692 * benchtests/bench-strtod.c: New file: strtod benchtest
8694 2013-11-11 Andreas Schwab <schwab@suse.de>
8697 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8698 terminating NUL in key length.
8700 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8702 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8703 Add artificial ODP entry for vDSO symbol for PPC64.
8704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8705 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8707 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8710 * nss/getent.c (services_keys): Recognize services starting with digit.
8712 2013-11-06 David S. Miller <davem@davemloft.net>
8715 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8716 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8718 2013-11-06 Will Newton <will.newton@linaro.org>
8720 * manual/memory.texi (Malloc Examples): Remove register
8721 keyword from examples.
8723 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8725 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8727 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8730 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8731 depending on [__GCC_IEC_559 > 0].
8732 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8733 depending on [__GCC_IEC_559_COMPLEX > 0].
8735 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8737 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8740 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8742 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8744 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8747 * malloc/malloc (malloc_info): Do not handle first bin as
8750 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8752 * locale/iso-639.def: Add Central Nahuatl (nhn).
8754 2013-11-01 Bruno Haible <bruno@clisp.org>
8757 * manual/math.texi (BSD Random): Specify range upper bound as
8760 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8762 * locale/iso-639.def: Add Meadow Mari (mhr).
8764 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8766 [BZ #14752], [BZ #15763]
8767 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8769 * rt/tst_shm.c: Add test for escaping directory.
8771 2013-10-31 Andreas Schwab <schwab@suse.de>
8774 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8775 followed by 'x' as part of digit sequence.
8776 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8778 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8781 * configure.ac: allow GNU Make 4.0 and greater.
8782 * configure: Regenerated.
8784 2013-10-30 Will Newton <will.newton@linaro.org>
8787 * malloc/hooks.c (memalign_check): Limit alignment to the
8788 maximum representable power of two.
8789 * malloc/malloc.c (__libc_memalign): Likewise.
8790 * malloc/tst-memalign.c (do_test): Add test for very
8791 large alignment values.
8792 * malloc/tst-posix_memalign.c (do_test): Likewise.
8794 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8797 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8798 (munmap_chunk): Likewise.
8799 (mremap_chunk): Likewise.
8801 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8804 * stdlib/div.c (div): Remove obsolete code.
8805 * stdlib/ldiv.c (ldiv): Likewise.
8806 * stdlib/lldiv.c (lldiv): Likewise.
8808 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8811 * nss/nss_files/files-XXX.c (get_contents_ret): New
8813 (get_contents): New function.
8814 (internal_getent): Use it. Expand size of LINEBUFLEN.
8816 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8818 * configure.in: Moved to ...
8819 * configure.ac: ... here. Change reference to configure.in
8821 * sysdeps/arm/preconfigure.ac: ... here.
8822 configure.in to configure.ac.
8823 * sysdeps/gnu/configure.in: Moved to ...
8824 * sysdeps/gnu/configure.ac: ... here.
8825 * sysdeps/i386/configure.in: Moved to ...
8826 * sysdeps/i386/configure.ac: ... here.
8827 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8828 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8829 * sysdeps/mach/configure.in: Moved to ...
8830 * sysdeps/mach/configure.ac: ... here.
8831 * sysdeps/mach/hurd/configure.in: Moved to ...
8832 * sysdeps/mach/hurd/configure.ac: ... here.
8833 * sysdeps/powerpc/configure.in: Moved to ...
8834 * sysdeps/powerpc/configure.ac: ... here.
8835 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8836 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8837 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8838 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8839 * sysdeps/s390/s390-32/configure.in: Moved to ...
8840 * sysdeps/s390/s390-32/configure.ac: ... here.
8841 * sysdeps/s390/s390-64/configure.in: Moved to ...
8842 * sysdeps/s390/s390-64/configure.ac: ... here.
8843 * sysdeps/sh/configure.in: Moved to ...
8844 * sysdeps/sh/configure.ac: ... here.
8845 * sysdeps/sparc/configure.in: Moved to ...
8846 * sysdeps/sparc/configure.ac: ... here.
8847 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8848 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8849 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8850 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8851 * sysdeps/x86_64/configure.in: Moved to ...
8852 * sysdeps/x86_64/configure.ac: ... here.
8853 * sysdeps/x86_64/preconfigure.in: Moved to ...
8854 * sysdeps/x86_64/preconfigure.ac: ... here.
8855 * aclocal.m4: Change reference to configure.in to configure.ac.
8856 * config.h.in: Likewise.
8857 * manual/install.texi: Likewise.
8858 * manual/maint.texi: Likewise.
8859 * Makefile: Likewise.
8860 * malloc/Makefile: Likewise.
8861 * nscd/Makefile: Likewise.
8862 * Makeconfig: Change reference to configure.in and
8863 preconfigure.in to configure.ac and preconfigure.ac
8865 * INSTALL: Regenerated.
8866 * configure: Likewise.
8867 * sysdeps/gnu/configure: Likewise.
8868 * sysdeps/i386/configure: Likewise.
8869 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8870 * sysdeps/mach/configure: Likewise.
8871 * sysdeps/mach/hurd/configure: Likewise.
8872 * sysdeps/powerpc/configure: Likewise.
8873 * sysdeps/powerpc/powerpc32/configure: Likewise.
8874 * sysdeps/powerpc/powerpc64/configure: Likewise.
8875 * sysdeps/s390/s390-32/configure: Likewise.
8876 * sysdeps/s390/s390-64/configure: Likewise.
8877 * sysdeps/sh/configure: Likewise.
8878 * sysdeps/sparc/configure: Likewise.
8879 * sysdeps/unix/sysv/linux/configure: Likewise.
8880 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8881 * sysdeps/x86_64/configure: Likewise.
8882 * sysdeps/x86_64/preconfigure: Likewise.
8884 2013-10-29 Andreas Schwab <schwab@suse.de>
8886 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8888 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8890 * benchtests/pow-inputs: Add new inputs.
8892 * benchtests/exp-inputs: Add new inputs.
8894 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8895 conditional check for return value.
8896 (__cos32): Likewise.
8898 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8900 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8901 to provide a boost for large inputs with word alignment.
8902 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8903 implementation based on optimized PPC64 strcpy.
8904 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8905 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8906 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8907 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8909 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8912 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8914 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8917 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8918 * time/tst-strptime.c (day_tests): Add testcase.
8920 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8923 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8925 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8928 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8929 MAP_FAILED on error.
8931 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8934 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8935 heap for large requests.
8937 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8940 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8941 result if the result has no associated interface.
8942 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8943 interface for all 127.X.Y.Z addresses.
8945 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8947 * locale/iso-639.def: Add Ligurian (lij)
8949 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8952 * sunrpc/rpc_main.c: Document rpcgen -5.
8954 2013-10-19 Michael Stahl <mstahl@redhat.com>
8956 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8958 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8961 * posix/glob.c: Match only directories when trailing slash is present.
8962 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8963 (main): Add testcase.
8965 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8968 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8970 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8972 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8973 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8974 AUTH_DES and cindex for FIPS 140-2.
8975 (DES Encryption): Add cindex FIPS 46-3.
8977 * locale/locarchive.h (struct locarhandle): Add fname.
8978 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8979 if an optional argument was specified to --list-archive,
8981 * locale/programs/locarchive.c (show_archive_content): Take new
8982 argument fname and pass it via ah.fname to open_archive.
8983 * locale/programs/localedef.h: Update decl.
8984 (open_archive): If AH->fname is non-null, open that file
8985 rather than the default file name, and don't ignore ENOENT.
8986 (create_archive): Set AH.fname to NULL.
8987 (delete_locales_from_archive): Likewise.
8988 (add_locales_to_archive): Likewise.
8989 * locale/programs/locfile.c (write_all_categories): Likewise.
8991 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8992 Aldy Hernandez <aldyh@redhat.com>
8994 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8995 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8996 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8997 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8998 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8999 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9002 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9005 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9006 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9007 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9008 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9010 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9012 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9014 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9016 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9017 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9019 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9020 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9021 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9022 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9024 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9025 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9026 * sysdeps/powerpc/preconfigure: Likewise.
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9029 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9030 Replace contents of file by #include of <fenv_libc.h>.
9031 * sysdeps/powerpc/soft-fp/sfp-machine.h
9032 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9034 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9035 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9047 Allow copysignl PLT reference to be missing.
9049 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9050 Joseph Myers <joseph@codesourcery.com
9053 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9055 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9057 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9059 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9060 * elf/tst-tls1.c: Likewise.
9061 * elf/tst-tls10.h: Likewise.
9062 * elf/tst-tls14.c: Likewise.
9063 * elf/tst-tls2.c: Likewise.
9064 * elf/tst-tls3.c: Likewise.
9065 * elf/tst-tls4.c: Likewise.
9066 * elf/tst-tls5.c: Likewise.
9067 * elf/tst-tls6.c: Likewise.
9068 * elf/tst-tls7.c: Likewise.
9069 * elf/tst-tls8.c: Likewise.
9070 * elf/tst-tls9.c: Likewise.
9071 * elf/tst-tlsmod1.c: Likewise.
9072 * elf/tst-tlsmod13.c: Likewise.
9073 * elf/tst-tlsmod13a.c: Likewise.
9074 * elf/tst-tlsmod14a.c: Likewise.
9075 * elf/tst-tlsmod16a.c: Likewise.
9076 * elf/tst-tlsmod16b.c: Likewise.
9077 * elf/tst-tlsmod2.c: Likewise.
9078 * elf/tst-tlsmod3.c: Likewise.
9079 * elf/tst-tlsmod4.c: Likewise.
9080 * elf/tst-tlsmod5.c: Likewise.
9081 * elf/tst-tlsmod6.c: Likewise.
9083 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9086 * malloc/malloc.c: remove checks for statistics.
9088 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9091 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9092 * inet/tst-network.c: Add testcase.
9094 2013-10-17 Andreas Schwab <schwab@suse.de>
9097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9098 to determine canonical name.
9100 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9102 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9103 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9126 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9127 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9132 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9161 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9164 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9165 make result into a quiet NaN.
9167 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9169 * soft-fp/adddf3.c: Fix horizontal whitespace.
9170 * soft-fp/addsf3.c: Likewise.
9171 * soft-fp/addtf3.c: Likewise.
9172 * soft-fp/divdf3.c: Likewise.
9173 * soft-fp/divsf3.c: Likewise.
9174 * soft-fp/divtf3.c: Likewise.
9175 * soft-fp/double.h: Likewise.
9176 * soft-fp/eqdf2.c: Likewise.
9177 * soft-fp/eqsf2.c: Likewise.
9178 * soft-fp/eqtf2.c: Likewise.
9179 * soft-fp/extenddftf2.c: Likewise.
9180 * soft-fp/extended.h: Likewise.
9181 * soft-fp/extendsfdf2.c: Likewise.
9182 * soft-fp/extendsftf2.c: Likewise.
9183 * soft-fp/extendxftf2.c: Likewise.
9184 * soft-fp/fixdfdi.c: Likewise.
9185 * soft-fp/fixdfsi.c: Likewise.
9186 * soft-fp/fixdfti.c: Likewise.
9187 * soft-fp/fixsfdi.c: Likewise.
9188 * soft-fp/fixsfsi.c: Likewise.
9189 * soft-fp/fixsfti.c: Likewise.
9190 * soft-fp/fixtfdi.c: Likewise.
9191 * soft-fp/fixtfsi.c: Likewise.
9192 * soft-fp/fixtfti.c: Likewise.
9193 * soft-fp/fixunsdfdi.c: Likewise.
9194 * soft-fp/fixunsdfsi.c: Likewise.
9195 * soft-fp/fixunsdfti.c: Likewise.
9196 * soft-fp/fixunssfdi.c: Likewise.
9197 * soft-fp/fixunssfsi.c: Likewise.
9198 * soft-fp/fixunssfti.c: Likewise.
9199 * soft-fp/fixunstfdi.c: Likewise.
9200 * soft-fp/fixunstfsi.c: Likewise.
9201 * soft-fp/fixunstfti.c: Likewise.
9202 * soft-fp/floatdidf.c: Likewise.
9203 * soft-fp/floatdisf.c: Likewise.
9204 * soft-fp/floatditf.c: Likewise.
9205 * soft-fp/floatsidf.c: Likewise.
9206 * soft-fp/floatsisf.c: Likewise.
9207 * soft-fp/floatsitf.c: Likewise.
9208 * soft-fp/floattidf.c: Likewise.
9209 * soft-fp/floattisf.c: Likewise.
9210 * soft-fp/floattitf.c: Likewise.
9211 * soft-fp/floatundidf.c: Likewise.
9212 * soft-fp/floatundisf.c: Likewise.
9213 * soft-fp/floatunditf.c: Likewise.
9214 * soft-fp/floatunsidf.c: Likewise.
9215 * soft-fp/floatunsisf.c: Likewise.
9216 * soft-fp/floatunsitf.c: Likewise.
9217 * soft-fp/floatuntidf.c: Likewise.
9218 * soft-fp/floatuntisf.c: Likewise.
9219 * soft-fp/floatuntitf.c: Likewise.
9220 * soft-fp/fmadf4.c: Likewise.
9221 * soft-fp/fmasf4.c: Likewise.
9222 * soft-fp/fmatf4.c: Likewise.
9223 * soft-fp/gedf2.c: Likewise.
9224 * soft-fp/gesf2.c: Likewise.
9225 * soft-fp/getf2.c: Likewise.
9226 * soft-fp/ledf2.c: Likewise.
9227 * soft-fp/lesf2.c: Likewise.
9228 * soft-fp/letf2.c: Likewise.
9229 * soft-fp/muldf3.c: Likewise.
9230 * soft-fp/mulsf3.c: Likewise.
9231 * soft-fp/multf3.c: Likewise.
9232 * soft-fp/negdf2.c: Likewise.
9233 * soft-fp/negsf2.c: Likewise.
9234 * soft-fp/negtf2.c: Likewise.
9235 * soft-fp/op-1.h: Likewise.
9236 * soft-fp/op-2.h: Likewise.
9237 * soft-fp/op-4.h: Likewise.
9238 * soft-fp/op-8.h: Likewise.
9239 * soft-fp/op-common.h: Likewise.
9240 * soft-fp/quad.h: Likewise.
9241 * soft-fp/single.h: Likewise.
9242 * soft-fp/soft-fp.h: Likewise.
9243 * soft-fp/sqrtdf2.c: Likewise.
9244 * soft-fp/sqrtsf2.c: Likewise.
9245 * soft-fp/sqrttf2.c: Likewise.
9246 * soft-fp/subdf3.c: Likewise.
9247 * soft-fp/subsf3.c: Likewise.
9248 * soft-fp/subtf3.c: Likewise.
9249 * soft-fp/truncdfsf2.c: Likewise.
9250 * soft-fp/trunctfdf2.c: Likewise.
9251 * soft-fp/trunctfsf2.c: Likewise.
9252 * soft-fp/trunctfxf2.c: Likewise.
9253 * soft-fp/unorddf2.c: Likewise.
9254 * soft-fp/unordsf2.c: Likewise.
9255 * soft-fp/unordtf2.c: Likewise.
9257 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9259 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9260 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9262 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9264 * elf/dl-libc.c: Clear initfini list after freeing.
9266 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9268 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9269 * soft-fp/addsf3.c: Likewise.
9270 * soft-fp/addtf3.c: Likewise.
9271 * soft-fp/divdf3.c: Likewise.
9272 * soft-fp/divsf3.c: Likewise.
9273 * soft-fp/divtf3.c: Likewise.
9274 * soft-fp/double.h: Likewise.
9275 * soft-fp/eqdf2.c: Likewise.
9276 * soft-fp/eqsf2.c: Likewise.
9277 * soft-fp/eqtf2.c: Likewise.
9278 * soft-fp/extenddftf2.c: Likewise.
9279 * soft-fp/extended.h: Likewise.
9280 * soft-fp/extendsfdf2.c: Likewise.
9281 * soft-fp/extendsftf2.c: Likewise.
9282 * soft-fp/extendxftf2.c: Likewise.
9283 * soft-fp/fixdfdi.c: Likewise.
9284 * soft-fp/fixdfsi.c: Likewise.
9285 * soft-fp/fixdfti.c: Likewise.
9286 * soft-fp/fixsfdi.c: Likewise.
9287 * soft-fp/fixsfsi.c: Likewise.
9288 * soft-fp/fixsfti.c: Likewise.
9289 * soft-fp/fixtfdi.c: Likewise.
9290 * soft-fp/fixtfsi.c: Likewise.
9291 * soft-fp/fixtfti.c: Likewise.
9292 * soft-fp/fixunsdfdi.c: Likewise.
9293 * soft-fp/fixunsdfsi.c: Likewise.
9294 * soft-fp/fixunsdfti.c: Likewise.
9295 * soft-fp/fixunssfdi.c: Likewise.
9296 * soft-fp/fixunssfsi.c: Likewise.
9297 * soft-fp/fixunssfti.c: Likewise.
9298 * soft-fp/fixunstfdi.c: Likewise.
9299 * soft-fp/fixunstfsi.c: Likewise.
9300 * soft-fp/fixunstfti.c: Likewise.
9301 * soft-fp/floatdidf.c: Likewise.
9302 * soft-fp/floatdisf.c: Likewise.
9303 * soft-fp/floatditf.c: Likewise.
9304 * soft-fp/floatsidf.c: Likewise.
9305 * soft-fp/floatsisf.c: Likewise.
9306 * soft-fp/floatsitf.c: Likewise.
9307 * soft-fp/floattidf.c: Likewise.
9308 * soft-fp/floattisf.c: Likewise.
9309 * soft-fp/floattitf.c: Likewise.
9310 * soft-fp/floatundidf.c: Likewise.
9311 * soft-fp/floatundisf.c: Likewise.
9312 * soft-fp/floatunsidf.c: Likewise.
9313 * soft-fp/floatunsisf.c: Likewise.
9314 * soft-fp/floatuntidf.c: Likewise.
9315 * soft-fp/floatuntisf.c: Likewise.
9316 * soft-fp/floatuntitf.c: Likewise.
9317 * soft-fp/fmadf4.c: Likewise.
9318 * soft-fp/fmasf4.c: Likewise.
9319 * soft-fp/fmatf4.c: Likewise.
9320 * soft-fp/gedf2.c: Likewise.
9321 * soft-fp/gesf2.c: Likewise.
9322 * soft-fp/getf2.c: Likewise.
9323 * soft-fp/ledf2.c: Likewise.
9324 * soft-fp/lesf2.c: Likewise.
9325 * soft-fp/letf2.c: Likewise.
9326 * soft-fp/muldf3.c: Likewise.
9327 * soft-fp/mulsf3.c: Likewise.
9328 * soft-fp/multf3.c: Likewise.
9329 * soft-fp/negdf2.c: Likewise.
9330 * soft-fp/negsf2.c: Likewise.
9331 * soft-fp/negtf2.c: Likewise.
9332 * soft-fp/op-1.h: Likewise.
9333 * soft-fp/op-2.h: Likewise.
9334 * soft-fp/op-4.h: Likewise.
9335 * soft-fp/op-8.h: Likewise.
9336 * soft-fp/op-common.h: Likewise.
9337 * soft-fp/quad.h: Likewise.
9338 * soft-fp/single.h: Likewise.
9339 * soft-fp/soft-fp.h: Likewise.
9340 * soft-fp/sqrtdf2.c: Likewise.
9341 * soft-fp/sqrtsf2.c: Likewise.
9342 * soft-fp/sqrttf2.c: Likewise.
9343 * soft-fp/subdf3.c: Likewise.
9344 * soft-fp/subsf3.c: Likewise.
9345 * soft-fp/subtf3.c: Likewise.
9346 * soft-fp/truncdfsf2.c: Likewise.
9347 * soft-fp/trunctfdf2.c: Likewise.
9348 * soft-fp/trunctfsf2.c: Likewise.
9349 * soft-fp/trunctfxf2.c: Likewise.
9350 * soft-fp/unorddf2.c: Likewise.
9351 * soft-fp/unordsf2.c: Likewise.
9352 * soft-fp/unordtf2.c: Likewise.
9354 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9357 * misc/error.c (error_tail): Fix possible buffer overflow.
9359 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9362 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9365 2013-10-14 P. J. McDermott <pj@pehjota.net>
9368 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9369 testing pipefail option.
9371 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9373 * soft-fp/double.h: Indent preprocessor directives inside #if.
9374 * soft-fp/extended.h: Likewise.
9375 * soft-fp/op-2.h: Likewise.
9376 * soft-fp/op-4.h: Likewise.
9377 * soft-fp/op-common.h: Likewise.
9378 * soft-fp/quad.h: Likewise.
9379 * soft-fp/single.h: Likewise.
9380 * soft-fp/soft-fp.h: Likewise.
9382 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9384 * iconv/iconv_prog.c: Fix typos.
9385 * stdio-common/psiginfo-data.h: Likewise.
9387 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9390 * locale/setlocale.c: Fix typo.
9392 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9395 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9396 signaling NaN arguments.
9397 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9398 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9401 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9403 * soft-fp/gesf2.c (__gesf2): Likewise.
9404 * soft-fp/getf2.c (__getf2): Likewise.
9405 * soft-fp/ledf2.c (__ledf2): Likewise.
9406 * soft-fp/lesf2.c (__lesf2): Likewise.
9407 * soft-fp/letf2.c (__letf2): Likewise.
9409 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9410 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9411 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9412 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9413 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9414 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9415 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9416 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9417 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9418 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9419 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9420 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9421 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9422 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9423 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9424 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9425 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9426 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9427 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9428 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9429 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9430 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9431 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9432 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9433 * soft-fp/floattidf.c (__floattidf): Likewise.
9434 * soft-fp/floattisf.c (__floattisf): Likewise.
9435 * soft-fp/floattitf.c (__floattitf): Likewise.
9436 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9437 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9438 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9439 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9440 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9441 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9442 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9443 * soft-fp/gesf2.c (__gesf2): Likewise.
9444 * soft-fp/getf2.c (__getf2): Likewise.
9445 * soft-fp/ledf2.c (__ledf2): Likewise.
9446 * soft-fp/lesf2.c (__lesf2): Likewise.
9447 * soft-fp/letf2.c (__letf2): Likewise.
9449 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9450 Undefine and redefine.
9451 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9452 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9453 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9454 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9455 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9456 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9457 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9458 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9459 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9460 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9461 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9462 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9463 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9464 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9465 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9468 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9469 without decrementing exponent if mantissa >= that for the
9471 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9472 denominator, not >. Decrement exponent in < case instead of
9473 incrementing in >= case.
9474 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9475 without decrementing exponent if mantissa >= that for the
9478 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9479 computing saturated result for unsigned overflow.
9481 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9482 Jeff Law <law@redhat.com>
9484 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9485 (atan2Mp): Add systemtap probe marker.
9486 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9487 (__ieee754_log): Add systemtap probe marker.
9488 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9489 (atanMp): Add systemtap probe marker.
9490 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9491 (tanMp): Add systemtap probe marker.
9492 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9493 (__slowexp): Add systemtap probe marker.
9494 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9495 (__slowpow): Add systemtap probe marker.
9496 * manual/probes.texi: Document probes.
9498 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9501 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9503 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9505 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9506 written to buffer but not flushed.
9507 * libio/iofwrite_u.c: Likewise.
9508 * libio/iopadn.c: Return bytes returned even if EOF was
9510 * libio/iowpadn.c: Likewise.
9511 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9512 if _IO_padn does not write the whole buffer.
9513 [!COMPILE_WPRINTF] (PAD): Likewise.
9515 2013-10-10 David S. Miller <davem@davemloft.net>
9517 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9520 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9522 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9523 instead of FSF address.
9524 * soft-fp/fixdfti.c: Likewise.
9525 * soft-fp/fixsfti.c: Likewise.
9526 * soft-fp/fixtfti.c: Likewise.
9527 * soft-fp/fixunsdfti.c: Likewise.
9528 * soft-fp/fixunssfti.c: Likewise.
9529 * soft-fp/fixunstfti.c: Likewise.
9530 * soft-fp/floattidf.c: Likewise.
9531 * soft-fp/floattisf.c: Likewise.
9532 * soft-fp/floattitf.c: Likewise.
9533 * soft-fp/floatuntidf.c: Likewise.
9534 * soft-fp/floatuntisf.c: Likewise.
9535 * soft-fp/floatuntitf.c: Likewise.
9536 * soft-fp/trunctfxf2.c: Likewise.
9538 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
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 2013-10-10 David S. Miller <davem@davemloft.net>
9555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9557 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9559 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9560 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9561 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9562 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9563 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9564 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9565 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9568 for NaNs before doing comparisons on argument.
9569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9572 2013-10-10 Will Newton <will.newton@linaro.org>
9574 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9575 passed to _int_memalign does not overflow.
9577 2013-10-10 Torvald Riegel <triegel@redhat.com>
9579 * scripts/bench.pl: Add include-sources directive.
9580 * benchtests/README: Update documentation.
9582 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9584 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9585 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9586 instead of FP_INIT_ROUNDMODE.
9587 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9588 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9591 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9592 copy class of input value.
9593 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9594 not handle exceptions.
9595 * soft-fp/negsf2.c (__negsf2): Likewise.
9596 * soft-fp/negtf2.c (__negtf2): Likewise.
9597 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9599 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9601 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9602 semicolon. From Linux kernel.
9604 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9606 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9608 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9611 * manual/socket.texi: Added statement about buffer
9612 for gethostbyname2_r.
9614 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9616 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9617 Use .p2align directive instead, throughout.
9618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9619 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9620 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9623 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9624 * sysdeps/x86_64/strchr.S: Likewise.
9625 * sysdeps/x86_64/strrchr.S: Likewise.
9627 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9629 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9631 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9633 * sysdeps/generic/math_private.h (__mpsin1): Remove
9635 (__mpcos1): Likewise.
9636 (__mpsin): New argument __range_reduce.
9637 (__mpcos): Likewise.
9638 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9639 (slow): Use __mpsin and __mpcos.
9646 (bsloww1): Likewise.
9647 (bsloww2): Likewise.
9650 (csloww1): Likewise.
9651 (csloww2): Likewise.
9652 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9653 range_reduce. Merge in __mpsin1.
9654 (__mpcos): Likewise.
9656 (__mpcos1): Likewise.
9658 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9660 * locale/loadlocale.c (_nl_intern_locale_data): Use
9662 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9663 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9664 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9665 obstack data is appropriately aligned.
9666 (obstack_int32_grow_fast): Likewise.
9667 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9668 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9669 (add_locale_uint32_array): Likewise.
9671 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9673 * benchtests/Makefile: Remove ARGLIST and RET variables.
9674 ($(objpfx)bench-%.c): Pass only function name to the script.
9675 * benchtests/README: Update documentation.
9676 * benchtests/acos-inputs: Add new directives.
9677 * benchtests/acosh-inputs: Likewise.
9678 * benchtests/asin-inputs: Likewise.
9679 * benchtests/asinh-inputs: Likewise.
9680 * benchtests/atan-inputs: Likewise.
9681 * benchtests/atanh-inputs: Likewise.
9682 * benchtests/cos-inputs: Likewise.
9683 * benchtests/cosh-inputs: Likewise.
9684 * benchtests/exp-inputs: Likewise.
9685 * benchtests/log-inputs: Likewise.
9686 * benchtests/pow-inputs: Likewise.
9687 * benchtests/rint-inputs: Likewise.
9688 * benchtests/sin-inputs: Likewise.
9689 * benchtests/sinh-inputs: Likewise.
9690 * benchtests/tan-inputs: Likewise.
9691 * benchtests/tanh-inputs: Likewise.
9692 * scripts/bench.pl: Add support for new directives.
9694 2013-10-07 Alan Modra <amodra@gmail.com>
9696 * README: Fix careless merge.
9698 2013-10-05 Alan Modra <amodra@gmail.com>
9700 * NEWS: Mention powerpc64le support and bugs fixed.
9701 * README: Both big-endian and little-endian powerpc64 supported.
9703 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9705 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9706 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9707 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9708 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9710 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9712 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9715 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9717 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9718 Move -mhard-float appending from
9719 ports/sysdeps/powerpc/powerpc32/Makefile.
9720 [$(with-fp) = yes] (ASFLAGS): Likewise.
9721 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9722 * sysdeps/powerpc/nofpu: Move directory from
9723 ports/sysdeps/powerpc/nofpu.
9724 * sysdeps/powerpc/soft-fp: Move directory from
9725 ports/sysdeps/powerpc/soft-fp.
9726 * sysdeps/powerpc/powerpc32/405: Move directory from
9727 ports/sysdeps/powerpc/powerpc32/405.
9728 * sysdeps/powerpc/powerpc32/440: Move directory from
9729 ports/sysdeps/powerpc/powerpc32/440.
9730 * sysdeps/powerpc/powerpc32/464: Move directory from
9731 ports/sysdeps/powerpc/powerpc32/464.
9732 * sysdeps/powerpc/powerpc32/476: Move directory from
9733 ports/sysdeps/powerpc/powerpc32/476.
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9735 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9737 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9739 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9741 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9743 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9744 * README: Update for powerpc-*-linux-gnu software floating point
9747 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9748 case to powerpc/powerpc32*.
9749 * sysdeps/unix/sysv/linux/configure: Regenerated.
9751 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9752 (_FPU_MASK_OM): Define as 0x04.
9753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9761 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9764 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9767 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9768 and setcontext_e500.
9770 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9772 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9774 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9776 * manual/threads.texi (Default Thread Attributes): Fix typo.
9778 2013-10-04 Will Newton <will.newton@linaro.org>
9780 * malloc/Makefile: Add tst-memalign.
9781 * malloc/tst-memalign.c: New file.
9783 * malloc/tst-posix_memalign.c: Add comments.
9784 (do_test): Add comments and call free on all potentially
9785 allocated pointers. Add space after cast.
9787 * malloc/tst-pvalloc.c: Add comments.
9788 (do_test): Add comments and call free on all potentially
9789 allocated pointers. Remove duplicate check for NULL pointer.
9790 Add space after cast.
9792 * malloc/tst-valloc.c: Add comments.
9793 (do_test): Add comments and call free on all potentially
9794 allocated pointers. Remove duplicate check for NULL pointer.
9795 Add space after cast.
9797 2013-10-04 Alan Modra <amodra@gmail.com>
9799 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9800 Use stdint types in rather than __attribute__((mode())).
9801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9803 2013-10-04 Alan Modra <amodra@gmail.com>
9805 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9806 Correct handling of unaligned relocs for little-endian.
9807 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9809 2013-10-04 Alan Modra <amodra@gmail.com>
9811 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9812 * configure: Regenerate.
9813 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9814 * shlib-versions: Likewise.
9816 2013-10-04 Alan Modra <amodra@gmail.com>
9818 * string/tester.c (test_memrchr): Increment reported test cycle.
9820 2013-10-04 Alan Modra <amodra@gmail.com>
9822 * string/test-memcpy.c (do_one_test): When reporting errors, print
9823 string address and don't overrun end of string.
9825 2013-10-04 Alan Modra <amodra@gmail.com>
9827 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9828 insrdi. Make better use of reg selection to speed exit slightly.
9829 Schedule entry path a little better. Remove useless "are we done"
9830 checks on entry to main loop. Handle wrapping around zero address.
9831 Correct main loop count. Handle single left-over word from main
9832 loop inline rather than by using loop_small. Remove extra word
9833 case in loop_small caused by wrong loop count. Add little-endian
9835 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9840 support. Avoid rlwimi.
9841 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9843 2013-10-04 Alan Modra <amodra@gmail.com>
9845 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9847 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9848 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9849 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9850 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9851 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9852 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9854 2013-10-04 Alan Modra <amodra@gmail.com>
9856 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9858 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9859 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9860 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9861 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9864 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9865 use of regs. Use power7 mtocrf. Tidy function tails.
9867 2013-10-04 Alan Modra <amodra@gmail.com>
9869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9870 Formatting. Consistently use rXXX register defines or rN defines.
9871 Use early exit labels that avoid restoring unused non-volatile regs.
9872 Make cr field use more consistent with rWORDn compares. Rename
9873 regs used as shift registers for unaligned loop, using rN defines
9874 for short lifetime/multiple use regs.
9875 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9876 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9877 addi 1,1,64 to pop stack frame. Simplify return value code.
9878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9880 2013-10-04 Alan Modra <amodra@gmail.com>
9882 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9883 support. Correct typos, formatting. Optimize tail. Use insrdi
9885 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9887 little-endian support. Correct typos.
9888 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9890 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9891 in loop and entry code to keep "and." results.
9892 (strchr): Add little-endian support. Comment. Move cntlzd
9894 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9896 2013-10-04 Alan Modra <amodra@gmail.com>
9898 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9899 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9900 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9901 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9903 2013-10-04 Alan Modra <amodra@gmail.com>
9905 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9906 (rTMP): Define as r11.
9907 (strcmp): Add little-endian support. Optimise tail.
9908 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9909 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9910 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9912 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9916 2013-10-04 Alan Modra <amodra@gmail.com>
9918 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9919 little-endian support. Remove unnecessary "are we done" tests.
9920 Handle "s" wrapping around zero and extremely large "size".
9921 Correct main loop count. Handle single left-over word from main
9922 loop inline rather than by using small_loop. Correct comments.
9923 Delete "zero" tail, use "end_max" instead.
9924 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9926 2013-10-04 Alan Modra <amodra@gmail.com>
9928 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9929 support. Don't branch over align.
9930 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9931 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9932 support. Rearrange tmp reg use to suit. Comment.
9933 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9935 2013-10-04 Alan Modra <amodra@gmail.com>
9937 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9939 2013-10-04 Alan Modra <amodra@gmail.com>
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9942 conditional form of branch and link when obtaining pc.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9945 2013-10-04 Alan Modra <amodra@gmail.com>
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9952 2013-10-04 Alan Modra <amodra@gmail.com>
9954 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9955 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9956 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9957 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9958 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9959 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9960 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9961 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9962 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9963 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9965 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9966 Alistair Popple <alistair@ozlabs.au.ibm.com>
9967 Alan Modra <amodra@gmail.com>
9970 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9972 _dl_hwcap access for little-endian.
9973 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9974 destroy vmx regs when saving unaligned.
9975 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9976 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9977 destroy vmx regs when saving unaligned.
9979 2013-10-04 Alan Modra <amodra@gmail.com>
9981 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9982 Don't use a union to pack hi/low value.
9984 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9986 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9988 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9990 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9991 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9992 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9994 2013-10-04 Alan Modra <amodra@gmail.com>
9996 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9997 constants to usual value for .cst8 section, and remove redundant
9999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10000 constant for 0x1p52. Load little-endian words of double from
10001 correct stack offsets.
10003 2013-10-04 Alan Modra <amodra@gmail.com>
10005 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10006 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10007 words of double from correct stack offsets.
10008 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10009 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10010 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10011 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10012 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10013 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10015 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10016 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10017 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10018 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10019 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10020 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10021 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10023 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10024 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10026 2013-10-04 Alan Modra <amodra@gmail.com>
10028 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10029 64-bit int/double union.
10030 (_FPU_SETCW): Likewise.
10031 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10032 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10034 2013-10-04 Alan Modra <amodra@gmail.com>
10036 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10037 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10039 2013-10-04 Alan Modra <amodra@gmail.com>
10041 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10042 use vector int constants.
10043 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10045 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10047 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10048 array with long long.
10049 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10050 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10051 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10052 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10053 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10054 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10055 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10056 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10057 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10058 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10059 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10060 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10063 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10065 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10066 (__signbit): Likewise. Correct for little-endian.
10067 (__signbitl): Call __signbit.
10068 (lrint): Correct for little-endian.
10069 (lrintf): Call lrint.
10071 2013-10-04 Alan Modra <amodra@gmail.com>
10073 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10074 union 32-bit int array member with 64-bit int array.
10075 (t515, tm256): Double rather than long double.
10076 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10078 2013-10-04 Alan Modra <amodra@gmail.com>
10080 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10082 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10084 version of math_ldbl.h.
10086 2013-10-04 Alan Modra <amodra@gmail.com>
10088 [BZ #15734], [BZ #15735]
10089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10090 all uses of ieee875 long double macros and unions. Simplify test
10091 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10092 ldbl_extract_mantissa value for ix,iy exponents. Properly
10093 normalize after ldbl_extract_mantissa, and don't add hidden bit
10094 already handled. Don't treat low word of ieee854 mantissa like
10095 low word of IBM long double and mask off bit when testing for
10097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10098 all uses of ieee875 long double macros and unions. Simplify tests
10099 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10100 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10101 two1022, instead use their values. Recognise that tests for large
10102 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10103 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10104 Rewrite all uses of ieee875 long double macros and unions. Simplify
10105 test for 0.0L and nan. Correct negation.
10106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10107 ieee875 long double macros and unions. Correct output for large
10108 magnitude x. Correct absolute value calculation.
10109 (__erfcl): Likewise.
10110 * math/libm-test.inc: Add tests for errors discovered in IBM long
10111 double versions of fmodl, remainderl, erfl and erfcl.
10113 2013-10-04 Alan Modra <amodra@gmail.com>
10115 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10116 all uses of ieee854 long double macros and unions. Simplify tests
10117 for long doubles that are fully specified by the high double.
10118 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10120 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10121 Remove dead code too.
10122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10123 (__ieee754_ynl): Likewise.
10124 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10127 Remove dead code too.
10128 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10133 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10135 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10138 Comment on variable precision.
10139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10142 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10145 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10146 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10148 2013-10-04 Alan Modra <amodra@gmail.com>
10150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10151 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10152 all uses of ieee854 long double macros and unions.
10153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10158 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10162 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10163 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10164 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10166 Simplify sign and nan test too.
10167 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10172 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10175 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10176 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10179 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10182 2013-10-04 Alan Modra <amodra@gmail.com>
10184 * stdio-common/printf_size.c (__printf_size): Don't use
10185 union ieee854_long_double in fpnum union.
10186 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10187 signbit macro to retrieve sign from long double.
10188 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10189 retrieve sign from long double.
10190 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10191 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10192 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10193 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10194 * math/test-misc.c (main): Don't use union ieee854_long_double.
10196 2013-10-04 Alan Modra <amodra@gmail.com>
10199 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10200 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10201 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10202 calculation. Remove unnecessary test for denormal exponent.
10203 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10204 Correct handling of denormals. Avoid undefined shift behaviour.
10205 Correct normalisation of low mantissa when low double is denormal.
10206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10207 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10208 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10209 Correct normalisation of low mantissa. Test for overflow of high
10210 mantissa and normalise.
10211 (ldbl_nearbyint): Use more readable constant for two52.
10212 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10213 (__mpn_construct_long_double): Fix test for overflow of high
10214 mantissa and correct normalisation. Avoid undefined shift.
10216 2013-10-04 Alan Modra <amodra@gmail.com>
10218 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10219 (union ibm_extended_long_double): Define as an array of ieee754_double.
10220 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10221 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10222 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10223 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10232 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10234 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10235 page size instead of calling getpagesize.
10237 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10238 (LOCFILE_ALIGN_MASK): Likewise.
10239 (LOCFILE_ALIGN_UP): Likewise.
10240 (LOCFILE_ALIGNED_P): Likewise.
10241 * locale/programs/ld-collate.c (collate_output): Use the new
10242 macros instead of __alignof__ (int32_t).
10243 * locale/weight.h (findidx): Likewise.
10245 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10248 * manual/string.texi: Fix strncat and wcsncat.
10250 2013-10-03 Brooks Moses <bmoses@google.com>
10253 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10254 * Makerules: ...here, and adjust associated comments.
10256 2013-10-02 Will Newton <will.newton@linaro.org>
10258 * malloc/Makefile: Add tst-pvalloc.
10259 * malloc/tst-pvalloc.c: New file.
10261 2013-10-02 Will Newton <will.newton@linaro.org>
10263 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10264 improve test coverage.
10266 2013-10-02 Will Newton <will.newton@linaro.org>
10268 * malloc/Makefile: Add tst-posix_memalign.
10269 * malloc/tst-posix_memalign.c: New file.
10271 2013-10-01 Eric Blake <eblake@redhat.com>
10273 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10274 Use __THROWNL rather than __THROW on static functions.
10276 2013-09-30 Petr Machata <pmachata@redhat.com>
10278 * elf/elf.h (R_AARCH64_ABS16): New macro.
10279 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10280 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10281 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10282 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10283 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10284 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10285 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10286 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10287 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10288 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10289 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10290 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10291 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10292 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10293 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10294 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10295 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10296 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10297 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10298 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10299 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10300 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10301 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10302 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10303 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10304 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10305 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10306 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10307 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10308 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10309 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10310 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10311 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10312 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10313 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10314 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10315 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10316 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10317 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10318 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10319 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10320 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10321 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10322 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10323 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10324 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10325 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10326 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10327 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10328 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10329 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10330 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10331 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10332 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10333 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10334 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10335 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10336 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10337 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10338 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10339 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10340 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10341 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10342 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10343 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10344 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10345 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10346 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10347 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10348 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10349 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10350 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10351 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10352 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10353 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10354 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10355 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10356 (R_AARCH64_TLSDESC_LDR): Likewise.
10357 (R_AARCH64_TLSDESC_ADD): Likewise.
10358 (R_AARCH64_TLSDESC_CALL): Likewise.
10360 2013-09-30 Andreas Schwab <schwab@suse.de>
10363 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10364 the nss database lookup.
10365 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10368 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10370 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10372 2013-09-28 P. J. McDermott <pj@pehjota.net>
10374 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10375 ${Bash-specific parameter/pattern/string} parameter expansion.
10376 * sysdeps/unix/make-syscalls.sh: Likewise.
10378 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10380 * sysdeps/sh/stackguard-macros.h: New file.
10382 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10386 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10387 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10388 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10389 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10391 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10393 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10394 Fix thread ID register.
10396 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10398 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10399 [POSIX || UNIX98]: Require rather than permitting all symbols from
10401 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10402 element of struct sched_param.
10403 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10404 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10405 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10406 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10409 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10411 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10412 argument calculation.
10414 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10416 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10418 [POSIX] (pthread_attr_t): Do not require type.
10419 [POSIX] (pthread_cond_t): Likewise.
10420 [POSIX] (pthread_condattr_t): Likewise.
10421 [POSIX] (pthread_key_t): Likewise.
10422 [POSIX] (pthread_mutex_t): Likewise.
10423 [POSIX] (pthread_mutexattr_t): Likewise.
10424 [POSIX] (pthread_once_t): Likewise.
10425 [POSIX] (pthread_t): Likewise.
10426 [POSIX-based standards] (pthread_atfork): Expect function.
10428 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10429 Richard Sandiford <richard@codesourcery.com>
10431 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10432 (swap_endianness_p): New extern variable.
10433 (set_big_endian): New inline function.
10434 (maybe_swap_uint32): Likewise.
10435 (maybe_swap_uint32_array): Likewise.
10436 (maybe_swap_uint32_obstack): Likewise.
10437 * locale/programs/locfile.c: Include <stdbool.h>.
10438 (swap_endianness_p): New variable.
10439 (add_locale_uint32): Call maybe_swap_uint32.
10440 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10441 (write_locale_data): Call maybe_swap_uint32_array.
10442 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10444 (obstack_int32_grow_fast): Likewise.
10445 (output_weightwc): Call maybe_swap_uint32_obstack.
10446 (collate_output): Likewise.
10447 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10448 (OPT_LITTLE_ENDIAN): Likewise.
10449 (options): Add --little-endian and --big-endian options.
10450 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10451 * locale/programs/locarchive.c: Include "locfile.h".
10455 (create_archive): Use the new macros to access fields of
10456 structures directly mapped from or written to locale archives.
10457 (oldlocrecentcmp): Likewise.
10458 (enlarge_archive): Likewise.
10459 (insert_name): Likewise.
10460 (add_alias): Likewise.
10461 (add_locale): Likewise.
10462 (delete_locales_from_archive): Likewise.
10463 (show_archive_content): Likewise.
10464 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10467 2013-09-24 Roland McGrath <roland@hack.frob.com>
10469 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10470 http://www.gnu.org/doc/freemanuals.texi.
10471 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10473 2013-09-24 Will Newton <will.newton@linaro.org>
10475 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10478 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10480 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10483 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10485 * manual/threads.texi (POSIX Threads): Fix a typo.
10487 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10490 * string/tst-strcoll-overflow.c: New test case.
10491 * string/Makefile (xtests): Add tst-strcoll-overflow.
10492 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10493 cache if string sizes may cause integer overflow.
10496 * string/strcoll_l.c (coll_seq): New members rule, idx,
10497 save_idx and back_us.
10498 (get_next_seq_nocache): New function.
10499 (do_compare_nocache): New function.
10500 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10503 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10506 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10507 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10508 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10511 * elf/Makefile (tests): Add tst-ptrguard1.
10512 (tests-static): Add tst-ptrguard1-static.
10513 (tst-ptrguard1-ARGS): Define.
10514 (tst-ptrguard1-static-ARGS): Define.
10515 * elf/tst-ptrguard1.c: New file.
10516 * elf/tst-ptrguard1-static.c: New file.
10517 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10518 * sysdeps/i386/stackguard-macros.h: Likewise.
10519 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10520 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10521 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10522 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10523 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10524 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10526 2013-09-23 Hector Marco <hecmargi@upv.es>
10527 Ismael Ripoll <iripoll@disca.upv.es>
10528 Carlos O'Donell <carlos@redhat.com>
10531 * sysdeps/generic/stackguard-macros.h: Define
10532 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10533 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10534 Define __pointer_chk_guard_local.
10535 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10536 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10538 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10541 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10543 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10545 * include/string.h (__ffs): Declare as hidden.
10546 * string/ffs.c (__ffs): Define as hidden.
10547 * sysdeps/i386/ffs.c (__ffs): Likewise.
10548 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10549 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10550 * sysdeps/s390/ffs.c (__ffs): Likewise.
10551 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10553 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10555 * NEWS: Mention malloc probes.
10557 * malloc/arena.c (new_heap): New memory_heap_new probe.
10558 (grow_heap): New memory_heap_more probe.
10559 (shrink_heap): New memory_heap_less probe.
10560 (heap_trim): New memory_heap_free probe.
10561 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10562 (systrim): New memory_sbrk_less probe.
10563 * manual/probes.texi: Document them.
10565 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10566 * manual/probes.texi: Document it.
10568 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10569 (__libc_realloc): Add memory_realloc_retry probe.
10570 (__libc_memalign): Add memory_memalign_retry probe.
10571 (__libc_valloc): Add memory_valloc_retry probe.
10572 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10573 (__libc_calloc): Add memory_calloc_retry probe.
10574 * manual/probes.texi: Document them.
10576 * malloc/arena.c (get_free_list): Add probe
10577 memory_arena_reuse_free_list.
10578 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10579 and memory_arena_reuse.
10580 (arena_get2) [!PER_THREAD]: Likewise.
10581 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10582 memory_arena_reuse_realloc.
10583 * manual/probes.texi: Document them.
10585 * malloc/malloc.c (__libc_free): Add
10586 memory_mallopt_free_dyn_thresholds probe.
10587 (__libc_mallopt): Add multiple memory_mallopt probes.
10588 * manual/probes.texi: Document them.
10590 * malloc/malloc.c: Include stap-probe.h.
10591 (__libc_mallopt): Add memory_mallopt probe.
10592 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10593 * manual/probes.texi: New.
10594 * manual/Makefile (chapters): Add probes.
10595 * manual/threads.texi: Set next node.
10597 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10599 [BZ #15963, #13985]
10600 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10601 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10602 Add `Chinese' to `nan' entry name.
10604 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10606 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10607 (POLYNOMIAL): Likewise.
10608 (TAYLOR_SINCOS): Likewise.
10609 (TAYLOR_SLOW): Likewise.
10610 (__sin): Use TAYLOR_SINCOS.
10612 (slow): Use TAYLOR_SLOW.
10614 (bsloww): Likewise.
10615 (csloww): Likewise.
10617 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10619 * stdlib/strtod_l.c: Fix buffer overrun.
10621 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10623 * benchtests/Makefile (bench): Add sincos.
10624 * benchtests/bench-sincos.c: New file.
10626 * math/libm-test.inc (cos_test_data): New test inputs.
10627 (sin_test_data): Likewise.
10629 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10635 (sloww1): Likewise.
10636 (sloww2): Likewise.
10637 (bsloww1): Likewise.
10638 (bsloww2): Likewise.
10639 (cslow2): Likewise.
10640 (csloww1): Likewise.
10641 (csloww2): Likewise.
10643 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10652 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10654 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10655 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10656 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10657 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10658 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10659 * elf/cache.c (print_entry): Handle the new cache flags.
10661 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10662 Aldy Hernandez <aldyh@redhat.com>
10664 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10665 Change condition to [_SOFT_FLOAT].
10666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10678 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10681 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10684 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10686 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10687 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10688 (__longjmp): Use LOAD_GP to load saved GPRs.
10689 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10690 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10691 (__sigsetjmp): Use SAVE_GP to save GPRs.
10693 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10694 Do not append -msoft-float.
10695 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10697 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10699 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10701 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10704 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10705 (_FPU_GETCW): Use initial "__" on variable and field names but not
10706 on macro parameter name.
10707 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10708 parentheses around reference to macro parameter.
10710 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10712 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10714 (ctype_startup): Use uint32_t in cast and sizeof for
10717 2013-09-11 Jia Liu <proljc@gmail.com>
10719 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10721 [__FreeBSD__]: Likewise.
10723 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10726 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10727 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10728 (strchr): Remove __strchr_sse42 ifunc selection.
10729 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10730 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10732 2013-09-11 Will Newton <will.newton@linaro.org>
10734 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10735 parameter to RES. Remove hardcoded 1000 value.
10736 * benchtests/bench-skeleton.c (main): Pass RES parameter
10737 to TIMING_INIT and multiply result by 1000.
10739 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10743 2013-09-11 Andreas Schwab <schwab@suse.de>
10745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10747 (O_TMPFILE) [__USE_GNU]: Define.
10748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10751 2013-09-11 Will Newton <will.newton@linaro.org>
10754 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10757 2013-09-11 Will Newton <will.newton@linaro.org>
10760 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10763 2013-09-11 Will Newton <will.newton@linaro.org>
10766 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10769 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10771 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10772 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10777 2013-09-10 Allan McRae <allan@archlinux.org>
10780 * manual/arith.texi (Parsing of Floats): Clarify
10784 * manual/install.texi (Running make install): Mention
10786 * INSTALL: Regenerated.
10788 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10790 * csu/init-first.c (_init): Remove the !SHARED condition around
10791 FPU control word initialization.
10792 * elf/dl-support.c (_dl_fpu_control): New variable.
10793 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10794 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10795 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10796 * math/test-fpucw-static.c: New file.
10797 * math/test-fpucw-ieee.c: New file.
10798 * math/test-fpucw-ieee-static.c: New file.
10799 * math/Makefile (tests): Add `test-fpucw-ieee' and
10801 (tests-static): New variable.
10802 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10804 [($(build-shared),yes)]
10805 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10807 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10810 2013-09-09 Allan McRae <allan@archlinux.org>
10813 * manual/string.texi (Collation Functions): Fix typo in
10815 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10818 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10821 * libio/memstream.c (open_memstream): Fix memory leak.
10822 * libio/wmemstream.c (open_wmemstream): Likewise.
10825 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10827 2013-09-09 Will Newton <will.newton@linaro.org>
10829 * malloc/Makefile: Add tst-realloc to tests.
10830 * malloc/tst-realloc.c: New file.
10832 2013-09-09 Allan McRae <allan@archlinux.org>
10835 * COPYING: Update from GNU website to fix FSF address.
10836 * COPYING.LIB: Likewise.
10838 2013-09-06 David S. Miller <davem@davemloft.net>
10840 * po/zh_TW.po: Update Chinese (traditional) translation from
10841 translation project.
10843 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10844 Joseph Myers <joseph@codesourcery.com>
10846 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10848 (obstack_chunk_alloc): New macro.
10849 (obstack_chunk_free): Likewise.
10850 (record_offset): New function.
10851 (init_locale_data): Likewise.
10852 (align_locale_data): Likewise.
10853 (add_locale_empty): Likewise.
10854 (add_locale_raw_data): Likewise.
10855 (add_locale_raw_obstack): Likewise.
10856 (add_locale_string): Likewise.
10857 (add_locale_wstring): Likewise.
10858 (add_locale_uint32): Likewise.
10859 (add_locale_uint32_array): Likewise.
10860 (add_locale_char): Likewise.
10861 (start_locale_structure): Likewise.
10862 (end_locale_structure): Likewise.
10863 (start_locale_prelude): Likewise.
10864 (end_locale_prelude): Likewise.
10865 (write_locale_data): Take locale_file structure rather than an
10867 * locale/programs/locfile.h: Include "obstack.h".
10868 (struct locale_file): Change to store locale file contents instead
10870 (init_locale_data): New prototype.
10871 (align_locale_data): Likewise.
10872 (add_locale_empty): Likewise.
10873 (add_locale_raw_data): Likewise.
10874 (add_locale_raw_obstack): Likewise.
10875 (add_locale_string): Likewise.
10876 (add_locale_wstring): Likewise.
10877 (add_locale_uint32): Likewise.
10878 (add_locale_uint32_array): Likewise.
10879 (add_locale_char): Likewise.
10880 (start_locale_structure): Likewise.
10881 (end_locale_structure): Likewise.
10882 (start_locale_prelude): Likewise.
10883 (end_locale_prelude): Likewise.
10884 (write_locale_data): Update prototype.
10885 * locale/programs/3level.h (struct TABLE): Remove result field.
10886 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10887 Use new locale_file interface.
10888 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10889 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10890 * locale/programs/ld-address.c (address_output): Use new
10891 locale_file interface.
10892 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10894 (collate_finish): Don't call collseq_table_finalize.
10895 (collate_output): Use new locale_file interface.
10896 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10898 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10899 (TABLE): Move defines earlier in file.
10900 (ELEMENT): Likewise.
10901 (DEFAULT): Likewise.
10902 (wctrans_table_add): Move macro and inline function earlier in
10904 (struct wctype_table): Move type earlier in file.
10905 (add_locale_wctype_table): New static prototype.
10906 (struct locale_ctype_t): Use logical types instead of struct iovec
10907 pointers for members.
10908 (ctype_output): Use new locale_file interface.
10909 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10910 new locale_file interface.
10911 (allocate_arrays): Update for use of new locale_file interface.
10912 * locale/programs/ld-identification.c (identification_output): Use
10913 new locale_file interface.
10914 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10915 * locale/programs/ld-messages.c (messages_output): Likewise.
10916 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10917 * locale/programs/ld-name.c (name_output): Likewise.
10918 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10919 * locale/programs/ld-paper.c (paper_output): Likewise.
10920 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10921 * locale/programs/ld-time.c (time_output): Likewise.
10923 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10925 * benchtests/Makefile: Add memrchr benchmark.
10926 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10927 benchmark as memrchr.
10928 * benchtests/bench-memrchr-ifunc.c: New file.
10929 * benchtests/bench-memrchr.c: New file.
10931 2013-09-06 Will Newton <will.newton@linaro.org>
10933 * benchtests/Makefile (string-bench): Add memcpy.
10935 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10936 Cong Wang <amwang@redhat.com>
10939 * sysdeps/unix/sysv/linux/bits/in.h
10940 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10941 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10942 before __USE_KERNEL_IPV6_DEFS uses.
10943 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10945 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10946 sockaddr_in6, or ipv6_mreq.
10948 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10950 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10951 memory access for final bytes in some large inputs.
10952 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10954 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10956 * string/test-memrchr.c: New file.
10957 * string/test-memrchr-ifunc.c: New file.
10958 * string/Makefile: Add new memrchr testcase.
10960 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10962 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10963 fanotify_init returns EPERM.
10965 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10967 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10969 (top level): Treat second token from macro or constant entries for
10970 allowed headers as allowed.
10971 * include/complex.h: Condition internal declarations on
10973 * include/fenv.h: Condition include of <stdbool.h> and internal
10974 declarations on [!_ISOMAC].
10976 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10979 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10981 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10983 * configure.in (--enable-versioning): Remove configure option.
10984 (libc_cv_asm_symver_directive): Remove configure test.
10985 (libc_cv_ld_version_script_option): Likewise.
10986 (VERSIONING): Remove variable and AC_SUBST.
10987 (DO_VERSIONING): Remove AC_DEFINE.
10988 * configure: Regenerated.
10989 * config.h.in (DO_VERSIONING): Remove macro.
10990 * Makerules [$(versioning) = yes]: Change conditionals to
10991 [$(build-shared) = yes].
10992 * config.make.in (versioning): Remove variable.
10993 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10994 [$(build-shared) = yes].
10995 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10996 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10997 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10998 [$(build-shared) = yes].
10999 * extra-lib.mk [$(versioning) = yes]: Likewise.
11000 * hurd/Makefile [$(versioning) = yes]: Likewise.
11001 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11003 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11005 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11006 [SHARED && !NO_HIDDEN].
11007 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11009 [SHARED && DO_VERSIONING]: Likewise..
11010 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11011 [$(build-shared) = yes].
11012 * manual/install.texi (--disable-versioning): Remove
11014 * INSTALL: Regenerated.
11015 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11017 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11018 [$(build-shared) = yes].
11019 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11020 * sysdeps/i386/i686/multiarch/strstr-c.c
11021 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11022 [SHARED && !NO_HIDDEN].
11023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11024 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11025 * sysdeps/powerpc/powerpc32/dl-machine.c
11026 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11027 * sysdeps/powerpc/powerpc32/sysdep.h
11028 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11029 to [SHARED && PIC && !NO_HIDDEN].
11030 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11031 conditional to [SHARED].
11033 2013-09-04 Will Newton <will.newton@linaro.org>
11035 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11036 * benchtests/bench-string.h: Include bench-timing.h instead
11037 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11038 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11039 call to HP_TIMING_DIFF_INIT.
11040 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11041 instead of hp-timing.h macros.
11042 * benchtests/bench-memchr.c: Likewise.
11043 * benchtests/bench-memcmp.c: Likewise.
11044 * benchtests/bench-memcpy.c: Likewise.
11045 * benchtests/bench-memmem.c: Likewise.
11046 * benchtests/bench-memmove.c: Likewise.
11047 * benchtests/bench-memset.c: Likewise.
11048 * benchtests/bench-rawmemchr.c: Likewise.
11049 * benchtests/bench-strcasecmp.c: Likewise.
11050 * benchtests/bench-strcasestr.c: Likewise.
11051 * benchtests/bench-strcat.c: Likewise.
11052 * benchtests/bench-strchr.c: Likewise.
11053 * benchtests/bench-strcmp.c: Likewise.
11054 * benchtests/bench-strcpy.c: Likewise.
11055 * benchtests/bench-strcpy_chk.c: Likewise.
11056 * benchtests/bench-strlen.c: Likewise.
11057 * benchtests/bench-strncasecmp.c: Likewise.
11058 * benchtests/bench-strncat.c: Likewise.
11059 * benchtests/bench-strncmp.c: Likewise.
11060 * benchtests/bench-strncpy.c: Likewise.
11061 * benchtests/bench-strnlen.c: Likewise.
11062 * benchtests/bench-strpbrk.c: Likewise.
11063 * benchtests/bench-strrchr.c: Likewise.
11064 * benchtests/bench-strspn.c: Likewise.
11065 * benchtests/bench-strstr.c: Likewise.
11067 2013-09-04 Will Newton <will.newton@linaro.org>
11069 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11071 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11075 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11076 * math/libm-test.inc (lgamma_test_data): Add more tests.
11077 * sysdeps/i386/fpu/libm-test-ulps: Update.
11078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11080 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11082 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11086 Add strcmp-sse2-unaligned
11087 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11089 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11091 * Versions.def (libc): Add GLIBC_2.19.
11093 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11095 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11096 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11098 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11101 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11102 intermediate calculations in recurrence.
11103 (__ieee754_ynf): Likewise.
11104 * math/libm-test.inc (jn_test_data): Do not allow spurious
11105 underflow exception. Add more tests.
11106 (yn_test_data): Add more tests.
11107 * sysdeps/i386/fpu/libm-test-ulps: Update.
11108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11110 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11112 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11114 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11116 * csu/init-first.c: Fix then/than typos.
11117 * locale/programs/ld-collate.c: Likewise.
11118 * locale/programs/linereader.h: Likewise.
11119 * manual/charset.texi: Likewise.
11120 * manual/filesys.texi: Likewise.
11121 * manual/stdio.texi: Likewise.
11122 * manual/string.texi: Likewise.
11123 * stdlib/fmtmsg.c: Likewise.
11124 * sysdeps/i386/stpncpy.S: Likewise.
11125 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11126 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11127 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11128 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11130 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11132 * elf/dl-open.c: Fix typos.
11133 * iconvdata/gbbig5.c: Likewise.
11134 * iconvdata/iso-2022-jp.c: Likewise.
11135 * iconv/gconv_int.h: Likewise.
11136 * iconv/loop.c: Likewise.
11137 * nis/rpcsvc/nis.h: Likewise.
11138 * resolv/ns_name.c: Likewise.
11139 * stdio-common/vfscanf.c: Likewise.
11140 * streams/stropts.h: Likewise.
11141 * sunrpc/rpc_thread.c: Likewise.
11142 * sysdeps/i386/strpbrk.S: Likewise.
11143 * sysdeps/ieee754/k_standard.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11146 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11147 * sysdeps/mach/hurd/profil.c: Likewise.
11148 * sysdeps/s390/dl-procinfo.h: Likewise.
11149 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11150 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11151 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11152 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11155 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11157 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11160 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11162 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11163 aix specific files.
11164 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11166 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11167 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11171 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11173 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11174 Roland McGrath <roland@hack.frob.com>
11176 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11177 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11179 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11181 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11182 __executable_start symbol instead of _start.
11184 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11186 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11187 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11189 * sysdeps/gnu/ldsodefs.h: ... this new file.
11191 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11192 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11193 instead of ELFOSABI_LINUX.
11195 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11196 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11197 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11198 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11200 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11201 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11204 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11205 (ibm_extended_long_double): Add ieee_nan member.
11206 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11207 (do_test): New function.
11209 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11211 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11212 functions, renamed from truncdfsf_test, trunctfsf_test,
11214 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11216 (do_test): Run all these.
11218 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11220 * argp/argp-help.c: Fix typos.
11221 * argp/argp-parse.c: Likewise.
11222 * debug/backtracesyms.c: Likewise.
11223 * elf/elf.h: Likewise.
11224 * malloc/malloc.c: Likewise.
11225 * nis/nis_print.c: Likewise.
11226 * resolv/res_comp.c: Likewise.
11227 * stdlib/stdlib.h: Likewise.
11228 * sunrpc/clnt_tcp.c: Likewise.
11229 * sunrpc/clnt_udp.c: Likewise.
11230 * sunrpc/clnt_unix.c: Likewise.
11231 * sysdeps/unix/bsd/ptsname.c: Likewise.
11232 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11240 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11242 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11244 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11247 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11250 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11251 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11252 ($(objpfx)bug-dl-leaf): New rule.
11253 ($(objpfx)bug-dl-leaf.so): Likewise.
11254 ($(objpfx)bug-dl-leaf.out): Likewise.
11255 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11256 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11257 * dlfcn/bug-dl-leaf.c: New test.
11258 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11259 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11260 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11261 (dlclose): Likewise.
11262 (dlmopen): Likewise.
11264 2013-08-27 Roland McGrath <roland@hack.frob.com>
11266 * include/netdb.h [!_ISOMAC]:
11267 Don't include <tls.h>.
11268 (h_errno, __libc_h_errno): Move declaration and macros out of
11271 * include/resolv.h [_RESOLV_H_]:
11272 Don't include <tls.h>.
11273 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11274 * resolv/res_libc.c: Don't include <tls.h>.
11275 (_res): Use __attribute__ ((nocommon)) in place of
11276 __attribute__ ((section (".bss"))).
11278 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11279 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11281 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11283 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11284 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11286 * resolv/res_mkquery.c: Include <sys/time.h>.
11288 * inet/ifreq.c: Moved to ...
11289 * sysdeps/unix/ifreq.c: ... here.
11290 * inet/ifreq.c: New file, true stub version.
11292 * socket/sa_len.c: New file.
11293 * socket/Makefile (aux): Add it.
11294 * sysdeps/unix/sysv/linux/Makefile
11295 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11296 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11297 and #include <socket/sa_len.c>.
11298 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11299 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11301 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11302 * bits/socket.h: ... here.
11304 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11305 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11306 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11308 2013-08-27 Andreas Schwab <schwab@suse.de>
11311 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11312 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11313 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11314 * string/test-strcasecmp.c (test_main): Run tests in several
11316 * string/test-strncasecmp.c (test_main): Likewise.
11318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11319 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11320 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11322 (__strncasecmp_ssse3) [PIC]: Likewise.
11324 2013-08-26 Roland McGrath <roland@hack.frob.com>
11326 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11328 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11329 instead of explicitly declaring xdecrypt.
11330 * nis/nss_nis/nis-publickey.c: Likewise.
11332 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11335 * nscd/aicache.c: Include res_hconf.h.
11336 (addhstaiX): Initialize res_hconf.
11338 2013-08-26 Andreas Schwab <schwab@suse.de>
11340 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11341 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11343 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11345 * nscd/aicache.c (addhstaiX): Fix indentation.
11347 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11349 * configure.ac: Quote $build_pt_chown test.
11350 * configure: Regenerated.
11352 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11355 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11356 * math/s_cexpf.c (__cexpf): Likewise.
11357 * math/s_cexpl.c (__cexpl): Likewise.
11358 * math/libm-test.inc (cexp_test_data): Correct expected return
11359 value for NaN + i0. Add another test.
11361 2013-08-22 David S. Miller <davem@davemloft.net>
11363 * po/ca.po: Update Catalan translation from translation project.
11364 * po/uk.po: Add Ukrainian translations from translation project.
11366 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11369 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11370 is infinite, not alongside NaN test.
11371 * math/s_fdimf.c (__fdimf): Likewise.
11372 * math/s_fdiml.c (__fdiml): Likewise.
11373 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11374 errno is unchanged.
11376 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11378 * argp/argp-help.c: Fix typos.
11379 * crypt/speeds.c: Likewise.
11380 * csu/check_fds.c: Likewise.
11381 * elf/dl-load.c: Likewise.
11382 * elf/dl-open.c: Likewise.
11383 * elf/reldep3.c: Likewise.
11384 * elf/reldep.c: Likewise.
11385 * elf/sprof.c: Likewise.
11386 * iconv/iconv_charmap.c: Likewise.
11387 * iconv/skeleton.c: Likewise.
11388 * iconv/strtab.c: Likewise.
11389 * io/lockf64.c: Likewise.
11390 * libio/libioP.h: Likewise.
11391 * resolv/gai_notify.c: Likewise.
11392 * resolv/ns_name.c: Likewise.
11393 * resolv/ns_samedomain.c: Likewise.
11394 * resolv/res_send.c: Likewise.
11395 * stdlib/random.c: Likewise.
11396 * sunrpc/rpc/xdr.h: Likewise.
11397 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11398 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11399 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11400 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11401 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11405 * sysdeps/mach/hurd/check_fds.c: Likewise.
11406 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11407 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11408 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11409 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11410 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11411 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11412 * sysdeps/pthread/aio_notify.c: Likewise.
11413 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11414 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11415 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11416 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11417 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11419 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11421 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11422 version if bit_Slow_SSE4_2 is set.
11423 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11426 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11429 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11430 trampoline stack frame information.
11431 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11433 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11434 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11435 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11436 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11437 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11438 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11440 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11441 interrupting a syscall and set with option SA_SIGINFO.
11443 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11446 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11447 argument is infinite.
11448 * math/s_cprojf.c (__cprojf): Likewise.
11449 * math/s_cprojl.c (__cprojl): Likewise.
11450 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11451 * math/libm-test.inc (cproj_test_data): Add more tests.
11453 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11455 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11456 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11457 size. Use __ffs to determine corresponding shift.
11459 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11460 Roland McGrath <roland@hack.frob.com>
11462 * Makefile (INSTALL): Remove trailing blank lines from output of
11465 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11467 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11468 Align 32 bit compat elf_greg to 8 bytes.
11470 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11472 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11474 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11476 * string/strcoll_l.c (coll_seq): New structure.
11477 (get_next_seq_cached): New function.
11478 (get_next_seq): New function.
11479 (do_compare): New function.
11480 (STRCOLL): Use GNU style definition. Simplify implementation
11481 by using get_next_seq, get_next_seq_cached and do_compare.
11483 2013-08-16 Florian Weimer <fweimer@redhat.com>
11487 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11489 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11491 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11492 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11493 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11495 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11496 GETDENTS_64BIT_ALIGNED.
11497 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11498 * manual/filesys.texi (Reading/Closing Directory): Document
11499 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11501 * manual/conf.texi (Limits for Files): Add portability note to
11502 NAME_MAX, PATH_MAX.
11503 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11505 2013-08-13 Andreas Schwab <schwab@suse.de>
11508 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11510 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11511 LDBL_MAX_EXP >= 16384]: Add tests for it.
11513 2013-08-12 David S. Miller <davem@davemloft.net>
11515 * version.h (RELEASE): Set to "development".
11516 (VERSION): Set to "2.18.90".
11517 * NEWS: Add 2.19 section.
11519 2013-08-03 David S. Miller <davem@davemloft.net>
11521 * po/ko.po: Update Korean translation from translation project.
11523 2013-08-01 David S. Miller <davem@davemloft.net>
11525 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11526 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11529 2013-07-30 David S. Miller <davem@davemloft.net>
11531 * po/fr.po: Update French translation from translation project.
11533 2013-07-28 David S. Miller <davem@davemloft.net>
11535 * po/cs.po: Update Czech translation from translation project.
11537 * po/sv.po: Update Swedish translation from translation project.
11539 2013-07-27 David S. Miller <davem@davemloft.net>
11541 * po/eo.po: Update Esperanto translation from translation project.
11543 * po/vi.po: Update Vietnamese translation from translation project.
11545 * po/de.po: Update German translation from translation project.
11547 2013-07-26 David S. Miller <davem@davemloft.net>
11549 * po/bg.po: Update Bulgarian translation from translation project.
11551 * po/nl.po: Update Dutch translation from translation project.
11552 * po/pl.po: Update Polish translation from translation project.
11553 * po/ru.po: Update Russian translation from translation project.
11555 2013-07-24 David S. Miller <davem@davemloft.net>
11557 * po/libc.pot: Update.
11559 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11561 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11562 variable page size.
11563 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11565 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11567 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11569 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11571 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11572 Andreas Schwab <schwab@suse.de>
11573 Roland McGrath <roland@hack.frob.com>
11574 Joseph Myers <joseph@codesourcery.com>
11575 Carlos O'Donell <carlos@redhat.com>
11578 * config.h.in: Define HAVE_PT_CHOWN.
11579 * config.make.in (build-pt-chown): New variable.
11580 * configure.in (--enable-pt_chown): New configure option.
11581 * configure: Regenerate.
11582 * login/Makefile: Include Makeconfig. Build pt_chown only if
11583 build-pt-chown is enabled.
11584 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11585 pt_chown to fix pty ownership.
11586 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11588 * manual/install.texi (Configuring and compiling): Mention
11589 --enable-pt_chown. Add @findex for grantpt.
11590 * INSTALL: Regenerate.
11592 2013-07-20 David S. Miller <davem@davemloft.net>
11594 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11595 difference between 32-bit and 64-bit.
11597 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11600 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11601 Avoid system header dependency with -ffreestanding.
11602 ($(objpfx)bits/syscall%d): Likewise.
11604 2013-07-13 David S. Miller <davem@davemloft.net>
11606 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11607 underflows from atanl/atan2l due to bug 15319.
11608 (casinh_test_data): Likewise.
11610 2013-07-07 David S. Miller <davem@davemloft.net>
11612 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11614 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11616 * sysdeps/i386/fpu/libm-test-ulps: Update.
11617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11619 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11621 * configure.in (--enable-lock-elision): Fix message text.
11622 * INSTALL: Regenerate.
11623 * configure: Regenerate.
11625 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11629 2013-07-03 Andreas Jaeger <aj@suse.de>
11631 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11633 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11634 (ptrace_peeksiginfo_args): Add.
11635 (__ptrace_peeksiginfo_flags): Add.
11636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11638 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11640 2013-07-03 Allan McRae <allan@archlinux.org>
11642 * sysdeps/i386/fpu/libm-test-ulps: Update.
11644 2013-07-02 David S. Miller <davem@davemloft.net>
11646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11648 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11652 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11654 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11657 2013-07-02 Andi Kleen <ak@linux.intel.com>
11659 * config.h.in (ENABLE_LOCK_ELISION): Add.
11660 * configure.in (--enable-lock-elision): Add option.
11661 * manual/install.texi: Document --enable lock elision.
11662 * configure: Regenerate
11663 * INSTALL: Regenerate.
11665 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11667 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11668 SSE4.2 strcasecmp for libc.a.
11669 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11671 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11674 * soft-fp/op-common.h (_FP_FMA): New macro.
11675 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11676 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11677 (_FP_MUL_MEAT_1_imm): ... here.
11678 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11679 (_FP_MUL_MEAT_1_wide): ... here.
11680 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11681 (_FP_MUL_MEAT_1_hard): ... here.
11682 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11683 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11684 (_FP_MUL_MEAT_2_wide): ... here.
11685 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11686 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11687 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11688 (_FP_MUL_MEAT_2_gmp): ... here.
11689 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11690 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11691 (_FP_MUL_MEAT_4_wide): ... here.
11692 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11693 (_FP_MUL_MEAT_4_gmp): ... here.
11694 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11695 (_FP_WFRACBITS_DW_S): Likewise.
11696 (_FP_WFRACXBITS_DW_S): Likewise.
11697 (_FP_HIGHBIT_DW_S): Likewise.
11698 (FP_FMA_S): Likewise.
11699 (_FP_FRAC_HIGH_DW_S): Likewise.
11700 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11701 (_FP_WFRACBITS_DW_D): Likewise.
11702 (_FP_WFRACXBITS_DW_D): Likewise.
11703 (_FP_HIGHBIT_DW_D): Likewise.
11704 (FP_FMA_D): Likewise.
11705 (_FP_FRAC_HIGH_DW_D): Likewise.
11706 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11707 (_FP_WFRACBITS_DW_E): Likewise.
11708 (_FP_WFRACXBITS_DW_E): Likewise.
11709 (_FP_HIGHBIT_DW_E): Likewise.
11710 (FP_FMA_E): Likewise.
11711 (_FP_FRAC_HIGH_DW_E): Likewise.
11712 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11713 (_FP_WFRACBITS_DW_Q): Likewise.
11714 (_FP_WFRACXBITS_DW_Q): Likewise.
11715 (_FP_HIGHBIT_DW_Q): Likewise.
11716 (FP_FMA_Q): Likewise.
11717 (_FP_FRAC_HIGH_DW_Q): Likewise.
11718 * soft-fp/fmasf4.c: New file.
11719 * soft-fp/fmadf4.c: Likewise.
11720 * soft-fp/fmatf4.c: Likewise.
11722 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11725 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11729 (index_Slow_SSE4_2): Likewise.
11730 (index_Prefer_PMINUB_for_stringop): Likewise.
11731 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11732 bit_Slow_SSE4_2 is set.
11733 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11734 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11736 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11738 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11739 rtld_global._dl_hwcap2.
11740 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11742 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11743 POWER8 feature descriptions defined in _dl_hwcap2.
11744 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11745 string handling for POWER8 feature bits.
11746 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11747 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11748 _dl_powerpc_cap_flags.
11749 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11750 * sysdeps/powerpc/rtld-global-offsets.sym
11751 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11752 _dl_hwcap2 in the rtld_global_ro structure.
11754 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11756 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11757 hardware capabilities in support of AT_HWCAP2.
11758 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11759 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11761 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11762 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11763 explicitly the unknown a_type display mechanism is used.
11764 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11765 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11767 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11768 to macro prototype for AT_HWCAP2 support.
11769 * sysdeps/i386/dl-procinfo.h: Likewise.
11770 * sysdeps/s390/dl-procinfo.h: Likewise.
11771 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11772 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11773 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11774 return -1 for unknown a_type display fallback.
11775 * sysdeps/sparc/dl-procinfo.h: Likewise.
11776 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11779 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11781 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11782 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11784 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11787 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11788 mprotect making __stack_prot writable.
11790 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11791 Joseph Myers <joseph@codesourcery.com>
11793 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11794 as being properly aligned.
11796 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11798 * dlfcn/modstatic5.c: New file.
11799 * dlfcn/tststatic5.c: New file.
11800 * dlfcn/Makefile (tests): Add tststatic5.
11801 (tests-static): Likewise.
11802 (modules-names): Add modstatic5.
11803 (tststatic5-ENV): New variable.
11804 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11807 * elf/dl-support.c (_dl_main_map): New variable.
11808 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11809 (_dl_nns, _dl_load_adds): Set to 1.
11810 (_dl_initial_searchlist): Refer to _dl_main_map.
11811 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11812 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11813 call to _dl_get_origin.
11814 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11816 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11817 * dlfcn/modstatic3.c: New file.
11818 * dlfcn/tststatic3.c: New file.
11819 * dlfcn/tststatic4.c: New file.
11820 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11821 (tests-static): Likewise.
11822 (modules-names): Add modstatic3.
11823 (tststatic3-ENV, tststatic4-ENV): New variables.
11824 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11825 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11827 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11829 * configure.in (CC): Require GCC version 4.4 or later.
11830 * configure: Regenerated.
11831 * manual/install.texi (Tools for Compilation): Update GCC version
11833 * INSTALL: Regenerated.
11835 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11838 * string/test-memcmp.c (check2): New.
11839 (main): Call check2.
11841 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11843 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11846 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11848 (dl_open_worker) [!SHARED]: ... here.
11850 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11852 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11854 2013-06-25 Richard Henderson <rth@redhat.com>
11856 * locale/programs/locarchive.c: Include <libc-internal.h>
11858 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11860 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11861 trailing whitespace removed.
11863 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11866 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11867 * locale/programs/locarchive.c: Include libc-mmap.h.
11868 (prepare_address_space): Take two new outputs (the mmap base and len).
11869 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11871 (create_archive): Declare new mmap base and len values for
11872 prepare_address_space, and store the result in ah.
11873 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11874 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11875 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11876 Declare new mmap base and len values for
11877 prepare_address_space, and store the result in new_ah.
11878 (open_archive): Declare new mmap base and len values for
11879 prepare_address_space, and store the result in ah.
11880 (close_archive): If ah->mmap_base is not NULL, use that and
11881 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11882 * sysdeps/generic/libc-mmap.h: New file.
11884 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11886 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11887 (ALIGN_UP): Likewise.
11888 (PTR_ALIGN_DOWN): Likewise.
11889 (PTR_ALIGN_UP): Likewise.
11891 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11893 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11894 entry mapped to PPC_PLATFORM_POWER8.
11895 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11897 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11898 (_dl_string_platform): Add case for exporting platform position for
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11901 search path to sysdeps/powerpc/powerpc32/power8 directory.
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11903 search path to sysdeps/powerpc/powerpc64/power8 directory.
11904 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11905 power7 directories.
11906 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11907 power7 directories.
11909 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11911 * INSTALL: Regenerate.
11913 * nscd/connections.c (nscd_init): Fix comment.
11915 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11917 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11920 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11921 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11923 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11925 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11927 (DL_DST_REQ_STATIC): Remove macro.
11929 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11932 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11933 with a shift of 0 bits.
11935 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11937 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11940 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11943 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11945 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11947 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11948 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11949 accepts -fno-tree-loop-distribute-patterns.
11950 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11951 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11953 * string/memset.c (memset): Likewise.
11954 * string/test-memmove.c (simple_memmove): Disable loop transformation
11956 * string/test-memset.c (simple_memset): Likewise.
11957 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11958 * benchtests/bench-memset.c (simple_memset): Likewise.
11959 * configure: Regenerated.
11961 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11963 * math/test-misc.c (main): Ignore fesetround failure when failures
11964 of subsequent rounding tests would be ignored.
11967 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11968 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11969 * math/fegetenv.c (__fegetenv): Return 0.
11970 * math/fegetexcept.c (fegetexcept): Return 0.
11971 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11973 * math/feholdexcpt.c (feholdexcept): Return 0.
11974 * math/fesetenv.c (__fesetenv): Return 0.
11975 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11976 argument FE_TONEAREST.
11977 * math/feupdateenv.c (__feupdateenv): Return 0.
11978 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11980 2013-06-18 Roland McGrath <roland@hack.frob.com>
11982 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11983 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11984 ($(objpfx)rtld-%.os rules): Use them.
11986 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11988 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11991 2013-06-17 Roland McGrath <roland@hack.frob.com>
11993 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11994 length of target pattern, then descending length of dependency pattern.
11995 * configure.in (AWK): Require gawk 3.1.2 or newer.
11996 * manual/install.texi (Tools for Compilation): Say that we do.
11997 * configure: Regenerated.
11999 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12000 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12001 * scripts/sysd-rules.awk: ... this new script.
12002 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12003 than a glob-style pattern.
12005 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12007 * math/test-misc.c (main): Do not treat incorrectly rounded
12008 conversions as failure unless ROUNDING_TESTS passes.
12010 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12013 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12014 restore exception state around main square root computation, then
12015 check for inexactness explicitly.
12017 * math/libm-test.inc (fma_test_data): Add another test.
12019 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12021 * manual/threads.texi (Non-POSIX Extensions): New document
12022 node. Document pthread_getattr_default_np and
12023 pthread_setattr_default_np.
12025 * Versions.def (libpthread): Add GLIBC_2.18.
12026 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12035 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12046 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12049 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12051 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12052 H.J. Lu <hjl.tools@gmail.com>
12055 * sysdeps/x86_64/rtld-memset.c: Remove file.
12056 * sysdeps/x86_64/rtld-memset.S: New file.
12058 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12060 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12061 (test_in_one_mode): Take arguments for whether the rounding mode
12062 is supported for each floating-point type.
12063 (do_test): Pass new arguments to test_in_one_mode using
12066 2013-06-13 Roland McGrath <roland@hack.frob.com>
12068 * posix/tst-waitid.c (do_test): Distinguish different instances of
12069 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12070 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12071 before entering the kernel for waitpid.
12073 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12075 * NEWS: Fix note on clock function precision. Text by Roland
12078 2013-06-13 Roland McGrath <roland@hack.frob.com>
12080 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12081 it into place only when and if the sanity check passes.
12083 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12085 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12086 output for whether conversion result is exact. Take argument
12087 indicating whether type is IBM long double.
12088 (round_for_all): Change need_exact field to ibm_ld.
12089 * stdlib/tst-strtod-round.c (struct exactness): New type.
12090 (struct test): Change bool ld_ok field to struct exactness exact.
12091 (TEST): Update all definitions for change to field.
12092 (tests): Regenerate array contents.
12093 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12094 field value. Check for IBM long double here.
12095 (do_test): Update calls to test_in_one_mode.
12097 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12100 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12101 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12103 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12106 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12107 generated by the compiler on loop optimizations.
12108 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12109 general definitions.
12111 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12113 * math/bug-nextafter.c: Include <math-tests.h>.
12114 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12116 * math/bug-nexttoward.c: Include <math-tests.h>.
12117 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12119 * math/test-misc.c: Include <math-tests.h>.
12120 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12123 2013-06-12 Andreas Jaeger <aj@suse.de>
12125 * po/ia.po: Update Interlingua translation from translation
12128 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 * include/fenv.h: Include stdbool.h.
12131 (struct rm_ctx): New structure.
12132 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12134 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12135 (SET_RESTORE_ROUNDF): Likewise.
12136 (SET_RESTORE_ROUNDL): Likewise.
12137 (SET_RESTORE_ROUND_NOEX): Likewise.
12138 (SET_RESTORE_ROUND_NOEXF): Likewise.
12139 (SET_RESTORE_ROUND_NOEXL): Likewise.
12140 (SET_RESTORE_ROUND_53BIT): Likewise.
12141 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12142 (libc_feresetround_noexf_ctx): Likewise.
12143 (libc_feresetround_noexl_ctx): Likewise.
12144 (libc_feholdsetround_53bit_ctx): Likewise.
12145 (libc_feresetround_53bit_ctx): Likewise.
12146 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12147 (libc_feholdexcept_setround_sse_ctx): New function.
12148 (libc_fesetenv_sse_ctx): Likewise.
12149 (libc_feupdateenv_sse_ctx): Likewise.
12150 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12151 (libc_feholdexcept_setround_387_ctx): Likewise.
12152 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12153 (libc_feholdsetround_387_prec_ctx): Likewise.
12154 (libc_feholdsetround_387_ctx): Likewise.
12155 (libc_feholdsetround_387_53bit_ctx): Likewise.
12156 (libc_feholdsetround_sse_ctx): Likewise.
12157 (libc_feresetround_sse_ctx): Likewise.
12158 (libc_feresetround_387_ctx): Likewise.
12159 (libc_feupdateenv_387_ctx): Likewise.
12160 (libc_feholdexcept_setroundf_ctx): Define macro.
12161 (libc_fesetenvf_ctx): Likewise.
12162 (libc_feupdateenvf_ctx): Likewise.
12163 (libc_feholdsetroundf_ctx): Likewise.
12164 (libc_feresetroundf_ctx): Likewise.
12165 (libc_feholdexcept_setround_ctx): Likewise.
12166 (libc_fesetenv_ctx): Likewise.
12167 (libc_feupdateenv_ctx): Likewise.
12168 (libc_feholdsetround_ctx): Likewise.
12169 (libc_feresetround_ctx): Likewise.
12170 (libc_feholdexcept_setroundl_ctx): Likewise.
12171 (libc_feupdateenvl_ctx): Likewise.
12172 (libc_feholdsetroundl_ctx): Likewise.
12173 (libc_feresetroundl_ctx): Likewise.
12174 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12175 (libc_feresetround_53bit_ctx): Likewise.
12177 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12179 * locale/iso-639.def: Convert to UTF-8.
12181 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12183 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12184 (EXCEPTION_TESTS_double): Likewise.
12185 (EXCEPTION_TESTS_long_double): Likewise.
12186 (EXCEPTION_TESTS): Likewise.
12187 * math/libm-test.inc (test_exceptions): Only test exceptions if
12188 EXCEPTION_TESTS (FLOAT).
12190 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12192 * benchtests/Makefile (string-bench): Add strcpy_chk and
12194 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12195 * benchtests/bench-stpcpy_chk.c: New file.
12196 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12197 * benchtests/bench-strcpy_chk.c: New file.
12198 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12200 (do_test): Likewise.
12202 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12204 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12205 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12206 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12207 with tabs where appropriate.
12208 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12210 [PPC_PLATFORM_PPC440]: Likewise.
12211 [PPC_PLATFORM_PPC464]: Likewise.
12212 [PPC_PLATFORM_PPC476]: Likewise.
12213 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12214 ppc464, and ppc476 platform strings merging from ports/
12217 2013-06-11 Andreas Schwab <schwab@suse.de>
12220 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12221 (from_ucs4_idx): Regenerate.
12222 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12223 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12224 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12225 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12226 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12227 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12228 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12229 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12230 from FROM_LOOP and TO_LOOP specific macros.
12231 (BODY): Handle combining characters.
12232 * iconvdata/BIG5HKSCS.irreversible: Update.
12233 * iconvdata/BIG5HKSCS.precomposed: New file.
12234 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12236 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12238 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12240 * include/sys/time.h: Fix indentation and add copyright header.
12242 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12243 (do_test): Likewise.
12244 * string/test-memchr.c (do_one_test): Likewise.
12245 (do_test): Likewise.
12246 * string/test-memcmp.c (do_one_test): Likewise.
12247 (do_test): Likewise.
12248 * string/test-memcpy.c (do_one_test): Likewise.
12249 (do_test): Likewise.
12250 * string/test-memmem.c (do_one_test): Likewise.
12251 (do_test): Likewise.
12252 (do_random_tests): Likewise.
12253 * string/test-memmove.c (do_one_test): Likewise.
12254 (do_test): Likewise.
12255 * string/test-memset.c (do_one_test): Likewise.
12256 (do_test): Likewise.
12257 * string/test-rawmemchr.c (do_one_test): Likewise.
12258 (do_test): Likewise.
12259 * string/test-strcasecmp.c (do_one_test): Likewise.
12260 (do_test): Likewise.
12261 * string/test-strcasestr.c (do_one_test): Likewise.
12262 (do_test): Likewise.
12263 * string/test-strcat.c (do_one_test): Likewise.
12264 (do_test): Likewise.
12265 * string/test-strchr.c (do_one_test): Likewise.
12266 (do_test): Likewise.
12267 * string/test-strcmp.c (do_one_test): Likewise.
12268 (do_test): Likewise.
12269 * string/test-strcpy.c (do_one_test): Likewise.
12270 (do_test): Likewise.
12271 * string/test-string.h: Likewise.
12272 (test_init): Likewise.
12273 * string/test-strlen.c (do_one_test): Likewise.
12274 (do_test): Likewise.
12275 * string/test-strncasecmp.c (do_one_test): Likewise.
12276 (do_test): Likewise.
12277 * string/test-strncat.c (do_one_test): Likewise.
12278 (do_test): Likewise.
12279 * string/test-strncmp.c (do_one_test): Likewise.
12280 (do_test_limit): Likewise.
12281 (do_test): Likewise.
12282 * string/test-strncpy.c (do_one_test): Likewise.
12283 (do_test): Likewise.
12284 * string/test-strnlen.c (do_one_test): Likewise.
12285 (do_test): Likewise.
12286 * string/test-strpbrk.c (do_one_test): Likewise.
12287 (do_test): Likewise.
12288 * string/test-strrchr.c (do_one_test): Likewise.
12289 (do_test): Likewise.
12290 * string/test-strspn.c (do_one_test): Likewise.
12291 (do_test): Likewise.
12292 * string/test-strstr.c (do_one_test): Likewise.
12293 (do_test): Likewise.
12295 * benchtests/Makefile (string-bench): Add string benchmarks.
12296 * benchtests/bench-bcopy-ifunc.c: New file.
12297 * benchtests/bench-bcopy.c: New file.
12298 * benchtests/bench-bzero-ifunc.c: New file.
12299 * benchtests/bench-bzero.c: New file.
12300 * benchtests/bench-memccpy-ifunc.c: New file.
12301 * benchtests/bench-memccpy.c: New file.
12302 * benchtests/bench-memchr-ifunc.c: New file.
12303 * benchtests/bench-memchr.c: New file.
12304 * benchtests/bench-memcmp-ifunc.c: New file.
12305 * benchtests/bench-memcmp.c: New file.
12306 * benchtests/bench-memmem-ifunc.c: New file.
12307 * benchtests/bench-memmem.c: New file.
12308 * benchtests/bench-memmove-ifunc.c: New file.
12309 * benchtests/bench-memmove.c: New file.
12310 * benchtests/bench-mempcpy-ifunc.c: New file.
12311 * benchtests/bench-mempcpy.c: New file.
12312 * benchtests/bench-memset-ifunc.c: New file.
12313 * benchtests/bench-memset.c: New file.
12314 * benchtests/bench-rawmemchr-ifunc.c: New file.
12315 * benchtests/bench-rawmemchr.c: New file.
12316 * benchtests/bench-stpcpy-ifunc.c: New file.
12317 * benchtests/bench-stpcpy.c: New file.
12318 * benchtests/bench-stpncpy-ifunc.c: New file.
12319 * benchtests/bench-stpncpy.c: New file.
12320 * benchtests/bench-strcasecmp-ifunc.c: New file.
12321 * benchtests/bench-strcasecmp.c: New file.
12322 * benchtests/bench-strcasestr-ifunc.c: New file.
12323 * benchtests/bench-strcasestr.c: New file.
12324 * benchtests/bench-strcat-ifunc.c: New file.
12325 * benchtests/bench-strcat.c: New file.
12326 * benchtests/bench-strchr-ifunc.c: New file.
12327 * benchtests/bench-strchr.c: New file.
12328 * benchtests/bench-strchrnul-ifunc.c: New file.
12329 * benchtests/bench-strchrnul.c: New file.
12330 * benchtests/bench-strcmp-ifunc.c: New file.
12331 * benchtests/bench-strcmp.c: New file.
12332 * benchtests/bench-strcpy-ifunc.c: New file.
12333 * benchtests/bench-strcpy.c: New file.
12334 * benchtests/bench-strcspn-ifunc.c: New file.
12335 * benchtests/bench-strcspn.c: New file.
12336 * benchtests/bench-strlen-ifunc.c: New file.
12337 * benchtests/bench-strlen.c: New file.
12338 * benchtests/bench-strncasecmp-ifunc.c: New file.
12339 * benchtests/bench-strncasecmp.c: New file.
12340 * benchtests/bench-strncat-ifunc.c: New file.
12341 * benchtests/bench-strncat.c: New file.
12342 * benchtests/bench-strncmp-ifunc.c: New file.
12343 * benchtests/bench-strncmp.c: New file.
12344 * benchtests/bench-strncpy-ifunc.c: New file.
12345 * benchtests/bench-strncpy.c: New file.
12346 * benchtests/bench-strnlen-ifunc.c: New file.
12347 * benchtests/bench-strnlen.c: New file.
12348 * benchtests/bench-strpbrk-ifunc.c: New file.
12349 * benchtests/bench-strpbrk.c: New file.
12350 * benchtests/bench-strrchr-ifunc.c: New file.
12351 * benchtests/bench-strrchr.c: New file.
12352 * benchtests/bench-strspn-ifunc.c: New file.
12353 * benchtests/bench-strspn.c: New file.
12354 * benchtests/bench-strstr-ifunc.c: New file.
12355 * benchtests/bench-strstr.c: New file.
12357 * benchtests/Makefile: Disable parallel execution of targets.
12358 (string-bench): Add memcpy.
12359 (benchset): New variable to store a list of benchmark sets.
12360 (bench-func): Renamed from bench.
12361 (bench-set): New target.
12362 (bench): Depend on bench-func and bench-set.
12363 * benchtests/README: Add section on benchmark sets.
12364 * benchtests/bench-memcpy-ifunc.c: New file.
12365 * benchtests/bench-memcpy.c: New file.
12366 * benchtests/bench-string.h: New file.
12368 2013-06-11 Andreas Schwab <schwab@suse.de>
12371 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12372 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12373 values in the triple.
12374 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12375 terminator in the group key.
12377 2013-06-11 Andreas Jaeger <aj@suse.de>
12379 * po/zh_TW.po: Update Chinese (traditional) translation from
12380 translation project.
12382 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12384 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12385 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12386 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12388 (clock_getcpuclockid): Likewise.
12389 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12390 Add weak_alias and libc_hidden_def.
12391 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12392 * rt/clock_gettime.c (clock_gettime): Rename to
12393 __clock_gettime. Add weak_alias and libc_hidden_def.
12394 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12395 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12396 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12397 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12398 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12400 * rt/clock_settime.c (clock_settime): Rename to
12401 __clock_settime. Add weak_alias and libc_hidden_def.
12402 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12404 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12406 * mach/err_boot.sub: Remove trailing whitespace.
12407 * mach/err_ipc.sub: Likewise.
12408 * mach/err_mach.sub: Likewise.
12410 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12411 (ROUNDING_TESTS_double): Likewise.
12412 (ROUNDING_TESTS_long_double): Likewise.
12413 (ROUNDING_TESTS): Likewise.
12414 * math/libm-test.inc: Include <math-tests.h>.
12415 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12416 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12417 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12418 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12420 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12422 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12425 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12427 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12428 otherwise empty TRANS lines.
12429 * sysdeps/gnu/errlist.c: Regenerated.
12431 * catgets/gencat.c (error_print): Use (void) in function
12433 * crypt/crypt_util.c (__init_des): Likewise.
12434 * crypt/speeds.c (Stop): Likewise.
12436 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12437 * inet/ruserpass.c (token): Likewise.
12438 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12439 * intl/localealias.c (extend_alias_table): Likewise.
12440 * intl/plural-exp.c (init_germanic_plural): Likewise.
12441 * libio/fcloseall.c (__fcloseall): Likewise.
12442 * libio/genops.c (_IO_flush_all): Likewise.
12443 (_IO_flush_all_linebuffered): Likewise.
12444 (_IO_cleanup): Likewise.
12445 (_IO_iter_begin): Likewise.
12446 (_IO_iter_end): Likewise.
12447 (_IO_list_lock): Likewise.
12448 (_IO_list_unlock): Likewise.
12449 (_IO_list_resetlock): Likewise.
12450 * libio/getchar.c (getchar): Likewise.
12451 * libio/getchar_u.c (getchar_unlocked): Likewise.
12452 * libio/getwchar.c (getwchar): Likewise.
12453 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12454 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12455 * login/getpt.c (__getpt): Likewise.
12456 * login/tst-utmp.c (main): Likewise.
12457 * malloc/hooks.c (__malloc_check_init): Likewise.
12458 * malloc/malloc.c (__malloc_stats): Likewise.
12459 * malloc/mtrace.c (tr_break): Likewise.
12460 (mtrace): Likewise.
12461 (muntrace): Likewise.
12462 * misc/fstab.c (endfsent): Likewise.
12463 * misc/getclktck.c (__getclktck): Likewise.
12464 * misc/getdtsz.c (__getdtablesize): Likewise.
12465 * misc/gethostid.c (gethostid): Likewise.
12466 * misc/getpagesize.c (__getpagesize): Likewise.
12467 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12468 (__get_nprocs): Likewise.
12469 (__get_phys_pages): Likewise.
12470 (__get_avphys_pages): Likewise.
12471 * misc/getttyent.c (getttyent): Likewise.
12472 (setttyent): Likewise.
12473 (endttyent): Likewise.
12474 * misc/getusershell.c (getusershell): Likewise.
12475 (endusershell): Likewise.
12476 (setusershell): Likewise.
12477 (initshells): Likewise.
12478 * misc/hsearch.c (__hdestroy): Likewise.
12479 * misc/sync.c (sync): Likewise.
12480 * misc/syslog.c (closelog_internal): Likewise.
12481 (closelog): Likewise.
12482 * misc/ttyslot.c (ttyslot): Likewise.
12483 * misc/vhangup.c (vhangup): Likewise.
12484 * posix/fork.c (__fork): Likewise.
12485 * posix/getegid.c (__getegid): Likewise.
12486 * posix/geteuid.c (__geteuid): Likewise.
12487 * posix/getgid.c (__getgid): Likewise.
12488 * posix/getpid.c (__getpid): Likewise.
12489 * posix/getppid.c (__getppid): Likewise.
12490 * posix/getuid.c (__getuid): Likewise.
12491 * posix/pause.c (pause): Likewise.
12492 * posix/setpgrp.c (setpgrp): Likewise.
12493 * posix/setsid.c (__setsid): Likewise.
12494 * posix/test-vfork.c (noop): Likewise.
12495 * resolv/gethnamaddr.c (_endhtent): Likewise.
12496 (_gethtent): Likewise.
12497 (ht_endhostent): Likewise.
12498 (gethostent): Likewise.
12499 (dns_service): Likewise.
12500 * stdlib/drand48.c (drand48): Likewise.
12501 * stdlib/lrand48.c (lrand48): Likewise.
12502 * stdlib/mrand48.c (mrand48): Likewise.
12503 * stdlib/rand.c (rand): Likewise.
12504 * stdlib/random.c (__random): Likewise.
12505 * stdlib/setenv.c (clearenv): Likewise.
12506 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12507 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12508 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12509 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12510 (__get_nprocs): Likewise.
12511 (__get_phys_pages): Likewise.
12512 (__get_avphys_pages): Likewise.
12513 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12514 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12515 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12516 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12517 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12518 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12519 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12520 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12521 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12522 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12523 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12524 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12525 * sysdeps/posix/clock.c (clock): Likewise.
12526 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12527 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12528 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12529 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12530 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12532 (__get_nprocs_conf): Likewise.
12533 (__get_phys_pages): Likewise.
12534 (__get_avphys_pages): Likewise.
12535 * time/clock.c (clock): Likewise.
12536 * time/tzset.c (__tzname_max): Likewise.
12538 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12540 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12541 (__bswap_32): Do not use "register".
12542 * crypt/crypt.c (_ufc_doit_r): Likewise.
12543 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12544 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12545 * gmon/gmon.c (__monstartup): Likewise.
12546 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12547 * hurd/hurdmalloc.c (more_memory): Likewise.
12548 (malloc): Likewise.
12550 (realloc): Likewise.
12551 (malloc_fork_prepare): Likewise.
12552 (malloc_fork_parent): Likewise.
12553 (malloc_fork_child): Likewise.
12554 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12555 (_svcauth_des): Likewise.
12556 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12557 * inet/inet_net.c (inet_network): Likewise.
12558 * inet/inet_netof.c (inet_netof): Likewise.
12559 * inet/rcmd.c (__validuser2_sa): Likewise.
12560 * io/fts.c (fts_open): Likewise.
12561 (fts_load): Likewise.
12562 (fts_close): Likewise.
12563 (fts_read): Likewise.
12564 (fts_children): Likewise.
12565 (fts_build): Likewise.
12566 (fts_stat): Likewise.
12567 (fts_sort): Likewise.
12568 (fts_alloc): Likewise.
12569 (fts_lfree): Likewise.
12570 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12571 (_IO_file_xsgetn): Likewise.
12572 (_IO_file_xsgetn_mmap): Likewise.
12573 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12574 (_IO_cookie_write): Likewise.
12575 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12576 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12577 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12578 * malloc/obstack.c (_obstack_begin): Likewise.
12579 (_obstack_begin_1): Likewise.
12580 (_obstack_newchunk): Likewise.
12581 (_obstack_allocated_p): Likewise.
12582 (obstack_free): Likewise.
12583 (_obstack_memory_used): Likewise.
12584 * misc/getttyent.c (getttynam): Likewise.
12585 (getttyent): Likewise.
12588 * misc/getusershell.c (initshells): Likewise.
12589 * misc/syslog.c (__vsyslog_chk): Likewise.
12590 * misc/ttyslot.c (ttyslot): Likewise.
12591 * nis/nis_hash.c (__nis_hash): Likewise.
12592 * posix/fnmatch_loop.c (FCT): Likewise.
12593 * posix/getconf.c (print_all): Likewise.
12595 * posix/getopt.c (exchange): Likewise.
12596 * posix/glob.c (globfree): Likewise.
12597 (prefix_array): Likewise.
12598 (__glob_pattern_type): Likewise.
12599 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12600 (NS_GET32): Likewise.
12601 (NS_PUT16): Likewise.
12602 (NS_PUT32): Likewise.
12603 * resolv/gethnamaddr.c (getanswer): Likewise.
12604 (gethostbyname2): Likewise.
12605 (gethostbyaddr): Likewise.
12606 (_gethtent): Likewise.
12607 (_gethtbyname2): Likewise.
12608 (_gethtbyaddr): Likewise.
12609 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12610 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12611 * resolv/res_init.c (__res_vinit): Likewise.
12612 (net_mask): Likewise.
12613 * resolv/res_mkquery.c (outchar): Likewise.
12615 * stdio-common/printf_fp.c (outchar): Likewise.
12617 * stdio-common/printf_fphex.c (outchar): Likewise.
12619 * stdio-common/printf_size.c (outchar): Likewise.
12621 * stdio-common/test_rdwr.c (main): Likewise.
12622 * stdio-common/tfformat.c (matches): Likewise.
12623 * stdio-common/vfprintf.c (outchar): Likewise.
12624 (printf_unknown): Likewise.
12625 (buffered_vfprintf): Likewise.
12626 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12627 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12628 (ReadFile): Likewise.
12629 * stdlib/qsort.c (SWAP): Likewise.
12630 (_quicksort): Likewise.
12631 * stdlib/setenv.c (__add_to_environ): Likewise.
12632 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12633 * stdlib/strtol_l.c (__strtol_l): Likewise.
12634 * stdlib/tst-strtod.c (main): Likewise.
12635 * stdlib/tst-strtol.c (main): Likewise.
12636 * stdlib/tst-strtoll.c (main): Likewise.
12637 * string/bits/string2.h (__strcmp_cc): Likewise.
12638 (__strcmp_cg): Likewise.
12639 (__strcspn_c1): Likewise.
12640 (__strcspn_c2): Likewise.
12641 (__strcspn_c3): Likewise.
12642 (__strspn_c1): Likewise.
12643 (__strspn_c2): Likewise.
12644 (__strspn_c3): Likewise.
12645 (__strsep_1c): Likewise.
12646 (__strsep_2c): Likewise.
12647 (__strsep_3c): Likewise.
12648 * string/memccpy.c (__memccpy): Likewise.
12649 * string/stpcpy.c (__stpcpy): Likewise.
12650 * string/strcmp.c (strcmp): Likewise.
12651 * string/strrchr.c (strrchr): Likewise.
12652 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12654 * sysdeps/mach/hurd/getcwd.c
12655 (_hurd_canonicalize_directory_name_internal): Likewise.
12656 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12657 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12658 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12659 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12660 Likewise, in both definitions.
12661 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12663 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12664 64] (__bswap_64): Likewise.
12665 * time/test_time.c (main): Likewise.
12666 * time/tzfile.c (__tzfile_read): Likewise.
12667 (__tzfile_compute): Likewise.
12668 * time/tzset.c (__tzset_parse_tz): Likewise.
12669 (tzset_internal): Likewise.
12670 (compute_change): Likewise.
12671 * wcsmbs/wcscat.c (__wcscat): Likewise.
12672 * wcsmbs/wcschr.c (wcschr): Likewise.
12673 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12674 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12675 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12676 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12677 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12678 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12679 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12680 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12681 * wcsmbs/wmemset.c (wmemset): Likewise.
12683 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12685 * scripts/config.guess: Update to version 2013-05-16.
12686 * scripts/config.sub: Update to version 2013-04-24.
12687 * scripts/install-sh: Update to version 2011-11-20.07.
12688 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12689 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12691 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12693 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12694 * elf/sln.c: Likewise.
12695 * hurd/hurd/ioctl.h: Likewise.
12696 * hurd/hurdmalloc.c: Likewise.
12697 * hurd/xattr.c: Likewise.
12698 * include/shlib-compat.h: Likewise.
12699 * inet/ruserpass.c: Likewise.
12700 * libio/iofgets_u.c: Likewise.
12701 * libio/iofgetws_u.c: Likewise.
12702 * locale/programs/ld-identification.c: Likewise.
12703 * locale/programs/ld-time.c: Likewise.
12704 * mach/msg-destroy.c: Likewise.
12705 * nss/nss_files/files-netgrp.c: Likewise.
12706 * resolv/res_data.c: Likewise.
12707 * soft-fp/op-1.h: Likewise.
12708 * soft-fp/op-2.h: Likewise.
12709 * soft-fp/op-4.h: Likewise.
12710 * soft-fp/op-common.h: Likewise.
12711 * stdio-common/printf_fphex.c: Likewise.
12712 * stdlib/strtod_l.c: Likewise.
12713 * sunrpc/rpc/clnt.h: Likewise.
12714 * sysdeps/generic/framestate.c: Likewise.
12715 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12716 * sysdeps/i386/bsd-setjmp.S: Likewise.
12717 * sysdeps/i386/__longjmp.S: Likewise.
12718 * sysdeps/i386/setjmp.S: Likewise.
12719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12720 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12737 * sysdeps/ieee754/support.c: Likewise.
12738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12739 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12740 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12741 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12742 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12743 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12744 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12745 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12746 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12747 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12748 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12749 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12750 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12751 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12753 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12754 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12757 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12759 * posix/transbug.c: Remove executable mode.
12761 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12763 * crypt/speeds.c: Remove trailing whitespace.
12764 * dlfcn/default.c: Likewise.
12765 * elf/ifuncdep2.c: Likewise.
12766 * elf/ifuncmain1.c: Likewise.
12767 * elf/ifuncmain1vis.c: Likewise.
12768 * elf/testobj.h: Likewise.
12769 * elf/tst-stackguard1.c: Likewise.
12770 * gmon/sys/gmon.h: Likewise.
12771 * hurd/hurdmsg.c: Likewise.
12772 * hurd/new-fd.c: Likewise.
12773 * hurd/ports-get.c: Likewise.
12774 * iconvdata/ibm1008_420.c: Likewise.
12775 * inet/tst-getni1.c: Likewise.
12776 * inet/tst-getni2.c: Likewise.
12777 * libio/ioungetc.c: Likewise.
12778 * libio/wfiledoalloc.c: Likewise.
12779 * manual/libm-err-tab.pl: Likewise.
12780 * math/w_dremf.c: Likewise.
12781 * misc/ftruncate.c: Likewise.
12782 * posix/bug-glob2.c: Likewise.
12783 * posix/tst-pcre.c: Likewise.
12784 * posix/wait4.c: Likewise.
12785 * resolv/README: Likewise.
12786 * resolv/res_debug.h: Likewise.
12787 * resolv/tst-inet_ntop.c: Likewise.
12788 * setjmp/bug269-setjmp.c: Likewise.
12789 * soft-fp/extended.h: Likewise.
12790 * soft-fp/op-1.h: Likewise.
12791 * soft-fp/op-2.h: Likewise.
12792 * soft-fp/op-4.h: Likewise.
12793 * soft-fp/op-8.h: Likewise.
12794 * soft-fp/testit.c: Likewise.
12795 * stdio-common/bug16.c: Likewise.
12796 * stdlib/random.c: Likewise.
12797 * sunrpc/rpcsvc/rquota.x: Likewise.
12798 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12799 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12801 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12802 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12803 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12804 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12805 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12806 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12808 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12827 * sysdeps/ieee754/s_lib_version.c: Likewise.
12828 * sysdeps/mach/hurd/check_fds.c: Likewise.
12829 * sysdeps/mach/hurd/getsockname.c: Likewise.
12830 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12831 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12832 * sysdeps/powerpc/bits/link.h: Likewise.
12833 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12834 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12835 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12836 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12837 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12838 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12839 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12840 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12841 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12842 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12843 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12844 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12845 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12846 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12847 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12848 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12854 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12856 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12857 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12858 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12859 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12862 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12865 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12867 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12868 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12869 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12870 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12871 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12872 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12873 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12874 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12875 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12876 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12877 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12878 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12879 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12880 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12881 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12882 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12885 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12886 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12887 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12888 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12889 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12890 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12891 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12892 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12893 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12894 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12895 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12896 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12897 * sysdeps/powerpc/sysdep.h: Likewise.
12898 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12899 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12900 * sysdeps/sh/dl-trampoline.S: Likewise.
12901 * sysdeps/sh/memset.S: Likewise.
12902 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12903 * sysdeps/sh/strlen.S: Likewise.
12904 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12905 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12906 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12907 * sysdeps/sparc/sparc32/rem.S: Likewise.
12908 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12909 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12910 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12911 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12912 * sysdeps/sparc/sparc32/urem.S: Likewise.
12913 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12914 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12915 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12916 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12917 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12918 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12919 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12920 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12921 * sysdeps/unix/bsd/times.c: Likewise.
12922 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12923 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12927 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12928 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12929 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12930 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12931 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12932 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12933 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12934 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12935 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12936 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12937 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12938 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12940 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12941 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12942 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12943 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12944 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12945 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12946 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12947 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12948 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12949 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12950 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12951 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12952 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12953 * sysdeps/x86_64/strcspn.S: Likewise.
12955 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12957 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12958 generated file. Regenerate properly from gen-translit.pl.
12959 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12960 locale/C-translit.h.
12962 2013-06-05 Andreas Schwab <schwab@suse.de>
12965 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12966 week as 6 instead of -1.
12967 * time/tst-strptime.c (day_tests): Add test case.
12969 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12971 * sysdeps/generic/math_private.h
12972 (libc_feholdexcept_setround_53bit): Replace with
12973 libc_feholdsetround_53bit.
12974 (libc_feupdateenv_53bit): Replace with
12975 libc_feresetround_53bit.
12976 (SET_RESTORE_ROUND_53BIT): Adjust.
12978 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12980 * string/test-strchrnul.c: Add copyright header.
12982 * posix/tst-getaddrinfo4.c: Increase test timeout.
12984 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12987 * math/libm-test.inc (MAX_EXP): Remove
12989 (ulp): Use MIN_EXP - MANT_DIG.
12990 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12992 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12994 * po/be.po: Revert last change.
12995 * po/zh_CN.po: Likewise.
12996 * po/header.pot: Likewise.
12998 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13000 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13001 link-libc-deps to empty as target-specific variable.
13002 * Makerules (link-libc-args): New variable.
13003 (libc-for-link): Likewise.
13004 (link-libc-deps): Likewise.
13005 (lib%.so): Depend on $(link-libc-deps). Link with
13007 (build-module): Link with $(link-libc-args).
13008 (build-module-asneeded): Likewise.
13009 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13011 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13012 target-specific variable.
13013 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13014 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13015 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13017 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13019 ($(objpfx)libpcprofile.so): Likewise.
13020 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13022 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13023 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13024 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13026 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13027 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13028 * login/Makefile ($(objpfx)libutil.so): Likewise.
13029 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13030 * math/Makefile ($(objpfx)libm.so): Likewise.
13031 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13032 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13033 variable instead of depending directly on libc.
13034 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13035 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13037 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13039 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13040 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13041 ($(objpfx)libanl.so): Likewise.
13042 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13044 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13046 * sysdeps/i386/fpu/Makefile: Remove file.
13047 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13048 ($(objpfx)libm.so): Remove dependency on ld.so.
13050 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13053 * nis/yp_xdr.c (XDRMAXNAME): Define.
13054 (XDRMAXRECORD): Define.
13055 (xdr_domainname): Use XDRMAXNAME.
13056 (xdr_mapname): Likewise.
13057 (xdr_peername): Likewise.
13058 (xdr_keydat): Use XDRMAXRECORD.
13059 (xdr_valdat): Likewise.
13061 2013-05-30 Jeff Law <law@redhat.com>
13064 * manual/errno.texi (ESTALE): Update to account for more than
13065 just NFS file systems.
13066 * sysdeps/gnu/errlist.c: Regenerated.
13068 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13071 * elf/Makefile (tests): Add tst-null-argv.
13072 (modules-names): Add tst-null-argv-lib.
13073 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13074 (tst-null-argv-ENV): Set environment for tst-null-argv.
13075 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13076 (RTLD_PROGNAME): New macro.
13077 * elf/tst-null-argv.c: New test case.
13078 * elf/tst-null-argv-lib.c: Library for test case.
13079 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13080 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13081 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13082 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13083 * elf/dl-init.c (call_init): Likewise.
13084 (_dl_init): Likewise.
13085 * elf/dl-load.c (print_search_path): Likewise.
13086 (_dl_map_object): Likewise.
13087 * elf/dl-lookup.c (do_lookup_x): Likewise.
13088 (add_dependency): Likewise.
13089 (_dl_lookup_symbol_x): Likewise.
13090 (_dl_debug_bindings): Likewise.
13091 * elf/dl-open.c (_dl_show_scope): Likewise.
13092 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13093 * elf/dl-version.c (match_symbol): Likewise.
13094 (_dl_check_map_versions): Likewise.
13095 * elf/rtld.c (dl_main): Likewise.
13096 (print_unresolved): Use RTLD_PROGNAME.
13097 (print_missing_version): Likewise.
13098 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13099 (elf_machine_rela): Likewise.
13100 * sysdeps/powerpc/powerpc32/dl-machine.c
13101 (__process_machine_rela): Likewise.
13102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13106 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13108 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13109 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13113 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13115 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13117 * po/be.po: Add descriptive title.
13118 * po/zh_CN.po: Likewise.
13119 * po/header.pot: Likewise.
13121 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13123 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13125 (enlarge_archive): Likewise.
13127 2013-05-28 Ben North <ben@redfrontdoor.org>
13129 * manual/arith.texi (frexp): It is the magnitude of the return
13130 value which lies in [0.5, 1), not the return value itself.
13132 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13136 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13138 * stdio-common/bug26.c (main): Correct fscanf template.
13140 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13141 declare _dl_skip_args.
13143 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13146 * manual/platform.texi: Add missing @end deftypefun.
13148 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13151 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13152 bit of mantissa of 2^16382.
13153 * math/libm-test.inc (hypot_test_data): Add more tests.
13155 * math/libm-test.inc: Add drem and pow10 to list of tested
13157 (pow10_test): New function.
13158 (drem_test): Likewise.
13159 (drem_test_tonearest): Likewise.
13160 (drem_test_towardzero): Likewise.
13161 (drem_test_downward): Likewise.
13162 (drem_test_upward): Likewise.
13163 (main): Call the new functions.
13165 * math/libm-test.inc (finite_test_data): Remove.
13166 (finite_test): Run tests from isfinite_test_data.
13167 (gamma_test_data): Remove.
13168 (gamma_test): Run tests from lgamma_test_data.
13169 * sysdeps/i386/fpu/libm-test-ulps: Update.
13170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13172 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13174 * manual/platform.texi: Add PowerPC PPR function set documentation.
13175 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13178 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13180 * math/libm-test.inc (MAX_EXP): Define.
13182 (ulp): New function.
13183 (check_float_internal): Use ULPDIFF.
13184 (cpow_test): Disable failing test.
13185 (check_ulp): Test ulp() implemetnation.
13186 (main): Call check_ulp before starting tests.
13188 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13190 * math/gen-libm-test.pl (generate_testfile): Do not handle
13191 START_DATA and END_DATA.
13192 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13194 (acos_tonearest_test_data): Likewise.
13195 (acos_towardzero_test_data): Likewise.
13196 (acos_downward_test_data): Likewise.
13197 (acos_upward_test_data): Likewise.
13198 (acosh_test_data): Likewise.
13199 (asin_test_data): Likewise.
13200 (asin_tonearest_test_data): Likewise.
13201 (asin_towardzero_test_data): Likewise.
13202 (asin_downward_test_data): Likewise.
13203 (asin_upward_test_data): Likewise.
13204 (asinh_test_data): Likewise.
13205 (atan_test_data): Likewise.
13206 (atanh_test_data): Likewise.
13207 (atan2_test_data): Likewise.
13208 (cabs_test_data): Likewise.
13209 (cacos_test_data): Likewise.
13210 (cacosh_test_data): Likewise.
13211 (carg_test_data): Likewise.
13212 (casin_test_data): Likewise.
13213 (casinh_test_data): Likewise.
13214 (catan_test_data): Likewise.
13215 (catanh_test_data): Likewise.
13216 (cbrt_test_data): Likewise.
13217 (ccos_test_data): Likewise.
13218 (ccosh_test_data): Likewise.
13219 (ceil_test_data): Likewise.
13220 (cexp_test_data): Likewise.
13221 (cimag_test_data): Likewise.
13222 (clog_test_data): Likewise.
13223 (clog10_test_data): Likewise.
13224 (conj_test_data): Likewise.
13225 (copysign_test_data): Likewise.
13226 (cos_test_data): Likewise.
13227 (cos_tonearest_test_data): Likewise.
13228 (cos_towardzero_test_data): Likewise.
13229 (cos_downward_test_data): Likewise.
13230 (cos_upward_test_data): Likewise.
13231 (cosh_test_data): Likewise.
13232 (cosh_tonearest_test_data): Likewise.
13233 (cosh_towardzero_test_data): Likewise.
13234 (cosh_downward_test_data): Likewise.
13235 (cosh_upward_test_data): Likewise.
13236 (cpow_test_data): Likewise.
13237 (cproj_test_data): Likewise.
13238 (creal_test_data): Likewise.
13239 (csin_test_data): Likewise.
13240 (csinh_test_data): Likewise.
13241 (csqrt_test_data): Likewise.
13242 (ctan_test_data): Likewise.
13243 (ctan_tonearest_test_data): Likewise.
13244 (ctan_towardzero_test_data): Likewise.
13245 (ctan_downward_test_data): Likewise.
13246 (ctan_upward_test_data): Likewise.
13247 (ctanh_test_data): Likewise.
13248 (ctanh_tonearest_test_data): Likewise.
13249 (ctanh_towardzero_test_data): Likewise.
13250 (ctanh_downward_test_data): Likewise.
13251 (ctanh_upward_test_data): Likewise.
13252 (erf_test_data): Likewise.
13253 (erfc_test_data): Likewise.
13254 (exp_test_data): Likewise.
13255 (exp_tonearest_test_data): Likewise.
13256 (exp_towardzero_test_data): Likewise.
13257 (exp_downward_test_data): Likewise.
13258 (exp_upward_test_data): Likewise.
13259 (exp10_test_data): Likewise.
13260 (exp2_test_data): Likewise.
13261 (expm1_test_data): Likewise.
13262 (fabs_test_data): Likewise.
13263 (fdim_test_data): Likewise.
13264 (finite_test_data): Likewise.
13265 (floor_test_data): Likewise.
13266 (fma_test_data): Likewise.
13267 (fma_towardzero_test_data): Likewise.
13268 (fma_downward_test_data): Likewise.
13269 (fma_upward_test_data): Likewise.
13270 (fmax_test_data): Likewise.
13271 (fmin_test_data): Likewise.
13272 (fmod_test_data): Likewise.
13273 (fpclassify_test_data): Likewise.
13274 (frexp_test_data): Likewise.
13275 (gamma_test_data): Likewise.
13276 (hypot_test_data): Likewise.
13277 (ilogb_test_data): Likewise.
13278 (isfinite_test_data): Likewise.
13279 (isgreater_test_data): Likewise.
13280 (isgreaterequal_test_data): Likewise.
13281 (isinf_test_data): Likewise.
13282 (isless_test_data): Likewise.
13283 (islessequal_test_data): Likewise.
13284 (islessgreater_test_data): Likewise.
13285 (isnan_test_data): Likewise.
13286 (isnormal_test_data): Likewise.
13287 (issignaling_test_data): Likewise.
13288 (isunordered_test_data): Likewise.
13289 (j0_test_data): Likewise.
13290 (j1_test_data): Likewise.
13291 (jn_test_data): Likewise.
13292 (ldexp_test_data): Likewise.
13293 (lgamma_test_data): Likewise.
13294 (lrint_test_data): Likewise.
13295 (lrint_tonearest_test_data): Likewise.
13296 (lrint_towardzero_test_data): Likewise.
13297 (lrint_downward_test_data): Likewise.
13298 (lrint_upward_test_data): Likewise.
13299 (llrint_test_data): Likewise.
13300 (llrint_tonearest_test_data): Likewise.
13301 (llrint_towardzero_test_data): Likewise.
13302 (llrint_downward_test_data): Likewise.
13303 (llrint_upward_test_data): Likewise.
13304 (log_test_data): Likewise.
13305 (log10_test_data): Likewise.
13306 (log1p_test_data): Likewise.
13307 (log2_test_data): Likewise.
13308 (logb_test_data): Likewise.
13309 (logb_downward_test_data): Likewise.
13310 (lround_test_data): Likewise.
13311 (llround_test_data): Likewise.
13312 (modf_test_data): Likewise.
13313 (nearbyint_test_data): Likewise.
13314 (nextafter_test_data): Likewise.
13315 (nexttoward_test_data): Likewise.
13316 (pow_test_data): Likewise.
13317 (pow_tonearest_test_data): Likewise.
13318 (pow_towardzero_test_data): Likewise.
13319 (pow_downward_test_data): Likewise.
13320 (pow_upward_test_data): Likewise.
13321 (remainder_test_data): Likewise.
13322 (remainder_tonearest_test_data): Likewise.
13323 (remainder_towardzero_test_data): Likewise.
13324 (remainder_downward_test_data): Likewise.
13325 (remainder_upward_test_data): Likewise.
13326 (remquo_test_data): Likewise.
13327 (rint_test_data): Likewise.
13328 (rint_tonearest_test_data): Likewise.
13329 (rint_towardzero_test_data): Likewise.
13330 (rint_downward_test_data): Likewise.
13331 (rint_upward_test_data): Likewise.
13332 (round_test_data): Likewise.
13333 (scalb_test_data): Likewise.
13334 (scalbn_test_data): Likewise.
13335 (scalbln_test_data): Likewise.
13336 (signbit_test_data): Likewise.
13337 (sin_test_data): Likewise.
13338 (sin_tonearest_test_data): Likewise.
13339 (sin_towardzero_test_data): Likewise.
13340 (sin_downward_test_data): Likewise.
13341 (sin_upward_test_data): Likewise.
13342 (sincos_test_data): Likewise.
13343 (sinh_test_data): Likewise.
13344 (sinh_tonearest_test_data): Likewise.
13345 (sinh_towardzero_test_data): Likewise.
13346 (sinh_downward_test_data): Likewise.
13347 (sinh_upward_test_data): Likewise.
13348 (sqrt_test_data): Likewise.
13349 (tan_test_data): Likewise.
13350 (tan_tonearest_test_data): Likewise.
13351 (tan_towardzero_test_data): Likewise.
13352 (tan_downward_test_data): Likewise.
13353 (tan_upward_test_data): Likewise.
13354 (tanh_test_data): Likewise.
13355 (tgamma_test_data): Likewise.
13356 (trunc_test_data): Likewise.
13357 (y0_test_data): Likewise.
13358 (y1_test_data): Likewise.
13359 (yn_test_data): Likewise.
13360 (significand_test_data): Likewise.
13362 * math/gen-libm-test.pl (@functions): Remove variable.
13363 (generate_testfile): Don't handle START and END lines.
13364 * math/libm-test.inc (START): New macro.
13366 (END_COMPLEX): Likewise.
13367 (acos_test): Use END macro without arguments.
13368 (acos_test_tonearest): Likewise.
13369 (acos_test_towardzero): Likewise.
13370 (acos_test_downward): Likewise.
13371 (acos_test_upward): Likewise.
13372 (acosh_test): Likewise.
13373 (asin_test): Likewise.
13374 (asin_test_tonearest): Likewise.
13375 (asin_test_towardzero): Likewise.
13376 (asin_test_downward): Likewise.
13377 (asin_test_upward): Likewise.
13378 (asinh_test): Likewise.
13379 (atan_test): Likewise.
13380 (atanh_test): Likewise.
13381 (atan2_test): Likewise.
13382 (cabs_test): Likewise.
13383 (cacos_test): Use END_COMPLEX macro without arguments.
13384 (cacosh_test): Likewise.
13385 (carg_test): Use END macro without arguments.
13386 (casin_test): Use END_COMPLEX macro without arguments.
13387 (casinh_test): Likewise.
13388 (catan_test): Likewise.
13389 (catanh_test): Likewise.
13390 (cbrt_test): Use END macro without arguments.
13391 (ccos_test): Use END_COMPLEX macro without arguments.
13392 (ccosh_test): Likewise.
13393 (ceil_test): Use END macro without arguments.
13394 (cexp_test): Use END_COMPLEX macro without arguments.
13395 (cimag_test): Use END macro without arguments.
13396 (clog_test): Use END_COMPLEX macro without arguments.
13397 (clog10_test): Likewise.
13398 (conj_test): Likewise.
13399 (copysign_test): Use END macro without arguments.
13400 (cos_test): Likewise.
13401 (cos_test_tonearest): Likewise.
13402 (cos_test_towardzero): Likewise.
13403 (cos_test_downward): Likewise.
13404 (cos_test_upward): Likewise.
13405 (cosh_test): Likewise.
13406 (cosh_test_tonearest): Likewise.
13407 (cosh_test_towardzero): Likewise.
13408 (cosh_test_downward): Likewise.
13409 (cosh_test_upward): Likewise.
13410 (cpow_test): Use END_COMPLEX macro without arguments.
13411 (cproj_test): Likewise.
13412 (creal_test): Use END macro without arguments.
13413 (csin_test): Use END_COMPLEX macro without arguments.
13414 (csinh_test): Likewise.
13415 (csqrt_test): Likewise.
13416 (ctan_test): Likewise.
13417 (ctan_test_tonearest): Likewise.
13418 (ctan_test_towardzero): Likewise.
13419 (ctan_test_downward): Likewise.
13420 (ctan_test_upward): Likewise.
13421 (ctanh_test): Likewise.
13422 (ctanh_test_tonearest): Likewise.
13423 (ctanh_test_towardzero): Likewise.
13424 (ctanh_test_downward): Likewise.
13425 (ctanh_test_upward): Likewise.
13426 (erf_test): Use END macro without arguments.
13427 (erfc_test): Likewise.
13428 (exp_test): Likewise.
13429 (exp_test_tonearest): Likewise.
13430 (exp_test_towardzero): Likewise.
13431 (exp_test_downward): Likewise.
13432 (exp_test_upward): Likewise.
13433 (exp10_test): Likewise.
13434 (exp2_test): Likewise.
13435 (expm1_test): Likewise.
13436 (fabs_test): Likewise.
13437 (fdim_test): Likewise.
13438 (finite_test): Likewise.
13439 (floor_test): Likewise.
13440 (fma_test): Likewise.
13441 (fma_test_towardzero): Likewise.
13442 (fma_test_downward): Likewise.
13443 (fma_test_upward): Likewise.
13444 (fmax_test): Likewise.
13445 (fmin_test): Likewise.
13446 (fmod_test): Likewise.
13447 (fpclassify_test): Likewise.
13448 (frexp_test): Likewise.
13449 (gamma_test): Likewise.
13450 (hypot_test): Likewise.
13451 (ilogb_test): Likewise.
13452 (isfinite_test): Likewise.
13453 (isgreater_test): Likewise.
13454 (isgreaterequal_test): Likewise.
13455 (isinf_test): Likewise.
13456 (isless_test): Likewise.
13457 (islessequal_test): Likewise.
13458 (islessgreater_test): Likewise.
13459 (isnan_test): Likewise.
13460 (isnormal_test): Likewise.
13461 (issignaling_test): Likewise.
13462 (isunordered_test): Likewise.
13463 (j0_test): Likewise.
13464 (j1_test): Likewise.
13465 (jn_test): Likewise.
13466 (ldexp_test): Likewise.
13467 (lgamma_test): Likewise.
13468 (lrint_test): Likewise.
13469 (lrint_test_tonearest): Likewise.
13470 (lrint_test_towardzero): Likewise.
13471 (lrint_test_downward): Likewise.
13472 (lrint_test_upward): Likewise.
13473 (llrint_test): Likewise.
13474 (llrint_test_tonearest): Likewise.
13475 (llrint_test_towardzero): Likewise.
13476 (llrint_test_downward): Likewise.
13477 (llrint_test_upward): Likewise.
13478 (log_test): Likewise.
13479 (log10_test): Likewise.
13480 (log1p_test): Likewise.
13481 (log2_test): Likewise.
13482 (logb_test): Likewise.
13483 (logb_test_downward): Likewise.
13484 (lround_test): Likewise.
13485 (llround_test): Likewise.
13486 (modf_test): Likewise.
13487 (nearbyint_test): Likewise.
13488 (nextafter_test): Likewise.
13489 (nexttoward_test): Likewise.
13490 (pow_test): Likewise.
13491 (pow_test_tonearest): Likewise.
13492 (pow_test_towardzero): Likewise.
13493 (pow_test_downward): Likewise.
13494 (pow_test_upward): Likewise.
13495 (remainder_test): Likewise.
13496 (remainder_test_tonearest): Likewise.
13497 (remainder_test_towardzero): Likewise.
13498 (remainder_test_downward): Likewise.
13499 (remainder_test_upward): Likewise.
13500 (remquo_test): Likewise.
13501 (rint_test): Likewise.
13502 (rint_test_tonearest): Likewise.
13503 (rint_test_towardzero): Likewise.
13504 (rint_test_downward): Likewise.
13505 (rint_test_upward): Likewise.
13506 (round_test): Likewise.
13507 (scalb_test): Likewise.
13508 (scalbn_test): Likewise.
13509 (scalbln_test): Likewise.
13510 (signbit_test): Likewise.
13511 (sin_test): Likewise.
13512 (sin_test_tonearest): Likewise.
13513 (sin_test_towardzero): Likewise.
13514 (sin_test_downward): Likewise.
13515 (sin_test_upward): Likewise.
13516 (sincos_test): Likewise.
13517 (sinh_test): Likewise.
13518 (sinh_test_tonearest): Likewise.
13519 (sinh_test_towardzero): Likewise.
13520 (sinh_test_downward): Likewise.
13521 (sinh_test_upward): Likewise.
13522 (sqrt_test): Likewise.
13523 (tan_test): Likewise.
13524 (tan_test_tonearest): Likewise.
13525 (tan_test_towardzero): Likewise.
13526 (tan_test_downward): Likewise.
13527 (tan_test_upward): Likewise.
13528 (tanh_test): Likewise.
13529 (tgamma_test): Likewise.
13530 (trunc_test): Likewise.
13531 (y0_test): Likewise.
13532 (y1_test): Likewise.
13533 (yn_test): Likewise.
13534 (significand_test): Likewise.
13536 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13539 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13541 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13544 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13545 __ppc_mdoio and __ppc_mdoom.
13546 * manual/platform.texi: Document new functions __ppc_yield,
13547 __ppc_mdoio and __ppc_mdoom.
13549 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13551 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13552 (main): Mention "tls" pseudo-hwcap is legacy.
13553 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13555 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13557 * math/gen-libm-test.pl (parse_args): Output only string of
13558 arguments as text for test name, not full call or descriptions of
13559 tests for extra outputs.
13560 (generate_testfile): Do not pass function name to parse_args.
13561 Generate this_func variable from START.
13562 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13564 (struct test_ff_f_data): Likewise.
13565 (test_ff_f_data_nexttoward): Likewise.
13566 (struct test_fi_f_data): Likewise.
13567 (struct test_fl_f_data): Likewise.
13568 (struct test_if_f_data): Likewise.
13569 (struct test_fff_f_data): Likewise.
13570 (struct test_c_f_data): Likewise.
13571 (struct test_f_f1_data): Likewise. Remove field extra_name.
13572 (struct test_fF_f1_data): Likewise.
13573 (struct test_ffI_f1_data): Likewise.
13574 (struct test_c_c_data): Rename test_name field to arg_str.
13575 (struct test_cc_c_data): Likewise.
13576 (struct test_f_i_data): Likewise.
13577 (struct test_ff_i_data): Likewise.
13578 (struct test_f_l_data): Likewise.
13579 (struct test_f_L_data): Likewise.
13580 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13582 (COMMON_TEST_SETUP): New macro.
13583 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13584 (COMMON_TEST_CLEANUP): Likewise.
13585 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13586 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13588 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13589 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13591 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13592 (RUN_TEST_fff_f): Take argument string. Call new setup and
13594 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13595 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13597 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13598 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13600 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13601 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13603 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13604 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13606 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13607 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13609 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13610 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13612 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13613 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13615 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13616 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13618 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13619 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13621 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13622 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13624 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13625 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13627 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13628 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13630 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13631 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13633 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13634 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13636 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13637 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13639 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13641 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13643 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13644 to _sifields.sigfault.
13645 (si_addr_lsb): Define new macro.
13646 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13647 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13648 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13650 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13653 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13655 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13657 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13658 loading the domain.
13660 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13662 * math/gen-libm-test.pl (parse_args): Do not include expected
13663 result in test name.
13664 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13666 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13667 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13668 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13671 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13673 * benchtests/Makefile: Sort function entries.
13675 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13676 tanh, asinh, acosh, atanh.
13677 * benchtests/acos-inputs: New file.
13678 * benchtests/acosh-inputs: New file.
13679 * benchtests/asin-inputs: New file.
13680 * benchtests/asinh-inputs: New file.
13681 * benchtests/atanh-inputs: New file.
13682 * benchtests/cosh-inputs: New file.
13683 * benchtests/log-inputs: New file.
13684 * benchtests/sinh-inputs: New file.
13685 * benchtests/tanh-inputs: New file.
13687 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13690 * posix/tst-getaddrinfo4.c: New test.
13691 * posix/Makefile (tests): Add it.
13693 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13696 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13697 when no services were used.
13698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13699 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13701 2013-05-21 Andreas Schwab <schwab@suse.de>
13704 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13705 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13707 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13708 redundant variable declarations and reallocation of buffer when
13709 parsing as IPv6 address. Always set NSS status when called from
13710 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13711 buffer too small. Correct computation of needed size.
13712 * nss/Makefile (tests): Add test-digits-dots.
13713 * nss/test-digits-dots.c: New test.
13715 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13717 * benchtests/Makefile: Remove instructions for adding
13719 * benchtests/README: New file to explain how to execute and
13720 enhance the benchmark tests.
13722 2013-05-21 Andreas Schwab <schwab@suse.de>
13725 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13726 * setjmp/tst-sigsetjmp.c: New test.
13728 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13730 * sysdeps/x86_64/memset.S (memset): New implementation.
13731 (__bzero): Likewise.
13732 (__memset_tail): New function.
13734 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13736 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13737 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13738 __memcpy_sse2_unaligned ifunc selection.
13739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13740 Add memcpy-sse2-unaligned.S.
13741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13742 Add: __memcpy_sse2_unaligned.
13744 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13747 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13748 math_force_eval before restoring floating-point envrionment.
13749 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13752 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13754 (__nearbyintl): Use math_force_eval before restoring
13755 floating-point environment.
13756 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13758 * math/gen-libm-test.pl (special_functions): Remove.
13759 (parse_args): Don't handle TEST_extra. Handle functions with no
13761 * math/libm-test.inc (struct test_sincos_data): Replace with
13762 struct test_fFF_11_data.
13763 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13764 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13765 (sincos_test_data): Change element type to struct
13766 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13767 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13768 RUN_TEST_LOOP_sincos.
13769 * math/README.libm-test: Don't mention special handling of
13770 individual functions.
13771 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13772 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13773 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13774 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13775 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13778 * math/gen-libm-test.pl (get_variable): Remove function.
13779 (parse_args): Don't show pointer parameters to call in test
13780 names. Use "extra output N" in test names for extra outputs
13781 rather than naming variables.
13783 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13786 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13787 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13788 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13790 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13792 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13795 * math/gen-libm-test.pl (@tests): Remove variable.
13796 ($count): Likewise.
13797 (new_test): Remove function.
13798 (show_exceptions): New function.
13799 (special_functions): Use show_exceptions instead of new_test.
13800 (parse_args): Likewise.
13801 (generate_testfile): Pass only function name in generated call to
13802 print_max_error or print_complex_max_error.
13803 (get_ulps): Do not handle complex tests specially.
13804 (output_test): Rename to ...
13805 (get_all_ulps_for_test): ... this. Return a string rather than
13806 printing to a file. Require ulps to be present.
13807 (output_ulps): Generate arrays rather than #defines.
13808 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13809 (struct ulp_data): New type.
13810 (BUILD_COMPLEX_ULP): Remove macro.
13811 (compare_ulp_data): New function.
13812 (find_ulps): Likewise.
13813 (find_test_ulps): Likewise.
13814 (find_function_ulps): Likewise.
13815 (find_complex_function_ulps): Likewise.
13816 (print_max_error): Determine allowed ulps using
13817 find_function_ulps.
13818 (print_complex_max_error): Determine allowed ulps using
13819 find_complex_function_ulps.
13820 (check_float_internal): Determine max ulps using find_test_ulps.
13821 (check_float): Do not take max_ulp parameter. Update call to
13822 check_float_internal.
13823 (check_complex): Likewise.
13824 (check_int): Do not take max_ulp parameter.
13825 (check_long): Likewise.
13826 (check_bool): Likewise.
13827 (check_longlong): Likewise.
13828 (struct test_f_f_data): Remove max_ulp field.
13829 (struct test_ff_f_data): Likewise.
13830 (struct test_ff_f_data_nexttoward): Likewise.
13831 (struct test_fi_f_data): Likewise.
13832 (struct test_fl_f_data): Likewise.
13833 (struct test_if_f_data): Likewise.
13834 (struct test_fff_f_data): Likewise.
13835 (struct test_c_f_data): Likewise.
13836 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13837 (struct test_fF_f1_data): Likewise.
13838 (struct test_ffI_f1_data): Likewise.
13839 (struct test_c_c_data): Remove max_ulp field.
13840 (struct test_cc_c_data): Likewise.
13841 (struct test_f_i_data): Likewise.
13842 (struct test_ff_i_data): Likewise.
13843 (struct test_f_l_data): Likewise.
13844 (struct test_f_L_data): Likewise.
13845 (struct test_sincos_data): Likewise.
13846 (RUN_TEST_f_f): Do not handle ulps.
13847 (RUN_TEST_LOOP_f_f): Likewise.
13848 (RUN_TEST_2_f): Likewise.
13849 (RUN_TEST_LOOP_2_f): Likewise.
13850 (RUN_TEST_fff_f): Likewise.
13851 (RUN_TEST_LOOP_fff_f): Likewise.
13852 (RUN_TEST_c_f): Likewise.
13853 (RUN_TEST_LOOP_c_f): Likewise.
13854 (RUN_TEST_f_f1): Likewise.
13855 (RUN_TEST_LOOP_f_f1): Likewise.
13856 (RUN_TEST_fF_f1): Likewise.
13857 (RUN_TEST_LOOP_fF_f1): Likewise.
13858 (RUN_TEST_fI_f1): Likewise.
13859 (RUN_TEST_LOOP_fI_f1): Likewise.
13860 (RUN_TEST_ffI_f1): Likewise.
13861 (RUN_TEST_LOOP_ffI_f1): Likewise.
13862 (RUN_TEST_c_c): Likewise.
13863 (RUN_TEST_LOOP_c_c): Likewise.
13864 (RUN_TEST_cc_c): Likewise.
13865 (RUN_TEST_LOOP_cc_c): Likewise.
13866 (RUN_TEST_f_i): Likewise.
13867 (RUN_TEST_LOOP_f_i): Likewise.
13868 (RUN_TEST_f_i_tg): Likewise.
13869 (RUN_TEST_LOOP_f_i_tg): Likewise.
13870 (RUN_TEST_ff_i_tg): Likewise.
13871 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13872 (RUN_TEST_f_b): Likewise.
13873 (RUN_TEST_LOOP_f_b): Likewise.
13874 (RUN_TEST_f_b_tg): Likewise.
13875 (RUN_TEST_LOOP_f_b_tg): Likewise.
13876 (RUN_TEST_f_l): Likewise.
13877 (RUN_TEST_LOOP_f_l): Likewise.
13878 (RUN_TEST_f_L): Likewise.
13879 (RUN_TEST_LOOP_f_L): Likewise.
13880 (RUN_TEST_sincos): Likewise.
13881 (RUN_TEST_LOOP_sincos): Likewise.
13883 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13887 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13888 main case of finite arguments, set rounding mode to FE_TONEAREST
13889 and discard exceptions.
13890 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13892 (remainder_tonearest_test_data): New variable.
13893 (remainder_test_tonearest): New function.
13894 (remainder_towardzero_test_data): New variable.
13895 (remainder_test_towardzero): New function.
13896 (remainder_downward_test_data): New variable.
13897 (remainder_test_downward): New function.
13898 (remainder_upward_test_data): New variable.
13899 (remainder_test_upward): New function.
13900 (main): Call the new test functions.
13902 * math/libm-test.inc (struct test_f_f1_data): Remove field
13904 (struct test_fF_f1_data): Likewise.
13905 (struct test_ffI_f1_data): Likewise.
13906 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13907 based on value of EXTRA_EXPECTED.
13908 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13909 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13910 EXTRA_VAR based on value of EXTRA_EXPECTED.
13911 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13912 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13913 EXTRA_VAR based on value of EXTRA_EXPECTED.
13914 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13915 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13916 EXTRA_VAR based on value of EXTRA_EXPECTED.
13917 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13918 * math/gen-libm-test.pl (parse_args): Don't output initializers
13919 for extra output values.
13921 * math/libm-test.inc (check_int): Expect result to be exactly
13922 equal to expected value and do not handle ulps.
13923 (check_long): Likewise.
13924 (check_longlong): Likewise.
13926 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13928 (cimag_test_data): Likewise.
13929 (conj_test_data): Likewise.
13930 (copysign_test_data): Likewise.
13931 (cproj_test_data): Likewise.
13932 (creal_test_data): Likewise.
13933 (fabs_test_data): Likewise.
13934 (fdim_test_data): Likewise.
13935 (finite_test_data): Likewise.
13936 (floor_test_data): Likewise.
13937 (fmax_test_data): Likewise.
13938 (fmin_test_data): Likewise.
13939 (fmod_test_data): Likewise.
13940 (fpclassify_test_data): Likewise.
13941 (frexp_test_data): Likewise.
13942 (ilogb_test_data): Likewise.
13943 (isfinite_test_data): Likewise.
13944 (isgreater_test_data): Likewise.
13945 (isgreaterequal_test_data): Likewise.
13946 (isinf_test_data): Likewise.
13947 (isless_test_data): Likewise.
13948 (islessequal_test_data): Likewise.
13949 (islessgreater_test_data): Likewise.
13950 (isnan_test_data): Likewise.
13951 (isnormal_test_data): Likewise.
13952 (issignaling_test_data): Likewise.
13953 (isunordered_test_data): Likewise.
13954 (ldexp_test_data): Likewise.
13955 (lrint_test_data): Likewise.
13956 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13957 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13958 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13959 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13960 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13961 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13963 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13964 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13965 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13966 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13968 (lrint_downward_test_data): Test for "inexact" exceptions.
13969 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13970 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13971 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13973 (lrint_upward_test_data): Test for "inexact" exceptions.
13974 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13976 (llrint_test_data): Test for "inexact" exceptions.
13977 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13978 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13979 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13980 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13981 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13982 (llrint_downward_test_data): Test for "inexact" exceptions.
13983 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13984 (llrint_upward_test_data): Test for "inexact" exceptions.
13985 (logb_test_data): Likewise.
13986 (logb_downward_test_data): Likewise.
13987 (nextafter_test_data): Likewise.
13988 (nexttoward_test_data): Likewise.
13989 (remainder_test_data): Likewise.
13990 (remquo_test_data): Likewise.
13991 (scalbn_test_data): Likewise.
13992 (scalbln_test_data): Likewise.
13993 (signbit_test_data): Likewise.
13994 (sqrt_test_data): Likewise.
13995 (significand_test_data): Likewise.
13997 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14000 * benchtests/bench-modf.c (struct args): Mark arg0 as
14002 * scripts/bench.pl: Mark members of struct args as volatile.
14004 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14007 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14008 negative infinity on POWER6 or lower.
14009 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14011 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14014 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14015 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14016 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14017 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14018 (_FP_SETQNAN): New macro.
14019 (_FP_SETQNAN_SEMIRAW): Likewise.
14020 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14021 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14022 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14023 (FP_EXTEND): Use _FP_FRAC_SNANP.
14024 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14025 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14027 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14029 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14032 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14034 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14035 with DIVIDE_BY_ZERO_EXCEPTION.
14036 (gamma_test_data): Likewise.
14037 (lgamma_test_data): Likewise.
14038 (log_test_data): Likewise.
14039 (log10_test_data): Likewise.
14040 (log2_test_data): Likewise.
14041 (tgamma_test_data): Likewise.
14043 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14044 (acos_test_tonearest): Likewise.
14045 (acos_test_towardzero): Likewise.
14046 (acos_test_downward): Likewise.
14047 (acos_test_upward): Likewise.
14048 (acosh_test): Likewise.
14049 (asin_test): Likewise.
14050 (asin_test_tonearest): Likewise.
14051 (asin_test_towardzero): Likewise.
14052 (asin_test_downward): Likewise.
14053 (asin_test_upward): Likewise.
14054 (asinh_test): Likewise.
14055 (atan_test): Likewise.
14056 (atanh_test): Likewise.
14057 (atan2_test): Likewise.
14058 (cabs_test): Likewise.
14059 (cacos_test): Likewise.
14060 (cacosh_test): Likewise.
14061 (casin_test): Likewise.
14062 (casinh_test): Likewise.
14063 (catan_test): Likewise.
14064 (catanh_test): Likewise.
14065 (cbrt_test): Likewise.
14066 (ccos_test): Likewise.
14067 (ccosh_test): Likewise.
14068 (cexp_test): Likewise.
14069 (clog_test): Likewise.
14070 (clog10_test): Likewise.
14071 (cos_test): Likewise.
14072 (cos_test_tonearest): Likewise.
14073 (cos_test_towardzero): Likewise.
14074 (cos_test_downward): Likewise.
14075 (cos_test_upward): Likewise.
14076 (cosh_test): Likewise.
14077 (cosh_test_tonearest): Likewise.
14078 (cosh_test_towardzero): Likewise.
14079 (cosh_test_downward): Likewise.
14080 (cosh_test_upward): Likewise.
14081 (cpow_test): Likewise.
14082 (csin_test): Likewise.
14083 (csinh_test): Likewise.
14084 (csqrt_test): Likewise.
14085 (ctan_test): Likewise.
14086 (ctan_test_tonearest): Likewise.
14087 (ctan_test_towardzero): Likewise.
14088 (ctan_test_downward): Likewise.
14089 (ctan_test_upward): Likewise.
14090 (ctanh_test): Likewise.
14091 (ctanh_test_tonearest): Likewise.
14092 (ctanh_test_towardzero): Likewise.
14093 (ctanh_test_downward): Likewise.
14094 (ctanh_test_upward): Likewise.
14095 (erf_test): Likewise.
14096 (erfc_test): Likewise.
14097 (exp_test): Likewise.
14098 (exp_test_tonearest): Likewise.
14099 (exp_test_towardzero): Likewise.
14100 (exp_test_downward): Likewise.
14101 (exp_test_upward): Likewise.
14102 (exp10_test): Likewise.
14103 (exp2_test): Likewise.
14104 (expm1_test): Likewise.
14105 (fmod_test): Likewise.
14106 (gamma_test): Likewise.
14107 (hypot_test): Likewise.
14108 (j0_test): Likewise.
14109 (j1_test): Likewise.
14110 (jn_test): Likewise.
14111 (lgamma_test): Likewise.
14112 (log_test): Likewise.
14113 (log10_test): Likewise.
14114 (log1p_test): Likewise.
14115 (log2_test): Likewise.
14116 (logb_test_downward): Likewise.
14117 (pow_test): Likewise.
14118 (pow_test_tonearest): Likewise.
14119 (pow_test_towardzero): Likewise.
14120 (pow_test_downward): Likewise.
14121 (pow_test_upward): Likewise.
14122 (remainder_test): Likewise.
14123 (remquo_test): Likewise.
14124 (sin_test): Likewise.
14125 (sin_test_tonearest): Likewise.
14126 (sin_test_towardzero): Likewise.
14127 (sin_test_downward): Likewise.
14128 (sin_test_upward): Likewise.
14129 (sincos_test): Likewise.
14130 (sinh_test): Likewise.
14131 (sinh_test_tonearest): Likewise.
14132 (sinh_test_towardzero): Likewise.
14133 (sinh_test_downward): Likewise.
14134 (sinh_test_upward): Likewise.
14135 (sqrt_test): Likewise.
14136 (tan_test): Likewise.
14137 (tan_test_tonearest): Likewise.
14138 (tan_test_towardzero): Likewise.
14139 (tan_test_downward): Likewise.
14140 (tan_test_upward): Likewise.
14141 (tanh_test): Likewise.
14142 (tgamma_test): Likewise.
14143 (y0_test): Likewise.
14144 (y1_test): Likewise.
14145 (yn_test): Likewise.
14147 * math/gen-libm-test.pl (adjust_arg): Remove function.
14148 (special_function): Remove argument $in_func. Only handle
14149 generating output for tables of tests, not inside functions.
14150 (parse_args): Likewise.
14151 (generate_testfile): Remove variable $in_func. Update call to
14153 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14154 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14155 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14156 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14157 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14158 (MAX_VALUE_INIT): Rename macro to max_value.
14159 (MIN_VALUE_INIT): Rename macro to min_value.
14160 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14161 (plus_zero): Remove variable.
14162 (minus_zero): Likewise.
14163 (plus_infty): Likewise.
14164 (minus_infty): Likewise.
14165 (qnan_value): Likewise.
14166 (max_value): Likewise.
14167 (min_value): Likewise.
14168 (min_subnorm_value): Likewise.
14170 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14172 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14173 uint64_t or uint32_t usage.
14174 * crypt/sha256-block.c: Likewise.
14175 * crypt/sha256-crypt.c: Likewise.
14176 * crypt/sha256.c: Likewise.
14177 * crypt/sha512-block.c: Likewise.
14178 * crypt/sha512-crypt.c: Likewise.
14179 * crypt/sha512.c: Likewise.
14180 * debug/backtrace-tst.c: Likewise.
14181 * debug/pcprofiledump.c: Likewise.
14182 * elf/cache.c: Likewise.
14183 * elf/dl-cache.c: Likewise.
14184 * elf/dl-misc.c: Likewise.
14185 * elf/dl-profile.c: Likewise.
14186 * elf/dl-support.c: Likewise.
14187 * elf/ldconfig.c: Likewise.
14188 * elf/sprof.c: Likewise.
14189 * iconv/dummy-repertoire.c: Likewise.
14190 * iconv/iconv_charmap.c: Likewise.
14191 * iconv/skeleton.c: Likewise.
14192 * iconvdata/8bit-generic.c: Likewise.
14193 * iconvdata/cp737.h: Likewise.
14194 * iconvdata/cp775.h: Likewise.
14195 * iconvdata/ibm1008.h: Likewise.
14196 * iconvdata/ibm1025.h: Likewise.
14197 * iconvdata/ibm1046.h: Likewise.
14198 * iconvdata/ibm1097.h: Likewise.
14199 * iconvdata/ibm1112.h: Likewise.
14200 * iconvdata/ibm1122.h: Likewise.
14201 * iconvdata/ibm1123.h: Likewise.
14202 * iconvdata/ibm1124.h: Likewise.
14203 * iconvdata/ibm1129.h: Likewise.
14204 * iconvdata/ibm1130.h: Likewise.
14205 * iconvdata/ibm1132.h: Likewise.
14206 * iconvdata/ibm1133.h: Likewise.
14207 * iconvdata/ibm1137.h: Likewise.
14208 * iconvdata/ibm1140.h: Likewise.
14209 * iconvdata/ibm1141.h: Likewise.
14210 * iconvdata/ibm1142.h: Likewise.
14211 * iconvdata/ibm1143.h: Likewise.
14212 * iconvdata/ibm1144.h: Likewise.
14213 * iconvdata/ibm1145.h: Likewise.
14214 * iconvdata/ibm1146.h: Likewise.
14215 * iconvdata/ibm1147.h: Likewise.
14216 * iconvdata/ibm1148.h: Likewise.
14217 * iconvdata/ibm1149.h: Likewise.
14218 * iconvdata/ibm1153.h: Likewise.
14219 * iconvdata/ibm1154.h: Likewise.
14220 * iconvdata/ibm1155.h: Likewise.
14221 * iconvdata/ibm1156.h: Likewise.
14222 * iconvdata/ibm1157.h: Likewise.
14223 * iconvdata/ibm1158.h: Likewise.
14224 * iconvdata/ibm1160.h: Likewise.
14225 * iconvdata/ibm1161.h: Likewise.
14226 * iconvdata/ibm1162.h: Likewise.
14227 * iconvdata/ibm1163.h: Likewise.
14228 * iconvdata/ibm1164.h: Likewise.
14229 * iconvdata/ibm1166.h: Likewise.
14230 * iconvdata/ibm1167.h: Likewise.
14231 * iconvdata/ibm12712.h: Likewise.
14232 * iconvdata/ibm1390.h: Likewise.
14233 * iconvdata/ibm1399.h: Likewise.
14234 * iconvdata/ibm16804.h: Likewise.
14235 * iconvdata/ibm4517.h: Likewise.
14236 * iconvdata/ibm4899.h: Likewise.
14237 * iconvdata/ibm4909.h: Likewise.
14238 * iconvdata/ibm4971.h: Likewise.
14239 * iconvdata/ibm5347.h: Likewise.
14240 * iconvdata/ibm803.h: Likewise.
14241 * iconvdata/ibm856.h: Likewise.
14242 * iconvdata/ibm901.h: Likewise.
14243 * iconvdata/ibm902.h: Likewise.
14244 * iconvdata/ibm9030.h: Likewise.
14245 * iconvdata/ibm9066.h: Likewise.
14246 * iconvdata/ibm921.h: Likewise.
14247 * iconvdata/ibm922.h: Likewise.
14248 * iconvdata/ibm9448.h: Likewise.
14249 * iconvdata/isiri-3342.h: Likewise.
14250 * iconvdata/jis0201.h: Likewise.
14251 * include/link.h: Likewise.
14252 * include/netdb.h: Likewise.
14253 * inet/check_native.c: Likewise.
14254 * inet/check_pf.c: Likewise.
14255 * inet/getipv4sourcefilter.c: Likewise.
14256 * inet/getnameinfo.c: Likewise.
14257 * inet/getsourcefilter.c: Likewise.
14258 * inet/htonl.c: Likewise.
14259 * inet/setipv4sourcefilter.c: Likewise.
14260 * inet/setsourcefilter.c: Likewise.
14261 * inet/test-inet6_opt.c: Likewise.
14262 * inet/tst-network.c: Likewise.
14263 * locale/C-collate.c: Likewise.
14264 * locale/C-ctype.c: Likewise.
14265 * locale/C-time.c: Likewise.
14266 * locale/C-translit.h: Likewise.
14267 * locale/loadarchive.c: Likewise.
14268 * locale/programs/3level.h: Likewise.
14269 * locale/programs/charmap.c: Likewise.
14270 * locale/programs/charmap.h: Likewise.
14271 * locale/programs/ld-address.c: Likewise.
14272 * locale/programs/ld-collate.c: Likewise.
14273 * locale/programs/ld-ctype.c: Likewise.
14274 * locale/programs/ld-identification.c: Likewise.
14275 * locale/programs/ld-measurement.c: Likewise.
14276 * locale/programs/ld-messages.c: Likewise.
14277 * locale/programs/ld-monetary.c: Likewise.
14278 * locale/programs/ld-name.c: Likewise.
14279 * locale/programs/ld-numeric.c: Likewise.
14280 * locale/programs/ld-paper.c: Likewise.
14281 * locale/programs/ld-telephone.c: Likewise.
14282 * locale/programs/ld-time.c: Likewise.
14283 * locale/programs/linereader.c: Likewise.
14284 * locale/programs/locale.c: Likewise.
14285 * locale/programs/locarchive.c: Likewise.
14286 * locale/programs/locfile.h: Likewise.
14287 * locale/programs/repertoire.c: Likewise.
14288 * locale/programs/simple-hash.c: Likewise.
14289 * locale/programs/simple-hash.h: Likewise.
14290 * malloc/memusage.c: Likewise.
14291 * malloc/memusagestat.c: Likewise.
14292 * nis/nis_defaults.c: Likewise.
14293 * nis/nis_hash.c: Likewise.
14294 * nis/nis_print.c: Likewise.
14295 * nis/nis_xdr.c: Likewise.
14296 * nscd/connections.c: Likewise.
14297 * nscd/hstcache.c: Likewise.
14298 * nscd/nscd_gethst_r.c: Likewise.
14299 * nscd/nscd_getserv_r.c: Likewise.
14300 * nscd/nscd_helper.c: Likewise.
14301 * nscd/servicescache.c: Likewise.
14302 * nss/makedb.c: Likewise.
14303 * nss/nss_db/db-XXX.c: Likewise.
14304 * nss/nss_db/db-initgroups.c: Likewise.
14305 * nss/nss_db/db-netgrp.c: Likewise.
14306 * nss/nss_files/files-network.c: Likewise.
14307 * nss/nss_files/files-parse.c: Likewise.
14308 * posix/bug-regex5.c: Likewise.
14309 * posix/fnmatch_loop.c: Likewise.
14310 * posix/regcomp.c: Likewise.
14311 * posix/regexec.c: Likewise.
14312 * posix/tst-rfc3484-2.c: Likewise.
14313 * posix/tst-rfc3484-3.c: Likewise.
14314 * posix/tst-rfc3484.c: Likewise.
14315 * resolv/nss_dns/dns-canon.c: Likewise.
14316 * resolv/nss_dns/dns-network.c: Likewise.
14317 * resolv/res_init.c: Likewise.
14318 * resolv/res_mkquery.c: Likewise.
14319 * resolv/tst-aton.c: Likewise.
14320 * stdlib/cxa_atexit.c: Likewise.
14321 * stdlib/cxa_finalize.c: Likewise.
14322 * stdlib/gen-fpioconst.c: Likewise.
14323 * stdlib/strtol_l.c: Likewise.
14324 * string/tst-endian.c: Likewise.
14325 * sunrpc/auth_des.c: Likewise.
14326 * sunrpc/clnt_udp.c: Likewise.
14327 * sunrpc/rtime.c: Likewise.
14328 * sunrpc/svcauth_des.c: Likewise.
14329 * sunrpc/xdr.c: Likewise.
14330 * sunrpc/xdr_intXX_t.c: Likewise.
14331 * sunrpc/xdr_rec.c: Likewise.
14332 * sysdeps/generic/ldconfig.h: Likewise.
14333 * sysdeps/generic/ldsodefs.h: Likewise.
14334 * sysdeps/generic/memusage.h: Likewise.
14335 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14338 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14345 * sysdeps/posix/getaddrinfo.c: Likewise.
14346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14348 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14349 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14350 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14351 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14352 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14353 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14354 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14355 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14356 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14357 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14358 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14359 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14360 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14361 * sysdeps/x86_64/dl-tls.h: Likewise.
14362 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14363 * time/alt_digit.c: Likewise.
14364 * time/era.c: Likewise.
14365 * wcsmbs/tst-c16c32-1.c: Likewise.
14367 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14369 * math/libm-test.inc (struct test_sincos_data): New type.
14370 (RUN_TEST_LOOP_sincos): New macro.
14371 (sincos_test_data): New variable.
14372 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14374 2013-05-16 Richard Henderson <rth@redhat.com>
14376 * math/atest-exp2.c (LIMB64): New macro.
14377 (CONSTSZ): New macro.
14378 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14380 (print_mpn_fp): ... to function scope.
14381 (read_mpn_hex): Remove.
14382 (get_log2): Remove.
14383 (exp2_mpn): Use mp_log2.
14384 (main): Use mp_exp1.
14386 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14388 * math/libm-test.inc: Remove comment about not testing "inexact"
14390 (INEXACT_EXCEPTION): New macro.
14391 (NO_INEXACT_EXCEPTION): Likewise.
14392 (INVALID_EXCEPTION_OK): Update value.
14393 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14394 (OVERFLOW_EXCEPTION_OK): Likewise.
14395 (UNDERFLOW_EXCEPTION_OK): Likewise.
14396 (IGNORE_ZERO_INF_SIGN): Likewise.
14397 (ERRNO_UNCHANGED): Likewise.
14398 (ERRNO_EDOM): Likewise.
14399 (ERRNO_ERANGE): Likewise.
14400 (test_exceptions): Handle testing "inexact" exceptions.
14401 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14402 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14403 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14404 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14406 (rint_towardzero_test_data): Likewise.
14407 (rint_downward_test_data): Likewise.
14408 (rint_upward_test_data): Likewise.
14410 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14411 with OVERFLOW_EXCEPTION.
14412 (exp10_test_data): Likewise.
14413 (exp2_test_data): Likewise.
14414 (expm1_test_data): Likewise.
14415 (lgamma_test_data): Likewise.
14416 (pow_test_data): Likewise.
14417 (tgamma_test_data): Likewise.
14418 (yn_test_data): Remove duplicate test of overflow.
14420 * math/libm-test.inc (struct test_cc_c_data): New type.
14421 (RUN_TEST_LOOP_cc_c): New macro.
14422 (cpow_test_data): New variable.
14423 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14425 * math/libm-test.inc (struct test_f_L_data): New type.
14426 (RUN_TEST_LOOP_f_L): New macro.
14427 (llrint_test_data): New variable.
14428 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14429 (llrint_tonearest_test_data): New variable.
14430 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14431 (llrint_towardzero_test_data): New variable.
14432 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14433 (llrint_downward_test_data): New variable.
14434 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14435 (llrint_upward_test_data): New variable.
14436 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14437 (llround_test_data): New variable.
14438 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14440 2013-05-13 Peter Collingbourne <pcc@google.com>
14442 * math/atest-exp2.c (get_log2): Remove const attribute.
14444 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14446 * math/libm-test.inc (struct test_f_l_data): New type.
14447 (RUN_TEST_LOOP_f_l): New macro.
14448 (lrint_test_data): New variable.
14449 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14450 (lrint_tonearest_test_data): New variable.
14451 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14452 (lrint_towardzero_test_data): New variable.
14453 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14454 (lrint_downward_test_data): New variable.
14455 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14456 (lrint_upward_test_data): New variable.
14457 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14458 (lround_test_data): New variable.
14459 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14461 2013-05-15 Peter Collingbourne <pcc@google.com>
14463 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14464 (EXTRACT_WORDS64) Use where appropriate.
14465 (INSERT_WORDS64) Likewise.
14467 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14468 constraints with x constraints.
14469 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14471 * malloc/obstack.c (_obstack_compat): Add initializer.
14473 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14476 si_trapno and add si_addr_lsb to _sifields.sigfault.
14477 (si_trapno): Remove macro.
14478 (si_addr_lsb): Define new macro.
14479 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14481 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14483 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14484 instead of TEST_f_l.
14485 (llrint_test_tonearest): Likewise.
14486 (llrint_test_towardzero): Likewise.
14487 (llrint_test_downward): Likewise.
14488 (llrint_test_upward): Likewise.
14489 (llround_test): Likewise.
14491 * math/libm-test.inc (struct test_f_i_data): Add comment.
14492 (RUN_TEST_LOOP_f_b): New macro.
14493 (RUN_TEST_LOOP_f_b_tg): Likewise.
14494 (finite_test_data): New variable.
14495 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14496 (isfinite_test_data): New variable.
14497 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14498 (isinf_test_data): New variable.
14499 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14500 (isnan_test_data): New variable.
14501 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14502 (isnormal_test_data): New variable.
14503 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14504 (issignaling_test_data): New variable.
14505 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14506 (signbit_test_data): New variable.
14507 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14509 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14510 with INVALID_EXCEPTION.
14511 (acosh_test_data): Likewise.
14512 (asin_test_data): Likewise.
14513 (atanh_test_data): Likewise.
14514 (fmod_test_data): Likewise.
14515 (log_test_data): Likewise.
14516 (log10_test_data): Likewise.
14517 (log2_test_data): Likewise.
14518 (pow_test_data): Likewise.
14519 (sqrt_test_data): Likewise.
14520 (y0_test_data): Likewise.
14521 (y1_test_data): Likewise.
14522 (yn_test_data): Likewise.
14524 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14527 * math/libm-test.inc (struct test_ff_i_data): New type.
14528 (RUN_TEST_LOOP_ff_i_tg): New macro.
14529 (isgreater_test_data): New variable.
14530 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14531 (isgreaterequal_test_data): New variable.
14532 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14533 (isless_test_data): New variable.
14534 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14535 (islessequal_test_data): New variable.
14536 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14537 (islessgreater_test_data): New variable.
14538 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14539 (isunordered_test_data): New variable.
14540 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14542 2013-05-14 David S. Miller <davem@davemloft.net>
14544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14546 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14548 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14550 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14552 (struct test_f_i_data): Change type of max_ulp to int.
14554 * math/libm-test.inc (test_ffI_f1_data): New type.
14555 (RUN_TEST_LOOP_ffI_f1): New macro.
14556 (remquo_test_data): New variable.
14557 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14559 * setjmp/tst-setjmp-fp.c: New file.
14560 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14561 (link-libm): New variable.
14562 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14564 * math/libm-test.inc (struct test_f_i_data): New type.
14565 (RUN_TEST_LOOP_f_i): New macro.
14566 (RUN_TEST_LOOP_f_i_tg): Likewise.
14567 (fpclassify_test_data): New variable.
14568 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14569 (ilogb_test_data): New variable.
14570 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14572 * math/libm-test.inc (scalbln_test): Correct function name in END
14575 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14576 (RUN_TEST_LOOP_fI_f1): New macro.
14577 (frexp_test_data): New variable.
14578 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14580 * math/libm-test.inc (struct test_fF_f1_data): New type.
14581 (RUN_TEST_LOOP_fF_f1): New macro.
14582 (modf_test_data): New variable.
14583 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14585 * math/libm-test.inc (struct test_f_f1_data): New type.
14586 (RUN_TEST_LOOP_f_f1): New macro.
14587 (gamma_test_data): New variable.
14588 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14589 (lgamma_test_data): New variable.
14590 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14592 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14594 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14595 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14596 (main): Comment "tls" pseudo-hwcap.
14598 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14600 * math/libm-test.inc (struct test_fl_f_data): New type.
14601 (RUN_TEST_LOOP_fl_f): New variable.
14602 (scalbln_test_data): New variable.
14603 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14605 * math/libm-test.inc (struct test_fi_f_data): New type.
14606 (RUN_TEST_LOOP_fi_f): New macro.
14607 (ldexp_test_data): New variable.
14608 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14609 (scalbn_test_data): New variable.
14610 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14612 * math/libm-test.inc (struct test_c_f_data): New type.
14613 (RUN_TEST_LOOP_c_f): New macro.
14614 (cabs_test_data): New variable.
14615 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14616 (carg_test_data): New variable.
14617 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14618 (cimag_test_data): New variable.
14619 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14620 (creal_test_data): New variable.
14621 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14623 * math/libm-test.inc (struct test_if_f_data): New type.
14624 (RUN_TEST_LOOP_if_f): New macro.
14625 (jn_test_data): New variable.
14626 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14627 (yn_test_data): New variable.
14628 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14630 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14632 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14635 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14637 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14639 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14640 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14641 (bench-deps): Add bench-timing.h.
14642 * benchtests-bench-skeleton.c: Include bench-timing.h.
14643 (main): Use TIMING_* macros instead of clock_gettime.
14644 * benchtests/bench-timing.h: New file.
14647 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14648 Renamed from _LIB_VERSION.
14649 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14651 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14653 * math/libm-test.inc (struct test_fff_f_data): New type.
14654 (RUN_TEST_LOOP_fff_f): New macro.
14655 (fma_test_data): New variable.
14656 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14657 (fma_towardzero_test_data): New variable.
14658 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14659 (fma_downward_test_data): New variable.
14660 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14661 (fma_upward_test_data): New variable.
14662 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14664 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14665 (struct test_c_c_data): New type.
14666 (RUN_TEST_LOOP_c_c): New macro.
14667 (cacos_test_data): New variable.
14668 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14669 (cacosh_test_data): New variable.
14670 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14671 (casin_test_data): New variable.
14672 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14673 (casinh_test_data): New variable.
14674 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14675 (catan_test_data): New variable.
14676 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14677 (catanh_test_data): New variable.
14678 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14679 (ccos_test_data): New variable.
14680 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14681 (ccosh_test_data): New variable.
14682 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14683 (cexp_test_data): New variable.
14684 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14685 (clog_test_data): New variable.
14686 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14687 (clog10_test_data): New variable.
14688 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14689 (conj_test_data): New variable.
14690 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14691 (cproj_test_data): New variable.
14692 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14693 (csin_test_data): New variable.
14694 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14695 (csinh_test_data): New variable.
14696 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14697 (csqrt_test_data): New variable.
14698 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14699 (ctan_test_data): New variable.
14700 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14701 (ctan_tonearest_test_data): New variable.
14702 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14703 (ctan_towardzero_test_data): New variable.
14704 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14705 (ctan_downward_test_data): New variable.
14706 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14707 (ctan_upward_test_data): New variable.
14708 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14709 (ctanh_test_data): New variable.
14710 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14711 (ctanh_tonearest_test_data): New variable.
14712 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14713 (ctanh_towardzero_test_data): New variable.
14714 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14715 (ctanh_downward_test_data): New variable.
14716 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14717 (ctanh_upward_test_data): New variable.
14718 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14719 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14722 * math/libm-test.inc (struct test_ff_f_data): New type.
14723 (struct test_ff_f_data_nexttoward): Likewise.
14724 (RUN_TEST_LOOP_2_f): New macro.
14725 (RUN_TEST_LOOP_ff_f): Likewise.
14726 (atan2_test_data): New variable.
14727 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14728 (copysign_test_data): New variable.
14729 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14730 (fdim_test_data): New variable.
14731 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14732 (fmax_test_data): New variable.
14733 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14734 (fmin_test_data): New variable.
14735 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14736 (fmod_test_data): New variable.
14737 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14738 (hypot_test_data): New variable.
14739 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14740 (nextafter_test_data): New variable.
14741 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14742 (nexttoward_test_data): New variable.
14743 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14744 (pow_test_data): New variable.
14745 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14746 (pow_tonearest_test_data): New variable.
14747 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14748 (pow_towardzero_test_data): New variable.
14749 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14750 (pow_downward_test_data): New variable.
14751 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14752 (pow_upward_test_data): New variable.
14753 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14754 (remainder_test_data): New variable.
14755 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14756 (scalb_test_data): New variable.
14757 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14758 * sysdeps/i386/fpu/libm-test-ulps: Update.
14760 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14762 * math/libm-test.inc (fma_test): Use max_value instead of local
14764 (nextafter_test): Likewise.
14766 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14767 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14768 (acos_downward_test_data): New variable.
14769 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14770 (acos_upward_test_data): New variable.
14771 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14772 (acosh_test_data): New variable.
14773 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14774 (asin_test_data): New variable.
14775 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14776 (asin_tonearest_test_data): New variable.
14777 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14778 (asin_towardzero_test_data): New variable.
14779 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14780 (asin_downward_test_data): New variable.
14781 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14782 (asin_upward_test_data): New variable.
14783 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14784 (asinh_test_data): New variable.
14785 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14786 (atan_test_data): New variable.
14787 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14788 (atanh_test_data): New variable.
14789 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14790 (cbrt_test_data): New variable.
14791 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14792 (ceil_test_data): New variable.
14793 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14794 (cos_test_data): New variable.
14795 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14796 (cos_tonearest_test_data): New variable.
14797 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14798 (cos_towardzero_test_data): New variable.
14799 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14800 (cos_downward_test_data): New variable.
14801 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14802 (cos_upward_test_data): New variable.
14803 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14804 (cosh_test_data): New variable.
14805 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14806 (cosh_tonearest_test_data): New variable.
14807 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14808 (cosh_towardzero_test_data): New variable.
14809 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14810 (cosh_downward_test_data): New variable.
14811 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14812 (cosh_upward_test_data): New variable.
14813 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14814 (erf_test_data): New variable.
14815 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14816 (erfc_test_data): New variable.
14817 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14818 (exp_test_data): New variable.
14819 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14820 (exp_tonearest_test_data): New variable.
14821 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14822 (exp_towardzero_test_data): New variable.
14823 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14824 (exp_downward_test_data): New variable.
14825 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14826 (exp_upward_test_data): New variable.
14827 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14828 (exp10_test_data): New variable.
14829 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14830 (exp2_test_data): New variable.
14831 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14832 (expm1_test_data): New variable.
14833 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14834 (fabs_test_data): New variable.
14835 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14836 (floor_test_data): New variable.
14837 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14838 (j0_test_data): New variable.
14839 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14840 (j1_test_data): New variable.
14841 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14842 (log_test_data): New variable.
14843 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14844 (log10_test_data): New variable.
14845 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14846 (log1p_test_data): New variable.
14847 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14848 (log2_test_data): New variable.
14849 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14850 (logb_test_data): New variable.
14851 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14852 (logb_downward_test_data): New variable.
14853 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14854 (nearbyint_test_data): New variable.
14855 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14856 (rint_test_data): New variable.
14857 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14858 (rint_tonearest_test_data): New variable.
14859 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14860 (rint_towardzero_test_data): New variable.
14861 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14862 (rint_downward_test_data): New variable.
14863 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14864 (rint_upward_test_data): New variable.
14865 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14866 (round_test_data): New variable.
14867 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14868 (sin_test_data): New variable.
14869 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14870 (sin_tonearest_test_data): New variable.
14871 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14872 (sin_towardzero_test_data): New variable.
14873 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14874 (sin_downward_test_data): New variable.
14875 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14876 (sin_upward_test_data): New variable.
14877 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14878 (sinh_test_data): New variable.
14879 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14880 (sinh_tonearest_test_data): New variable.
14881 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14882 (sinh_towardzero_test_data): New variable.
14883 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14884 (sinh_downward_test_data): New variable.
14885 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14886 (sinh_upward_test_data): New variable.
14887 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14888 (sqrt_test_data): New variable.
14889 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14890 (tan_test_data): New variable.
14891 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14892 (tan_tonearest_test_data): New variable.
14893 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14894 (tan_towardzero_test_data): New variable.
14895 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14896 (tan_downward_test_data): New variable.
14897 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14898 (tan_upward_test_data): New variable.
14899 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14900 (tanh_test_data): New variable.
14901 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14902 (tgamma_test_data): New variable.
14903 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14904 (trunc_test_data): New variable.
14905 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14906 (y0_test_data): New variable.
14907 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14908 (y1_test_data): New variable.
14909 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14910 (significand_test_data): New variable.
14911 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14913 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14916 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14918 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14920 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14922 2013-05-10 Andreas Jaeger <aj@suse.de>
14925 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14926 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14928 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14930 * math/gen-libm-test.pl (adjust_arg): New function.
14931 (special_functions): Handle generating output in both functions
14933 (parse_args): Likewise.
14934 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14935 $in_func argument to parse_args.
14936 * math/libm-test.inc (struct test_f_f_data): New type.
14937 (IF_ROUND_INIT_): New macro.
14938 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14939 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14940 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14941 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14942 (ROUND_RESTORE_): Likewise.
14943 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14944 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14945 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14946 (ROUND_RESTORE_FE_UPWARD): Likewise.
14947 (RUN_TEST_LOOP_f_f): New macro.
14948 (acos_test_data): New variable.
14949 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14950 (acos_tonearest_test_data): New variable.
14951 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14953 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14955 * benchtests/bench-skeleton.c (startup): Fix coding style.
14957 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14960 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14961 negative infinity argument.
14962 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14963 negative infinity argument.
14964 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14965 negative infinity argument.
14966 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14969 2013-05-10 Florian Weimer <fweimer@redhat.com>
14971 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14972 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14973 * iconv/iconv_prog.c (main): Likewise.
14974 * locale/programs/charmap-dir.c (charmap_readdir)
14975 (fopen_uncompressed): Likewise.
14976 * locale/programs/locfile.c (siblings_uncached)
14977 (write_locale_data): Use lstat64 instead of lstat.
14978 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14981 2013-05-10 Andreas Jaeger <aj@suse.de>
14984 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14986 Include <locale.h>.
14988 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14990 * elf/dl-close.c (_dl_close_worker): Add comments.
14992 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14995 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14997 (__ieee754_rem_pio2l): Update comments.
15000 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15002 (__ieee754_rem_pio2l): Update comments.
15004 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15005 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15007 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15010 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15011 (M_PI_34_LOG10El): Likewise.
15012 (M_PI2_LOG10El): Likewise.
15013 (M_PI4_LOG10El): Likewise.
15014 (M_PI_LOG10El): Likewise.
15016 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15020 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15022 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15023 (MINUS_ZERO_INIT): Likewise.
15024 (PLUS_INFTY_INIT): Likewise.
15025 (MINUS_INFTY_INIT): Likewise.
15026 (QNAN_VALUE_INIT): Likewise.
15027 (MAX_VALUE_INIT): Likewise.
15028 (MIN_VALUE_INIT): Likewise.
15029 (MIN_SUBNORM_VALUE_INIT): Likewise.
15030 (plus_zero): Initialize with PLUS_ZERO_INIT.
15031 (minus_zero): Initialize with MINUS_ZERO_INIT.
15032 (plus_infty): Initialize with PLUS_INFTY_INIT.
15033 (minus_infty): Initialize with MINUS_INFTY_INIT.
15034 (qnan_value): Initialize with QNAN_VALUE_INIT.
15035 (max_value): Initialize with MAX_VALUE_INIT.
15036 (min_value): Initialize with MIN_VALUE_INIT.
15037 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15039 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15040 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15041 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15042 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15044 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15045 (RUN_TEST_2_f): Likewise.
15046 (RUN_TEST_ff_f): Likewise.
15047 (RUN_TEST_fi_f): Likewise.
15048 (RUN_TEST_fl_f): Likewise.
15049 (RUN_TEST_fff_f): Likewise.
15050 (RUN_TEST_c_f): Likewise.
15051 (RUN_TEST_f_f1): Likewise.
15052 (RUN_TEST_fF_f1): Likewise.
15053 (RUN_TEST_fI_f1): Likewise.
15054 (RUN_TEST_ffI_f1): Likewise.
15055 (RUN_TEST_c_c): Likewise.
15056 (RUN_TEST_cc_c): Likewise.
15057 (RUN_TEST_f_i): Likewise.
15058 (RUN_TEST_f_i_tg): Likewise.
15059 (RUN_TEST_ff_i_tg): Likewise.
15060 (RUN_TEST_f_b): Likewise.
15061 (RUN_TEST_f_b_tg): Likewise.
15062 (RUN_TEST_f_l): Likewise.
15063 (RUN_TEST_f_L): Likewise.
15064 (RUN_TEST_sincos): Likewise.
15065 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15066 whether to show exceptions. Do not include ");\n" in return
15068 (special_functions): Output call to RUN_TEST_sincos instead of
15069 check_float calls. Update calls to new_test.
15070 (parse_args): Output call to single RUN_TEST_* macro instead of
15071 check_* calls and other assignments. Update calls to new_test.
15077 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15078 input to result for tgamma overflow.
15079 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15080 (gamma_coeff): New variable.
15081 (NCOEFF): New macro.
15082 (gamma_positive): New function.
15083 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15084 underflow here. Use gamma_positive instead of exp (lgamma) for
15086 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15087 (gamma_coeff): New variable.
15088 (NCOEFF): New macro.
15089 (gammaf_positive): New function.
15090 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15091 underflow here. Use gamma_positive instead of exp (lgamma) for
15093 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15094 (gamma_coeff): New variable.
15095 (NCOEFF): New macro.
15096 (gammal_positive): New function.
15097 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15098 underflow here. Use gamma_positive instead of exp (lgamma) for
15100 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15101 (gamma_coeff): New variable.
15102 (NCOEFF): New macro.
15103 (gammal_positive): New function.
15104 (__ieee754_gammal_r): Handle positive infinity, overflow and
15105 underflow here. Handle NaN the same as positive infinity. Remove
15106 check x < 0xffffffff for negative integers. Use gamma_positive
15107 instead of exp (lgamma) for other arguments.
15108 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15109 (gamma_coeff): New variable.
15110 (NCOEFF): New macro.
15111 (gammal_positive): New function.
15112 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15113 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15114 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15115 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15116 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15117 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15118 * sysdeps/generic/math_private.h (__gamma_productf): New
15120 (__gamma_product): Likewise.
15121 (__gamma_productl): Likewise.
15122 * math/Makefile (libm-calls): Add gamma_product.
15123 * math/libm-test.inc (tgamma_test): Add more tests.
15124 * sysdeps/i386/fpu/libm-test-ulps: Update.
15125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15127 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15129 * benchtests/bench-skeleton.c (main): Preheat CPU.
15131 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15133 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15135 2013-05-07 Roland McGrath <roland@hack.frob.com>
15137 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15138 and _dl_skip_args_internal.
15140 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15142 * manual/message.texi (Message Translation): Talk about users.
15143 Message to key mapping impacts design.
15145 2013-05-06 Roland McGrath <roland@hack.frob.com>
15147 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15149 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15151 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15152 * sysdeps/wordsize-64/glob64.c: ... here.
15154 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15155 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15158 * debug/getlogin_r_chk.c: Moved to ...
15159 * login/getlogin_r_chk.c: ... here.
15160 * debug/Makefile (routines): Move getlogin_r_chk to ...
15161 * login/Makefile (routines): ... here.
15162 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15163 * login/Versions (libc: GLIBC_2.4): ... here.
15165 * io/poll.c (__poll): Renamed from poll.
15166 Add libc_hidden_def.
15167 (poll): Define as weak alias.
15169 * debug/ptsname_r_chk.c: Moved to ...
15170 * login/ptsname_r_chk.c: ... here.
15171 * debug/Makefile (routines): Move ptsname_r_chk to ...
15172 * login/Makefile (routines): ... here.
15173 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15174 * login/Versions (libc: GLIBC_2.4): ... here.
15176 * posix/getlogin.c: Moved to ...
15177 * login/getlogin.c: ... here.
15178 * posix/getlogin_r.c: Moved to ...
15179 * login/getlogin_r.c: ... here.
15180 * posix/getlogin_r.c: Moved to ...
15181 * login/getlogin_r.c: ... here.
15182 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15183 * login/Makefile (routines): ... here.
15184 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15185 * login/Versions (libc: GLIBC_2.0): ... here.
15187 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15188 (setrlimit): Define as weak alias.
15190 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15191 Call __ names for open, ftruncate, and close.
15192 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15193 (truncate): Define as weak alias.
15195 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15197 * math/gen-libm-test.pl (parse_args): Initialize x before each
15198 test of frexp, modf and remquo.
15200 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15201 test signgam value.
15203 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15207 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15209 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15211 2013-05-06 Roland McGrath <roland@hack.frob.com>
15213 * elf/dl-writev.h: New file.
15214 * elf/dl-misc.c: Include it.
15215 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15216 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15218 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15220 * math/libm-test.inc (noXFails): Remove variable.
15221 (noXPasses): Likewise.
15222 (BUILD_COMPLEX_INT): Remove macro.
15223 (print_screen): Remove xfail argument.
15224 (print_screen_max_error): Likewise.
15225 (update_stats): Likewise.
15226 (print_max_error): Likewise. Update calls to other affected
15228 (print_complex_max_error): Likewise.
15229 (test_single_exception): Update calls to print_screen.
15230 (test_single_errno): Likewise.
15231 (check_float_internal): Remove xfail argument. Update calls to
15232 other affected functions.
15233 (check_float): Likewise.
15234 (check_complex): Likewise.
15235 (check_int): Likewise.
15236 (check_long): Likewise.
15237 (check_bool): Likewise.
15238 (check_longlong): Likewise.
15239 (main): Don't print noXFails and noXPasses.
15240 * math/gen-libm-test.pl (top level): Don't mention expected
15241 failure handling in comment.
15242 (new_test): Don't handle expected failures.
15243 (parse_args): Don't mention expected failure handling in comment.
15244 (generate_testfile): Don't handle expected failures.
15245 (parse_ulps): Likewise.
15246 (print_ulps_file): Likewise.
15247 (get_failure): Remove function.
15248 (output_test): Don't handle expected failures.
15249 * make/README.libm-test: Don't mention expected failure handling.
15251 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15252 (minus_zero): Likewise.
15253 (plus_infty): Likewise.
15254 (minus_infty): Likewise.
15255 (qnan_value): Likewise.
15256 (max_value): Likewise.
15257 (min_value): Likewise.
15258 (min_subnorm_value): Likewise.
15259 (initialize): Do not initialize those variables dynamically.
15261 2013-05-03 Roland McGrath <roland@hack.frob.com>
15263 * io/open.c (__open_2): Moved to ...
15264 * io/open_2.c: ... this new file.
15265 * io/open64.c (__open64_2): Moved to ...
15266 * io/open64_2.c: ... this new file.
15267 * io/openat.c (__openat_2): Moved to ...
15268 * io/openat_2.c: ... this new file.
15269 * io/openat64.c (__openat64_2): Moved to ...
15270 * io/openat64_2.c: ... this new file.
15271 * io/Makefile (routines): Add them.
15272 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15273 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15274 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15275 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15276 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15277 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15278 (__openat64): Add hidden_ver.
15279 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15280 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15282 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15283 Separately conditionalize setting of GLRO(dl_sysinfo) so
15284 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15285 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15287 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15289 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15290 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15292 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15293 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15294 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15295 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15296 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15298 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15300 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15301 test signgam value.
15303 * math/libm-test.inc (hypot_test): Do not use
15304 IGNORE_ZERO_INF_SIGN.
15306 2013-05-03 Andreas Jaeger <aj@suse.de>
15308 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15310 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15311 (PF_MAX): Adjust for VSOCK change.
15313 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15317 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15320 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15321 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15322 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15324 2013-05-02 David S. Miller <davem@davemloft.net>
15326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15328 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15330 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15332 2013-05-01 Roland McGrath <roland@hack.frob.com>
15334 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15336 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15339 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15340 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15341 Use __attribute__ ((__gnu_inline__)).
15342 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15343 Don't use __attribute__ ((__gnu_inline__)).
15345 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15348 * math/s_catan.c (__catan): Handle small real or imaginary part of
15349 input specially to avoid spurious underflow.
15350 * math/s_catanf.c (__catanf): Likewise.
15351 * math/s_catanh.c (__catanh): Likewise.
15352 * math/s_catanhf.c (__catanhf): Likewise.
15353 * math/s_catanhl.c (__catanhl): Likewise.
15354 * math/s_catanl.c (__catanl): Likewise.
15355 * math/libm-test.inc (catan_test): Add more tests.
15356 (catanh_test): Likewise.
15357 * sysdeps/i386/fpu/libm-test-ulps: Update.
15358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15360 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15364 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15367 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15368 accurately for denominator in atan2.
15369 * math/s_catanf.c (__catanf): Likewise.
15370 * math/s_catanh.c (__catanh): Likewise.
15371 * math/s_catanhf.c (__catanhf): Likewise.
15372 * math/s_catanhl.c (__catanhl): Likewise.
15373 * math/s_catanl.c (__catanl): Likewise.
15374 * math/libm-test.inc (catan_test): Add more tests.
15375 (catanh_test): Likewise.
15376 * sysdeps/i386/fpu/libm-test-ulps: Update.
15377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15379 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15381 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15383 * benchtests/Makefile (bench): Remove slow benchmarks.
15384 * benchtests/atan-inputs: Add slow benchmark inputs.
15385 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15386 (BENCH_FUNC): Accept variant offset.
15388 * benchtests/bench-skeleton.c (main): Run benchmark for each
15390 * benchtests/cos-inputs: Add slow benchmark inputs.
15391 * benchtests/exp-inputs: Likewise.
15392 * benchtests/pow-inputs: Likewise.
15393 * benchtests/sin-inputs: Likewise.
15394 * benchtests/slowatan-inputs: Remove.
15395 * benchtests/slowatan.c: Remove.
15396 * benchtests/slowcos-inputs: Remove.
15397 * benchtests/slowcos.c: Remove.
15398 * benchtests/slowexp-inputs: Remove.
15399 * benchtests/slowexp.c: Remove.
15400 * benchtests/slowpow-inputs: Remove.
15401 * benchtests/slowpow.c: Remove.
15402 * benchtests/slowsin-inputs: Remove.
15403 * benchtests/slowsin.c: Remove.
15404 * benchtests/slowtan-inputs: Remove.
15405 * benchtests/slowtan.c: Remove.
15406 * benchtests/tan-inputs: Add slow benchmark inputs.
15407 * scripts/bench.pl: Parse comments and directives.
15409 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15411 ($(objpfx)bench-%.c): Remove *-ITER.
15412 * benchtests/bench-modf.c: Remove definition of ITER.
15413 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15414 (main): Loop for DURATION seconds instead of fixed number of
15416 * scripts/bench.pl: Don't expect iterations in parameters.
15418 2013-04-29 Roland McGrath <roland@hack.frob.com>
15420 * io/fchdir.c (__fchdir): Renamed from fchdir.
15421 (fchdir): Define as weak alias.
15423 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15425 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15426 (ERRNO_EDOM): Likewise.
15427 (ERRNO_ERANGE): Likewise.
15428 (noErrnoTests): New variable.
15429 (init_max_error): Set errno to 0.
15430 (test_single_errno): New function.
15431 (test_errno): Likewise.
15432 (check_float_internal): Call test_errno. Set errno to 0.
15433 (check_complex): Refer to errno tests in comment.
15434 (check_int): Call test_errno. Set errno to 0.
15435 (check_long): Likewise.
15436 (check_bool): Likewise.
15437 (check_longlong): Likewise.
15438 (cos_test): Use ERRNO_* flags for errno tests instead of
15440 (expm1_test): Likewise.
15441 (fmod_test): Likewise.
15442 (ilogb_test): Likewise.
15443 (lgamma_test): Likewise.
15444 (pow_test): Likewise.
15445 (remainder_test): Likewise.
15446 (sin_test): Likewise.
15447 (tan_test): Likewise.
15448 (yn_test): Likewise.
15449 (initialize): Set errno to 0.
15450 (main): Print number of errno tests.
15451 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15453 2013-04-29 Andreas Jaeger <aj@suse.de>
15456 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15460 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15461 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15465 * stdlib/random.c (__initstate): Return NULL if
15469 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15470 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15473 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15477 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15479 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15480 of individual tests.
15481 (casin_test): Likewise.
15482 (casinh_test): Likewise.
15484 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15487 * math/s_catan.c (__catan): Handle arguments with large real or
15488 imaginary part separately without squaring.
15489 * math/s_catanf.c (__catanf): Likewise.
15490 * math/s_catanh.c (__catanh): Likewise.
15491 * math/s_catanhf.c (__catanhf): Likewise.
15492 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15494 (__catanhl): Handle arguments with large real or imaginary part
15495 separately without squaring.
15496 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15498 (__catanl): Handle arguments with large real or imaginary part
15499 separately without squaring.
15500 * math/libm-test.inc (catan_test): Add more tests.
15501 (catanh_test): Likewise.
15502 * sysdeps/i386/fpu/libm-test-ulps: Update.
15503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15505 2013-04-27 Andreas Jaeger <aj@suse.de>
15508 * stdlib/stdlib.h: Update guards for qecvt.
15509 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15512 2013-04-27 Allan McRae <allan@archlinux.org>
15514 * sysdeps/i386/fpu/libm-test-ulps: Update.
15516 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15519 * math/s_catan.c: Include <float.h>.
15520 (__catan): Ensure underflow exception occurs for underflowed
15522 * math/s_catanf.c: Include <float.h>.
15523 (__catanf): Ensure underflow exception occurs for underflowed
15525 * math/s_catanh.c: Include <float.h>.
15526 (__catanh): Ensure underflow exception occurs for underflowed
15528 * math/s_catanhf.c: Include <float.h>.
15529 (__catanhf): Ensure underflow exception occurs for underflowed
15531 * math/s_catanhl.c: Include <float.h>.
15532 (__catanhl): Ensure underflow exception occurs for underflowed
15534 * math/s_catanl.c: Include <float.h>.
15535 (__catanl): Ensure underflow exception occurs for underflowed
15537 * math/libm-test.inc (catan_test): Add more tests.
15538 (catanh_test): Likewise.
15541 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15542 underflowed result.
15543 * math/s_ccoshf.c (__ccoshf): Likewise.
15544 * math/s_ccoshl.c (__ccoshl): Likewise.
15545 * math/s_csin.c (__csin): Likewise.
15546 * math/s_csinf.c (__csinf): Likewise.
15547 * math/s_csinh.c (__csinh): Likewise.
15548 * math/s_csinhf.c (__csinhf): Likewise.
15549 * math/s_csinhl.c (__csinhl): Likewise.
15550 * math/s_csinl.c (__csinl): Likewise.
15551 * math/libm-test.inc (ccos_test): Add more tests.
15552 (ccosh_test): Likewise.
15553 (csin_test): Likewise.
15554 (csinh_test): Likewise.
15556 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15558 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15559 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15560 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15561 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15562 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15563 powerpc/power5+/fpu folders.
15564 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15567 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15571 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15573 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15574 additions to variable.
15575 [$(config-machine) = x86_64] (modules-names): Likewise.
15576 ($(objpfx)tst-audit3): Remove dependency.
15577 ($(objpfx)tst-audit3.out): Likewise.
15578 ($(objpfx)tst-audit4): Likewise.
15579 ($(objpfx)tst-audit4.out): Likewise.
15580 ($(objpfx)tst-audit5): Likewise.
15581 ($(objpfx)tst-audit5.out): Likewise.
15582 ($(objpfx)tst-audit6): Likewise.
15583 ($(objpfx)tst-audit6.out): Likewise.
15584 ($(objpfx)tst-audit7): Likewise.
15585 ($(objpfx)tst-audit7.out): Likewise.
15586 (tst-audit3-ENV): Remove variable.
15587 (tst-audit4-ENV): Likewise.
15588 (tst-audit5-ENV): Likewise.
15589 (tst-audit6-ENV): Likewise.
15590 (tst-audit7-ENV): Likewise.
15591 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15592 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15593 addition to variable.
15594 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15599 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15600 tst-audit3, tst-audit4 and tst-audit5.
15601 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15602 tst-audit6 and tst-audit7.
15603 [$(subdir) = elf] (modules-names): Add audit modules for those
15605 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15606 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15607 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15608 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15609 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15610 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15611 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15612 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15613 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15614 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15615 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15616 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15617 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15618 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15619 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15620 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15622 [$(subdir) = elf && $(config-cflags-avx) = yes]
15623 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15624 [$(subdir) = elf && $(config-cflags-avx) = yes]
15625 (CFLAGS-tst-auditmod4a.c): Likewise.
15626 [$(subdir) = elf && $(config-cflags-avx) = yes]
15627 (CFLAGS-tst-auditmod4b.c): Likewise.
15628 [$(subdir) = elf && $(config-cflags-avx) = yes]
15629 (CFLAGS-tst-auditmod6b.c): Likewise.
15630 [$(subdir) = elf && $(config-cflags-avx) = yes]
15631 (CFLAGS-tst-auditmod6c.c): Likewise.
15632 [$(subdir) = elf && $(config-cflags-avx) = yes]
15633 (CFLAGS-tst-auditmod7b.c): Likewise.
15634 * elf/tst-audit3.c: Move to ...
15635 * sysdeps/x86_64/tst-audit3.c: ... here.
15636 * elf/tst-audit4.c: Move to ...
15637 * sysdeps/x86_64/tst-audit4.c: ... here.
15638 * elf/tst-audit5.c: Move to ...
15639 * sysdeps/x86_64/tst-audit5.c: ... here.
15640 * elf/tst-audit6.c: Move to ...
15641 * sysdeps/x86_64/tst-audit6.c: ... here.
15642 * elf/tst-audit7.c: Move to ...
15643 * sysdeps/x86_64/tst-audit7.c: ... here.
15644 * elf/tst-auditmod3a.c: Move to ...
15645 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15646 * elf/tst-auditmod3b.c: Move to ...
15647 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15648 * elf/tst-auditmod4a.c: Move to ...
15649 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15650 * elf/tst-auditmod4b.c: Move to ...
15651 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15652 * elf/tst-auditmod5a.c: Move to ...
15653 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15654 * elf/tst-auditmod5b.c: Move to ...
15655 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15656 * elf/tst-auditmod6a.c: Move to ...
15657 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15658 * elf/tst-auditmod6b.c: Move to ...
15659 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15660 * elf/tst-auditmod6c.c: Move to ...
15661 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15662 * elf/tst-auditmod7a.c: Move to ...
15663 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15664 * elf/tst-auditmod7b.c: Move to ...
15665 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15667 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15670 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15671 define unconditionally.
15672 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15673 define unconditionally.
15674 (INT8_C, INT16_C, etc.): Likewise.
15676 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15678 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15679 __ehdr_start with hidden visibility.
15681 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15683 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15685 * math/libm-test.inc (cos_test): Use accurate hex constants.
15686 (sincost_test): Likewise.
15688 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15690 * math/libm-test.inc (catan_test): Add more tests.
15691 (catanh_test): Likewise.
15693 * math/s_catanf.c (__catanf): Use suffixed floating-point
15695 * math/s_catanhf.c (__catanhf): Likewise.
15696 * math/s_catanhl.c (__catanhl): Likewise.
15697 * math/s_catanl.c (__catanl): Likewise.
15700 * math/s_catan.c (__catan): Calculate imaginary part of result
15701 with log1p not log unless computing log of number close to 0.
15702 * math/s_catanf.c (__catanf): Likewise.
15703 * math/s_catanl.c (__catanl): Likewise.
15704 * math/s_catanh.c (__catanh): Calculate real part of result with
15705 log1p not log unless computing log of number close to 0.
15706 * math/s_catanhf.c (__catanhf): Likewise.
15707 * math/s_catanhl.c (__catanhl): Likewise.
15708 * math/libm-test.inc (catan_test): Add more tests.
15709 (catanh_test): Likewise.
15710 * sysdeps/i386/fpu/libm-test-ulps: Update.
15711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15713 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15715 * benchtests/Makefile: Mention files in which fast and slow
15716 paths of math functions are implemented.
15718 2013-04-23 Roland McGrath <roland@hack.frob.com>
15720 * sysdeps/posix/timespec_get.c: New file.
15722 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15724 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15726 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15728 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15729 powerpc/power5/fpu folders.
15730 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15731 * benchtests/Makefile: Add modf testcase.
15732 * benchtests/bench-modf.c: New file: Benchmark test for mo
15734 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15737 * time/Makefile (tests): Add tst-strptime-whitespace.
15738 * time/strptime_l.c (get_number): Use ISSPACE.
15739 (__strptime_internal): Likewise.
15740 * time/tst-strptime-whitespace.c: New test case.
15742 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15744 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15746 (_nss_files_init): Set it here.
15748 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15750 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15751 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15754 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15756 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15758 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15760 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15763 2013-04-21 David S. Miller <davem@davemloft.net>
15765 * po/ru.po: Update Russion translation from translation project.
15767 2013-04-17 Adam Conrad <adconrad@0c3.net>
15769 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15772 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15774 * configure.in: Remove i386 configure warning. Remove i386 case.
15775 * configure: Regenerate.
15776 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15777 Add example to error message.
15778 * sysdeps/i386/configure: Regenerate.
15780 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15782 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15784 * benchtests/cos-inputs: New file.
15785 * benchtests/slowcos-inputs: New file.
15786 * benchtests/slowcos.c: New file.
15787 * benchtests/slowtan-inputs: New file.
15788 * benchtests/slowtan.c: New file.
15789 * benchtests/tan-inputs: New file.
15791 2013-04-16 Roland McGrath <roland@hack.frob.com>
15793 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15796 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15798 * benchtests/Makefile: Include cppflags-iterator.mk to add
15799 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15801 * Makefile.in (bench-clean): New target.
15802 * benchtests/Makefile (bench-clean): Likewise.
15804 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15806 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15808 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15810 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15812 2013-04-15 Andreas Schwab <schwab@suse.de>
15814 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15816 * nscd/pwdcache.c (cache_addpw): Likewise.
15817 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15820 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15822 * benchtests/Makefile (bench): Write all output to
15823 bench-out.tmp together.
15825 2013-04-15 Andreas Schwab <schwab@suse.de>
15827 * nscd/nscd.c (main): Don't fork again after closing files.
15829 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15831 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15833 * benchtests/Rules (bench-deps): Collect dependencies into a
15834 single variable. Add Makefile to dependencies.
15835 ($(objpfx)bench-%.c): Depend on bench-deps.
15837 2013-04-12 Roland McGrath <roland@hack.frob.com>
15838 Xavier Roche <roche+kml2@exalead.com>
15841 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15842 just that it's a file descriptor.
15843 * manual/llio.texi (Synchronizing AIO Operations): Update description
15844 for EBADF error from aio_fsync.
15846 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15848 * Rules (bench): Move target definition...
15849 * benchtests/Makefile: ... here.
15851 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15853 * math/libm-test.inc (cos_test): Fix PI/2 test.
15854 (sincos_test): Likewise.
15855 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15856 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15858 2013-04-11 Andreas Schwab <schwab@suse.de>
15861 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15862 accept exponent character only when digits were seen.
15863 * stdio-common/Makefile (tests): Add bug26.
15864 * stdio-common/bug26.c: New file.
15867 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15870 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15872 * Makeconfig (rtld-prefix): Define built linker prefix.
15873 * Rules (run-bench): Use it.
15874 * math/Makefile (run-regen-ulps): Likewise.
15876 * Rules (bench): Remove eval.
15878 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15879 Roland McGrath <roland@hack.frob.com>
15880 Ondrej Bilka <neleai@seznam.cz>
15883 * time/getdate.c: Include ctype.h and alloca.h.
15884 (__getdate_r): Trim leading and trailing spaces of input.
15885 * time/tst-getdate.c (tests): Add tests with leading and
15888 2013-04-08 Roland McGrath <roland@hack.frob.com>
15891 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15892 when computing value.
15894 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15896 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15897 Use testrun.sh to run libm tests.
15900 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15902 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15905 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15907 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15909 * Makefile.in (regen-ulps): New target.
15910 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15911 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15912 [ifneq (no,$(PERL)] (regen-ulps): New target.
15913 [ifeq (no,$(PERL)] (regen-ulps): New target.
15914 * math/libm-test.inc (ulps_file_name): Define.
15915 (output_dir): New variable.
15916 (options): Add "output-dir" option.
15917 (parse_opt): Handle 'o' case.
15918 (main): If output_dir is non-NULL use it as a prefix
15920 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15922 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15924 [BZ #10060, #10062]
15925 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15926 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15927 fail configure if __sync_val_compare_and_swap is not inlined.
15928 * sysdeps/i386/configure: Regenerate.
15929 * configure.in: Build for i686 when configured for i386.
15930 * configure: Regenerate.
15931 * README: Remove i386 reference.
15933 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15935 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15938 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15940 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15941 (lmsnanval): New variables.
15942 (F): Add conversion tests.
15943 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15944 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15946 * stdio-common/tstdiomisc.c (F): Properly collect individual
15949 [BZ #14686, #15336]
15950 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15951 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15952 Instead, use input NaN values or generate a qNaN by arithmetic
15953 operation. Also fix bugs to comply with the standard.
15954 * math/libm-test.inc (remainder_test): Add more tests.
15956 [BZ #15335, #15342]
15957 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15959 input NaN values or generate a qNaN by arithmetic operation.
15961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15964 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15967 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15970 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15971 underflowed result.
15972 * math/s_cexpf.c (__cexpf): Likewise.
15973 * math/s_cexpl.c (__cexpl): Likewise.
15974 * math/libm-test.inc (cexp_test): Add more tests.
15976 2013-04-03 Andreas Schwab <schwab@suse.de>
15979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15980 order arrays from heap if bigger than alloca cutoff.
15982 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15984 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15985 (SNAN_TESTS_double): Refer to GCC PR56831.
15986 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15989 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15991 * Rules (bench): Move bench.out after the run is complete.
15993 * Rules (bench): Echo currently running benchmark.
15995 * benchtests/Makefile (bench): Add atan and slowatan.
15996 * benchtests/atan-inputs: New file.
15997 * benchtests/slowatan-inputs: New file.
15998 * benchtests/slowatan.c: New file.
16000 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16005 * sysdeps/unix/sysv/linux/kernel-features.h
16006 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16007 __ASSUME_XFS_RESTRICTED_CHOWN.
16008 * sysdeps/unix/sysv/linux/pathconf.c
16009 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16010 Save and restore errno.
16012 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16015 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16016 arguments using __kernel_casinh.
16017 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16018 arguments using __kernel_casinhf.
16019 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16020 arguments using __kernel_casinhl.
16021 * math/libm-test.inc (cacosh_test): Add more tests.
16022 * sysdeps/i386/fpu/libm-test-ulps: Update.
16023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16025 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16027 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16030 * bench/Makefile (bench): Add sin and slowsin.
16031 * benchtests/sin-inputs: New file.
16032 * benchtests/slowsin-inputs: New file.
16033 * benchtests/slowsin.c: New file.
16035 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16036 (bench): Add slowexp and slowpow.
16037 (exp-ITER): Increase iterations.
16038 (pow-ITER): Likewise.
16039 * benchtests/exp-inputs: Change input.
16040 * benchtests/pow-inputs: Likewise.
16041 * benchtests/slowexp-inputs: New file.
16042 * benchtests/slowexp.c: New file.
16043 * benchtests/slowpow-inputs: New file.
16044 * benchtests/slowpow.c: New file.
16046 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16048 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16050 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16053 * benchtests/Makefile: Add rint benchtest.
16054 * benchtests/rint-inputs: Input for rint benchtest.
16056 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16058 * Versions.def (libm): Add GLIBC_2.18.
16059 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16060 hidden libm prototypes.
16061 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16062 * math/Makefile (libm-calls): Add s_issignaling.
16063 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16064 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16065 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16067 * math/math.h [__USE_GNU] (issignaling): New macro.
16068 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16069 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16070 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16071 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16074 * manual/arith.texi (issignaling): New section.
16075 * manual/libm-err-tab.pl (@all_functions): Update comment.
16076 * math/gen-libm-test.pl (parse_args): Apply special handling for
16078 * math/libm-test.inc (print_float, issignaling_test): New
16080 (check_float_internal): Add issignaling checks.
16081 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16082 default definition.
16083 * sysdeps/powerpc/math-tests.h: New file.
16084 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16086 * math/test-snan.c (TEST_FUNC): Likewise.
16088 2013-03-30 David S. Miller <davem@davemloft.net>
16090 * po/de.po: Update from translation team.
16092 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16095 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16096 imaginary part less than 1.0 and real part less than 0.5
16098 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16099 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16100 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16101 (cacos_test): Add more tests.
16102 (casin_test): Likewise.
16103 (casinh_test): Likewise.
16104 * sysdeps/i386/fpu/libm-test-ulps: Update.
16105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16107 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16109 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16110 ONE with its value.
16112 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16113 (__pow_mp): Replace ONE and MONE with their values.
16114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16115 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16116 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16117 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16118 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16119 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16121 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16123 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16124 (__pow_mp): Replace ZERO and MZERO with their values.
16125 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16126 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16127 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16130 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16133 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16135 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16137 2013-03-28 Roland McGrath <roland@hack.frob.com>
16139 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16140 Declare with __attribute__ ((weak)).
16141 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16142 Call __call_tls_dtors only if it's not NULL.
16144 2013-03-28 Roland McGrath <roland@hack.frob.com>
16146 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16147 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16148 magic __ehdr_start linker symbol if it's defined.
16149 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16150 them up here if it was already done.
16152 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16153 (_dl_aux_init): Use const in cast when setting it.
16154 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16155 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16156 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16158 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16160 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16161 * csu/libc-tls.c: Nor here.
16162 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16164 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16165 (__libc_message): Never call vsyslog.
16167 2013-03-28 Alan Modra <amodra@gmail.com>
16169 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16171 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16174 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16181 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16184 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16185 Don't add gid passed as argument.
16187 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16189 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16192 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16193 imaginary part between 1.0 and 1.5 and real part less than 0.5
16195 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16196 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16197 * math/libm-test.inc (cacos_test): Add more tests.
16198 (casin_test): Likewise.
16199 (casinh_test): Likewise.
16200 * sysdeps/i386/fpu/libm-test-ulps: Update.
16201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16203 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16205 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16208 (denorm): Likewise.
16209 (__dbl_mp): Likewise.
16210 (add_magnitudes): Likewise.
16211 (sub_magnitudes): Likewise.
16219 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16221 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16222 (__dubcos): Likewise.
16223 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16224 (__ieee754_acos): Likewise.
16225 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16226 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16227 (__exp1): Likewise.
16228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16231 (my_log2): Likewise.
16232 (checkint): Likewise.
16233 * sysdeps/ieee754/dbl-64/e_remainder.c
16234 (__ieee754_remainder): Likewise.
16235 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16237 (bsloww): Likewise.
16238 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16240 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16241 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16242 MANTISSA_STORE_T to store computations on mantissa. Use
16243 macros for rounding and division.
16244 (denorm): Likewise.
16245 (__dbl_mp): Likewise.
16246 (add_magnitudes): Likewise.
16247 (sub_magnitudes): Likewise.
16250 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16251 powers of two in terms of TWOPOW macro.
16252 (mp_no): Make type of mantissa as MANTISSA_T.
16253 [!RADIXI]: Define RADIXI.
16254 [!TWO52]: Define TWO52.
16255 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16257 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16259 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16260 llroundl symbol when building for PPC32.
16262 2013-03-24 Mark H Weaver <mhw@netris.org>
16264 * manual/arith.texi (Normalization Functions): Fix prototypes for
16265 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16267 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16271 high value to check if expl overflow.
16272 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16273 to check for underflow and overflow.
16274 * math/libm-test.inc: Add exp test.
16276 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16279 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16282 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16284 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16287 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16289 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16290 wrap blocks consisting of several statements.
16292 * sysdeps/generic/math-tests.h: New file.
16293 * sysdeps/i386/fpu/math-tests.h: Likewise.
16294 * math/test-snan.c: Include it.
16295 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16297 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16300 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16301 (__ieee754_j0l): Do not improve calculations using cos of twice
16302 input for inputs above LDBL_MAX / 2.0L.
16303 (__ieee754_y0l): Likewise.
16304 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16305 (__ieee754_j1l): Do not improve calculations using cos of twice
16306 input for inputs above LDBL_MAX / 2.0L.
16307 (__ieee754_y1l): Likewise.
16308 * math/libm-test.inc (j0_test): Add another test.
16309 (j1_test): Likewise.
16310 (y0_test): Likewise.
16311 (y1_test): Likewise.
16312 * sysdeps/i386/fpu/libm-test-ulps: Update.
16314 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16316 * Rules ($(objpfx)bench-%.c): Include code from a C source
16319 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16322 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16323 imaginary part 1.0 and real part less than 0.5 specially.
16324 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16325 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16326 * math/libm-test.inc (cacos_test): Add more tests.
16327 (casin_test): Likewise.
16328 (casinh_test): Likewise.
16329 * sysdeps/i386/fpu/libm-test-ulps: Update.
16330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16332 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16334 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16335 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16337 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16339 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16340 * config.make.in (config-cflags-sse4): Remove variable.
16341 (config-cflags-avx): Likewise.
16342 (config-cflags-sse2avx): Likewise.
16343 (config-cflags-novzeroupper): Likewise.
16344 (config-asflags-i686): Likewise.
16345 (have-mfma4): Likewise.
16346 (have-as-vis3): Likewise.
16348 * configure.in (MIG): Do not AC_SUBST.
16349 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16350 (libc_cv_cc_sse4): Do not AC_SUBST.
16351 (libc_cv_cc_avx): Likewise.
16352 (libc_cv_cc_sse2avx): Likewise.
16353 (libc_cv_cc_novzeroupper): Likewise.
16354 (libc_cv_cc_fma4): Likewise.
16355 (libc_cv_as_i686): Likewise.
16356 (libc_cv_sparc_as_vis3): Likewise.
16357 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16359 (config-asflags-i686): Likewise.
16360 (config-cflags-avx): Likewise.
16361 (config-cflags-sse2avx): Likewise.
16362 (have-mfma4): Likewise.
16363 (config-cflags-novzeroupper): Likewise.
16364 * sysdeps/mach/configure.in (MIG): Likewise.
16365 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16366 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16368 (config-cflags-avx): Likewise.
16369 (config-cflags-sse2avx): Likewise.
16370 (have-mfma4): Likewise.
16371 (config-cflags-novzeroupper): Likewise.
16372 * configure: Regenerated.
16373 * sysdeps/i386/configure: Likewise.
16374 * sysdeps/mach/configure: Likewise.
16375 * sysdeps/sparc/configure: Likewise.
16376 * sysdeps/x86_64/configure: Likewise.
16378 2013-03-20 Roland McGrath <roland@hack.frob.com>
16381 * locale/programs/localedef.c (options): Put N_ translation marker
16382 on argument names, not just descriptions.
16384 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16386 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16388 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16391 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16393 2013-03-19 Roland McGrath <roland@hack.frob.com>
16395 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16396 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16397 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16398 [!BEFORE_ABORT] (before_abort): New function.
16399 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16400 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16401 (writev_for_fatal): New function.
16402 (WRITEV_FOR_FATAL): New macro; call that.
16403 (backtrace_and_maps): New function.
16404 (BEFORE_ABORT): New macro; call that.
16405 (struct str_list): Type removed.
16406 (__libc_message, __libc_fatal): Functions removed.
16407 Include <sysdeps/posix/libc_fatal.c> instead.
16409 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16411 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16413 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16416 2013-03-19 Andreas Schwab <schwab@suse.de>
16418 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16419 * sysdeps/gnu/configure: Regenerate.
16421 * configure.in: Substitute libc_cv_rtlddir.
16422 * configure: Regenerate.
16423 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16424 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16425 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16426 * elf/Makefile (install-others, CFLAGS-interp.c)
16427 (ldso_install, common-ldd-rewrite): Likewise.
16428 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16429 $(inst_slibdir)/$(rtld-installed-name).
16430 * scripts/rellns-sh: Add -p option.
16431 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16434 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16436 * manual/nptl.texi: Renamed to ...
16437 * manual/threads.texi: ... this.
16438 * manual/Makefile (chapters): Update.
16440 2013-03-18 Roland McGrath <roland@hack.frob.com>
16443 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16444 on argument names, not just descriptions.
16445 * malloc/memusagestat.c (options): Likewise.
16446 * nss/getent.c (options): Likewise.
16448 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16451 * iconv/iconv_prog.c (options): Put N_ translation marker
16452 on argument names, not just descriptions.
16453 * iconv/iconvconfig.c (options): Likewise.
16455 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16457 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16458 implementation which is faster on all x86_64 architectures.
16459 Tested on AMD, Intel Nehalem, SNB, IVB.
16460 * sysdeps/x86_64/strnlen.S: Likewise.
16462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16463 Remove all multiarch strlen and strnlen versions.
16464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16465 Remove strlen and strnlen related parts.
16467 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16468 Inline strlen part.
16469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16471 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16472 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16473 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16474 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16475 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16476 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16478 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16480 * manual/memory.texi (Malloc Tunable Parameters):
16481 Sort parameters alphabetically. Add comments for missing entries.
16483 2013-03-17 David S. Miller <davem@davemloft.net>
16485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16487 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16490 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16491 for arguments at most half maximum finite value.
16492 * math/libm-test.inc (j0_test): Add more tests.
16493 (j1_test): Likewise.
16494 (y0_test): Likewise.
16495 (y1_test): Likewise.
16496 * sysdeps/i386/fpu/libm-test-ulps: Update.
16497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16500 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16501 1 / x and functions P and Q for arguments above 0x1p256L.
16502 (__ieee754_y0l): Likewise.
16503 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16504 (__ieee754_y1l): Likewise.
16505 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16506 (j1_test): Likewise.
16507 (y0_test): Likewise.
16508 (y1_test): Likewise.
16510 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16512 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16515 2013-03-15 Roland McGrath <roland@hack.frob.com>
16517 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16518 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16519 zero since it's initialized to EXEC_PAGESIZE.
16521 * sysdeps/unix/sysv/linux/ldsodefs.h
16522 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16523 * sysdeps/generic/ldsodefs.h: ... here.
16525 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16527 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16529 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16531 * math/test-snan.c: Renamed from
16532 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16533 * math/Makefile (tests): Add test-snan.
16534 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16537 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16538 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16540 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16541 __builtin_nan family of functions.
16542 * math/libm-test.inc (initialize): Initialize qnan_value with
16543 __builtin_nan family of functions.
16544 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16546 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16548 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16549 storage class. Initialize qNaN_var and sNaN_var with
16550 __builtin_nan and __builtin_nans families of functions,
16553 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16554 (sqrt_test): Remove duplicate test with qNaN input.
16555 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16556 (round_test, signbit_test, significand_test): Note missing +/-Inf
16557 as well as qNaN tests.
16559 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16560 qNaN_var. Fix a few strings, too.
16561 * math/libm-test.inc (nan_value): Rename to qnan_value.
16562 * math/gen-libm-test.pl (%beautify): Adjust to that.
16563 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16564 * math/test-misc.c (main): Likewise.
16565 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16566 to __qnan_bytes, and __qnan_union, respectively.
16567 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16569 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16570 and lqnanval, respectively.
16571 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16572 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16573 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16574 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16576 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16577 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16580 * math/test-misc.c (main): Fix copy'n'pastos.
16581 * misc/tst-efgcvt.c (special): Likewise.
16583 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16584 Remove declarations.
16586 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16588 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16589 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16590 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16591 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16593 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16595 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16596 macro to return vdso values correctly in IFUNC implementations.
16597 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16598 Optimization by using IFUNC.
16600 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16601 Richard Henderson <rth@redhat.com>
16602 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16604 * Makefile.in (bench): New target.
16605 * NEWS: Mention the benchmark framework.
16606 * Rules (bench): Likewise.
16607 (binaries-bench): Generate binaries for functions to
16609 * benchtests/Makefile: New makefile for benchmark tests.
16610 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16612 * benchtests/exp-inputs: New input file for EXP function.
16613 * benchtests/pow-inputs: New input file for POW function.
16614 * scripts/bench.pl: New script to generate source files for
16615 benchmark programs.
16617 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16620 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16621 computations on mantissa. Use macros for rounding and
16623 (denorm): Likewise.
16624 (__dbl_mp): Likewise.
16625 (add_magnitudes): Likewise.
16626 (sub_magnitudes): Likewise.
16629 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16630 powers of two in terms of TWOPOW macro.
16631 (mp_no): Make type of mantissa as MANTISSA_T.
16632 [!RADIXI]: Define RADIXI.
16633 [!TWO52]: Define TWO52.
16634 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16636 * manual/nptl.texi (cindex): Modify threads to pthreads.
16638 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16640 * sysdeps/x86_64/preconfigure: Regenerated.
16642 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16645 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16647 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16648 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16650 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16651 * math/libm-test.inc (j0_test): Do not allow one spurious
16652 underflow exception.
16653 (y1_test): Likewise.
16655 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16657 * manual/Makefile (chapters): Add nptl.
16658 * manual/debug.texi (Debugging Support): Add link to Threads
16660 * manual/nptl.texi: New file.
16662 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16664 2013-03-14 Petr Baudis <pasky@ucw.cz>
16666 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16667 for non-NULL pointer before the memory validity test. Pointed
16668 out by Holger Brunck <holger.brunck@keymile.com>.
16670 2013-03-13 Andreas Schwab <schwab@suse.de>
16672 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16675 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16677 * timezone/zic.c: Update from tzcode 2013b.
16679 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16681 * manual/install.texi (Configuring and compiling):
16682 Mention i686 and i586.
16683 * INSTALL: Regenerate.
16685 2013-03-12 Roland McGrath <roland@hack.frob.com>
16687 * sysdeps/init_array/elf-init.c: New file.
16689 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16690 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16692 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16693 __gmon_start__ as global, but as static with a .preinit_array pointer.
16694 * sysdeps/init_array/gmon-start.c: New file. Use that.
16695 * sysdeps/init_array/crti.S: New file, empty except for comments.
16696 * sysdeps/init_array/crtn.S: Likewise.
16698 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16700 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16703 Remove Prefer_SSE_for_memop.
16704 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16705 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16706 HAS_PREFER_SSE_FOR_MEMOP.
16707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16710 Remove bzero, memset ifunc support.
16711 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16712 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16713 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16714 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16716 2013-03-11 Andreas Schwab <schwab@suse.de>
16719 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16722 (GLIBC_2.16): Remove pthread_atfork.
16724 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16726 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16727 (ptestcases.h): Likewise.
16729 2013-03-08 Roland McGrath <roland@hack.frob.com>
16731 * Makeconfig ($(common-objpfx)config.status): Depend on
16732 sysdeps/*/preconfigure{,.in} too.
16734 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16736 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16737 (__free_hook): Use void * instead of __malloc_ptr_t.
16738 (__malloc_hook): Likewise.
16739 (__realloc_hook): Likewise.
16740 (__memalign_hook): Likewise.
16741 (__after_morecore_hook): Likewise.
16742 * malloc/arena.c (save_malloc_hook): Likewise.
16743 (save_free_hook): Likewise.
16744 * malloc/hooks.c (malloc_hook_ini): Likewise.
16745 (realloc_hook_ini): Likewise.
16746 (memalign_hook_ini): Likewise.
16747 * malloc/malloc.c (malloc_hook_ini): Likewise.
16748 (realloc_hook_ini): Likewise.
16749 (memalign_hook_ini): Likewise.
16750 (__free_hook): Likewise.
16751 (__malloc_hook): Likewise.
16752 (__realloc_hook): Likewise.
16753 (__memalign_hook): Likewise.
16754 (__libc_malloc): Likewise.
16755 (__libc_free): Likewise.
16756 (__libc_realloc): Likewise.
16757 (__libc_memalign): Likewise.
16758 (__libc_valloc): Likewise.
16759 (__libc_pvalloc): Likewise.
16760 (__libc_calloc): Likewise.
16761 (__posix_memalign): Likewise.
16762 * malloc/morecore.c (__sbrk): Likewise.
16763 (__default_morecore): Likewise.
16765 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16767 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16768 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16769 __malloc_ptrdiff_t.
16771 * malloc/malloc.h (__malloc_size_t): Remove macro.
16772 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16774 (old_memalign_hook): Likewise.
16775 (old_realloc_hook): Likewise.
16776 (struct hdr): Likewise.
16778 (mallochook): Likewise.
16779 (memalignhook): Likewise.
16780 (reallochook): Likewise.
16781 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16782 (tr_old_realloc_hook): Likewise.
16783 (tr_old_memalign_hook): Likewise.
16784 (tr_mallochook): Likewise.
16785 (tr_reallochook): Likewise.
16786 (tr_memalignhook): Likewise.
16788 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16791 default_ldbl_pack and using as default implementation.
16792 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16794 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16795 redundant definition.
16796 (ldbl_insert_mantissa): Likewise.
16797 (ldbl_canonicalize): Likewise.
16798 (ldbl_nearbyint): Likewise.
16799 (ldbl_pack): Rename to ldbl_pack_ppc.
16800 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16801 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16802 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16804 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16807 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16808 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16809 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16811 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16812 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16813 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16815 2013-03-07 Andreas Jaeger <aj@suse.de>
16817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16820 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16822 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16823 Include mpa.h and declare __MPEXP.
16824 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16825 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16826 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16827 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16828 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16829 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16830 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16832 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16833 (__slowpow): Use long double EXPL and LOGL functions to
16835 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16836 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16837 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16838 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16839 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16840 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16843 intermediate variable to calculate exponent.
16845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16849 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16850 [!NO__SQR]: Define __sqr.
16851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16852 and NO__SQR. Remove all code except __mul and __sqr. Include
16853 sysdeps/ieee754/dbl-64/mpa.c.
16854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16857 * posix/Makefile (tests): Add tst-pathconf.
16858 * posix/tst-pathconf.c: New test case.
16859 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16861 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16863 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16865 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16867 2013-03-06 Andreas Jaeger <aj@suse.de>
16869 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16870 definition via __MAP_ANONYMOUS.
16872 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16873 it's not part of Linux headers.
16875 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16876 (MAP_HUGE_MASK): Define.
16878 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16880 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16883 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16884 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16886 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16887 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16889 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16891 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16892 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16893 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16894 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16895 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16896 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16898 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16902 Handle f2fs and efivarfs.
16904 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16907 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16908 (EFIVARFS_MAGIC): Add.
16909 (F2FS_LINK_MAX): Add.
16911 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16913 * stdio-common/vfprintf.c: Replace __builtin_expect with
16916 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16919 * sysdeps/generic/bp-sym.h: Remove file.
16920 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16921 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16922 <bp-sym.h> and <bp-asm.h>.
16923 (__longjmp): Don't use BP_SYM.
16924 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16926 (memcpy): Don't use BP_SYM.
16927 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (memcpy): Don't use BP_SYM.
16930 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16932 (memcpy): Don't use BP_SYM.
16933 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16935 (memset): Don't use BP_SYM.
16936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16938 (__bzero): Don't use BP_SYM.
16939 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16940 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16941 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16942 <bp-sym.h> and <bp-asm.h>.
16943 (memcmp): Don't use BP_SYM. Remove comment about bounded
16945 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16946 <bp-sym.h> and <bp-asm.h>.
16947 (memcpy): Don't use BP_SYM.
16948 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16949 <bp-sym.h> and <bp-asm.h>.
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/strncmp.S: Don't include
16957 <bp-sym.h> and <bp-asm.h>.
16958 (strncmp): Don't use BP_SYM. Remove comment about bounded
16960 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (memcpy): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
16972 <bp-sym.h> and <bp-asm.h>.
16973 (__memchr): Don't use BP_SYM.
16974 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16975 <bp-sym.h> and <bp-asm.h>.
16976 (memcmp): Don't use BP_SYM. Remove comment about bounded
16978 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16979 <bp-sym.h> and <bp-asm.h>.
16980 (memcpy): Don't use BP_SYM.
16981 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16982 <bp-sym.h> and <bp-asm.h>.
16983 (__mempcpy): Don't use BP_SYM.
16984 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16985 <bp-sym.h> and <bp-asm.h>.
16986 (__memrchr): Don't use BP_SYM.
16987 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16988 <bp-sym.h> and <bp-asm.h>.
16989 (memset): Don't use BP_SYM.
16990 (__bzero): Likewise.
16991 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16992 <bp-sym.h> and <bp-asm.h>.
16993 (__rawmemchr): Don't use BP_SYM.
16994 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16995 <bp-sym.h> and <bp-asm.h>.
16996 (__STRCMP): Don't use BP_SYM.
16997 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16998 <bp-sym.h> and <bp-asm.h>.
16999 (strchr): Don't use BP_SYM.
17000 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17001 <bp-sym.h> and <bp-asm.h>.
17002 (__strchrnul): Don't use BP_SYM.
17003 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17004 <bp-sym.h> and <bp-asm.h>.
17005 (strlen): Don't use BP_SYM.
17006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17007 <bp-sym.h> and <bp-asm.h>.
17008 (strncmp): Don't use BP_SYM. Remove comment about bounded
17010 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17011 <bp-sym.h> and <bp-asm.h>.
17012 (__strnlen): Don't use BP_SYM.
17013 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17014 <bp-sym.h> and <bp-asm.h>.
17015 (__GI__setjmp): Don't use BP_SYM.
17016 (_setjmp): Likewise.
17017 (__sigsetjmp): Likewise.
17018 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17019 (L(start_addresses)): Don't use BP_SYM.
17020 (_start): Likewise.
17021 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17023 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17024 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17025 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17026 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17027 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17029 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17030 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17031 about bounded pointers.
17032 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17033 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17034 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17036 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17037 about bounded pointers. Remove GKM FIXME comments.
17038 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17039 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17041 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17042 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17043 Remove GKM FIXME comments.
17044 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17045 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17046 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17048 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17049 about bounded pointers. Remove GKM FIXME comment.
17050 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17052 (strncmp): Don't use BP_SYM. Remove comment about bounded
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17055 <bp-sym.h> and <bp-asm.h>.
17056 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17058 <bp-sym.h> and <bp-asm.h>.
17059 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17062 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17064 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17067 2013-03-05 David S. Miller <davem@davemloft.net>
17069 * po/es.po: Update from translation team.
17071 2013-03-05 Andreas Jaeger <aj@suse.de>
17073 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17074 <bits/mman-linux.h>.
17075 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17077 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17078 <bits/mman-linux.h> to end of file.
17079 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17081 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17082 <bits/mman-linux.h> to end of file.
17083 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17086 <bits/mman-linux.h> to end of file.
17088 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17089 (MCL_CURRENT, MCL_FUTURE): Define here.
17091 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17094 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17096 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17098 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17100 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17101 fourth parameter needed for rt_sigprocmask syscall.
17102 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17103 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17104 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17105 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17106 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17107 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17109 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17112 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17113 comment about bounded pointers.
17114 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17115 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17117 2013-03-04 Andreas Jaeger <aj@suse.de>
17119 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17120 common definitions.
17122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17123 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17124 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17126 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17129 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17132 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17133 __ieee754_sqrl instead of __sqrl.
17135 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17137 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17138 * sysdeps/powerpc/fpu_control.h: ... here.
17139 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17140 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17141 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17142 * sysdeps/powerpc/bits/mathinline.h: ... here.
17144 2013-03-01 Roland McGrath <roland@hack.frob.com>
17146 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17147 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17148 to just [NEED_DL_SYSINFO_DSO].
17149 * elf/dl-support.c: Likewise.
17150 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17151 * elf/rtld.c (dl_main): Likewise.
17152 * elf/setup-vdso.h (setup_vdso): Likewise.
17153 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17154 * sysdeps/unix/sysv/linux/dl-sysdep.c
17155 (_dl_discover_osversion): Likewise.
17157 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17159 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17160 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17162 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17164 * NEWS: Mention libm performance improvements and non-x86 PI
17167 * csu/libc-start.c (__pthread_initialize_minimal): Change
17168 function arguments.
17169 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17171 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17174 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17175 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17176 <bp-sym.h> and <bp-asm.h>.
17177 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17178 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17180 (memcpy): Don't use BP_SYM.
17181 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17183 (__mpn_add_n): Don't use BP_SYM.
17184 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17185 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17187 (__mpn_addmul_1): Don't use BP_SYM.
17188 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17189 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17191 (_setjmp): Don't use BP_SYM.
17192 (__novmx_setjmp): Likewise.
17193 (__GI__setjmp): Likewise.
17194 (__vmx_setjmp): Likewise.
17195 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17197 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17198 (__bzero): Don't use BP_SYM.
17199 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17200 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17201 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17202 <bp-sym.h> and <bp-asm.h>.
17203 (memcpy): Don't use BP_SYM.
17204 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17205 <bp-sym.h> and <bp-asm.h>.
17206 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17207 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17208 <bp-sym.h> and <bp-asm.h>.
17209 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17210 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17212 (__mpn_lshift): Don't use BP_SYM.
17213 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17214 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17216 (memset): Don't use BP_SYM.
17217 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17218 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17219 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17221 (__mpn_mul_1): Don't use BP_SYM.
17222 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17223 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17224 <bp-sym.h> and <bp-asm.h>.
17225 (memcmp): Don't use BP_SYM.
17226 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17227 <bp-sym.h> and <bp-asm.h>.
17228 (memcpy): Don't use BP_SYM.
17229 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17230 <bp-sym.h> and <bp-asm.h>.
17231 (memset): Don't use BP_SYM.
17232 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17233 <bp-sym.h> and <bp-asm.h>.
17234 (strncmp): Don't use BP_SYM.
17235 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17236 <bp-sym.h> and <bp-asm.h>.
17237 (memcpy): Don't use BP_SYM.
17238 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17239 <bp-sym.h> and <bp-asm.h>.
17240 (memset): Don't use BP_SYM.
17241 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17242 <bp-sym.h> and <bp-asm.h>.
17243 (__memchr): Don't use BP_SYM.
17244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17245 <bp-sym.h> and <bp-asm.h>.
17246 (memcmp): Don't use BP_SYM.
17247 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17248 <bp-sym.h> and <bp-asm.h>.
17249 (memcpy): Don't use BP_SYM.
17250 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17251 <bp-sym.h> and <bp-asm.h>.
17252 (__mempcpy): Don't use BP_SYM.
17253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17254 <bp-sym.h> and <bp-asm.h>.
17255 (__memrchr): Don't use BP_SYM.
17256 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17257 <bp-sym.h> and <bp-asm.h>.
17258 (memset): Don't use BP_SYM.
17259 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17260 <bp-sym.h> and <bp-asm.h>.
17261 (__rawmemchr): Don't use BP_SYM.
17262 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17263 <bp-sym.h> and <bp-asm.h>.
17264 (__STRCMP): Don't use BP_SYM.
17265 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17266 <bp-sym.h> and <bp-asm.h>.
17267 (strchr): Don't use BP_SYM.
17268 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17269 <bp-sym.h> and <bp-asm.h>.
17270 (__strchrnul): Don't use BP_SYM.
17271 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17272 <bp-sym.h> and <bp-asm.h>.
17273 (strlen): Don't use BP_SYM.
17274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17275 <bp-sym.h> and <bp-asm.h>.
17276 (strncmp): Don't use BP_SYM.
17277 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17278 <bp-sym.h> and <bp-asm.h>.
17279 (__strnlen): Don't use BP_SYM.
17280 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17282 (__mpn_rshift): Don't use BP_SYM.
17283 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17284 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17285 <bp-sym.h> and <bp-asm.h>.
17286 (__sigsetjmp): Don't use BP_SYM.
17287 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17288 (L(start_addresses)): Don't use BP_SYM.
17289 (_start): Likewise.
17290 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17292 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17293 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17294 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17295 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17297 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17298 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17299 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17300 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17302 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17304 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17305 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17307 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17309 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17310 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17311 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17313 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17315 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17317 (strncmp): Don't use BP_SYM,
17318 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17320 (__mpn_sub_n): Don't use BP_SYM.
17321 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17322 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17324 (__mpn_submul_1): Don't use BP_SYM.
17325 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17327 <bp-sym.h> and <bp-asm.h>.
17328 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17330 <bp-sym.h> and <bp-asm.h>.
17331 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17334 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17337 Use ZK to minimize writes to Z.
17338 (sub_magnitudes): Simplify code a bit.
17339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17340 Use ZK to minimize writes to Z.
17341 (sub_magnitudes): Simplify code a bit.
17343 2013-02-27 Roland McGrath <roland@hack.frob.com>
17345 * csu/gmon-start.c: Add special exception to license text.
17347 2013-02-27 Richard Henderson <rth@redhat.com>
17349 * scripts/config.guess: Update from config.git.
17350 * scripts/config.sub: Likewise.
17352 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17356 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17358 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17360 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17362 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17364 2013-02-26 Roland McGrath <roland@hack.frob.com>
17366 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17367 [$(build-shared = yes].
17369 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17371 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17372 (__mul): Reduce iterations for calculating mantissa.
17374 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17376 (__mpranred): Likewise.
17379 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17380 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17382 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17384 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17385 Define __attribute__.
17387 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17389 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17391 * posix/regex_internal.h (__attribute): Remove.
17392 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17393 (re_string_context_at): Likewise.
17394 (bitset_not): Use __attribute__ and mark function as possibly
17396 (bitset_merge): Likewise.
17397 (bitset_mask): Likewise.
17398 (re_string_char_size_at): Likewise.
17399 (re_string_wchar_at): Likewise.
17400 (re_string_elem_size_at): Likewise.
17402 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17404 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17408 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17412 (denorm): Likewise.
17413 (__dbl_mp): Likewise.
17414 (add_magnitudes): Likewise.
17415 (sub_magnitudes): Likewise.
17419 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17422 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17425 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17429 up changes with default code.
17430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17433 2013-02-24 Allan McRae <allan@archlinux.org>
17435 * manual/socket.texi (The Internet Namespace): Order menu items
17436 to match that in the file.
17438 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17439 node listing of the info page menu.
17441 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17444 * sysdeps/i386/bp-asm.h: Remove file.
17445 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17446 (PARMS): Do not use macros from bp-asm.h.
17450 (__mpn_add_n): Do not use BP_SYM
17451 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17453 (PARMS): Do not use macros from bp-asm.h.
17456 (__mpn_addmul_1): Do not use BP_SYM
17457 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17459 (PARMS): Do not use macros from bp-asm.h.
17460 (SIGMSK): Likewise.
17461 (_setjmp): Likewise. Do not use BP_SYM.
17462 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17464 (PARMS): Do not use macros from bp-asm.h.
17465 (SIGMSK): Likewise.
17466 (setjmp): Likewise. Do not use BP_SYM.
17467 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17469 (PARMS): Do not use macros from bp-asm.h.
17470 (__frexp): Do not use BP_SYM.
17472 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17474 (PARMS): Do not use macros from bp-asm.h.
17475 (__frexpf): Do not use BP_SYM.
17476 (frexpf): Likewise.
17477 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (__frexpl): Do not use BP_SYM.
17481 (frexpl): Likewise.
17482 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17484 (PARMS): Do not use macros from bp-asm.h.
17485 (__remquo): Do not use BP_SYM.
17486 (remquo): Likewise.
17487 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17489 (PARMS): Do not use macros from bp-asm.h.
17490 (__remquof): Do not use BP_SYM.
17491 (remquof): Likewise.
17492 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17494 (PARMS): Do not use macros from bp-asm.h.
17495 (__remquol): Do not use BP_SYM.
17496 (remquol): Likewise.
17497 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17499 (PARMS): Do not use macros from bp-asm.h.
17502 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17503 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17505 (PARMS): Do not use macros from bp-asm.h.
17506 (strlen): Do not use BP_SYM.
17507 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17509 (PARMS): Do not use macros from bp-asm.h.
17513 (__mpn_add_n): Do not use BP_SYM.
17514 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17516 (PARMS): Do not use macros from bp-asm.h.
17519 (__mpn_addmul_1): Do not use BP_SYM.
17520 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17523 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17525 (PARMS): Do not use macros from bp-asm.h.
17528 (__mpn_lshift): Do not use BP_SYM.
17529 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17531 (PARMS): Do not use macros from bp-asm.h.
17535 (memcpy): Likewise. Do not use BP_SYM.
17536 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17537 libc_hidden_def and weak_alias.
17538 (mempcpy): Do not use BP_SYM in weak_alias.
17539 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17541 (PARMS): Do not use macros from bp-asm.h.
17544 [!BZERO_P] (CHR): Likewise.
17545 (memset): Likewise. Do not use BP_SYM.
17546 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17548 (PARMS): Do not use macros from bp-asm.h.
17551 (__mpn_mul_1): Do not use BP_SYM.
17552 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17554 (PARMS): Do not use macros from bp-asm.h.
17557 (__mpn_rshift): Do not use BP_SYM.
17558 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17560 (PARMS): Do not use macros from bp-asm.h.
17563 (strchr): Likewise. Do not use BP_SYM.
17564 (index): Do not use BP_SYM in weak_alias.
17565 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17567 (PARMS): Do not use macros from bp-asm.h.
17570 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17571 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17573 (PARMS): Do not use macros from bp-asm.h.
17574 (strlen): Do not use BP_SYM.
17575 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17577 (PARMS): Do not use macros from bp-asm.h.
17581 (__mpn_sub_n): Do not use BP_SYM.
17582 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17584 (PARMS): Do not use macros from bp-asm.h.
17587 (__mpn_submul_1): Do not use BP_SYM.
17588 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17590 (PARMS): Do not use macros from bp-asm.h.
17594 (__mpn_add_n): Do not use BP_SYM.
17595 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17598 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17600 (PARMS): Do not use macros from bp-asm.h.
17603 (memcmp): Do not use BP_SYM.
17604 (bcmp): Do not use BP_SYM in weak_alias.
17605 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17607 (PARMS): Do not use macros from bp-asm.h.
17611 (memcpy): Likewise. Do not use BP_SYM.
17612 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17614 (PARMS): Do not use macros from bp-asm.h.
17618 (memmove): Likewise. Do not use BP_SYM.
17619 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17621 (PARMS): Do not use macros from bp-asm.h.
17625 (__mempcpy): Likewise. Do not use BP_SYM.
17626 (mempcpy): Do not use BP_SYM in weak_alias.
17627 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17629 (PARMS): Do not use macros from bp-asm.h.
17632 [!BZERO_P] (CHR): Likewise.
17633 (memset): Likewise. Do not use BP_SYM.
17634 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17636 (PARMS): Do not use macros from bp-asm.h.
17638 (strcmp): Do not use BP_SYM.
17639 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17641 (PARMS): Do not use macros from bp-asm.h.
17644 [USE_AS_STRTOK_R] (SAVE): Likewise.
17645 (FUNCTION): Likewise. Do not use BP_SYM.
17646 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17648 (strtok_r): Likewise.
17649 (__GI___strtok_r): Likewise.
17650 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17651 (PARMS): Do not use macros from bp-asm.h.
17654 (__mpn_lshift): Do not use BP_SYM.
17655 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17656 (PARMS): Do not use macros from bp-asm.h.
17659 (__memchr): Do not use BP_SYM.
17660 (memchr): Do not use BP_SYM in weak_alias.
17661 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17662 (PARMS): Do not use macros from bp-asm.h.
17665 (memcmp): Do not use BP_SYM.
17666 (bcmp): Do not use BP_SYM in weak_alias.
17667 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17668 (PARMS): Do not use macros from bp-asm.h.
17671 (__mpn_mul_1): Do not use BP_SYM.
17672 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17674 (PARMS): Do not use macros from bp-asm.h.
17677 (__rawmemchr): Do not use BP_SYM.
17678 (rawmemchr): Do not use BP_SYM in weak_alias.
17679 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17680 (PARMS): Do not use macros from bp-asm.h.
17683 (__mpn_rshift): Do not use BP_SYM.
17684 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17685 (PARMS): Do not use macros from bp-asm.h.
17686 (SIGMSK): Likewise.
17687 (__sigsetjmp): Likewise. Do not use BP_SYM.
17688 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17689 (_start): Do not use BP_SYM.
17690 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17691 (PARMS): Do not use macros from bp-asm.h.
17694 (__stpcpy): Likewise. Do not use BP_SYM.
17695 (stpcpy): Do not use BP_SYM in weak_alias.
17696 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17698 (PARMS): Do not use macros from bp-asm.h.
17702 (__stpncpy): Likewise. Do not use BP_SYM.
17703 (stpncpy): Do not use BP_SYM in weak_alias.
17704 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17705 (PARMS): Do not use macros from bp-asm.h.
17708 (strchr): Likewise. Do not use BP_SYM.
17709 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17711 (PARMS): Do not use macros from bp-asm.h.
17714 (__strchrnul): Likewise. Do not use BP_SYM.
17715 (strchrnul): Do not use BP_SYM in weak_alias.
17716 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17718 (PARMS): Do not use macros from bp-asm.h.
17720 (strcspn): Do not use BP_SYM.
17721 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17723 (PARMS): Do not use macros from bp-asm.h.
17726 (strpbrk): Likewise. Do not use BP_SYM.
17727 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17729 (PARMS): Do not use macros from bp-asm.h.
17732 (strrchr): Likewise. Do not use BP_SYM.
17733 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17734 (PARMS): Do not use macros from bp-asm.h.
17736 (strspn): Do not use BP_SYM.
17737 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17738 (PARMS): Do not use macros from bp-asm.h.
17742 (FUNCTION): Likewise. Do not use BP_SYM.
17743 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17745 (strtok_r): Likewise.
17746 (__GI___strtok_r): Likewise.
17747 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17748 (PARMS): Do not use macros from bp-asm.h.
17752 (__mpn_sub_n): Do not use BP_SYM.
17753 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17755 (PARMS): Do not use macros from bp-asm.h.
17758 (__mpn_submul_1): Do not use BP_SYM.
17759 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17761 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17763 (PARMS): Do not use macros from bp-asm.h.
17768 (__clone): Do not use BP_SYM.
17769 (clone): Do not use BP_SYM in weak_alias.
17770 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17772 (PARMS): Do not use macros from bp-asm.h.
17774 (__mmap64): Do not use BP_SYM.
17775 (mmap64): Do not use BP_SYM in weak_alias.
17776 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17777 <bp-sym.h> and <bp-asm.h>.
17778 (PARMS): Do not use macros from bp-asm.h.
17779 (__posix_fadvise64_l64): Do not use BP_SYM.
17780 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17781 (PARMS): Do not use macros from bp-asm.h.
17783 (semtimedop): Do not use BP_SYM.
17784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17787 2013-02-21 Allan McRae <allan@archlinux.org>
17789 * manual/message.texi (Charset conversion in gettext):
17790 Move @end statement to beginning of line.
17792 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17799 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17800 (denorm): Likewise.
17801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17804 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17806 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17807 tail-call to the resolved function if pltexit isn't needed.
17809 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17812 or Y being zero as being unlikely.
17813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17816 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17818 * manual/nss.texi (System Databases and Name Service Switch):
17819 Remove frobnicate @pxref.
17821 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17823 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17824 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17826 2013-02-20 Petr Machata <pmachata@redhat.com>
17828 * elf/elf.h (R_ARM_TARGET1): New macro.
17829 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17830 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17831 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17832 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17833 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17834 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17835 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17836 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17837 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17838 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17839 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17840 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17841 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17842 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17843 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17844 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17845 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17846 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17847 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17848 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17849 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17850 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17851 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17852 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17853 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17854 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17855 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17856 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17857 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17858 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17859 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17860 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17861 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17862 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17863 (R_ARM_THM_GOT_BREL12): Likewise.
17864 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17865 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17866 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17867 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17868 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17869 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17870 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17871 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17872 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17874 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17876 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17877 __attribute_used__ to __attribute__ ((unused)).
17879 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17881 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17884 comment formatting.
17885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17887 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17890 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17892 (ENTER): Remove both macro definitions.
17894 (CHECK_BOUNDS_LOW): Likewise.
17895 (CHECK_BOUNDS_HIGH): Likewise.
17896 (CHECK_BOUNDS_BOTH): Likewise.
17897 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17898 (RETURN_BOUNDED_POINTER): Likewise.
17899 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17900 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17901 (POP_ERRNO_LOCATION_RETURN): Likewise.
17902 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17903 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17904 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17906 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17907 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17908 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17909 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17910 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17911 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17912 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17913 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17914 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17915 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17916 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17917 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17918 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17919 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17921 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17922 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17924 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17925 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17926 * sysdeps/i386/i586/memset.S (memset): Likewise.
17927 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17928 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17929 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17931 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17932 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17933 Change uses of L(2) to L(out).
17934 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17935 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17936 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17937 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17938 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17940 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17941 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17943 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17944 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17945 (RETURN): Do not use macro LEAVE.
17946 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17947 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17948 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17949 * sysdeps/i386/i686/memset.S (memset): Likewise.
17950 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17951 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17952 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17953 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17955 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17956 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17957 L(1_2) and L(1_3) into L(1).
17958 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17959 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17960 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17961 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17962 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17963 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17964 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17965 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17966 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17968 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17969 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17970 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17971 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17972 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17973 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17974 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17975 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17976 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17977 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17978 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17979 * sysdeps/i386/strspn.S (strspn): Likewise.
17980 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17982 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17983 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17984 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17985 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17986 L(1_3) into L(1_1).
17987 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17988 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17989 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17991 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17993 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17995 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17998 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18000 * math/atest-exp.c (exp_mpn): Remove ROUND.
18001 * math/atest-exp2.c (exp_mpn): Likewise.
18002 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18004 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18005 * stdlib/tst-tls-atexit-lib.c: Likewise.
18006 * stdlib/tst-tls-atexit.c: Likewise.
18008 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18010 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18011 and __attribute_alloc_size__.
18013 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18015 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18016 __attribute_alloc_size__.
18017 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18018 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18020 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18022 * include/programs/xmalloc.h: New file.
18023 * catgets/gencat.c: Include it.
18024 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18025 * elf/pldd.c: Likewise.
18026 * iconv/iconv_charmap.c: Likewise.
18027 * iconv/iconvconfig.c: Likewise.
18028 * iconv/strtab.c: Likewise.
18029 * locale/programs/locale.c: Likewise.
18030 * locale/programs/localedef.h: Likewise.
18031 * locale/programs/simple-hash.c: Likewise.
18032 * nscd/nscd.h: Likewise.
18033 * nss/makedb.c: Likewise.
18034 * sysdeps/generic/ldconfig.h: Likewise.
18036 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18038 * Versions.def: Add GLIBC_2.18.
18039 * include/link.h (struct link_map): New member l_tls_dtor_count.
18040 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18041 (__call_tls_dtors): Likewise.
18042 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18043 __cxa_thread_atexit_impl.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18060 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18061 (tests): Add test case tst-tls-atexit.
18062 (modules-names): Add shared library for tst-tls-atexit.
18063 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18064 (GLIBC_PRIVATE): Add __call_tls_dtors.
18065 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18067 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18068 * stdlib/tst-tls-atexit.c: New test case.
18069 * stdlib/tst-tls-atexit-lib.c: New test case.
18071 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18073 * elf/Versions (ld): Add _dl_find_dso_for_object.
18074 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18075 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18076 (dl_open_worker): Use _dl_find_dso_for_object.
18077 * elf/dl-sym.c (do_sym): Likewise.
18078 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18080 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18082 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18083 Syntactic changes only.
18084 (_dl_runtime_profile): Do a tail-call to the resolved function.
18086 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18089 * sysdeps/x86_64/bp-asm.h: Remove file.
18090 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18091 <bp-sym.h> and <bp-asm.h>.
18092 (__clone): Do not use BP_SYM.
18093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18094 <bp-sym.h> and <bp-asm.h>.
18095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18096 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18098 (_setjmp): Do not use BP_SYM.
18099 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18101 (setjmp): Do not use BP_SYM.
18102 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18104 (mempcpy): Do not use BP_SYM in weak_alias.
18105 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18107 (strchr): Do not use BP_SYM.
18108 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18110 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18111 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18112 (_start): Do not use BP_SYM.
18113 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18115 (strcat): Do not use BP_SYM.
18116 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18118 (STRCMP): Do not use BP_SYM.
18119 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18121 (STRCPY): Do not use BP_SYM.
18122 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18124 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18126 (FUNCTION): Do not use BP_SYM.
18127 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18129 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18131 2013-02-17 Andreas Jaeger <aj@suse.de>
18133 * time/Versions: Sort entries.
18134 * string/Versions: Likewise.
18135 * resolv/Versions: Likewise.
18136 * posix/Versions: Likewise.
18137 * iconv/Versions: Likewise.
18138 * elf/Versions: Likewise.
18139 * wcsmbs/Versions: Likewise.
18141 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18143 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18144 loop termination condition.
18146 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18147 variable to calculate EZ.
18150 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18151 the lower precision input.
18153 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18156 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18157 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18158 (run-via-rtld-prefix): Do not handle %-bp tests.
18159 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18160 (all-object-suffixes): Remove .ob.
18161 (bppfx): Remove variable.
18162 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18163 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18164 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18165 [$(build-bounded) = yes] (libtype.ob): Likewise.
18166 * Makerules (elide-routines.ob): Remove variable.
18167 (do-tests-clean): Do not handle *-bp.out.
18168 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18169 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18170 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18171 (tests): Do not include $(tests-bp.out).
18172 (xtests): Do not include $(xtests-bp.out).
18173 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18174 [$(build-bounded) = yes] ($(addprefix
18175 $(objpfx),$(binaries-bounded))): Remove rule.
18176 ($(objpfx)%-bp.out): Remove rule.
18177 * config.make.in (build-bounded): Remove variable.
18178 * crypt/Makefile [$(build-bounded) = yes]
18179 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18180 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18181 append to variable.
18182 [$(build-bounded) = yes] (install-lib): Likewise.
18183 [$(build-bounded) = yes] (generated): Likewise.
18184 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18186 * intl/Makefile [$(build-bounded) = yes]
18187 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18188 * math/Makefile [$(build-bounded) = yes]
18189 ($(tests:%=$(objpfx)%-bp): Likewise.
18190 * misc/Makefile [$(build-bounded) = yes]
18191 ($(objpfx)tst-tsearch-bp): Likewise.
18192 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18193 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18195 * string/Makefile (o-objects.ob): Remove variable.
18196 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18197 (CFLAGS-.ob): Remove variable.
18198 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18199 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18200 both definitions of variable.
18201 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18202 (ASFLAGS-.ob): Remove variable.
18204 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18207 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18208 Remove __BOUNDED_POINTERS__ from condition.
18209 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18210 * string/bits/string2.h [!__NO_STRING_INLINES &&
18211 !__BOUNDED_POINTERS__]: Likewise.
18212 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18214 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18215 Remove conditional code.
18216 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18217 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18218 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18222 * csu/libc-start.c: Do not include <bp-sym.h>.
18223 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18224 * elf/dl-open.c: Do not include <bp-sym.h>.
18225 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18226 * math/fegetenv.c: Do not include <bp-sym.h>.
18227 (fegetenv): Do not use BP_SYM in versioned symbols.
18228 * nptl/sysdeps/pthread/bits/libc-lockP.h
18229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18232 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18234 (__pthread_mutex_destroy): Likewise.
18235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18236 (__pthread_mutex_lock): Likewise.
18237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18238 (__pthread_mutex_trylock): Likewise.
18239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18240 (__pthread_mutex_unlock): Likewise.
18241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18242 (__pthread_mutexattr_init): Likewise.
18243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18244 (__pthread_mutexattr_destroy): Likewise.
18245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18246 (__pthread_mutexattr_settype): Likewise.
18247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18248 (__pthread_rwlock_init): Likewise.
18249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18250 (__pthread_rwlock_destroy): Likewise.
18251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18252 (__pthread_rwlock_rdlock): Likewise.
18253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18254 (__pthread_rwlock_tryrdlock): Likewise.
18255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18256 (__pthread_rwlock_wrlock): Likewise.
18257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18258 (__pthread_rwlock_trywrlock): Likewise.
18259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18260 (__pthread_rwlock_unlock): Likewise.
18261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18262 (__pthread_key_create): Likewise.
18263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18264 (__pthread_setspecific): Likewise.
18265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18266 (__pthread_getspecific): Likewise.
18267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18270 (_pthread_cleanup_push_defer): Likewise.
18271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18272 (_pthread_cleanup_pop_restore): Likewise.
18273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18274 (pthread_setcancelstate): Likewise.
18275 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18277 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18278 (memchr): Do not use BP_SYM in weak_alias.
18279 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18280 (fegetenv): Do not use BP_SYM in versioned symbols.
18281 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18282 (fesetenv): Do not use BP_SYM in versioned symbols.
18283 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18284 (feupdateenv): Do not use BP_SYM in versioned symbols.
18285 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18286 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18287 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18288 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18289 (open64): Do not use BP_SYM in weak_alias.
18290 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18291 (fegetenv): Do not use BP_SYM in versioned symbols.
18292 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18293 (fesetenv): Do not use BP_SYM in versioned symbols.
18294 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18295 (feupdateenv): Do not use BP_SYM in versioned symbols.
18296 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18297 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18298 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18299 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18300 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18301 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18302 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18304 (__libc_start_main): Do not use BP_SYM.
18306 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18309 redundant return line.
18311 (denorm): Likewise.
18312 (dbl_mp): Likewise.
18313 (sub_magnitudes): Likewise.
18319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18321 (denorm): Likewise.
18322 (dbl_mp): Likewise.
18323 (sub_magnitudes): Likewise.
18330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18332 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18333 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18336 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18337 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18339 of __mul for squares.
18340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18344 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18345 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18347 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18350 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18352 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18353 prototype or function definition. Rename ubp_* variables and
18354 parameters. Remove argv definitions conditional on
18355 [__BOUNDED_POINTERS__].
18356 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18357 * elf/dl-runtime.c (_dl_fixup): Likewise.
18358 * include/set-hooks.h (RUN_HOOK): Likewise.
18359 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18361 * string/strcpy.c (strcpy): Do not use __unbounded.
18362 * sysdeps/generic/frame.h (struct layout): Likewise.
18363 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18364 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18365 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18366 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18367 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18368 (__backtrace): Likewise.
18369 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18371 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18372 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18373 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18375 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18376 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18377 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18378 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18379 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18380 Do not use __unbounded.
18381 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18382 Rename __unboundedrlimits parameter to rlimits in prototype.
18383 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18384 Do not use __unbounded.
18385 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18386 not use __ptrvalue.
18387 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18388 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18389 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18390 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18391 __ptrvalue or __unbounded.
18392 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18393 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18395 (__new_msgctl): Do not use __ptrvalue.
18396 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18398 (__libc_msgrcv): Do not use __ptrvalue.
18399 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18400 startup_info): Do not use __unbounded.
18401 (__libc_start_main): Likewise. Rename ubp_* variables and
18402 parameters. Remove argv definitions conditional on
18403 [__BOUNDED_POINTERS__].
18404 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18406 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18408 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18410 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18412 (__new_shmctl): Do not use __ptrvalue.
18413 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18414 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18416 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18418 (__libc_sigaction): Likewise.
18419 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18422 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18424 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18426 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18428 * string/mempcpy.c: Implement by calling memcpy.
18430 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18437 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18438 values in the mantissa.
18440 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18441 minimize writes to Z.
18442 (sub_magnitudes): Simplify code a bit.
18444 2013-02-12 Roland McGrath <roland@hack.frob.com>
18446 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18447 from the message. The linker prefixes all warnings with that already.
18449 2013-02-12 Andreas Schwab <schwab@suse.de>
18452 * posix/regexec.c (extend_buffers): Add parameter min_len.
18453 (check_matching): Pass minimum needed length.
18454 (clean_state_log_if_needed): Likewise.
18455 (get_subexp): Likewise.
18456 * posix/Makefile (tests): Add bug-regex34.
18457 (bug-regex34-ENV): Define.
18458 * posix/bug-regex34.c: New file.
18461 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18462 elements compare against the byte sequence of it, not its name.
18463 * posix/Makefile (tests): Add bug-regex35.
18464 (bug-regex35-ENV): Define.
18465 * posix/bug-regex35.c: New file.
18467 2013-02-11 Tom de Vries <tom@codesourcery.com>
18469 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18471 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18472 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18473 (CHECK_EOL): Add undef.
18475 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18477 * bits/stdlib-bsearch.h: New file.
18478 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18479 * stdlib/stdlib.h: Likewise.
18481 2013-02-11 Roland McGrath <roland@hack.frob.com>
18483 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18484 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18486 * manual/search.texi (Array Search Function): Add missing const in
18488 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18489 declaration to use rlim_t.
18490 (Basic Scheduling Functions): Remove erroneous const from
18491 sched_getparam prototype. Remove erroneous * from
18492 sched_get_priority_max and sched_get_priority_min prototypes.
18493 (Resource Usage): Fix summary @comment on vtimes to refer to
18494 sys/vtimes.h rather than vtimes.h.
18495 Add missing *s in vtimes prototype.
18496 (Limits on Resources): Fix ulimit prototype to return long int.
18497 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18498 prototypes to use long int rather than double.
18499 (BSD Random): Fix initstate and setstate to use char *, not void *.
18500 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18501 prototype to make second argument 'struct aiocb64 *const[]'.
18502 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18503 (Status of AIO Operations): Remove erroneous const in aio_return and
18504 aio_return64 prototypes.
18505 (Synchronizing I/O): Fix sync prototype to return void.
18506 * manual/startup.texi (Suboptions): Remove an erroneous const in
18507 getsubopt prototype.
18508 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18509 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18510 use size_t rather than int.
18511 (Scanning All Users): Likewise for getpwent_r.
18512 (Setting Groups): Add missing const to setgroups prototype.
18513 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18514 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18515 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18516 'const void *' rather than 'const char *'.
18517 (Host Address Functions): Likewise for inet_ntop.
18518 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18519 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18520 ssize_t for return value.
18521 (Sending Data): Likewise for send, sendto, sendmsg.
18522 (Socket Option Functions): Add a missing const in setsockopt prototype.
18523 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18524 use wchar_t for the argument.
18525 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18526 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18528 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18529 double/float/long double for second argument.
18530 Fix return types of significand, significandf, significandl.
18531 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18532 argument in fchmod prototype.
18533 (File Owner): Use uid_t and gid_t in fchown prototype.
18534 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18535 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18536 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18537 use 'const struct dirent **' as argument types to CMP function pointer
18539 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18540 (File Times): Fix summary magic @comment for struct utimbuf and utime
18541 to refer to utime.h, not time.h.
18542 * manual/string.texi (Argz Functions): Add missing const in
18543 argz_extract and argz_next prototypes.
18544 (Finding Tokens in a String): Likewise for basename.
18545 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18546 (Copying and Concatenation): Fix typo in wmemmove prototype.
18547 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18548 (Signal Stack): Remove erroneous const in sigstack prototype.
18549 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18551 (Simple Calendar Time): Likewise for stime.
18552 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18554 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18555 say sys/sysctl.h instead.
18556 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18557 and vsyslog prototypes.
18559 2013-02-11 Tom de Vries <tom@codesourcery.com>
18561 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18564 2013-02-11 Roland McGrath <roland@hack.frob.com>
18566 * misc/sys/mman.h: Fix typo in mremap comment.
18568 2013-02-08 Roland McGrath <roland@hack.frob.com>
18570 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18571 the '\0' terminator.
18573 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18576 * debug/segfault.c: Don't include <bp-checks.h>.
18577 * sysdeps/generic/bp-checks.h: Remove file.
18578 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18579 (__GETDENTS): Don't use CHECK_N.
18580 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18581 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18582 (__getgroups): Don't use CHECK_N.
18583 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18584 (setgroups): Don't use CHECK_N.
18585 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18586 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18587 (__libc_msgrcv): Don't use CHECK_N.
18588 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18589 (__libc_msgsnd): Don't use CHECK_N.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18592 (__libc_pread): Don't use CHECK_N.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18594 include <bp-checks.h>.
18595 (__libc_pread64): Don't use CHECK_N.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18597 include <bp-checks.h>.
18598 (__libc_pwrite): Don't use CHECK_N.
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18600 include <bp-checks.h>.
18601 (__libc_pwrite64): Don't use CHECK_N.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18604 (__libc_pread): Don't use CHECK_N.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18606 include <bp-checks.h>.
18607 (__libc_pread64): Don't use CHECK_N.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18609 include <bp-checks.h>.
18610 (__libc_pwrite): Don't use CHECK_N.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18612 include <bp-checks.h>.
18613 (__libc_pwrite64): Don't use CHECK_N.
18614 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18615 (do_pread): Don't use CHECK_N.
18616 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18617 (do_pread64): Don't use CHECK_N.
18618 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18619 (do_pwrite): Don't use CHECK_N.
18620 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18621 (do_pwrite64): Don't use CHECK_N.
18622 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18623 (__libc_readv): Don't use CHECK_N.
18624 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18625 (semop): Don't use CHECK_N.
18626 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18628 (semtimedop): Don't use CHECK_N.
18629 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18630 (__libc_pread): Don't use CHECK_N.
18631 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18633 (__libc_pread64): Don't use CHECK_N.
18634 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18636 (__libc_pwrite): Don't use CHECK_N.
18637 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18639 (__libc_pwrite64): Don't use CHECK_N.
18640 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18642 (__libc_msgrcv): Don't use CHECK_N.
18643 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18644 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18645 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18646 (__libc_writev): Don't use CHECK_N.
18648 2013-02-08 Roland McGrath <roland@hack.frob.com>
18650 * string/strcpy.c: Removed unused variable.
18652 * Makeconfig (+sysdep-includes): Define with := rather than =.
18653 Use an existing include/ subdir of each sysdeps dir before it.
18655 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18657 * nscd/connection.c (register_traced_file): Comment function.
18658 [HAVE_INOTIFY] (union __inev): Define.
18659 [HAVE_INOTIFY] (inotify_check_files): New function.
18660 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18661 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18663 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18665 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18667 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18668 loaded if not already and that a failure is permanent.
18670 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18673 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18674 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18676 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18679 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18680 (CHECK_1_NULL_OK): Likewise.
18681 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18682 (__fxstat): Do not use CHECK_1.
18683 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18685 (___fxstat64): Do not use CHECK_1.
18686 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18688 (__fxstatat): Do not use CHECK_1.
18689 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18691 (__fxstatat64): Do not use CHECK_1.
18692 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18694 (__fxstat): Do not use CHECK_1.
18695 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18697 (__fxstatat): Do not use CHECK_1.
18698 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18700 (__getresgid): Do not use CHECK_1.
18701 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18703 (__getresuid): Do not use CHECK_1.
18704 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18706 (__lxstat): Do not use CHECK_1.
18707 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18709 (__old_msgctl): Do not use CHECK_1.
18710 (__new_msgctl): Likewise.
18711 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18713 (__new_setrlimit): Do not use CHECK_1.
18714 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18716 (__old_shmctl): Do not use CHECK_1.
18717 (__new_shmctl): Likewise.
18718 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18720 (__xstat): Do not use CHECK_1.
18721 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18722 (__lxstat): Do not use CHECK_1.
18723 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18725 (___lxstat64): Do not use CHECK_1.
18726 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18727 (__old_msgctl): Do not use CHECK_1.
18728 (__new_msgctl): Likewise.
18729 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18731 (__gettimeofday): Do not use CHECK_1.
18732 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18733 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18734 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18736 (__gettimeofday): Do not use CHECK_1.
18737 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18738 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18739 (__new_shmctl): Do not use CHECK_1.
18740 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18742 (do_sigtimedwait): Do not use CHECK_1.
18743 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18745 (do_sigwaitinfo): Do not use CHECK_1.
18746 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18748 (msgctl): Do not use CHECK_1.
18749 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18751 (shmctl): Do not use CHECK_1.
18752 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18753 (ustat): Do not use CHECK_1.
18754 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18756 (__fxstat): Do not use CHECK_1.
18757 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18759 (__fxstatat): Do not use CHECK_1.
18760 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18762 (__lxstat): Do not use CHECK_1.
18763 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18765 (__xstat): Do not use CHECK_1.
18766 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18767 (__xstat): Do not use CHECK_1.
18768 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18769 (___xstat64): Do not use CHECK_1.
18772 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18774 (CHECK_BOUNDS_HIGH): Likewise.
18775 * string/strcpy.c: Do not include <bp-checks.h>.
18776 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18778 2013-02-07 Roland McGrath <roland@hack.frob.com>
18780 * nscd/nscd-client.h (__nscd_drop_map_ref):
18781 Add __attribute__ ((unused)).
18782 * nis/nss-nisplus.h (niserr2nss): Likewise.
18784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18785 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18787 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18788 Remove inline keyword.
18789 * include/rounding-mode.h (round_away): Likewise.
18790 * libio/wfileops.c (adjust_wide_data): Likewise.
18791 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18792 (__m128i_strloadu_tolower): Likewise.
18793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18794 (__m128i_strloadu_tolower): Likewise.
18795 * time/mktime.c (ydhms_diff): Likewise.
18796 * locale/elem-hash.h (elem_hash): Likewise.
18797 * locale/setlocale.c (setdata): Likewise.
18798 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18799 (re_string_wchar_at): Likewise.
18800 (bitset_not, bitset_merge, bitset_mask): Likewise.
18801 [!(__GNUC__ > 3)] (inline): Remove macro.
18802 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18803 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18804 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18805 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18806 * string/memcmp.c (memcmp_bytes): Likewise.
18807 * locale/programs/locarchive.c (compute_hashval): Likewise.
18808 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18809 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18810 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18811 * nss/getent.c (print_rpc, print_protocols): Likewise.
18812 (print_passwd, print_group, print_aliases): Likewise.
18813 * nis/nss-nisplus.h (niserr2nss): Likewise.
18814 * nscd/connections.c (restart_p): Likewise.
18815 Change return type to bool.
18817 2013-02-05 Roland McGrath <roland@hack.frob.com>
18819 * Makeconfig (all-Depend-files): Add existing
18820 $(sorted-subdirs:=/Depend) files.
18821 (all-subdirs): Remove nss.
18822 * sysdeps/unix/inet/Subdirs: Add it here instead.
18823 * hesiod/Depend: New file.
18825 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18826 instead of calling alloca.
18828 * io/lseek.c (__lseek): Rename to __libc_lseek.
18829 Define __lseek as an alias.
18831 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18833 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18835 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18836 else clause and remove check for non-standard endianness.
18838 2013-02-04 David S. Miller <davem@davemloft.net>
18840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18842 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18845 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18846 (__ubp_memchr): Remove prototype.
18847 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18848 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18849 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18850 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18851 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18853 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18854 (__ubp_memchr): Likewise.
18855 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18856 (__ubp_memchr): Likewise.
18857 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18858 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18859 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18860 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18862 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18863 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18864 (__getcwd): Do not use CHECK_STRING.
18865 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18867 (__real_chown): Do not use CHECK_STRING.
18868 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18870 (fchownat): Do not use CHECK_STRING.
18871 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18873 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18875 (__lchown): Do not use CHECK_STRING.
18876 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18877 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18878 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18879 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18881 include <bp-checks.h>.
18882 (truncate64): Do not use CHECK_STRING.
18883 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18885 (__real_chown): Do not use CHECK_STRING.
18886 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18888 (__lchown): Do not use CHECK_STRING.
18889 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18891 (__chown): Do not use CHECK_STRING.
18892 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18894 (truncate64): Do not use CHECK_STRING.
18895 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18897 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18898 (__xmknod): Do not use CHECK_STRING.
18899 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18901 (__xmknodat): Do not use CHECK_STRING.
18902 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18903 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18905 2013-02-04 Andreas Schwab <schwab@suse.de>
18908 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18909 * include/netdb.h: Likewise for h_errno.
18910 * elf/tst-stackguard1.c: Include <tls.h>.
18912 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18914 * elf/link.h (struct link_map): Extend the l_addr comment.
18915 * include/link.h (struct link_map): Likewise.
18917 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18920 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18921 (BOUNDED_1): Remove macro.
18922 * debug/backtrace.c: Don't include <bp-checks.h>.
18923 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18924 (__backtrace): Likewise.
18925 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18927 (__backtrace): Don't use BOUNDED_1.
18928 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18930 (__backtrace): Don't use BOUNDED_1.
18931 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18932 (__backtrace): Don't use BOUNDED_1.
18933 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18934 (shmat): Don't use BOUNDED_N.
18936 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18939 * sysdeps/generic/bp-start.h: Remove file.
18940 * csu/libc-start.c: Don't include <bp-start.h>.
18941 (LIBC_START_MAIN): Set up __environ directly instead of using
18942 INIT_ARGV_and_ENVIRON.
18943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18947 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18949 (CHECK_FCNTL): Likewise.
18950 (CHECK_N_PAGES): Likewise.
18953 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18955 (CHECK_SIGSET_NULL_OK): Likewise.
18956 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18958 (sigpending): Don't use CHECK_SIGSET.
18959 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18961 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18962 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18964 (do_sigsuspend): Don't use CHECK_SIGSET.
18965 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18967 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18968 (do_sigwait): Don't use CHECK_SIGSET.
18969 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18971 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18972 include <bp-checks.h>.
18973 (sigpending): Don't use CHECK_SIGSET.
18974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18975 include <bp-checks.h>.
18976 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18977 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18979 (sigpending): Don't use CHECK_SIGSET.
18980 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18982 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18985 * sysdeps/generic/bp-semctl.h: Remove file.
18986 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18987 <bp-checks.h> and <bp-semctl.h>.
18988 (__old_semctl): Don't use CHECK_SEMCTL.
18989 (__new_semctl): Likewise.
18990 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18992 (__old_semctl): Don't use CHECK_SEMCTL.
18993 (__new_semctl): Likewise.
18994 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18995 <bp-checks.h> and <bp-semctl.h>.
18996 (__old_semctl): Don't use CHECK_SEMCTL.
18997 (__new_semctl): Likewise.
18998 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18999 <bp-checks.h> and <bp-semctl.h>.
19000 (semctl): Don't use CHECK_SEMCTL.
19003 * Makerules (elide-bp-thunks): Remove variable.
19004 (elide-routines.oS): Don't use $(elide-bp-thunks).
19005 (elide-routines.os): Likewise.
19006 (elide-routines.o): Likewise.
19007 (elide-routines.op): Likewise.
19008 (elide-routines.og): Likewise.
19009 (objects): Don't use $(bp-thunks).
19010 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19012 (common-generated): Do not add s-proto-bp.d.
19013 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19016 Do not generate makefile rules for bounded-pointer thunks.
19017 * sysdeps/generic/bp-thunks.h: Remove file.
19018 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19019 * sysdeps/unix/s-proto-bp.S: Likewise.
19022 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19023 parts of result separately when argument is not close to line from
19024 -i to i and one part of argument is small.
19025 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19026 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19027 * math/libm-test.inc (cacos_test): Add more tests.
19028 (casin_test): Likewise.
19029 (casinh_test): Likewise.
19030 * sysdeps/i386/fpu/libm-test-ulps: Update.
19031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19033 2013-01-31 David S. Miller <davem@davemloft.net>
19035 * po/de.po: Update from translation team.
19037 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19039 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19041 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19043 * configure.in (_AC_PROG_CC_C89): New definition.
19044 * configure: Regenerate.
19046 * configure.in (AC_PROG_CPP): New definition.
19047 * configure: Regenerate.
19049 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19051 * debug/tst-backtrace.h: New file.
19052 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19053 (ret): Remove variable.
19055 (FAIL): Remove macro.
19056 (NO_INLINE): Likewise.
19057 (fn1): Use match function instead of strstr.
19058 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19059 (ret): Remove variable.
19061 (FAIL): Remove macro.
19062 (NO_INLINE): Likewise.
19063 (fn): Use match function instead of strstr.
19064 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19065 (ret): Remove variable.
19067 (FAIL): Remove macro.
19068 (NO_INLINE): Likewise.
19069 (handle_signal): Use match function instead of strstr.
19070 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19071 (ret): Remove variable.
19073 (FAIL): Remove macro.
19074 (NO_INLINE): Likewise.
19075 (handle_signal): Use match function instead of strstr.
19077 2013-01-23 Roland McGrath <roland@hack.frob.com>
19079 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19081 2013-01-23 David S. Miller <davem@davemloft.net>
19083 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19084 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19085 argument of CAS if possible.
19086 * sysdeps/sparc/sparc64/bits/atomic.h
19087 (__arch_compare_and_exchange_val_32_acq): Likewise.
19088 (__arch_compare_and_exchange_val_64_acq): Likewise.
19090 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19092 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19093 * sysdeps/posix/ulimit.c: ... this.
19094 Include <limits.h>.
19095 * sysdeps/unix/bsd/ulimit.c: Remove file.
19097 2013-01-23 Adam Conrad <adconrad@0c3.net>
19099 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19100 (LDFLAGS-tst-array5): Likewise.
19102 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19105 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19106 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19107 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19108 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19110 2013-01-21 David S. Miller <davem@davemloft.net>
19112 * sysdeps/sparc/backtrace.c: New file.
19113 * sysdeps/sparc/sparc32/backtrace.h: New file.
19114 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19115 * sysdeps/sparc/sparc64/backtrace.h: New file.
19116 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19117 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19120 2013-01-21 Andreas Schwab <schwab@suse.de>
19123 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19126 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19132 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19133 Mark Mitchell <mark@codesourcery.com>
19134 Tom de Vries <tom@codesourcery.com>
19135 Paul Pluzhnikov <ppluzhnikov@google.com>
19137 * debug/tst-backtrace2.c: New file.
19138 * debug/tst-backtrace3.c: Likewise.
19139 * debug/tst-backtrace4.c: Likewise.
19140 * debug/tst-backtrace5.c: Likewise.
19141 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19142 (CFLAGS-tst-backtrace3.c): Likewise.
19143 (CFLAGS-tst-backtrace4.c): Likewise.
19144 (CFLAGS-tst-backtrace5.c): Likewise.
19145 (LDFLAGS-tst-backtrace2): Likewise.
19146 (LDFLAGS-tst-backtrace3): Likewise.
19147 (LDFLAGS-tst-backtrace4): Likewise.
19148 (LDFLAGS-tst-backtrace5): Likewise.
19149 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19150 tst-backtrace4 and tst-backtrace5.
19152 2013-01-18 Anton Blanchard <anton@samba.org>
19153 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19156 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19157 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19158 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19160 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19161 "+r" and remove output regs list as redundant. Add explicit inline
19162 asm to specify register of return val to work around compiler codegen
19163 bug. Remove (int) cast on return value. Add return type parameter to
19164 use in macro so that this macro does not truncate return value for
19166 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19167 pass to INTERNAL_VSYSCALL_NCS.
19168 (INLINE_VSYSCALL): Add 'long int' as return type to
19169 INTERNAL_VSYSCALL_NCS macro invocation.
19170 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19171 INTERNAL_VSYSCALL_NCS macro invocation.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19174 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19177 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19178 Fix application of SIMD FP exception mask.
19180 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19181 mp_no from a power of two.
19182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19183 __mpexp_twomm1. Use __pow_mp.
19185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19188 2013-01-17 David S. Miller <davem@davemloft.net>
19190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19192 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19195 * include/complex.h: Condition contents on [!_COMPLEX_H].
19196 (__kernel_casinhf): New prototype.
19197 (__kernel_casinh): Likewise.
19198 (__kernel_casinhl): Likewise.
19199 * math/Makefile (libm_calls): Add k_casinh.
19200 * math/k_casinh.c: New file.
19201 * math/k_casinhf.c: Likewise.
19202 * math/k_casinhl.c: Likewise.
19203 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19204 finite nonzero arguments.
19205 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19206 finite nonzero arguments.
19207 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19208 finite nonzero arguments.
19209 * math/s_casinh.c: Do not include <float.h>.
19210 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19211 * math/s_casinhf.c: Do not include <float.h>.
19212 (__casinhf): Move code for finite nonzero arguments to
19214 * math/s_casinhl.c: Do not include <float.h>.
19215 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19217 (__casinhl): Move code for finite nonzero arguments to
19219 * math/libm-test.inc (cacos_test): Add more tests.
19220 * sysdeps/i386/fpu/libm-test-ulps: Update.
19221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19223 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19225 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19226 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19227 [!HAVE_MREMAP]: Remove [defined linux] case.
19228 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19230 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19232 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19234 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19236 * elf/elf.h (R_386_SIZE32): New relocation.
19237 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19239 (elf_machine_rela): Likewise.
19240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19241 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19243 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19245 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19246 (FP_FAST_FMA): Do not define.
19247 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19248 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19249 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19250 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19251 !_SOFT_FLOAT]: Likewise.
19252 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19253 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19255 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19256 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19257 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19259 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19260 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19263 2013-01-16 Andreas Schwab <schwab@suse.de>
19266 * include/stdlib.h (__mktemp): Add declaration.
19267 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19268 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19270 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19272 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19274 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19275 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19276 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19278 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19279 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19281 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19283 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19284 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19285 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19287 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19288 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19290 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19292 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19294 2013-01-15 David S. Miller <davem@davemloft.net>
19296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19297 trunc{,f} to libm-sysdep_routes.
19298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19308 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19309 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19310 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19311 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19312 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19313 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19316 nearbyint{,f} to libm-sysdep_routes.
19317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19328 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19330 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19334 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19335 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19337 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19338 libc_feholdexcept and libc_fesetenv.
19340 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19342 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19344 2013-01-14 David S. Miller <davem@davemloft.net>
19346 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19347 (SPARC_ASM_VIS2_IFUNC): Likewise.
19348 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19350 use of 'siam' instruction.
19351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19384 routines to libm-sysdep_routines.
19385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19388 fdim/fdimf to libm-sysdep_routines.
19389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19397 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19398 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19399 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19400 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19402 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19404 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19405 to optimize copies.
19407 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19412 local variable MPTWO.
19413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19416 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19418 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19421 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19423 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19425 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19427 * manual/pattern.texi (glob_t): Document gl_flags.
19428 (glob64_t): Likewise.
19430 2013-01-11 David S. Miller <davem@davemloft.net>
19432 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19433 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19434 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19435 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19436 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19437 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19438 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19439 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19440 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19441 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19442 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19443 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19444 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19446 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19447 sparc V9 rather than using V8 code.
19448 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19449 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19451 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19453 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19456 2013-01-11 Roland McGrath <roland@hack.frob.com>
19458 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19459 not in the main loop.
19460 * configure: Regenerated.
19462 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19464 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19465 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19467 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19468 [!__GLIBC_HAVE_LONG_LONG] case.
19469 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19470 condition to just #else.
19471 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19472 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19473 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19474 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19476 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19477 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19478 #elif condition to just #else.
19479 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19480 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19481 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19482 #elif condition to just #else.
19484 2013-01-11 Steve Ellcey <sellcey@mips.com>
19486 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19487 (EF_MIPS_ARCH_64): Fix value.
19488 (EF_MIPS_ARCH_32R2): New.
19489 (EF_MIPS_ARCH_64R2): New.
19491 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19493 * Makeconfig (+link-pie-before-libc): New.
19494 (+link-pie-after-libc): Likewise.
19495 (+link-pie-tests): Likewise.
19496 (+link-pie): Rewritten.
19497 (link-before-libc): Remove $(config-LDFLAGS).
19498 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19499 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19500 (config-LDFLAGS): Renamed to ...
19501 (rtld-LDFLAGS): This.
19502 (rtld-tests-LDFLAGS): New macro.
19503 (link-libc-rpath-link): Likewise.
19504 (link-libc-tests-rpath-link): Likewise.
19505 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19506 (link-libc): Prepand $(link-libc-rpath-link).
19507 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19508 (test-program-prefix): New macro.
19509 (test-via-rtld-prefix): Likewise.
19510 (test-program-cmd): Likewise.
19511 (host-test-program-cmd): Likewise.
19512 * Makefile ($(common-objpfx)testrun.sh): Replace
19513 $(run-program-prefix) with $(test-program-prefix).
19514 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19516 ($(common-objpfx)shlib.lds): Likewise.
19517 (build-module-helper): Likewise.
19518 ($(common-objpfx)format.lds): Likewise.
19519 * Rules (binaries-pie-tests): New.
19520 (binaries-pie-notests): Likewise.
19521 (binaries-pie): Rewritten.
19522 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19523 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19524 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19525 (make-test-out): Replace $(host-built-program-cmd) with
19526 $(host-test-program-cmd).
19527 * config.make.in (build-hardcoded-path-in-tests): New variable.
19528 * configure.in (--enable-hardcoded-path-in-tests): New configure
19530 (hardcoded_path_in_tests): New AC_SUBST.
19531 * configure: Regenerated.
19532 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19533 $(built-program-cmd) with $(test-program-cmd).
19534 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19535 (test_program_cmd): This.
19536 * elf/Makefile ($(objpfx)order.out): Run test with
19537 $(test-program-prefix).
19538 ($(objpfx)order2.out): Likewise.
19539 ($(objpfx)tst-initorder.out): Likewise.
19540 ($(objpfx)tst-initorder2.out): Likewise.
19541 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19542 $(test-program-cmd).
19543 ($(objpfx)tst-array1-static.out): Likewise.
19544 ($(objpfx)tst-array2.out): Likewise.
19545 ($(objpfx)tst-array3.out): Likewise.
19546 ($(objpfx)tst-array4.out): Likewise.
19547 ($(objpfx)tst-array5.out): Likewise.
19548 ($(objpfx)tst-array5-static.out): Likewise.
19549 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19550 $(test-program-cmd).
19551 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19552 $(run-program-prefix) with $(test-program-prefix).
19553 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19554 (test_program_prefix): This.
19555 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19556 $(run-program-prefix) with $(test-program-prefix).
19557 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19558 (test_program_prefix): This.
19559 * iconvdata/tst-tables.sh: Likewise.
19560 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19561 $(run-program-prefix) with $(test-program-prefix).
19562 ($(objpfx)tst-translit.out): Likewise.
19563 ($(objpfx)tst-gettext2.out): Likewise.
19564 ($(objpfx)tst-gettext4.out): Likewise.
19565 ($(objpfx)tst-gettext6.out): Likewise.
19566 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19567 (test_program_prefix): This.
19568 * intl/tst-gettext2.sh: Likewise.
19569 * intl/tst-gettext4.sh Likewise.
19570 * intl/tst-gettext6.sh: Likewise.
19571 * intl/tst-translit.sh: Likewise.
19572 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19573 with $(test-program-cmd).
19574 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19575 $(run-program-prefix) with $(test-program-prefix).
19576 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19577 (test_program_prefix): This.
19578 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19579 $(run-program-prefix) with $(test-program-prefix).
19580 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19581 (test_program_prefix): This.
19582 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19583 * posix/Makefile ($(objpfx)globtest.out): Replace
19584 $(run-via-rtld-prefix) and $(test-wrapper) with
19585 $(test-program-prefix) and $(test-via-rtld-prefix).
19586 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19587 $(test-program-prefix).
19588 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19589 $(host-test-program-cmd).
19590 (tst-spawn-ARGS): Likewise.
19591 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19592 $(test-program-prefix).
19593 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19594 (test_via_rtld_prefix): This.
19595 (test_wrapper): Renamed to ...
19596 (test_program_prefix): This.
19597 (run_program_prefix): Replaced by test_program_prefix.
19598 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19599 (test_program_prefix): This.
19600 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19601 with $(host-test-program-cmd).
19602 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19603 $(run-program-prefix) with $(test-program-prefix).
19604 ($(objpfx)tst-printf.out): Likewise.
19605 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19606 $(test-program-cmd).
19607 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19608 (test_program_prefix): This.
19609 * stdio-common/tst-unbputc.sh: Likewise.
19610 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19611 $(run-program-prefix) with $(test-program-prefix).
19612 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19613 (test_program_prefix): This.
19614 * string/Makefile ($(objpfx)tst-svc.out): Replace
19615 $(built-program-cmd) with $(test-program-cmd).
19617 2013-01-11 Andreas Jaeger <aj@suse.de>
19620 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19621 value. Sync with Linux 3.7.
19623 2013-01-10 David S. Miller <davem@davemloft.net>
19625 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19626 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19627 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19629 2013-01-10 Roland McGrath <roland@hack.frob.com>
19631 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19633 * configure: Regenerated.
19635 2013-01-10 David S. Miller <davem@davemloft.net>
19637 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19638 sparc V9 rather than using V8 code.
19639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19642 2013-01-10 Roland McGrath <roland@hack.frob.com>
19644 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19645 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19646 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19647 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19648 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19649 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19650 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19651 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19652 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19653 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19654 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19655 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19656 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19657 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19658 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19659 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19660 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19661 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19662 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19663 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19664 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19665 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19666 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19667 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19668 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19669 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19670 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19672 2013-01-10 David S. Miller <davem@davemloft.net>
19674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19676 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19678 * posix/Makefile (tests-static): New variable.
19679 (tests): Add $(tests-static).
19680 (tst-exec-static-ARGS): New variable.
19681 (tst-spawn-static-ARGS): Likewise.
19682 * posix/tst-exec-static.c: New file.
19683 * posix/tst-spawn-static.c: Likewise.
19684 * posix/tst-exec.c: Support run directly.
19685 * posix/tst-spawn.c: Likewise.
19687 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19689 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19691 * math/bits/mathcalls.h (llrint): Likewise.
19692 (llround): Likewise.
19693 * stdlib/stdlib.h (struct drand48_data): Likewise.
19694 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19695 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19696 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19698 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19700 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19701 (elf_greg_t): Likewise.
19702 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19703 (__jmp_buf): Likewise.
19704 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19706 (llrint): Likewise, for all definitions.
19707 (llrintl): Likewise.
19709 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19710 Remove [__GNUC__] condition.
19711 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19712 condition to just [__USE_ISOC99].
19713 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19715 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19718 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19719 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19721 (_POSIX_V6_ILP32_OFF32): Likewise.
19722 (_XBS5_ILP32_OFF32): Likewise.
19723 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19724 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19726 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19728 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19731 doubles __mpexp_twomm1. Adjust usage.
19732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19735 2013-01-10 Andreas Schwab <schwab@suse.de>
19738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19739 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19741 2013-01-09 David S. Miller <davem@davemloft.net>
19744 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19745 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19746 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19747 (TCP_FASTOPEN): Define.
19748 (tcp_repair_opt): New structure.
19749 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19751 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19752 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19753 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19754 (tcp_cookie_transactions): New structure.
19756 2013-01-09 Anton Blanchard <anton@samba.org>
19758 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19759 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19761 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19763 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19765 * include/features.h (__USE_ANSI): Remove.
19767 2013-01-09 Roland McGrath <roland@hack.frob.com>
19769 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19771 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19773 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19775 * sysdeps/s390/fpu/libm-test-ulps: Update.
19777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19779 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19783 (denorm): Likewise.
19784 (__mp_dbl): Likewise.
19785 (__dbl_mp): Likewise.
19786 (add_magnitudes): Likewise.
19787 (sub_magnitudes): Likewise.
19793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19797 (denorm): Likewise.
19798 (__mp_dbl): Likewise.
19799 (__dbl_mp): Likewise.
19800 (add_magnitudes): Likewise.
19801 (sub_magnitudes): Likewise.
19807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19811 (denorm): Likewise.
19812 (__mp_dbl): Likewise.
19813 (__dbl_mp): Likewise.
19814 (add_magnitudes): Likewise.
19815 (sub_magnitudes): Likewise.
19822 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19824 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19825 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19826 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19827 2 && __USE_EXTERN_INLINES]: Likewise.
19829 2013-01-08 Andreas Jaeger <aj@suse.de>
19832 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19834 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19835 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19837 2013-01-07 Anton Blanchard <anton@samba.org>
19839 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19840 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19841 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19842 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19843 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19844 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19845 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19846 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19850 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19851 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19852 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19853 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19854 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19855 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19857 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19858 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19859 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19860 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19862 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19863 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19865 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19866 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19867 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19868 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19869 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19871 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19872 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19873 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19874 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19875 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19877 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19879 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19881 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19883 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19885 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19886 (__MALLOC_PMT): Likewise.
19887 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19888 [__GNUC__], only on [_LIBC].
19889 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19890 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19891 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19892 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19893 forward declaration.
19894 (realloc_hook_ini): Likewise.
19895 (memalign_hook_ini): Likewise.
19896 (__libc_memalign): Do not use __MALLOC_PMT in variable
19898 (__libc_valloc): Likewise.
19899 (__libc_pvalloc): Likewise.
19900 (__libc_calloc): Likewise.
19901 (__posix_memalign): Likewise.
19904 * math/s_casinh.c: Include <float.h>.
19905 (__casinh): Do not do computation with squaring and square root
19906 for large arguments.
19907 * math/s_casinhf.c: Include <float.h>.
19908 (__casinhf): Do not do computation with squaring and square root
19909 for large arguments.
19910 * math/s_casinhl.c: Include <float.h>.
19911 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19912 (__casinhl): Do not do computation with squaring and square root
19913 for large arguments.
19914 * math/libm-test.inc (casin_test): Add more tests.
19915 (casinh_test): Likewise.
19916 * sysdeps/i386/fpu/libm-test-ulps: Update.
19917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19919 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19921 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19922 (__x86_64_raw_data_cache_size): Likewise.
19923 (__x86_64_data_cache_size_half): Likewise.
19924 (__x86_64_raw_data_cache_size_half): Likewise.
19925 (__x86_64_shared_cache_size): Likewise.
19926 (__x86_64_raw_shared_cache_size): Likewise.
19927 (__x86_64_shared_cache_size_half): Likewise.
19928 (__x86_64_raw_shared_cache_size_half): Likewise.
19929 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19931 (__x86_data_cache_size): This.
19932 (__x86_64_raw_data_cache_size): Renamed to ...
19933 (__x86_raw_data_cache_size): This.
19934 (__x86_64_data_cache_size_half): Renamed to ...
19935 (__x86_data_cache_size_half): This.
19936 (__x86_64_raw_data_cache_size_half): Renamed to ...
19937 (__x86_raw_data_cache_size_half): This.
19938 (__x86_64_shared_cache_size): Renamed to ...
19939 (__x86_shared_cache_size): This.
19940 (__x86_64_raw_shared_cache_size): Renamed to ...
19941 (__x86_raw_shared_cache_size): This.
19942 (__x86_64_shared_cache_size_half): Renamed to ...
19943 (__x86_shared_cache_size_half): This.
19944 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19945 (__x86_raw_shared_cache_size_half): This.
19946 * sysdeps/x86_64/memcpy.S: Updated.
19947 * sysdeps/x86_64/memset.S: Likewise.
19948 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19950 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19952 2013-01-04 David S. Miller <davem@davemloft.net>
19954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19956 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19958 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19959 1 to avoid redefinition warning.
19960 (__USE_GNU): Don't define.
19961 (init_signaling_nan): Protoize.
19963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19965 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19967 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19969 (__cpymn): Likewise.
19970 (norm): Remove commented code.
19971 (denorm): Likewise.
19972 (__mp_dbl): Likewise.
19974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19975 (__cpymn): Likewise.
19976 (norm): Remove commented code.
19977 (denorm): Likewise.
19978 (__mp_dbl): Likewise.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19982 mp_no value for 1.0 and 2.0.
19983 (norm): Use RADIXI instead of radixi.d.
19984 (denorm): Likewise.
19985 (__mul): Use 0.0 instead of zero.d.
19986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19987 mp_no value for 1.0 and 2.0.
19988 (norm): Use RADIXI instead of radixi.d.
19989 (denorm): Likewise.
19990 (__mul): Use 0.0 instead of zero.d.
19992 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19995 * math/s_casinh.c (__casinh): Reduce finite argument to first
19996 quadrant then set signs of results at the end.
19997 * math/s_casinhf.c (__casinhf): Likewise.
19998 * math/s_casinhl.c (__casinhl): Likewise.
19999 * math/libm-test.inc (casin_test): Add more tests.
20000 (casinh_test): Likewise.
20001 * sysdeps/i386/fpu/libm-test-ulps: Update.
20002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20004 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20006 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20008 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20010 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20012 (denorm): Likewise.
20013 (__mp_dbl): Likewise.
20016 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20017 and adjust the header comment.
20019 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20020 variable name from declaration.
20022 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20025 Initialize COMMON_CPUID_INDEX_7 element.
20026 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20027 (CPUID_RTM): Likewise.
20028 (HAS_RTM): Likewise.
20029 (COMMON_CPUID_INDEX_7): New enum.
20031 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20034 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20035 size is zero, record memory as freed.
20037 2013-01-03 Andreas Jaeger <aj@suse.de>
20039 * po/ia.po: Add new Interlingua translation.
20041 2012-01-03 Allan McRae <allan@archlinux.org>
20043 * locale/programs/localedef.c: Fix description of '--posix' flag.
20045 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20047 * NEWS: Update dates in second copyright notice.
20048 * README: Update copyright dates in example.
20049 * manual/libc.texinfo: Update copyright dates.
20050 * scripts/test-installation.pl: Update copyright date in --version
20053 * hurd/ctty-input.c: Fix copyright notice formatting.
20054 * hurd/ctty-output.c: Likewise.
20055 * hurd/dtable.c: Likewise.
20056 * hurd/hurd-raise.c: Likewise.
20057 * hurd/hurdprio.c: Likewise.
20058 * hurd/msgportdemux.c: Likewise.
20059 * misc/sys/file.h: Likewise.
20060 * misc/sys/ioctl.h: Likewise.
20061 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20062 * sysdeps/mach/hurd/chdir.c: Likewise.
20063 * sysdeps/mach/hurd/fchdir.c: Likewise.
20064 * sysdeps/mach/hurd/rename.c: Likewise.
20065 * sysdeps/mach/hurd/rmdir.c: Likewise.
20066 * sysdeps/mach/hurd/seekdir.c: Likewise.
20067 * sysdeps/mach/hurd/setsid.c: Likewise.
20068 * sysdeps/posix/wait3.c: Likewise.
20070 * All files with FSF copyright notices: Update copyright dates
20071 using scripts/update-copyrights.
20072 * intl/plural.c: Regenerated.
20073 * locale/programs/charmap-kw.h: Likewise.
20074 * locale/programs/locfile-kw.h: Likewise.
20076 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20078 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20081 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20082 calculation loop and add branch prediction.
20084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20085 check access beyond bounds of m1np.
20087 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20089 (__inv): Remove local variable MPTWO to use the global
20091 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20092 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20094 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20095 MP3HALFS static const.
20097 2013-01-01 David S. Miller <davem@davemloft.net>
20099 * po/ca.po: Update from translation team.
20101 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20103 * scripts/update-copyrights: New file.
20104 * Makeconfig: Reformat copyright notice.
20105 * ctype/ctype.h: Likewise.
20106 * debug/swprintf_chk.c: Likewise.
20107 * elf/dl-cache.c: Likewise.
20108 * elf/dl-debug.c: Likewise.
20109 * elf/dl-object.c: Likewise.
20110 * grp/initgroups.c: Likewise.
20111 * hurd/Makefile: Likewise.
20112 * hurd/hurd/signal.h: Likewise.
20113 * hurd/hurdfault.c: Likewise.
20114 * hurd/hurdioctl.c: Likewise.
20115 * hurd/hurdlookup.c: Likewise.
20116 * hurd/intr-msg.c: Likewise.
20117 * iconv/gconv_open.c: Likewise.
20118 * libio/swprintf.c: Likewise.
20119 * locale/lc-ctype.c: Likewise.
20120 * locale/nl_langinfo.c: Likewise.
20121 * mach/Machrules: Likewise.
20122 * mach/Makefile: Likewise.
20123 * malloc/obstack.h: Likewise.
20124 * manual/Makefile: Likewise.
20125 * manual/tsort.awk: Likewise.
20126 * misc/bits/stab.def: Likewise.
20127 * nis/nis_print_group_entry.c: Likewise.
20128 * nis/nis_table.c: Likewise.
20129 * nis/nss_compat/compat-pwd.c: Likewise.
20130 * nis/nss_compat/compat-spwd.c: Likewise.
20131 * po/Makefile: Likewise.
20132 * posix/fnmatch.c: Likewise.
20133 * posix/regex.h: Likewise.
20134 * resolv/Makefile: Likewise.
20135 * resolv/nss_dns/dns-network.c: Likewise.
20136 * resolv/res_hconf.c: Likewise.
20137 * scripts/gen-sorted.awk: Likewise.
20138 * soft-fp/soft-fp.h: Likewise.
20139 * stdio-common/printf.h: Likewise.
20140 * stdlib/monetary.h: Likewise.
20141 * stdlib/random.c: Likewise.
20142 * stdlib/random_r.c: Likewise.
20143 * sysdeps/generic/Makefile: Likewise.
20144 * sysdeps/gnu/Makefile: Likewise.
20145 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20155 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20156 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20166 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20168 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20173 * sysdeps/mach/hurd/errnos.awk: Likewise.
20174 * sysdeps/mach/hurd/fork.c: Likewise.
20175 * sysdeps/mach/hurd/getcwd.c: Likewise.
20176 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20177 * sysdeps/mach/hurd/mmap.c: Likewise.
20178 * sysdeps/mach/hurd/utimes.c: Likewise.
20179 * sysdeps/mach/hurd/xmknod.c: Likewise.
20180 * sysdeps/posix/profil.c: Likewise.
20181 * sysdeps/posix/readdir_r.c: Likewise.
20182 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20183 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20184 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20185 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20188 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20189 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20191 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20193 * sysdeps/pthread/lio_listio.c: Likewise.
20194 * sysdeps/sparc/dl-procinfo.h: Likewise.
20195 * sysdeps/unix/i386/sysdep.S: Likewise.
20196 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20197 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20198 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20199 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20201 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20202 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20203 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20204 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20205 * sysdeps/wordsize-32/divdi3.c: Likewise.
20206 * time/sys/time.h: Likewise.
20207 * wcsmbs/Makefile: Likewise.
20209 2013-01-01 David S. Miller <davem@davemloft.net>
20211 * po/fr.po: Update from translation team.
20213 * catgets/gencat.c: Update copyright year.
20214 * csu/version.c: Likewise.
20215 * debug/catchsegv.sh: Likewise.
20216 * debug/pcprofiledump.c: Likewise.
20217 * debug/xtrace.sh: Likewise.
20218 * elf/ldconfig.c: Likewise.
20219 * elf/ldd.bash.in: Likewise.
20220 * elf/pldd.c: Likewise.
20221 * elf/sotruss.ksh: Likewise.
20222 * elf/sprof.c: Likewise.
20223 * iconv/iconv_prog.c: Likewise.
20224 * iconv/iconvconfig.c: Likewise.
20225 * locale/programs/locale.c: Likewise.
20226 * locale/programs/localedef.c: Likewise.
20227 * login/programs/pt_chown.c: Likewise.
20228 * malloc/memusage.sh: Likewise.
20229 * malloc/memusagestat.c: Likewise.
20230 * malloc/mtrace.pl: Likewise.
20231 * nscd/nscd.c: Likewise.
20232 * nss/getent.c: Likewise.
20233 * nss/makedb.c: Likewise.
20234 * posix/getconf.c: Likewise.
20236 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20238 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20241 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20243 * math/bits/mathcalls.h (modf): Use __nonnull.
20245 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20247 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20248 (split): Use macro CN instead of the bare value.
20249 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20252 instead of the bare value.
20253 (power1): Likewise.
20255 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20259 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20261 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20263 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20264 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20265 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20266 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20268 2012-12-28 Andreas Jaeger <aj@suse.de>
20270 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20271 values are from Linux 3.7.
20273 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20274 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20276 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20278 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20281 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20283 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20284 variables with preprocessor constants.
20285 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20286 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20287 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20289 2012-12-27 Bruno Haible <bruno@clisp.org>
20292 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20295 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20298 and use variable directly.
20299 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20301 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20303 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20306 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20308 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20309 include directive. Remove local variable MPONE.
20310 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20311 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20314 2012-12-25 David S. Miller <davem@davemloft.net>
20316 * version.h (RELEASE): Set to "development".
20317 (VERSION): Set to "2.17.90".
20318 * NEWS: Add 2.18 section.
20320 2012-12-21 David S. Miller <davem@davemloft.net>
20322 * po/hr.po: Update from translation team.
20324 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20326 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20328 2012-12-19 Steve Ellcey <sellcey@mips.com>
20330 * NEWS: Mention new memcpy for MIPS.
20332 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20334 * manual/contrib.texi (Contributors): Spelling correction.
20336 2012-12-15 David S. Miller <davem@davemloft.net>
20338 * po/ru.po: Update from translation team.
20340 2012-12-13 David S. Miller <davem@davemloft.net>
20342 * NEWS: Mention IFUNC testsuite enhancements.
20344 * po/pl.po: Update from translation team.
20345 * po/bg.po: Likewise.
20347 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20348 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20350 2012-12-11 David S. Miller <davem@davemloft.net>
20352 * po/sv.po: Update from translation team.
20354 * po/vi.po: Update from translation team.
20356 * po/cs.po: Update from translation team.
20358 * po/de.po: Update from translation team.
20359 * po/eo.po: Likewise.
20360 * po/nl.po: Likewise.
20362 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20365 * manual/argp.texi (Argp Helper Functions): Move node to follow
20366 Argp Parsing State.
20369 * manual/conf.texi (Limits on File System Capacity): Mention if
20370 terminating null is included in the max size.
20372 2012-12-10 Andreas Jaeger <aj@suse.de>
20374 * po/cs.po: Update from translation team.
20376 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20378 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20379 void pointer and cast to uintptr_t.
20380 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20382 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20383 * sysdeps/s390/s390-64/memset.S: Likewise.
20385 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20388 * menual/message.texi (Message Translation): Fix typos.
20389 (Helper programs for gettext): Likewise.
20391 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20394 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20397 2012-12-07 David S. Miller <davem@davemloft.net>
20399 * po/libc.pot: Update.
20401 2012-12-07 Richard Henderson <rth@redhat.com>
20404 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20405 normal/normal case to before the switch.
20406 (_FP_DIV): Likewise.
20408 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20409 Mike Frysinger <vapier@gentoo.org>
20411 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20412 check for __NR_fadvise64_64.
20414 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20416 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20417 0, not just to plain "0" as a statement.
20418 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20421 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20423 * NEWS: Use sourceware.org in Bugzilla URL.
20425 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20428 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20430 * stdio-common/tst-put-error.c (do_test): Add newline to the
20431 padded test to ensure flush.
20433 2012-12-05 Jeff Law <law@redhat.com>
20435 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20437 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20439 * README: Don't refer to ports add-on as distributed separately.
20440 Mention AArch64 in list of systems supported in the ports add-on.
20442 * LICENSES: Add more non-FSF copyright and license notices.
20444 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20447 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20449 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20450 10000 as width of padded output.
20452 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20454 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20457 variable LX with __attribute__ ((unused)).
20458 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20460 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20462 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20463 with __attribute__ ((unused)).
20465 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20467 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20469 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20471 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20472 (CFLAGS-nldbl-acos.c): New variable.
20473 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20474 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20475 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20476 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20477 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20478 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20479 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20480 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20481 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20482 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20483 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20484 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20485 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20486 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20487 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20488 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20506 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20507 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20508 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20509 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20510 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20511 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20512 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20513 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20514 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20515 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20516 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20517 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20518 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20519 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20520 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20521 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20522 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20523 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20524 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20525 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20526 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20527 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20528 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20529 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20530 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20531 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20532 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20533 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20534 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20535 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20536 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20537 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20538 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20539 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20540 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20541 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20542 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20543 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20544 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20545 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20546 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20547 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20548 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20549 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20550 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20551 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20552 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20553 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20554 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20555 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20556 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20557 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20558 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20559 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20560 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20561 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20562 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20563 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20564 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20565 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20566 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20567 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20568 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20569 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20572 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20575 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20576 whole low double instead of just low 47 bits when splitting values
20579 2012-12-03 Allan McRae <allan@archlinux.org>
20581 * manual/stdio.texi (Predefined Printf Handlers): Remove
20582 @hsep and @vsep usage.
20584 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20586 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20587 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20589 2012-12-03 Jeff Law <law@redhat.com>
20591 * time/sys/time.h (settimeofday): Do not mark TV argument
20594 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20596 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20597 when currently writing and seek to current position when not.
20598 * libio/Makefile (tests): Remove bug-fclose1.
20599 * libio/bug-fclose1.c: Delete.
20601 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20603 * manual/arith.texi (feenableexcept): Fix typo.
20604 (fedisableexcept): Likewise.
20606 2012-11-30 Roland McGrath <roland@hack.frob.com>
20608 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20609 second, differently-typed declaration, rather than a cast.
20611 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20613 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20614 * include/rpc/svc.h: ... here.
20616 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20619 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20620 depending n and resplen2 to catch cases where answer
20623 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20625 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20626 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20628 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20630 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20632 2012-11-29 Roland McGrath <roland@hack.frob.com>
20634 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20636 2012-11-28 Jeff Law <law@redhat.com>
20639 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20640 dataset_temporary. Track alloca usage into alloca_used.
20641 If dataset is large allocate and release it via malloc/free.
20643 2012-06-04 Florian Weimer <fweimer@redhat.com>
20646 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20648 2012-11-28 David S. Miller <davem@davemloft.net>
20650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20652 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20655 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20656 of pi/2 rounded to nearest to 64 bits.
20657 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20658 nearest to 64 bits.
20659 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20662 2012-11-28 Jeff Law <law@redhat.com>
20663 Martin Osvald <mosvald@redhat.com>
20666 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20667 * sunrpc/svc.c: Include time.h.
20668 (__svc_accept_failed): New function.
20669 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20670 any reason other than EINTR, call __svc_accept_failed.
20671 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20672 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20674 2012-11-28 Andreas Schwab <schwab@suse.de>
20676 * scripts/abilist.awk: Also handle indirect functions in .opd
20679 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20682 * sysdeps/x86/fpu/powl_helper.c: New file.
20683 * sysdeps/x86/fpu/Makefile: Likewise.
20684 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20686 (__ieee754_powl): Use __powl_helper for finite arguments except
20687 integer exponents below 8.
20688 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20690 (__ieee754_powl): Use __powl_helper for finite arguments except
20691 integer exponents below 8.
20692 * math/libm-test.inc (pow_test): Add more tests and enable some
20693 previously disabled tests.
20694 * sysdeps/i386/fpu/libm-test-ulps: Update.
20695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20697 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20698 Carlos O'Donell <carlos_odonell@mentor.com>
20700 * nss/makedb.c (is_prime): Assert that input is odd and greater
20701 than 4. Note that fact in a comment too.
20702 (next_prime): Add 4 to input.
20704 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20707 * libio/Makefile (tests): Add test case tst-fwrite-error.
20708 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20709 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20710 * libio/tst-fwrite-error.c: New test case.
20712 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20714 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20715 before casting to void *.
20716 * include/libc-internal.h (__pointer_type): New macro.
20717 (__integer_if_pointer_type_sub): Likewise.
20718 (__integer_if_pointer_type): Likewise.
20719 (cast_to_integer): Likewise.
20720 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20721 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20722 before casting to atomic64_t.
20723 (atomic_exchange_acq): Likewise.
20724 (__arch_exchange_and_add_body): Likewise.
20725 (__arch_add_body): Likewise.
20726 (atomic_add_negative): Likewise.
20727 (atomic_add_zero): Likewise.
20729 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20731 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20732 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20733 (add_fdes): Likewise.
20734 (linear_search_fdes): Likewise.
20735 (binary_search_unencoded_fdes): Likewise.
20737 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20739 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20741 2012-11-24 Adam Conrad <adconrad@0c3.net>
20743 * configure.in: Autodetect C++ header directories.
20744 * configure: Regenerated.
20746 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20748 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20750 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20754 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20756 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20757 LDBL_MANT_DIG == 106]: Disable some tests.
20758 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20760 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20764 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20765 input for small inputs. Return +/- pi/2 for large inputs.
20766 * math/libm-test.inc (atan_test): Add more tests.
20768 * sysdeps/generic/unwind-dw2-fde-glibc.c
20769 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20770 __attribute__ ((unused)).
20773 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20774 x * y if x and y are nonzero and z is zero.
20777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20778 nonzero exponents with absolute value below 0x1p-117 to +/-
20782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20783 up arguments below 2**-450, not just those below 2**-500.
20784 * math/libm-test.inc (hypot_test): Add another test.
20787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20788 Return a+b for ratio over 2**120, not 2**60.
20789 * math/libm-test.inc (hypot_test): Add another test.
20791 * math/libm-test.inc (clog_test): Use
20792 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20793 (clog10_test): Likewise.
20796 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20798 2012-11-22 Andreas Schwab <schwab@suse.de>
20800 * sysdeps/i386/fpu/libm-test-ulps: Update.
20802 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20804 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20805 printf output with newline.
20807 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20810 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20811 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20812 -z nodlopen, -z initfirst and -z execstack support.
20813 * configure: Regenerated.
20815 * elf/elf.h (DF_1_NODIRECT): New macro.
20816 (DF_1_IGNMULDEF): Likewise.
20817 (DF_1_NOKSYMS): Likewise.
20818 (DF_1_NOHDR): Likewise.
20819 (DF_1_EDITED): Likewise.
20820 (DF_1_NORELOC): Likewise.
20821 (DF_1_SYMINTPOSE): Likewise.
20822 (DF_1_GLOBAUDIT): Likewise.
20823 (DF_1_SINGLETON): Likewise.
20824 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20825 DT_1_SUPPORTED_MASK bits.
20826 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20828 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20830 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20832 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20834 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20837 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20838 (sendmmsg): Move declarations...
20839 * socket/sys/socket.h: ... here.
20840 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20841 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20843 * socket/recvmmsg.c: ... this new file.
20844 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20845 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20846 definition of __sendmmsg hidden.
20847 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20848 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20849 Move ENOSYS stub into and include it from...
20850 * socket/sendmmsg.c: ... this new file.
20851 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20852 (sysdep_routines): Move recvmmsg and sendmmsg...
20853 * socket/Makefile (routines): ... here.
20854 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20855 (GLIBC_PRIVATE): Add __sendmmsg.
20856 * include/sys/socket.h (__sendmmsg): Add declarations.
20857 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20860 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20863 variable I1 with __attribute__ ((unused)).
20864 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20866 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20868 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20869 DUMMY variables with __attribute__ ((unused)).
20871 * bits/byteswap.h: Include <bits/types.h>.
20872 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20874 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20876 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20877 string_t. Do not manually set errno.
20878 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20879 length with __strnlen. Make sure to both set errno and return it on
20882 2012-11-19 David S. Miller <davem@davemloft.net>
20884 With help from Joseph Myers.
20885 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20886 very large arguments properly.
20887 * math/libm-test.inc (atan_test): New tests.
20888 (atan2_test): New tests.
20889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20892 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20895 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20898 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20899 [POSIX] (EADDRNOTAVAIL): Likewise.
20900 [POSIX] (EAFNOSUPPORT): Likewise.
20901 [POSIX] (EALREADY): Likewise.
20902 [POSIX] (ECONNABORTED): Likewise.
20903 [POSIX] (ECONNREFUSED): Likewise.
20904 [POSIX] (ECONNRESET): Likewise.
20905 [POSIX] (EDESTADDRREQ): Likewise.
20906 [POSIX] (EDQUOT): Likewise.
20907 [POSIX] (EHOSTUNREACH): Likewise.
20908 [POSIX] (EIDRM): Likewise.
20909 [POSIX] (EISCONN): Likewise.
20910 [POSIX] (ELOOP): Likewise.
20911 [POSIX] (EMULTIHOP): Likewise.
20912 [POSIX] (ENETDOWN): Likewise.
20913 [POSIX] (ENETUNREACH): Likewise.
20914 [POSIX] (ENOBUFS): Likewise.
20915 [POSIX] (ENODATA): Likewise.
20916 [POSIX] (ENOLINK): Likewise.
20917 [POSIX] (ENOMSG): Likewise.
20918 [POSIX] (ENOPROTOOPT): Likewise.
20919 [POSIX] (ENOSR): Likewise.
20920 [POSIX] (ENOSTR): Likewise.
20921 [POSIX] (ENOTCONN): Likewise.
20922 [POSIX] (ENOTSOCK): Likewise.
20923 [POSIX] (EOPNOTSUPP): Likewise.
20924 [POSIX] (EOVERFLOW): Likewise.
20925 [POSIX] (EPROTO): Likewise.
20926 [POSIX] (EPROTONOSUPPORT): Likewise.
20927 [POSIX] (EPROTOTYPE): Likewise.
20928 [POSIX] (ESTALE): Likewise.
20929 [POSIX] (ETIME): Likewise.
20930 [POSIX] (ETXTBSY): Likewise.
20931 [POSIX] (EWOULDBLOCK): Likewise.
20932 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20933 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20934 [POSIX] (SEEK_CUR): Likewise.
20935 [POSIX] (SEEK_END): Likewise.
20936 [POSIX || UNIX98] (mode_t): Do not require.
20937 [POSIX] (off_t): Likewise.
20938 [POSIX] (pid_t): Likewise.
20939 [POSIX] (sys/stat.h): Do not allow header.
20940 [POSIX] (unistd.h): Likewise.
20941 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20942 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20943 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20944 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20946 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20947 sigevent): Specify elements.
20948 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20950 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20951 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20953 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20954 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20955 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20956 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20957 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20958 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20959 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20960 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20961 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20962 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20963 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20964 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20965 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20966 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20968 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20970 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20972 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20974 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20975 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20976 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20977 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20978 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20979 Specify lower bound on value.
20980 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20981 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20982 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20984 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20985 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20986 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20987 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20989 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20991 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20996 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21008 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21010 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21012 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21013 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21014 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21015 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21017 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21022 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21023 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21025 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21029 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21030 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21031 specify as optional.
21032 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21033 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21034 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21035 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21036 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21037 [XPG3] (NL_LANGMAX): Likewise.
21038 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21039 [POSIX || XPG3] (NL_NMAX): Likewise.
21040 [POSIX || XPG3] (NL_SETMAX): Likewise.
21041 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21042 [XPG3] (NZERO): Likewise.
21043 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21044 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21045 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21046 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21047 (REG_ERANGE): Expect.
21048 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21050 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21051 Use (void) in prototype.
21052 [POSIX] (*_t): Allow.
21053 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21054 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21055 (WRDE_BADVAL): Expect.
21057 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21059 [XPG3 || XPG4] (O_RSYNC): Likewise.
21060 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21062 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21063 [XPG3 || XPG4] (sigqueue): Likewise.
21064 [XPG3 || XPG4] (sigtimedwait): Likewise.
21065 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21066 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21067 [XPG3 || XPG4] (vsnprintf): Likewise.
21068 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21070 [XPG3 || XPG4] (blksize_t): Likewise.
21071 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21073 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21074 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21075 [XPG3 || XPG4] (struct itimerspec): Likewise.
21076 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21077 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21078 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21079 [XPG3 || XPG4] (clockid_t): Likewise.
21080 [XPG3 || XPG4] (timer_t): Likewise.
21081 [XPG3 || XPG4] (clock_getres): Likewise.
21082 [XPG3 || XPG4] (clock_gettime): Likewise.
21083 [XPG3 || XPG4] (clock_settime): Likewise.
21084 [XPG3 || XPG4] (nanosleep): Likewise.
21085 [XPG3 || XPG4] (timer_create): Likewise.
21086 [XPG3 || XPG4] (timer_delete): Likewise.
21087 [XPG3 || XPG4] (timer_gettime): Likewise.
21088 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21089 [XPG3 || XPG4] (timer_settime): Likewise.
21090 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21091 [XPG3 || XPG4] (getlogin_r): Likewise.
21092 [XPG3 || XPG4] (pread): Likewise.
21093 [XPG3 || XPG4] (pthread_atfork): Likewise.
21094 [XPG3 || XPG4] (pwrite): Likewise.
21097 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21100 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21102 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21103 finalizing MALLSTREAM.
21105 * sysdeps/mach/hurd/syncfs.c: New file.
21107 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21110 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21111 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21112 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21113 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21114 (_nss_dns_gethostbyname4_r): Likewise.
21115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21116 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21118 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21121 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21123 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21125 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21126 * elf/cache.c (print_entry): Print ",AArch64" for
21129 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21130 * elf/cache.c (print_entry): Print ",hard-float" for
21133 2012-11-18 David S. Miller <davem@davemloft.net>
21135 With help from Joseph Myers.
21136 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21138 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21140 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21141 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21143 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21144 * math/libm-test.inc (y0_test): New tests.
21145 (y1_test): New tests.
21146 * sysdeps/i386/fpu/libm-test-ulps: Update.
21147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21150 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21152 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21154 * configure: Regenerated.
21156 2012-11-17 David S. Miller <davem@davemloft.net>
21159 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21160 nonzero exponents with absolute value below 0x1p-128 to +/-
21163 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21165 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21167 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21169 * posix/getconf-speclist.c: New file.
21170 * posix/posix-envs.def: Likewise.
21171 * posix/confstr.c (START_ENV_GROUP): New macro.
21172 (END_ENV_GROUP): Likewise.
21173 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21174 (KNOWN_PRESENT_ENV_STRING): Likewise.
21175 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21176 (UNKNOWN_ENVIRONMENT): Likewise.
21177 (confstr): Include posix-envs.def instead of handling
21178 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21179 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21180 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21181 (END_ENV_GROUP): Likewise.
21182 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21183 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21184 (UNKNOWN_ENVIRONMENT): Likewise.
21185 (__sysconf): Include posix-envs.def instead of handling associated
21186 cases directly here.
21187 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21188 preprocessing getconf-speclist.c rather than running getconf or
21189 generating empty file.
21191 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21193 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21195 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21198 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21200 2012-11-16 David S. Miller <davem@davemloft.net>
21202 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21203 smaller than LDBL_EPSILON/2.0L, just return xm1.
21205 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21207 * elf/tst-array1.c (init): Set constructor priority to 1000.
21208 (fini): Set destructor priority to 1000.
21209 * elf/tst-array2dep.c: Likewise.
21211 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21214 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21215 (_IO_new_file_xsputn): Also return EOF if none of the input
21216 data was written when overflow failed.
21217 * libio/iopadn.c (_IO_padn): Likewise.
21218 * libio/iowpadn.c (_IO_wpadn): Likewise.
21219 * stdio-common/tst-put-error.c: Add copyright notice.
21220 (do_test): Add case for printing padded string.
21221 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21222 _IO_padn returned error.
21223 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21224 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21227 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21229 * libio/libioP.h: Add comment note that the references to C++
21230 bits are now obsolete.
21232 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21234 * math/libm-test.inc (check_complex): Use asprintf.
21236 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21238 * debug/pcprofiledump.c (print_version): Update copyright year.
21239 * malloc/memusagestat.c (print_version): Likewise.
21241 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21244 * elf/Makefile (tests): Add tst-audit8.
21245 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21246 ($(objpfx)tst-audit8.out): New target.
21247 (tst-audit8-ENV): New variable.
21248 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21249 audit if l_reloc_result is NULL.
21250 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21251 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21252 * elf/tst-audit8.c: New file.
21254 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21256 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21257 * misc/Makefile (CFLAGS-select.c): Define.
21258 * posix/Makefile (CFLAGS-pause.c): Define.
21260 2012-11-13 David S. Miller <davem@davemloft.net>
21262 * crypt/Makefile: Move test targets after toplevel Rules
21263 inclusion. Grab any necessary sysdep routines when linking.
21264 * crypt/md5.c (md5_process_block): Remove define, we will always
21265 name it __md5_process_block.
21266 (md5_finish_ctx): Update md5_process_block call.
21267 (md5_stream): Likewise.
21268 (md5_process_bytes): Likewise.
21269 (md5_process_block): Rename to __md5_process_block and move to ...
21270 * crypt/md5-block.c: ... here.
21271 * crypt/sha256.c (sha256_process_block): Move to ...
21272 * crypt/sha256-block.c: ... here.
21273 * crypt/sha512.c (sha512_process_block): Move to ...
21274 * crypt/sha512-block.c: ... here.
21275 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21277 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21278 * sysdeps/sparc/sparc64/multiarch/Makefile
21279 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21281 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21282 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21284 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21285 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21286 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21287 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21288 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21289 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21290 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21291 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21292 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21294 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21299 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21301 * timezone/tzselect.ksh: Update from tzcode git revision
21302 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21303 * timezone/zdump.c: Likewise.
21304 * timezone/zic.c: Likewise.
21305 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21306 in TZVERSION setting, not $(PKGVERSION).
21307 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21308 REPORT_BUGS_TO settings.
21311 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21314 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21316 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21317 detection to immediately after _FP_ROUND().
21318 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21321 2012-11-11 David S. Miller <davem@davemloft.net>
21323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21325 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21326 __close rather than their public counterparts.
21328 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21330 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21332 [UNIX98] (sem_timedwait): Do not expect.
21333 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21334 [XPG4 || UNIX98] (sockatmark): Do not expect.
21335 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21336 (clock_getcpuclockid): Do not expect.
21337 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21338 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21340 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21341 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21342 [UNIX98] (vwscanf): Likewise.
21343 [UNIX98] (vswscanf): Likewise.
21345 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21347 * timezone/version.h: Remove file.
21348 * timezone/README: Do not refer to version.h.
21349 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21350 $(objpfx)version.h.
21351 ($(objpfx)zdump.o): Likewise.
21352 ($(objpfx)version.h): New target.
21354 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21356 * timezone/README: Don't mention modification to tzselect.ksh.
21357 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21358 work on unmodified tzselect.ksh. Substitute version numbers in
21361 * Makefile (format-me): Remove.
21362 (INSTALL): Adjust indentation. Use commands directly instead of
21363 using $(format-me).
21365 * aclocal.m4 (ACX_PKGVERSION): New macro.
21366 (ACX_BUGURL): Likewise.
21367 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21368 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21369 (REPORT_BUGS_TO): Likewise.
21370 * configure: Regenerated.
21371 * config.h.in (PKGVERSION): New macro.
21372 (REPORT_BUGS_TO): Likewise.
21373 * config.make.in (PKGVERSION): New variable.
21374 (PKGVERSION_TEXI): Likewise.
21375 (REPORT_BUGS_TO): Likewise.
21376 (REPORT_BUGS_TEXI): Likewise.
21377 * Makefile (format-me): Use -I$(common-objpfx)manual.
21378 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21379 ($(common-objpfx)manual/%): New target.
21380 (manual/%): Remove target.
21381 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21382 (print_version): Use PKGVERSION.
21383 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21384 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21385 and REPORT_BUGS_TO.
21386 ($(objpfx)xtrace): Likewise.
21387 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21388 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21389 (print_version): Use PKGVERSION.
21390 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21391 (do_version): Use PKGVERSION.
21392 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21394 (common-ldd-rewrite): Likewise.
21395 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21396 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21397 (print_version): Use PKGVERSION.
21398 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21399 * elf/pldd.c (argp_program_bug_address): Remove variable.
21400 (more_help): New function.
21401 (argp): Use more_help.
21402 (print_version): Use PKGVERSION.
21403 * elf/sln.c (main): Use PKGVERSION.
21404 (usage): Use REPORT_BUGS_TO.
21405 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21406 (top level): Use PKGVERSION.
21407 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21408 (print_version): Use PKGVERSION.
21409 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21410 (print_version): Use PKGVERSION.
21411 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21412 (print_version): Use PKGVERSION.
21413 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21414 (print_version): Use PKGVERSION.
21415 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21416 (print_version): Use PKGVERSION.
21417 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21418 (print_version): Use PKGVERSION.
21419 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21421 ($(objpfx)memusage): Likewise.
21422 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21423 (do_version): Use PKGVERSION.
21424 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21425 (print_version): Use PKGVERSION.
21426 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21427 ($PKGVERSION): New variable.
21428 ($REPORT_BUGS_TO): Likewise.
21429 (usage): Use $REPORT_BUGS_TO.
21430 (top level): Use $PKGVERSION.
21431 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21432 ($(objpfx)pkgvers.texi): New rule.
21433 ($(objpfx)stamp-pkgvers): Likewise.
21434 * manual/install.texi: Include pkgvers.texi.
21435 (--with-pkgversion): Document new configure option.
21436 (--with-bugurl): Likewise.
21437 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21438 than necessarily for this particular distribution. Use
21439 REPORT_BUGS_TO for where to report bugs.
21440 * INSTALL: Regenerated.
21441 * manual/libc.texinfo: Include pkgvers.texi.
21442 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21443 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21444 (print_version): Use PKGVERSION.
21445 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21446 (print_version): Use PKGVERSION.
21447 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21448 (print_version): Use PKGVERSION.
21449 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21450 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21452 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21453 (print_version): Use PKGVERSION.
21454 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21455 (print_version): Use PKGVERSION.
21456 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21459 * timezone/checktab.awk: Update from tzcode 2012i.
21460 * timezone/ialloc.c: Likewise.
21461 * timezone/private.h: Likewise.
21462 * timezone/scheck.c: Likewise.
21463 * timezone/tzfile.h: Likewise.
21464 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21465 (TZVERSION): Hardcode tzcode version number.
21466 * timezone/zdump.c: Update from tzcode 2012i.
21467 * timezone/zic.c: Likewise.
21468 * timezone/version.h: New file.
21469 * timezone/README: Describe version.h. Update upstream location.
21472 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21473 (mktemp): Enable declaration.
21474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21491 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21492 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21493 for copies of such integer values.
21494 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21495 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21497 2012-11-09 Andreas Jaeger <aj@suse.de>
21499 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21500 definitions and declarations that are provided by
21501 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21503 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21505 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21506 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21507 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21510 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21512 * elf/elf.h: Update comment before AArch64 relocations.
21514 2012-11-07 David S. Miller <davem@davemloft.net>
21516 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21517 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21518 (__start_context): Declare.
21519 (__makecontext_ret): Delete.
21520 (__makecontext): Hook up __start_context instead of
21522 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21523 (sysdep_routines): Add __start_context when in stdlib.
21525 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21527 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21528 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21529 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21531 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21532 (READELF): New variable. Use it instead of hardcoded "readelf".
21534 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21536 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21537 * sysdeps/x86/Makefile: Here.
21538 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21539 * sysdeps/x86/tst-xmmymm.sh: This.
21541 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21543 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21545 [UNIX98] (pthread_barrier_t): Do not expect.
21546 [UNIX98] (pthread_barrierattr_t): Likewise.
21547 [UNIX98] (pthread_spinlock_t): Likewise.
21548 [UNIX98] (pthread_barrier_destroy): Likewise.
21549 [UNIX98] (pthread_barrier_init): Likewise.
21550 [UNIX98] (pthread_barrier_wait): Likewise.
21551 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21552 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21553 [UNIX98] (pthread_barrierattr_init): Likewise.
21554 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21555 [UNIX98] (pthread_getcpuclockid): Likewise.
21556 [UNIX98] (pthread_mutex_timedlock): Likewise.
21557 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21558 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21559 [UNIX98] (pthread_sigmask): Likewise.
21560 [UNIX98] (pthread_spin_destroy): Likewise.
21561 [UNIX98] (pthread_spin_init): Likewise.
21562 [UNIX98] (pthread_spin_lock): Likewise.
21563 [UNIX98] (pthread_spin_trylock): Likewise.
21564 [UNIX98] (pthread_spin_unlock): Likewise.
21565 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21567 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21568 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21569 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21570 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21571 [XPG3 || XPG4] (pthread_key_t): Likewise.
21572 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21573 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21574 [XPG3 || XPG4] (pthread_once_t): Likewise.
21575 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21576 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21577 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21578 [XPG3 || XPG4] (pthread_t): Likewise.
21580 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21582 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21584 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21585 Change function return type to int.
21587 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21588 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21589 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21590 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21591 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21592 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21593 [!POSIX] (posix_madvise): Likewise.
21594 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21596 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21597 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21598 (mode_t): Likewise.
21599 (posix_mem_offset): Likewise.
21600 (posix_typed_mem_get_info): Likewise.
21601 (posix_typed_mem_open): Likewise.
21603 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21604 Change condition to [XOPEN2K8].
21606 * conform/conformtest.pl: Preprocess allow-header data with -x c
21607 instead of from stdin.
21608 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21609 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21610 [C99-based standards] (cerfc): Likewise.
21611 [C99-based standards] (cexp2): Likewise.
21612 [C99-based standards] (cexpm1): Likewise.
21613 [C99-based standards] (clog10): Likewise.
21614 [C99-based standards] (clog1p): Likewise.
21615 [C99-based standards] (clog2): Likewise.
21616 [C99-based standards] (clgamma): Likewise.
21617 [C99-based standards] (ctgamma): Likewise.
21618 [C99-based standards] (cerff): Likewise.
21619 [C99-based standards] (cerfcf): Likewise.
21620 [C99-based standards] (cexp2f): Likewise.
21621 [C99-based standards] (cexpm1f): Likewise.
21622 [C99-based standards] (clog10f): Likewise.
21623 [C99-based standards] (clog1pf): Likewise.
21624 [C99-based standards] (clog2f): Likewise.
21625 [C99-based standards] (clgammaf): Likewise.
21626 [C99-based standards] (ctgammaf): Likewise.
21627 [C99-based standards] (cerfl): Likewise.
21628 [C99-based standards] (cerfcl): Likewise.
21629 [C99-based standards] (cexp2l): Likewise.
21630 [C99-based standards] (cexpm1l): Likewise.
21631 [C99-based standards] (clog10l): Likewise.
21632 [C99-based standards] (clog1pl): Likewise.
21633 [C99-based standards] (clog2l): Likewise.
21634 [C99-based standards] (clgammal): Likewise.
21635 [C99-based standards] (ctgammal): Likewise.
21636 * conform/data/inttypes.h-data [C99-based standards]: Include
21637 stdint.h-data. Remove all expectations for stdint.h contents.
21638 [C99-based standards] (PRI*): Do not allow.
21639 [C99-based standards] (SCN*): Likewise.
21640 [C99-based standards] (*_t): Likewise.
21641 [C99-based-standards] (PRId8): Expect macro.
21642 [C99-based-standards] (PRIi8): Likewise.
21643 [C99-based-standards] (PRIo8): Likewise.
21644 [C99-based-standards] (PRIu8): Likewise.
21645 [C99-based-standards] (PRIx8): Likewise.
21646 [C99-based-standards] (PRIX8): Likewise.
21647 [C99-based-standards] (SCNd8): Likewise.
21648 [C99-based-standards] (SCNi8): Likewise.
21649 [C99-based-standards] (SCNo8): Likewise.
21650 [C99-based-standards] (SCNu8): Likewise.
21651 [C99-based-standards] (SCNx8): Likewise.
21652 [C99-based-standards] (PRIdLEAST8): Likewise.
21653 [C99-based-standards] (PRIiLEAST8): Likewise.
21654 [C99-based-standards] (PRIoLEAST8): Likewise.
21655 [C99-based-standards] (PRIuLEAST8): Likewise.
21656 [C99-based-standards] (PRIxLEAST8): Likewise.
21657 [C99-based-standards] (PRIXLEAST8): Likewise.
21658 [C99-based-standards] (SCNdLEAST8): Likewise.
21659 [C99-based-standards] (SCNiLEAST8): Likewise.
21660 [C99-based-standards] (SCNoLEAST8): Likewise.
21661 [C99-based-standards] (SCNuLEAST8): Likewise.
21662 [C99-based-standards] (SCNxLEAST8): Likewise.
21663 [C99-based-standards] (PRIdFAST8): Likewise.
21664 [C99-based-standards] (PRIiFAST8): Likewise.
21665 [C99-based-standards] (PRIoFAST8): Likewise.
21666 [C99-based-standards] (PRIuFAST8): Likewise.
21667 [C99-based-standards] (PRIxFAST8): Likewise.
21668 [C99-based-standards] (PRIXFAST8): Likewise.
21669 [C99-based-standards] (SCNdFAST8): Likewise.
21670 [C99-based-standards] (SCNiFAST8): Likewise.
21671 [C99-based-standards] (SCNoFAST8): Likewise.
21672 [C99-based-standards] (SCNuFAST8): Likewise.
21673 [C99-based-standards] (SCNxFAST8): Likewise.
21674 [C99-based-standards] (PRId16): Likewise.
21675 [C99-based-standards] (PRIi16): Likewise.
21676 [C99-based-standards] (PRIo16): Likewise.
21677 [C99-based-standards] (PRIu16): Likewise.
21678 [C99-based-standards] (PRIx16): Likewise.
21679 [C99-based-standards] (PRIX16): Likewise.
21680 [C99-based-standards] (SCNd16): Likewise.
21681 [C99-based-standards] (SCNi16): Likewise.
21682 [C99-based-standards] (SCNo16): Likewise.
21683 [C99-based-standards] (SCNu16): Likewise.
21684 [C99-based-standards] (SCNx16): Likewise.
21685 [C99-based-standards] (PRIdLEAST16): Likewise.
21686 [C99-based-standards] (PRIiLEAST16): Likewise.
21687 [C99-based-standards] (PRIoLEAST16): Likewise.
21688 [C99-based-standards] (PRIuLEAST16): Likewise.
21689 [C99-based-standards] (PRIxLEAST16): Likewise.
21690 [C99-based-standards] (PRIXLEAST16): Likewise.
21691 [C99-based-standards] (SCNdLEAST16): Likewise.
21692 [C99-based-standards] (SCNiLEAST16): Likewise.
21693 [C99-based-standards] (SCNoLEAST16): Likewise.
21694 [C99-based-standards] (SCNuLEAST16): Likewise.
21695 [C99-based-standards] (SCNxLEAST16): Likewise.
21696 [C99-based-standards] (PRIdFAST16): Likewise.
21697 [C99-based-standards] (PRIiFAST16): Likewise.
21698 [C99-based-standards] (PRIoFAST16): Likewise.
21699 [C99-based-standards] (PRIuFAST16): Likewise.
21700 [C99-based-standards] (PRIxFAST16): Likewise.
21701 [C99-based-standards] (PRIXFAST16): Likewise.
21702 [C99-based-standards] (SCNdFAST16): Likewise.
21703 [C99-based-standards] (SCNiFAST16): Likewise.
21704 [C99-based-standards] (SCNoFAST16): Likewise.
21705 [C99-based-standards] (SCNuFAST16): Likewise.
21706 [C99-based-standards] (SCNxFAST16): Likewise.
21707 [C99-based-standards] (PRId32): Likewise.
21708 [C99-based-standards] (PRIi32): Likewise.
21709 [C99-based-standards] (PRIo32): Likewise.
21710 [C99-based-standards] (PRIu32): Likewise.
21711 [C99-based-standards] (PRIx32): Likewise.
21712 [C99-based-standards] (PRIX32): Likewise.
21713 [C99-based-standards] (SCNd32): Likewise.
21714 [C99-based-standards] (SCNi32): Likewise.
21715 [C99-based-standards] (SCNo32): Likewise.
21716 [C99-based-standards] (SCNu32): Likewise.
21717 [C99-based-standards] (SCNx32): Likewise.
21718 [C99-based-standards] (PRIdLEAST32): Likewise.
21719 [C99-based-standards] (PRIiLEAST32): Likewise.
21720 [C99-based-standards] (PRIoLEAST32): Likewise.
21721 [C99-based-standards] (PRIuLEAST32): Likewise.
21722 [C99-based-standards] (PRIxLEAST32): Likewise.
21723 [C99-based-standards] (PRIXLEAST32): Likewise.
21724 [C99-based-standards] (SCNdLEAST32): Likewise.
21725 [C99-based-standards] (SCNiLEAST32): Likewise.
21726 [C99-based-standards] (SCNoLEAST32): Likewise.
21727 [C99-based-standards] (SCNuLEAST32): Likewise.
21728 [C99-based-standards] (SCNxLEAST32): Likewise.
21729 [C99-based-standards] (PRIdFAST32): Likewise.
21730 [C99-based-standards] (PRIiFAST32): Likewise.
21731 [C99-based-standards] (PRIoFAST32): Likewise.
21732 [C99-based-standards] (PRIuFAST32): Likewise.
21733 [C99-based-standards] (PRIxFAST32): Likewise.
21734 [C99-based-standards] (PRIXFAST32): Likewise.
21735 [C99-based-standards] (SCNdFAST32): Likewise.
21736 [C99-based-standards] (SCNiFAST32): Likewise.
21737 [C99-based-standards] (SCNoFAST32): Likewise.
21738 [C99-based-standards] (SCNuFAST32): Likewise.
21739 [C99-based-standards] (SCNxFAST32): Likewise.
21740 [C99-based-standards] (PRId64): Likewise.
21741 [C99-based-standards] (PRIi64): Likewise.
21742 [C99-based-standards] (PRIo64): Likewise.
21743 [C99-based-standards] (PRIu64): Likewise.
21744 [C99-based-standards] (PRIx64): Likewise.
21745 [C99-based-standards] (PRIX64): Likewise.
21746 [C99-based-standards] (SCNd64): Likewise.
21747 [C99-based-standards] (SCNi64): Likewise.
21748 [C99-based-standards] (SCNo64): Likewise.
21749 [C99-based-standards] (SCNu64): Likewise.
21750 [C99-based-standards] (SCNx64): Likewise.
21751 [C99-based-standards] (PRIdLEAST64): Likewise.
21752 [C99-based-standards] (PRIiLEAST64): Likewise.
21753 [C99-based-standards] (PRIoLEAST64): Likewise.
21754 [C99-based-standards] (PRIuLEAST64): Likewise.
21755 [C99-based-standards] (PRIxLEAST64): Likewise.
21756 [C99-based-standards] (PRIXLEAST64): Likewise.
21757 [C99-based-standards] (SCNdLEAST64): Likewise.
21758 [C99-based-standards] (SCNiLEAST64): Likewise.
21759 [C99-based-standards] (SCNoLEAST64): Likewise.
21760 [C99-based-standards] (SCNuLEAST64): Likewise.
21761 [C99-based-standards] (SCNxLEAST64): Likewise.
21762 [C99-based-standards] (PRIdFAST64): Likewise.
21763 [C99-based-standards] (PRIiFAST64): Likewise.
21764 [C99-based-standards] (PRIoFAST64): Likewise.
21765 [C99-based-standards] (PRIuFAST64): Likewise.
21766 [C99-based-standards] (PRIxFAST64): Likewise.
21767 [C99-based-standards] (PRIXFAST64): Likewise.
21768 [C99-based-standards] (SCNdFAST64): Likewise.
21769 [C99-based-standards] (SCNiFAST64): Likewise.
21770 [C99-based-standards] (SCNoFAST64): Likewise.
21771 [C99-based-standards] (SCNuFAST64): Likewise.
21772 [C99-based-standards] (SCNxFAST64): Likewise.
21773 [C99-based-standards] (PRIdMAX): Likewise.
21774 [C99-based-standards] (PRIiMAX): Likewise.
21775 [C99-based-standards] (PRIoMAX): Likewise.
21776 [C99-based-standards] (PRIuMAX): Likewise.
21777 [C99-based-standards] (PRIxMAX): Likewise.
21778 [C99-based-standards] (PRIXMAX): Likewise.
21779 [C99-based-standards] (SCNdMAX): Likewise.
21780 [C99-based-standards] (SCNiMAX): Likewise.
21781 [C99-based-standards] (SCNoMAX): Likewise.
21782 [C99-based-standards] (SCNuMAX): Likewise.
21783 [C99-based-standards] (SCNxMAX): Likewise.
21784 [C99-based-standards] (PRIdPTR): Likewise.
21785 [C99-based-standards] (PRIiPTR): Likewise.
21786 [C99-based-standards] (PRIoPTR): Likewise.
21787 [C99-based-standards] (PRIuPTR): Likewise.
21788 [C99-based-standards] (PRIxPTR): Likewise.
21789 [C99-based-standards] (PRIXPTR): Likewise.
21790 [C99-based-standards] (SCNdPTR): Likewise.
21791 [C99-based-standards] (SCNiPTR): Likewise.
21792 [C99-based-standards] (SCNoPTR): Likewise.
21793 [C99-based-standards] (SCNuPTR): Likewise.
21794 [C99-based-standards] (SCNxPTR): Likewise.
21795 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21797 * conform/data/stdint.h-data: Update comments to clarify
21799 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21801 [C99-based standards] (INT8_MAX): Likewise.
21802 [C99-based standards] (INT16_MIN): Likewise.
21803 [C99-based standards] (INT16_MAX): Likewise.
21804 [C99-based standards] (INT32_MIN): Likewise.
21805 [C99-based standards] (INT32_MAX): Likewise.
21806 [C99-based standards] (INT64_MIN): Likewise.
21807 [C99-based standards] (INT64_MAX): Likewise.
21808 [C99-based standards] (UINT8_MAX): Likewise.
21809 [C99-based standards] (UINT16_MAX): Likewise.
21810 [C99-based standards] (UINT32_MAX): Likewise.
21811 [C99-based standards] (UINT64_MAX): Likewise.
21812 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21813 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21814 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21815 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21816 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21817 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21818 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21819 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21820 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21821 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21822 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21823 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21824 [C99-based standards] (INT_FAST8_MIN): Likewise.
21825 [C99-based standards] (INT_FAST8_MAX): Likewise.
21826 [C99-based standards] (INT_FAST16_MIN): Likewise.
21827 [C99-based standards] (INT_FAST16_MAX): Likewise.
21828 [C99-based standards] (INT_FAST32_MIN): Likewise.
21829 [C99-based standards] (INT_FAST32_MAX): Likewise.
21830 [C99-based standards] (INT_FAST64_MIN): Likewise.
21831 [C99-based standards] (INT_FAST64_MAX): Likewise.
21832 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21833 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21834 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21835 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21836 [C99-based standards] (INTPTR_MIN): Likewise.
21837 [C99-based standards] (INTPTR_MAX): Likewise.
21838 [C99-based standards] (UINTPTR_MAX): Likewise.
21839 [C99-based standards] (INTMAX_MIN): Likewise.
21840 [C99-based standards] (INTMAX_MAX): Likewise.
21841 [C99-based standards] (UINTMAX_MAX): Likewise.
21842 [C99-based standards] (PTRDIFF_MIN): Likewise.
21843 [C99-based standards] (PTRDIFF_MAX): Likewise.
21844 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21845 [C99-based standards] (SIZE_MAX): Likewise.
21846 [C99-based standards] (WCHAR_MAX): Likewise.
21847 [C99-based standards] (WINT_MAX): Likewise.
21848 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21849 constraint on value.
21850 [C99-based standards] (WCHAR_MIN): Likewise.
21851 [C99-based standards] (WINT_MIN): Likewise.
21852 [C99-based standards] (*_t): Allow.
21853 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21854 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21855 Include math.h-data and complex.h-data. Remove all expectations
21856 of math.h and complex.h contents.
21857 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21859 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21860 (struct tm): Expect tag.
21861 [C99-based-standards] (wcstof): Expect function.
21862 [C99-based-standards] (wcstold): Likewise.
21863 [C99-based-standards] (wcstoll): Likewise.
21864 [C99-based-standards] (wcstoull): Likewise.
21865 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21866 macro-int-constant. Specify type.
21867 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21868 constraint on value.
21869 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21871 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21873 [ISO C standards]: Do not allow headers.
21874 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21875 wcs[abcdefghijklmnopqrstuvwxyz]*.
21876 [ISO C standards] (*_t): Do not allow.
21877 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21879 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21880 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21882 [ISO C standards]: Do not allow headers.
21883 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21884 is[abcdefghijklmnopqrstuvwxyz]*.
21885 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21886 to[abcdefghijklmnopqrstuvwxyz]*.
21887 [ISO C standards] (*_t): Do not allow.
21888 * conform/data/stdalign.h-data: New file.
21889 * conform/data/stdbool.h-data: Likewise.
21890 * conform/data/stdnoreturn.h-data: Likewise.
21892 2012-11-07 Roland McGrath <roland@hack.frob.com>
21895 * manual/filesys.texi (Directory Entries): Typo fix.
21896 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21898 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21900 * elf/elf.h (EM_AARCH64): New macro.
21901 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21902 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21903 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21904 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21905 (R_AARCH64_TLSDESC): Likewise.
21906 (NT_ARM_TLS): Likewise.
21907 (NT_ARM_HW_BREAK): Likewise.
21908 (NT_ARM_HW_WATCH): Likewise.
21910 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21913 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21914 (__ieee754_powl): Saturate nonzero exponents with absolute value
21915 below 0x1p-79 to +/- 0x1p-79.
21916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21917 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21918 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21919 nonzero exponents with absolute value below 0x1p-32 to +/-
21921 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21922 (__ieee754_powl): Saturate nonzero exponents with absolute value
21923 below 0x1p-79 to +/- 0x1p-79.
21924 * math/libm-test.inc (pow_test): Add more tests.
21926 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21928 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21929 _dl_s390_cap_flags with kernel. Increase string length.
21930 (_dl_s390_platforms): Add z196 and zEC12.
21932 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21934 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21935 Change XOPEN21K to XOPEN2K.
21937 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21939 * string/memmove.c: Use memcpy when possible.
21941 2012-11-06 Andreas Jaeger <aj@suse.de>
21943 * po/eo.po: Update from translation team.
21945 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21949 exponent and small x and y exponents, scale x or y up. Increase
21950 by 2 the exponent used in scaling up.
21951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21953 * math/libm-test.inc (fma_test): Add more tests.
21954 (fma_test_towardzero): Likewise.
21955 (fma_test_downward): Likewise.
21956 (fma_test_upward): Likewise.
21958 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21961 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21965 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21966 namespace for names of struct fields.
21967 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21969 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21970 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21972 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21975 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21977 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21979 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21983 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21986 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21990 definitely overflow as x * y not x * y + z.
21991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21993 * math/libm-test.inc (fma_test): Add more tests.
21994 (fma_test_towardzero): Likewise.
21995 (fma_test_downward): Likewise.
21996 (fma_test_upward): Likewise.
21998 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22002 * include/stub-tag.h: Remove file.
22003 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22005 * manual/maint.texi (Porting): Don't reference it.
22006 * Makerules ($(objpfx)stubs): Likewise.
22007 * dirent/closedir.c: Don't include <stub-tag.h>.
22008 * dirent/dirfd.c: Likewise.
22009 * dirent/fdopendir.c: Likewise.
22010 * dirent/getdents.c: Likewise.
22011 * dirent/getdents64.c: Likewise.
22012 * dirent/opendir.c: Likewise.
22013 * dirent/readdir.c: Likewise.
22014 * dirent/readdir64.c: Likewise.
22015 * dirent/readdir64_r.c: Likewise.
22016 * dirent/readdir_r.c: Likewise.
22017 * dirent/rewinddir.c: Likewise.
22018 * dirent/seekdir.c: Likewise.
22019 * dirent/telldir.c: Likewise.
22020 * gmon/profil.c: Likewise.
22021 * grp/setgroups.c: Likewise.
22022 * inet/if_index.c: Likewise.
22023 * io/access.c: Likewise.
22024 * io/chdir.c: Likewise.
22025 * io/chmod.c: Likewise.
22026 * io/chown.c: Likewise.
22027 * io/close.c: Likewise.
22028 * io/dup.c: Likewise.
22029 * io/dup2.c: Likewise.
22030 * io/dup3.c: Likewise.
22031 * io/euidaccess.c: Likewise.
22032 * io/faccessat.c: Likewise.
22033 * io/fchdir.c: Likewise.
22034 * io/fchmod.c: Likewise.
22035 * io/fchmodat.c: Likewise.
22036 * io/fchown.c: Likewise.
22037 * io/fchownat.c: Likewise.
22038 * io/fcntl.c: Likewise.
22039 * io/flock.c: Likewise.
22040 * io/fstatfs.c: Likewise.
22041 * io/fstatfs64.c: Likewise.
22042 * io/fstatvfs.c: Likewise.
22043 * io/fstatvfs64.c: Likewise.
22044 * io/futimens.c: Likewise.
22045 * io/fxstat.c: Likewise.
22046 * io/fxstat64.c: Likewise.
22047 * io/fxstatat.c: Likewise.
22048 * io/fxstatat64.c: Likewise.
22049 * io/getcwd.c: Likewise.
22050 * io/isatty.c: Likewise.
22051 * io/lchmod.c: Likewise.
22052 * io/lchown.c: Likewise.
22053 * io/link.c: Likewise.
22054 * io/linkat.c: Likewise.
22055 * io/lseek.c: Likewise.
22056 * io/lseek64.c: Likewise.
22057 * io/lxstat64.c: Likewise.
22058 * io/mkdir.c: Likewise.
22059 * io/mkdirat.c: Likewise.
22060 * io/mkfifo.c: Likewise.
22061 * io/mkfifoat.c: Likewise.
22062 * io/open.c: Likewise.
22063 * io/open64.c: Likewise.
22064 * io/openat.c: Likewise.
22065 * io/openat64.c: Likewise.
22066 * io/pipe.c: Likewise.
22067 * io/pipe2.c: Likewise.
22068 * io/poll.c: Likewise.
22069 * io/posix_fadvise.c: Likewise.
22070 * io/posix_fadvise64.c: Likewise.
22071 * io/posix_fallocate.c: Likewise.
22072 * io/posix_fallocate64.c: Likewise.
22073 * io/read.c: Likewise.
22074 * io/readlink.c: Likewise.
22075 * io/readlinkat.c: Likewise.
22076 * io/rmdir.c: Likewise.
22077 * io/sendfile.c: Likewise.
22078 * io/sendfile64.c: Likewise.
22079 * io/statfs.c: Likewise.
22080 * io/statfs64.c: Likewise.
22081 * io/statvfs.c: Likewise.
22082 * io/statvfs64.c: Likewise.
22083 * io/symlink.c: Likewise.
22084 * io/symlinkat.c: Likewise.
22085 * io/ttyname.c: Likewise.
22086 * io/ttyname_r.c: Likewise.
22087 * io/umask.c: Likewise.
22088 * io/unlink.c: Likewise.
22089 * io/unlinkat.c: Likewise.
22090 * io/utime.c: Likewise.
22091 * io/utimensat.c: Likewise.
22092 * io/write.c: Likewise.
22093 * io/xmknod.c: Likewise.
22094 * io/xmknodat.c: Likewise.
22095 * io/xstat.c: Likewise.
22096 * io/xstat64.c: Likewise.
22097 * login/getpt.c: Likewise.
22098 * login/grantpt.c: Likewise.
22099 * login/unlockpt.c: Likewise.
22100 * math/e_acoshl.c: Likewise.
22101 * math/e_acosl.c: Likewise.
22102 * math/e_asinl.c: Likewise.
22103 * math/e_atan2l.c: Likewise.
22104 * math/e_atanhl.c: Likewise.
22105 * math/e_coshl.c: Likewise.
22106 * math/e_expl.c: Likewise.
22107 * math/e_fmodl.c: Likewise.
22108 * math/e_gammal_r.c: Likewise.
22109 * math/e_hypotl.c: Likewise.
22110 * math/e_j0l.c: Likewise.
22111 * math/e_j1l.c: Likewise.
22112 * math/e_jnl.c: Likewise.
22113 * math/e_lgammal_r.c: Likewise.
22114 * math/e_log10l.c: Likewise.
22115 * math/e_log2l.c: Likewise.
22116 * math/e_logl.c: Likewise.
22117 * math/e_powl.c: Likewise.
22118 * math/e_rem_pio2l.c: Likewise.
22119 * math/e_sinhl.c: Likewise.
22120 * math/e_sqrtl.c: Likewise.
22121 * math/fclrexcpt.c: Likewise.
22122 * math/fedisblxcpt.c: Likewise.
22123 * math/feenablxcpt.c: Likewise.
22124 * math/fegetenv.c: Likewise.
22125 * math/fegetexcept.c: Likewise.
22126 * math/fegetround.c: Likewise.
22127 * math/feholdexcpt.c: Likewise.
22128 * math/fesetenv.c: Likewise.
22129 * math/fesetround.c: Likewise.
22130 * math/feupdateenv.c: Likewise.
22131 * math/fgetexcptflg.c: Likewise.
22132 * math/fraiseexcpt.c: Likewise.
22133 * math/fsetexcptflg.c: Likewise.
22134 * math/ftestexcept.c: Likewise.
22135 * math/k_cosl.c: Likewise.
22136 * math/k_rem_pio2l.c: Likewise.
22137 * math/k_sinl.c: Likewise.
22138 * math/k_tanl.c: Likewise.
22139 * math/s_asinhl.c: Likewise.
22140 * math/s_atanl.c: Likewise.
22141 * math/s_cbrtl.c: Likewise.
22142 * math/s_erfl.c: Likewise.
22143 * math/s_expm1l.c: Likewise.
22144 * math/s_log1pl.c: Likewise.
22145 * math/s_tanhl.c: Likewise.
22146 * misc/acct.c: Likewise.
22147 * misc/brk.c: Likewise.
22148 * misc/chflags.c: Likewise.
22149 * misc/chroot.c: Likewise.
22150 * misc/fchflags.c: Likewise.
22151 * misc/fgetxattr.c: Likewise.
22152 * misc/flistxattr.c: Likewise.
22153 * misc/fremovexattr.c: Likewise.
22154 * misc/fsetxattr.c: Likewise.
22155 * misc/fsync.c: Likewise.
22156 * misc/ftruncate.c: Likewise.
22157 * misc/futimes.c: Likewise.
22158 * misc/futimesat.c: Likewise.
22159 * misc/getdomain.c: Likewise.
22160 * misc/getdtsz.c: Likewise.
22161 * misc/gethostid.c: Likewise.
22162 * misc/gethostname.c: Likewise.
22163 * misc/getloadavg.c: Likewise.
22164 * misc/getpagesize.c: Likewise.
22165 * misc/getsysstats.c: Likewise.
22166 * misc/getxattr.c: Likewise.
22167 * misc/gtty.c: Likewise.
22168 * misc/ioctl.c: Likewise.
22169 * misc/lgetxattr.c: Likewise.
22170 * misc/listxattr.c: Likewise.
22171 * misc/llistxattr.c: Likewise.
22172 * misc/lremovexattr.c: Likewise.
22173 * misc/lsetxattr.c: Likewise.
22174 * misc/lutimes.c: Likewise.
22175 * misc/madvise.c: Likewise.
22176 * misc/mincore.c: Likewise.
22177 * misc/mlock.c: Likewise.
22178 * misc/mlockall.c: Likewise.
22179 * misc/mmap.c: Likewise.
22180 * misc/mprotect.c: Likewise.
22181 * misc/msync.c: Likewise.
22182 * misc/munlock.c: Likewise.
22183 * misc/munlockall.c: Likewise.
22184 * misc/munmap.c: Likewise.
22185 * misc/preadv.c: Likewise.
22186 * misc/preadv64.c: Likewise.
22187 * misc/ptrace.c: Likewise.
22188 * misc/pwritev.c: Likewise.
22189 * misc/pwritev64.c: Likewise.
22190 * misc/readv.c: Likewise.
22191 * misc/reboot.c: Likewise.
22192 * misc/remap_file_pages.c: Likewise.
22193 * misc/removexattr.c: Likewise.
22194 * misc/revoke.c: Likewise.
22195 * misc/select.c: Likewise.
22196 * misc/setdomain.c: Likewise.
22197 * misc/setegid.c: Likewise.
22198 * misc/seteuid.c: Likewise.
22199 * misc/sethostid.c: Likewise.
22200 * misc/sethostname.c: Likewise.
22201 * misc/setregid.c: Likewise.
22202 * misc/setreuid.c: Likewise.
22203 * misc/setxattr.c: Likewise.
22204 * misc/sstk.c: Likewise.
22205 * misc/stty.c: Likewise.
22206 * misc/swapoff.c: Likewise.
22207 * misc/swapon.c: Likewise.
22208 * misc/sync.c: Likewise.
22209 * misc/syncfs.c: Likewise.
22210 * misc/syscall.c: Likewise.
22211 * misc/truncate.c: Likewise.
22212 * misc/ualarm.c: Likewise.
22213 * misc/usleep.c: Likewise.
22214 * misc/ustat.c: Likewise.
22215 * misc/utimes.c: Likewise.
22216 * misc/vhangup.c: Likewise.
22217 * misc/writev.c: Likewise.
22218 * posix/_exit.c: Likewise.
22219 * posix/alarm.c: Likewise.
22220 * posix/execve.c: Likewise.
22221 * posix/fexecve.c: Likewise.
22222 * posix/fork.c: Likewise.
22223 * posix/fpathconf.c: Likewise.
22224 * posix/getaddrinfo.c: Likewise.
22225 * posix/getegid.c: Likewise.
22226 * posix/geteuid.c: Likewise.
22227 * posix/getgid.c: Likewise.
22228 * posix/getgroups.c: Likewise.
22229 * posix/getlogin.c: Likewise.
22230 * posix/getlogin_r.c: Likewise.
22231 * posix/getpgid.c: Likewise.
22232 * posix/getpid.c: Likewise.
22233 * posix/getppid.c: Likewise.
22234 * posix/getresgid.c: Likewise.
22235 * posix/getresuid.c: Likewise.
22236 * posix/getsid.c: Likewise.
22237 * posix/getuid.c: Likewise.
22238 * posix/glob64.c: Likewise.
22239 * posix/nanosleep.c: Likewise.
22240 * posix/pathconf.c: Likewise.
22241 * posix/pause.c: Likewise.
22242 * posix/posix_madvise.c: Likewise.
22243 * posix/pread.c: Likewise.
22244 * posix/pread64.c: Likewise.
22245 * posix/pwrite.c: Likewise.
22246 * posix/pwrite64.c: Likewise.
22247 * posix/sched_getaffinity.c: Likewise.
22248 * posix/sched_getp.c: Likewise.
22249 * posix/sched_gets.c: Likewise.
22250 * posix/sched_primax.c: Likewise.
22251 * posix/sched_primin.c: Likewise.
22252 * posix/sched_rr_gi.c: Likewise.
22253 * posix/sched_setaffinity.c: Likewise.
22254 * posix/sched_setp.c: Likewise.
22255 * posix/sched_sets.c: Likewise.
22256 * posix/sched_yield.c: Likewise.
22257 * posix/setgid.c: Likewise.
22258 * posix/setlogin.c: Likewise.
22259 * posix/setpgid.c: Likewise.
22260 * posix/setresgid.c: Likewise.
22261 * posix/setresuid.c: Likewise.
22262 * posix/setsid.c: Likewise.
22263 * posix/setuid.c: Likewise.
22264 * posix/sleep.c: Likewise.
22265 * posix/spawni.c: Likewise.
22266 * posix/sysconf.c: Likewise.
22267 * posix/times.c: Likewise.
22268 * posix/wait.c: Likewise.
22269 * posix/wait3.c: Likewise.
22270 * posix/wait4.c: Likewise.
22271 * posix/waitpid.c: Likewise.
22272 * resolv/gai_sigqueue.c: Likewise.
22273 * resource/getpriority.c: Likewise.
22274 * resource/getrlimit.c: Likewise.
22275 * resource/getrusage.c: Likewise.
22276 * resource/nice.c: Likewise.
22277 * resource/setpriority.c: Likewise.
22278 * resource/setrlimit.c: Likewise.
22279 * resource/ulimit.c: Likewise.
22280 * rt/aio_cancel.c: Likewise.
22281 * rt/aio_fsync.c: Likewise.
22282 * rt/aio_read.c: Likewise.
22283 * rt/aio_sigqueue.c: Likewise.
22284 * rt/aio_suspend.c: Likewise.
22285 * rt/aio_write.c: Likewise.
22286 * rt/clock_getres.c: Likewise.
22287 * rt/clock_gettime.c: Likewise.
22288 * rt/clock_nanosleep.c: Likewise.
22289 * rt/clock_settime.c: Likewise.
22290 * rt/lio_listio.c: Likewise.
22291 * rt/mq_close.c: Likewise.
22292 * rt/mq_getattr.c: Likewise.
22293 * rt/mq_notify.c: Likewise.
22294 * rt/mq_open.c: Likewise.
22295 * rt/mq_receive.c: Likewise.
22296 * rt/mq_send.c: Likewise.
22297 * rt/mq_setattr.c: Likewise.
22298 * rt/mq_timedreceive.c: Likewise.
22299 * rt/mq_timedsend.c: Likewise.
22300 * rt/mq_unlink.c: Likewise.
22301 * rt/shm_open.c: Likewise.
22302 * rt/shm_unlink.c: Likewise.
22303 * rt/timer_create.c: Likewise.
22304 * rt/timer_delete.c: Likewise.
22305 * rt/timer_getoverr.c: Likewise.
22306 * rt/timer_gettime.c: Likewise.
22307 * rt/timer_settime.c: Likewise.
22308 * setjmp/__longjmp.c: Likewise.
22309 * setjmp/setjmp.c: Likewise.
22310 * signal/kill.c: Likewise.
22311 * signal/killpg.c: Likewise.
22312 * signal/raise.c: Likewise.
22313 * signal/sigaction.c: Likewise.
22314 * signal/sigaltstack.c: Likewise.
22315 * signal/sigblock.c: Likewise.
22316 * signal/sigignore.c: Likewise.
22317 * signal/sigintr.c: Likewise.
22318 * signal/signal.c: Likewise.
22319 * signal/sigpause.c: Likewise.
22320 * signal/sigpending.c: Likewise.
22321 * signal/sigqueue.c: Likewise.
22322 * signal/sigreturn.c: Likewise.
22323 * signal/sigset.c: Likewise.
22324 * signal/sigsetmask.c: Likewise.
22325 * signal/sigstack.c: Likewise.
22326 * signal/sigsuspend.c: Likewise.
22327 * signal/sigtimedwait.c: Likewise.
22328 * signal/sigvec.c: Likewise.
22329 * signal/sigwait.c: Likewise.
22330 * signal/sigwaitinfo.c: Likewise.
22331 * signal/sysv_signal.c: Likewise.
22332 * socket/accept.c: Likewise.
22333 * socket/accept4.c: Likewise.
22334 * socket/bind.c: Likewise.
22335 * socket/connect.c: Likewise.
22336 * socket/getpeername.c: Likewise.
22337 * socket/getsockname.c: Likewise.
22338 * socket/getsockopt.c: Likewise.
22339 * socket/isfdtype.c: Likewise.
22340 * socket/listen.c: Likewise.
22341 * socket/recv.c: Likewise.
22342 * socket/recvfrom.c: Likewise.
22343 * socket/recvmsg.c: Likewise.
22344 * socket/send.c: Likewise.
22345 * socket/sendmsg.c: Likewise.
22346 * socket/sendto.c: Likewise.
22347 * socket/setsockopt.c: Likewise.
22348 * socket/shutdown.c: Likewise.
22349 * socket/sockatmark.c: Likewise.
22350 * socket/socket.c: Likewise.
22351 * socket/socketpair.c: Likewise.
22352 * stdio-common/ctermid.c: Likewise.
22353 * stdio-common/cuserid.c: Likewise.
22354 * stdio-common/remove.c: Likewise.
22355 * stdio-common/rename.c: Likewise.
22356 * stdio-common/renameat.c: Likewise.
22357 * stdio-common/tempname.c: Likewise.
22358 * stdlib/getcontext.c: Likewise.
22359 * stdlib/makecontext.c: Likewise.
22360 * stdlib/setcontext.c: Likewise.
22361 * stdlib/swapcontext.c: Likewise.
22362 * stdlib/system.c: Likewise.
22363 * streams/fattach.c: Likewise.
22364 * streams/fdetach.c: Likewise.
22365 * streams/getmsg.c: Likewise.
22366 * streams/getpmsg.c: Likewise.
22367 * streams/putmsg.c: Likewise.
22368 * streams/putpmsg.c: Likewise.
22369 * sysdeps/unix/bsd/getpt.c: Likewise.
22370 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22371 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22372 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22375 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22376 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22377 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22378 * sysvipc/msgctl.c: Likewise.
22379 * sysvipc/msgget.c: Likewise.
22380 * sysvipc/msgrcv.c: Likewise.
22381 * sysvipc/msgsnd.c: Likewise.
22382 * sysvipc/semctl.c: Likewise.
22383 * sysvipc/semget.c: Likewise.
22384 * sysvipc/semop.c: Likewise.
22385 * sysvipc/semtimedop.c: Likewise.
22386 * sysvipc/shmat.c: Likewise.
22387 * sysvipc/shmctl.c: Likewise.
22388 * sysvipc/shmdt.c: Likewise.
22389 * sysvipc/shmget.c: Likewise.
22390 * termios/tcdrain.c: Likewise.
22391 * termios/tcflow.c: Likewise.
22392 * termios/tcflush.c: Likewise.
22393 * termios/tcgetattr.c: Likewise.
22394 * termios/tcgetpgrp.c: Likewise.
22395 * termios/tcsendbrk.c: Likewise.
22396 * termios/tcsetattr.c: Likewise.
22397 * termios/tcsetpgrp.c: Likewise.
22398 * time/adjtime.c: Likewise.
22399 * time/clock.c: Likewise.
22400 * time/getitimer.c: Likewise.
22401 * time/gettimeofday.c: Likewise.
22402 * time/setitimer.c: Likewise.
22403 * time/settimeofday.c: Likewise.
22404 * time/stime.c: Likewise.
22405 * time/time.c: Likewise.
22407 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22409 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22412 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22414 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22416 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22420 FE_TONEAREST before applying Dekker multiplication and Knuth
22421 addition. Clear inexact exceptions and check for exact zero
22422 results afterwards.
22423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22424 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22426 * math/libm-test.inc (fma_test): Add more tests.
22427 (fma_test_towardzero): Likewise.
22428 (fma_test_downward): Likewise.
22429 (fma_test_upward): Likewise.
22430 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22432 (libc_fesetround): New macro.
22433 (libc_fesetroundf): Likewise.
22434 (libc_fesetroundl): Likewise.
22435 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22437 (libc_fesetround_387): Likewise.
22438 (libc_fesetroundf): New macro.
22439 (libc_fesetround): Likewise.
22440 (libc_fesetroundl): Likewise.
22441 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22443 (libc_fesetroundf): New macro.
22444 (libc_fesetround): Likewise.
22445 (libc_fesetroundl): Likewise.
22446 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22447 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22448 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22450 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22451 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22453 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22454 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22456 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22460 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22461 integer constant usable in #if and use that to give value to enum
22463 (FE_DIVBYZERO): Likewise.
22464 (FE_UNDERFLOW): Likewise.
22465 (FE_OVERFLOW): Likewise.
22466 (FE_INVALID): Likewise.
22467 (FE_INVALID_SNAN): Likewise.
22468 (FE_INVALID_ISI): Likewise.
22469 (FE_INVALID_IDI): Likewise.
22470 (FE_INVALID_ZDZ): Likewise.
22471 (FE_INVALID_IMZ): Likewise.
22472 (FE_INVALID_COMPARE): Likewise.
22473 (FE_INVALID_SOFTWARE): Likewise.
22474 (FE_INVALID_SQRT): Likewise.
22475 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22476 (FE_TONEAREST): Likewise.
22477 (FE_TOWARDZERO): Likewise.
22478 (FE_UPWARD): Likewise.
22479 (FE_DOWNWARD): Likewise.
22480 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22481 (FE_DIVBYZERO): Likewise.
22482 (FE_OVERFLOW): Likewise.
22483 (FE_UNDERFLOW): Likewise.
22484 (FE_INEXACT): Likewise.
22485 (FE_TONEAREST): Likewise.
22486 (FE_DOWNWARD): Likewise.
22487 (FE_UPWARD): Likewise.
22488 (FE_TOWARDZERO): Likewise.
22489 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22490 (FE_UNDERFLOW): Likewise.
22491 (FE_OVERFLOW): Likewise.
22492 (FE_DIVBYZERO): Likewise.
22493 (FE_INVALID): Likewise.
22494 (FE_TONEAREST): Likewise.
22495 (FE_TOWARDZERO): Likewise.
22496 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22497 (FE_OVERFLOW): Likewise.
22498 (FE_UNDERFLOW): Likewise.
22499 (FE_DIVBYZERO): Likewise.
22500 (FE_INEXACT): Likewise.
22501 (FE_TONEAREST): Likewise.
22502 (FE_TOWARDZERO): Likewise.
22503 (FE_UPWARD): Likewise.
22504 (FE_DOWNWARD): Likewise.
22505 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22506 (FE_DIVBYZERO): Likewise.
22507 (FE_OVERFLOW): Likewise.
22508 (FE_UNDERFLOW): Likewise.
22509 (FE_INEXACT): Likewise.
22510 (FE_TONEAREST): Likewise.
22511 (FE_DOWNWARD): Likewise.
22512 (FE_UPWARD): Likewise.
22513 (FE_TOWARDZERO): Likewise.
22515 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22517 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22519 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22521 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22522 commands. Quote $PWD.
22523 (blacklist_exports): Don't use remove_newlines. Replace "declare
22525 (remove_newlines): Remove.
22527 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22529 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22530 * stdlib/stdlib.h (atof): Moved to ...
22531 * include/bits/stdlib-float.h: Here. New file.
22532 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22533 * stdlib/bits/stdlib-float.h: New file.
22534 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22536 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22539 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22541 * conform/conformtest.pl (@headers): Add fenv.h.
22542 * conform/data/fenv.h-data: New file.
22543 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22544 include of <math/fenv.h>.
22546 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22547 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22548 && !UNIX98]. Enables tests for XOPEN2K8.
22549 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22550 POSIX2008]: Likewise.
22552 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22553 (struct rusage): Do not expect type or its members.
22556 * math/math.h (FP_NAN): Define macro to integer constant usable in
22557 #if and use that to give value to enum constant.
22558 (FP_INFINITE): Likewise.
22559 (FP_ZERO): Likewise.
22560 (FP_SUBNORMAL): Likewise.
22561 (FP_NORMAL): Likewise.
22563 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22565 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22566 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22569 2012-11-02 Roland McGrath <roland@hack.frob.com>
22571 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22572 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22573 autoconf-time if not.
22574 * configure.in: Remove AC_PREREQ.
22576 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22578 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22579 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22580 of the internal implementation.
22582 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22584 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22585 except include of <misc/sys/syslog.h>.
22587 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22590 function returns with a NULL context exit with zero.
22592 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22594 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22596 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22598 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22599 (run_program_cmd): This.
22600 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22601 (tst_langinfo): New variable. Use it.
22603 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22605 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22606 floating point opcodes.
22608 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22610 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22613 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22615 * sysdeps/mach/hurd/powerpc: Remove directory.
22616 * sysdeps/mach/powerpc: Likewise.
22618 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22620 * scripts/check-local-headers.sh: Ignore c++ headers.
22622 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22624 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22625 __libc_cleanup_region_start argument.
22627 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22632 x * y using scaling, not as x * y + z.
22633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22635 * math/libm-test.inc (fma_test): Add more tests.
22636 (fma_test_towardzero): Likewise.
22637 (fma_test_downward): Likewise.
22638 (fma_test_upward): Likewise.
22640 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22642 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22644 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22646 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22649 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22651 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22653 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22660 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22663 Fix the order of the list for glibc 2.17.
22664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22667 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22671 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22674 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22675 for low part of x being zero before using __atanl (y).
22676 * math/libm-test.inc (atan2_test): Add another test.
22678 * manual/install.texi (Configuring and compiling): Document
22679 general use of test-wrapper and test-wrapper-env.
22680 * INSTALL: Regenerated.
22682 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22683 (__fma): Do not extract and scale down low bits on after-rounding
22684 systems when result rounded to normal precision would have normal
22686 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22687 (__fmal): Do not extract and scale down low bits on after-rounding
22688 systems when result rounded to normal precision would have normal
22690 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22691 (__fmal): Do not extract and scale down low bits on after-rounding
22692 systems when result rounded to normal precision would have normal
22694 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22696 (fma_test): Add more tests.
22697 (fma_test_towardzero): Likewise.
22698 (fma_test_downward): Likewise.
22699 (fma_test_upward): Likewise.
22701 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22703 * sysdeps/i386/tininess.h: Renamed to ...
22704 * sysdeps/x86/tininess.h: This.
22705 * sysdeps/x86_64/tininess.h: Removed.
22707 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22709 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22710 input. Use $(build-program-cmd).
22711 ($(objpfx)tst-array1-static.out): Likewise.
22712 ($(objpfx)tst-array2.out): Likewise.
22713 ($(objpfx)tst-array3.out): Likewise.
22714 ($(objpfx)tst-array4.out): Likewise.
22715 ($(objpfx)tst-array5.out): Likewise.
22716 ($(objpfx)tst-array5-static.out): Likewise.
22718 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22720 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22723 * nss/nsswitch.h (nss_interface_function): Provide new
22724 macro for use with NSS functions.
22725 * grp/initgroups.c: Use new macro.
22726 * nss/getXXbyYY.c: Likewise.
22727 * nss/getXXbyYY_r.c: Likewise.
22728 * nss/getXXent.c: Likewise.
22729 * nss/getXXent_r.c: Likewise.
22730 * sysdeps/posix/getaddrinfo.c: Likewise.
22732 2012-10-30 Andreas Jaeger <aj@suse.de>
22734 * po/ru.po: Update Russion translation from translation project.
22736 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22741 result and shift together with sticky bit instead of replicating
22742 round-to-nearest rounding.
22743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22745 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22746 missing underflow exceptions.
22747 (fma_test_towardzero): Add more tests.
22748 (fma_test_downward): Likewise.
22749 (fma_test_upward): Likewise.
22752 * sysdeps/generic/tininess.h: New file.
22753 * sysdeps/i386/tininess.h: Likewise.
22754 * sysdeps/sh/tininess.h: Likewise.
22755 * sysdeps/x86_64/tininess.h: Likewise.
22756 * stdlib/tst-strtod-underflow.c: Likewise.
22757 * stdlib/tst-tininess.c: Likewise.
22758 * stdlib/strtod_l.c: Include <tininess.h>.
22759 (round_and_return): Do not set errno for exact underflow cases.
22760 Force an underflow exception when setting errno for underflow.
22761 Determine underflow based on rounding to normal precision if
22762 TININESS_AFTER_ROUNDING.
22763 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22764 ERANGE for exact underflow cases.
22765 * stdlib/Makefile (tests): Add tst-tininess and
22766 tst-strtod-underflow.
22767 ($(objpfx)tst-tininess): Use $(link-libm).
22768 ($(objpfx)tst-strtod-underflow): Likewise.
22770 2012-10-30 Andreas Jaeger <aj@suse.de>
22773 * elf/Makefile (tests): Remove conditional for have-initfini-array
22774 since this is now always required and the variable does not exist
22776 (tests-static): Likewise.
22777 (modules-names): Likewise.
22779 * po/eo.po: Add Esperanto translation from translation project.
22781 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22782 merged with constructor/destructor.
22783 (init_array): Likewise.
22784 * elf/tst-array2dep.c (fini_array): Likewise.
22785 (init_array): Likewise.
22787 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22789 * manual/message.texi: Delete @cartouche tags.
22791 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22793 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22795 * sysdeps/mach/hurd/fsync.c: Likewise.
22797 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22798 [_POSIX_REALTIME_SIGNALS]: Change condition to
22799 [_POSIX_REALTIME_SIGNALS > 0].
22801 2012-10-27 Andreas Jaeger <aj@suse.de>
22803 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22804 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22806 [__WORDSIZE != 64]: Likewise.
22808 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22810 * iconvdata/tst-table.sh: Remove ${SHELL}.
22811 * iconvdata/tst-tables.sh: Likewise.
22813 2012-10-25 David S. Miller <davem@davemloft.net>
22815 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22816 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22822 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22823 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22826 2012-10-25 Roland McGrath <roland@hack.frob.com>
22828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22829 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22832 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22833 Jim Blandy <jimb@codesourcery.com>
22835 * scripts/cross-test-ssh.sh: New file.
22836 * manual/install.texi (Configuring and compiling): Document use of
22838 * INSTALL: Regenerated.
22840 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22842 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22845 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22847 * Makeconfig (run-program-prefix): Fix comment.
22849 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22850 Jim Blandy <jimb@codesourcery.com>
22852 * Makeconfig (test-wrapper): New variable,
22853 (test-wrapper-env): Likewise.
22854 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22855 (run-built-tests): Define to yes.
22856 (run-program-prefix): Use $(test-wrapper).
22857 (built-program-cmd): Likewise.
22858 * Rules (make-test-out): Use $(test-wrapper-env) and
22859 $(host-built-program-cmd).
22860 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22861 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22863 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22864 $(test-wrapper-env) to tst-rtld-load-self.sh.
22865 ($(objpfx)order2.out): Use $(test-wrapper).
22866 ($(objpfx)tst-initorder.out): Likewise.
22867 ($(objpfx)tst-initorder2.out): Likewise.
22868 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22869 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22870 (test_wrapper_env): New variable. Use it to run ld.so.
22871 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22872 Use it to run ld.so.
22873 (test_wrapper_env): Likewise.
22874 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22875 $(test-wrapper) to run-iconv-test.sh.
22876 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22877 (ICONV): Use $test_wrapper.
22878 * posix/Makefile ($(objpfx)globtest.out): Pass
22879 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22880 globtest.sh, not $(run-program-prefix).
22881 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22882 (test_wrapper): Likewise.
22883 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22884 set together with run_via_rtld_prefix.
22885 (run_program_prefix): Define in terms of test_wrapper and
22886 run_via_rtld_prefix.
22888 2012-10-24 Roland McGrath <roland@hack.frob.com>
22890 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22891 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22895 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22896 Declare __clock_getres, __clock_gettime, __clock_settime,
22897 __clock_nanosleep, and __clock_getcpuclockid.
22898 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22899 Remove librt_hidden_def (clock_gettime).
22900 * sysdeps/unix/clock_gettime.c: Likewise.
22901 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22902 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22903 * rt/clock_getres.c: Define __clock_getres as an alias.
22904 * sysdeps/posix/clock_getres.c: Likewise.
22905 * rt/clock_settime.c: Define __clock_settime as an alias.
22906 * sysdeps/unix/clock_settime.c: Likewise.
22907 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22908 * sysdeps/unix/clock_nanosleep.c: Likewise.
22909 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22910 * rt/clock-compat.c: New file.
22911 * rt/Makefile (librt-routines): Add clock-compat and move
22912 $(clock-routines) to ...
22913 (routines): ... here, new variable.
22914 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22915 Don't add get_clockfreq here.
22916 * rt/Versions (libc: GLIBC_2.17): New version set.
22917 Add clock_* symbols here.
22918 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22920 (GLIBC_2.17): Add clock_* symbols.
22921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22932 * NEWS: Mention the move.
22934 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22935 Use __open, __read, __close rather than their public counterparts.
22936 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22937 (__get_clockfreq_via_cpuinfo): Likewise.
22938 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22939 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22941 * config.h.in (HAVE_IFUNC): New #undef.
22942 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22944 * configure: Regenerated.
22946 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22948 * configure.in: Move READELF check to start of file.
22949 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22950 libc_cv_asm_gnu_indirect_function in the process.
22951 * configure: Regenerated.
22953 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22955 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22956 send the output to /dev/null.
22957 (libc_cv_cc_with_libunwind): Likewise.
22958 (libc_cv_as_noexecstack): Likewise.
22959 * configure: Regenerate.
22961 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22963 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22965 * posix/globtest.sh (TMPDIR): Do not set.
22966 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22967 (testout): Likewise.
22969 2012-10-24 Andreas Jaeger <aj@suse.de>
22971 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22972 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22973 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22974 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22975 posix_fadvise64, posix_fallocate64.
22977 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22978 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22979 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22981 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22983 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22986 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22987 <bits/fcntl-linux.h>.
22988 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22991 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22992 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22993 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22994 [__WORDSIZE != 64]: Likewise.
22996 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22998 * Makeconfig (run-built-tests): New variable.
22999 * Rules [$(cross-compiling) = yes]: Change condition to
23000 [$(run-built-tests) = no].
23001 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23002 to [$(run-built-tests) = yes].
23003 * elf/Makefile [$(cross-compiling) = no]: Likewise
23004 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23005 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23006 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23007 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23008 * io/Makefile [$(cross-compiling) = no]: Likewise.
23009 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23010 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23011 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23012 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23013 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23014 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23015 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23016 * string/Makefile [$(cross-compiling) = no]: Likewise.
23018 * posix/Makefile ($(objpfx)globtest.out): Pass
23019 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23020 $(rtld-installed-name).
23021 * posix/globtest.sh (elf_objpfx): Remove variable.
23022 (rtld_installed_name): Likewise.
23023 (library_path): Likewise.
23024 (run_program_prefix): New variable. Use for running globtest
23027 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23028 Joseph Myers <joseph@codesourcery.com>
23030 * Makeconfig (host-built-program-cmd): New variable.
23031 * elf/Makefile (tst-stackguard1-ARGS): Use
23032 $(host-built-program-cmd).
23033 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23034 (tst-spawn-ARGS): Likewise.
23035 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23037 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23038 Jim Blandy <jimb@codesourcery.com>
23040 * Makeconfig (run-via-rtld-prefix): New variable.
23041 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23042 (built-program-cmd): Likewise.
23044 2012-10-22 Andreas Jaeger <aj@suse.de>
23046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23047 __O_RSYNC if it exists, otherwise to O_SYNC.
23049 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23050 Joseph Myers <joseph@codesourcery.com>
23052 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23054 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23056 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23059 2012-10-22 Andreas Jaeger <aj@suse.de>
23061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23066 bits/fcntl-linux.h.
23068 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23069 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23076 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23077 Joseph Myers <joseph@codesourcery.com>
23079 * config.make.in (NM): New variable.
23081 2012-10-21 Andreas Jaeger <aj@suse.de>
23083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23084 definitions and declarations that are provided by
23085 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23087 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23090 * elf/Makefile (tests-static): Add tst-leaks1-static.
23091 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23092 ($(objpfx)tst-leaks1-static): New rule.
23093 ($(objpfx)tst-leaks1-static-mem): Likewise.
23094 (tst-leaks1-static-ENV): New macro.
23095 * elf/dl-open.c (dl_open_worker): Check the main application
23096 only if SHARED is defined.
23097 * elf/tst-leaks1-static.c: New file.
23099 2012-10-20 Andreas Jaeger <aj@suse.de>
23101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23102 generic values for Linux.
23103 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23104 and declarations that are provided by <bits/fcntl-linux.h> and
23105 include <bits/fcntl-linux.h>.
23106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23109 2012-10-20 Roland McGrath <roland@hack.frob.com>
23111 * io/fcntl.h: Move include of <bits/types.h> to the top and
23112 include it unconditionally.
23114 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23116 * wcsmbs/Makefile (tests-ifunc): New variable.
23117 (tests): Add $(tests-ifunc).
23118 * wcsmbs/test-wcschr-ifunc.c: New file.
23119 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23120 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23121 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23122 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23123 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23125 * string/Makefile (tests-ifunc): New variable.
23126 (tests): Add $(tests-ifunc).
23127 * string/test-memccpy.c (TEST_NAME): New macro.
23128 * string/test-memchr.c (TEST_NAME): Likewise.
23129 * string/test-memcmp.c (TEST_NAME): Likewise.
23130 * string/test-memcpy.c (TEST_NAME): Likewise.
23131 * string/test-memmem.c (TEST_NAME): Likewise.
23132 * string/test-memmove.c (TEST_NAME): Likewise.
23133 * string/test-memset.c (TEST_NAME): Likewise.
23134 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23135 * string/test-stpcpy.c (TEST_NAME): Likewise.
23136 * string/test-stpncpy.c (TEST_NAME): Likewise.
23137 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23138 * string/test-strcasestr.c (TEST_NAME): Likewise.
23139 * string/test-strcat.c (TEST_NAME): Likewise.
23140 * string/test-strchr.c (TEST_NAME): Likewise.
23141 * string/test-strcmp.c(TEST_NAME): Likewise.
23142 * string/test-strcpy.c (TEST_NAME): Likewise.
23143 * string/test-strcspn.c (TEST_NAME): Likewise.
23144 * string/test-strlen.c (TEST_NAME): Likewise.
23145 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23146 * string/test-strncmp.c (TEST_NAME): Likewise.
23147 * string/test-strncpy.c (TEST_NAME): Likewise.
23148 * string/test-strnlen.c (TEST_NAME): Likewise.
23149 * string/test-strpbrk.c (TEST_NAME): Likewise.
23150 * string/test-strrchr.c (TEST_NAME): Likewise.
23151 * string/test-strspn.c (TEST_NAME): Likewise.
23152 * string/test-strstr.c (TEST_NAME): Likewise.
23153 * string/test-bcopy-ifunc.c: New file.
23154 * string/test-bzero-ifunc.c: Likewise.
23155 * string/test-memccpy-ifunc.c: Likewise.
23156 * string/test-memchr-ifunc.c: Likewise.
23157 * string/test-memcmp-ifunc.c: Likewise.
23158 * string/test-memcpy-ifunc.c: Likewise.
23159 * string/test-memmem-ifunc.c: Likewise.
23160 * string/test-memmove-ifunc.c: Likewise.
23161 * string/test-mempcpy-ifunc.c: Likewise.
23162 * string/test-memset-ifunc.c: Likewise.
23163 * string/test-rawmemchr-ifunc.c: Likewise.
23164 * string/test-stpcpy-ifunc.c: Likewise.
23165 * string/test-stpncpy-ifunc.c: Likewise.
23166 * string/test-strcasecmp-ifunc.c: Likewise.
23167 * string/test-strcasestr-ifunc.c: Likewise.
23168 * string/test-strcat-ifunc.c: Likewise.
23169 * string/test-strchr-ifunc.c: Likewise.
23170 * string/test-strchrnul-ifunc.c: Likewise.
23171 * string/test-strcmp-ifunc.c: Likewise.
23172 * string/test-strcpy-ifunc.c: Likewise.
23173 * string/test-strcspn-ifunc.c: Likewise.
23174 * string/test-strlen-ifunc.c: Likewise.
23175 * string/test-strncasecmp-ifunc.c: Likewise.
23176 * string/test-strncat-ifunc.c: Likewise.
23177 * string/test-strncmp-ifunc.c: Likewise.
23178 * string/test-strncpy-ifunc.c: Likewise.
23179 * string/test-strnlen-ifunc.c: Likewise.
23180 * string/test-strpbrk-ifunc.c: Likewise.
23181 * string/test-strrchr-ifunc.c: Likewise.
23182 * string/test-strspn-ifunc.c: Likewise.
23183 * string/test-strstr-ifunc.c: Likewise.
23185 * debug/Makefile (tests-ifunc): New variable.
23186 (tests): Add $(tests-ifunc).
23187 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23188 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23189 * debug/test-stpcpy_chk-ifunc.c: New file.
23190 * debug/test-strcpy_chk-ifunc.c: Likewise.
23192 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23195 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23196 header is not read in.
23198 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23200 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23201 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23202 directly. Pass built executable to script as
23203 $(built-program-cmd).
23204 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23205 $testprogram without using LD_LIBRARY_PATH and $ldso.
23207 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23208 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23209 $(rtld-installed-name).
23210 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23211 (rtld_installed_name): Likewise.
23212 (library_path): Likewise.
23213 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23214 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23215 $(run-program-prefix) to tst-tables.sh.
23216 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23217 it to run tst-table-from and tst-table-to.
23218 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23219 Pass it to tst-table.sh.
23220 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23221 $(run-program-prefix) to tst-gettext.sh.
23222 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23224 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23226 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23227 to run tst-gettext.
23228 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23229 to run tst-gettext2.
23230 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23231 to run tst-translit.
23232 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23233 $(run-program-prefix) to tst-mtrace.sh.
23234 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23236 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23237 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23238 $(rtld-installed-name).
23239 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23240 (rtld_installed_name): Likewise.
23241 (run_program_prefix): New variable. Use it to run wordexp-test.
23243 * Makeconfig (ARCH): Remove all definitions.
23244 (machine): Likewise.
23245 [ARCH]: Remove conditional code.
23246 [!objdir]: Give error.
23247 [!objdir] (objpfx): Remove.
23248 [!objdir] (common-objpfx): Likewise.
23249 [!objdir] (common-objdir): Likewise.
23250 * configure.in (config_makefile): Remove. Hardcode Makefile in
23251 AC_CONFIG_FILES call.
23252 * configure: Regenerated.
23255 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23257 (testout): Likewise.
23259 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23260 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23261 $(rtld-installed-name).
23262 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23263 (rtld_installed_name): Likwise.
23264 (runit): Remove function.
23265 (run_getconf): New variable, Use it for running getconf binary.
23267 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23270 * string/test-memmem.c (check_result): New function.
23271 (do_one_test): Use it.
23272 (check1): New function.
23273 (test_main): Use it.
23275 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23277 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23279 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23281 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23282 (_G_LSEEK64): Likewise.
23283 (_G_MMAP64): Likewise.
23284 (_G_FSTAT64): Likewise.
23285 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23286 (_G_LSEEK64): Likewise.
23287 (_G_MMAP64): Likewise.
23288 (_G_FSTAT64): Likewise.
23289 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23290 unconditional. Call __mmap64 directly.
23291 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23292 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23293 __lseek64 directly.
23294 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23295 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23297 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23298 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23299 __lseek64 directly.
23300 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23301 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23302 __lseek64 directly.
23303 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23304 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23305 __lseek64 directly.
23306 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23307 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23308 __fxstat64 directly.
23309 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23310 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23312 (freopen64) [!_G_OPEN64]: Remove conditional code.
23313 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23315 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23316 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23318 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23319 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23321 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23322 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23324 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23325 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23327 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23328 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23330 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23331 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23333 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23335 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23338 * manual/memory.texi (Malloc Tunable Parameters): Add note
23339 about free list pointers overwriting some perturb bytes.
23340 Wording suggested by Roland McGrath.
23342 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23344 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23345 (lgamma_test): Likewise.
23346 (tgamma_test): Likewise.
23348 2012-10-16 Florian Weimer <fweimer@redhat.com>
23351 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23352 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23354 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23356 * NEWS: Mention BZ #14716.
23357 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23358 when removing AVAILABLE1_USES_J macro.
23360 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23362 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23363 (__bswap_64): __uint64_t for unsigned 64-bit int.
23365 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23367 * include/string.h (memmem): Declare libc hidden alias.
23368 * string/memmem.c (memmem): Define libc hidden alias.
23369 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23370 __read, __close instead of open, read, close.
23372 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23375 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23377 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23378 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23379 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23381 (__rawmemchr_sse2): Likewise.
23382 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23383 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23384 (__strchr_sse2): Likewise.
23385 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23386 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23387 (__strcasecmp_sse2): Likewise.
23388 (__strncasecmp_sse2): Likewise.
23389 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23390 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23391 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23392 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23393 (__strrchr_sse2): Likewise.
23394 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23396 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23397 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23398 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23399 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23400 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23401 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23402 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23403 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23404 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23405 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23406 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23407 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23408 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23409 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23410 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23411 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23412 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23413 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23414 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23415 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23416 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23417 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23418 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23419 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23420 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23421 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23422 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23423 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23424 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23425 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23427 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23429 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23430 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23431 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23432 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23434 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23436 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23437 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23438 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23439 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23441 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23442 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23443 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23444 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23445 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23446 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23447 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23448 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23449 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23450 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23451 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23452 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23453 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23454 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23455 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23456 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23457 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23458 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23459 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23460 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23462 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23463 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23464 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23465 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23466 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23467 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23468 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23469 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23470 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23471 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23472 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23473 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23474 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23475 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23483 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23484 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23485 * include/ifunc-impl-list.h: New file.
23486 * misc/ifunc-impl-list.c: Likewise.
23487 * misc/Makefile (routines): Add ifunc-impl-list.
23488 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23489 * string/test-string.h: Include <ifunc-impl-list.h>.
23490 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23491 TEST_NAME]: New variables.
23492 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23494 (test_init): Call __libc_ifunc_impl_list to initialize
23495 func_list if TEST_IFUNC and TEST_NAME are defined.
23497 * string/Makefile (strop-tests): Add bcopy and bzero.
23498 * string/test-bcopy.c: New file.
23499 * string/test-bzero.c: Likewise.
23500 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23502 * string/test-memset.c: Support bzero test if TEST_BZERO is
23504 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23506 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23508 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23511 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23513 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23514 * configure: Regenerated.
23516 * Makeconfig (+link-static-before-libc): Don't include
23517 $(link-static-libc).
23519 * libio/libio.h (_IO_pos_t): Remove.
23521 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23523 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23526 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23528 * crypt/crypt-entry.c: Include fips-private.h.
23529 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23530 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23531 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23532 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23534 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23536 * crypt/crypt-private.h: Include stdbool.h.
23537 (_ufc_setup_salt_r): Return bool.
23538 * crypt/crypt-entry.c: Include errno.h.
23539 (__crypt_r): Return NULL with EINVAL for bad salt.
23540 * crypt/crypt_util.c (bad_for_salt): New.
23541 (_ufc_setup_salt_r): Check that salt is long enough and within
23542 the specified alphabet.
23543 * crypt/badsalttest.c: New file.
23544 * crypt/Makefile (tests): Add it.
23545 ($(objpfx)badsalttest): New.
23547 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23549 * NEWS: Add entry for BZ #14602.
23551 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23553 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23555 * math/libm-test.inc: Update comment listing what functions and
23557 (isgreater_test): New function.
23558 (isgreaterequal_test): Likewise.
23559 (isless_test): Likewise.
23560 (islessequal_test): Likewise.
23561 (islessgreater_test): Likewise.
23562 (isunordered_test): Likewise.
23563 (main): Call the new functions.
23565 2012-10-09 Roland McGrath <roland@hack.frob.com>
23567 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23568 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23569 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23570 * sysdeps/i386/configure: Regenerated.
23571 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23572 * sysdeps/mach/configure: Regenerated.
23573 * sysdeps/mach/hurd/configure: Regenerated.
23574 * sysdeps/powerpc/configure: Regenerated.
23575 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23576 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23577 * sysdeps/s390/s390-32/configure: Regenerated.
23578 * sysdeps/s390/s390-64/configure: Regenerated.
23579 * sysdeps/sh/configure: Regenerated.
23580 * sysdeps/sparc/configure: Regenerated.
23581 * sysdeps/unix/sysv/linux/configure: Regenerated.
23582 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23583 * sysdeps/x86_64/configure: Regenerated.
23585 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23586 defined. Don't check if MAP is NULL.
23588 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23590 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23591 (_G_stat64): Likewise.
23592 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23593 (_G_stat64): Likewise.
23594 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23595 instead of struct _G_stat64.
23596 * libio/fileops.c (mmap_remap_check): Likewise.
23597 (decide_maybe_mmap): Likewise.
23598 (_IO_new_file_seekoff): Likewise.
23599 (_IO_file_stat): Likewise.
23600 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23602 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23603 instead of struct _G_stat64.
23604 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23606 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23609 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23611 (CHECK_EOL): New macro.
23612 (two_way_short_needle): Check beginning of haystack for EOL. Use
23614 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23615 Replace with CHECK_EOL.
23616 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23617 Replace with CHECK_EOL.
23619 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23621 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23623 * math/libm-test.inc: Update comment listing what functions and
23625 (finite_test): New function.
23626 (isinf_test): Likewise.
23627 (isnan_test): Likewise.
23628 (fpclassify_test): Test subnormal input.
23629 (isfinite_test): Likewise.
23630 (isnormal_test): Likewise.
23631 (main): Call the new functions.
23633 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23636 * Makerules (%.dynsym): Force C locale when running
23637 $(OBJDUMP) --dynamic-syms.
23639 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23641 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23644 2012-10-06 David S. Miller <davem@davemloft.net>
23646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23647 upper 32-bits of the length value in %o2 since we use branch-on-register
23648 tests which consider the entire 64-bit register.
23650 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23652 * string/test-strstr.c (check2): Add a test for page boundary.
23654 2012-10-05 David S. Miller <davem@davemloft.net>
23656 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23657 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23659 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23661 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23662 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23663 and bzero when HWCAP_SPARC_CRYPTO is present.
23665 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23668 * string/test-strstr.c (check2): New function.
23669 (test_main): Call check2.
23671 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23673 * string/bug-strcasestr1.c (do_test): Moved to ...
23674 * string/test-strcasestr.c (check1): Here. New function.
23675 (do_one_test): Break out result checking code into ...
23676 (check_result): This. New function.
23677 (do_one_test): Call check_result.
23678 (test_main): Call check1.
23679 * string/bug-strchr1.c (do_test): Moved to ...
23680 * string/test-strchr.c (check1): Here. New function.
23681 (do_one_test): Break out result checking code into ...
23682 (check_result): This. New function.
23683 (do_one_test): Call check_result.
23684 (test_main): Call check1.
23685 * string/bug-strstr1.c (main): Moved to ...
23686 * string/test-strstr.c (check1): Here. New function.
23687 (do_one_test): Break out result checking code into ...
23688 (check_result): This. New function.
23689 (do_one_test): Call check_result.
23690 (test_main): Call check1.
23691 * string/bug-strcasestr1.c: Removed.
23692 * string/bug-strchr1.c: Likewise.
23693 * string/bug-strstr1.c: Likewise.
23695 * elf/Makefile (dl-routines): Add hwcaps.
23696 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23697 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23698 (_dl_important_hwcaps): Moved to ...
23699 * elf/dl-hwcaps.c: Here. New file.
23700 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23703 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23704 if IS_IN_rtld isn't defined.
23706 * elf/dl-support.c (_dl_sysinfo_map): New.
23707 Include "get-dynamic-info.h" and "setup-vdso.h".
23708 (_dl_non_dynamic_init): Call setup_vdso.
23709 * elf/dynamic-link.h: Don't include <assert.h>.
23710 (elf_get_dynamic_info): Moved to ...
23711 * elf/get-dynamic-info.h: Here. New file.
23712 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23713 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23714 * elf/setup-vdso.h: Here. New file.
23715 * elf/rtld.c: Include "setup-vdso.h".
23716 (dl_main): Call setup_vdso.
23718 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23720 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23721 creal in comment listing functions tested. List finite, isinf,
23722 isnan, isless, islessequal, isgreater, isgreaterequal,
23723 islessgreater, isunordered, lgamma_r and pow10 as functions and
23724 macros not tested. Mention which functions not tested are aliases
23725 for other functions. Fix typo. Note that signs of NaNs are not
23728 * scripts/config.guess: Update from config.git.
23729 * scripts/config.sub: Likewise.
23731 2012-10-04 Roland McGrath <roland@hack.frob.com>
23733 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23734 * misc/madvise.c (madvise): Renamed to __madvise.
23735 Make madvise a weak alias.
23736 * include/sys/mman.h: Declare __madvise.
23737 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23738 * sysdeps/unix/syscalls.list
23739 (madvise): Make __madvise the strong name, and madvise a weak alias.
23740 * sysdeps/unix/sysv/linux/syscalls.list
23741 (madvise, mmap): Remove redundant entries.
23742 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23743 * malloc/malloc.c (mtrim): Likewise.
23744 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23746 2012-10-03 Roland McGrath <roland@hack.frob.com>
23748 * sysdeps/mach/hurd/dl-cache.c: File removed.
23749 * config.h.in (USE_LDCONFIG): New #undef.
23750 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23751 * configure: Regenerated.
23752 * elf/Makefile (dl-routines): Add dl-cache only under
23753 [$(use-ldconfig) = yes].
23754 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23755 cache on [USE_LDCONFIG].
23756 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23758 * elf/rtld.c (dl_main): Likewise.
23760 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23762 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23763 _SC_LEVEL4_CACHE_LINESIZE.
23765 2012-10-03 Roland McGrath <roland@hack.frob.com>
23767 * sysdeps/unix/bsd/confstr.h: File removed.
23769 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23771 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23774 2012-10-02 Roland McGrath <roland@hack.frob.com>
23776 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23777 Make 'mapoff' field ElfW(Off) rather than off_t.
23779 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23781 * nscd/Makefile: Remove nscd-cflags and all its users.
23782 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23783 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23786 * malloc.c (malloc_printerr): Clarify error message.
23788 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23792 Set bit_FMA_Usable if FMA is supported.
23793 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23795 (bit_FMA4_Usable): Updated.
23796 (index_FMA_Usable): New macro.
23797 (CPUID_FMA): Likewise
23798 (HAS_FMA): Defined with bit_FMA_Usable.
23800 2012-10-01 Roland McGrath <roland@hack.frob.com>
23802 * bits/types.h (__swblk_t): Type removed.
23803 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23804 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23806 (__SWBLK_T_TYPE): Likewise.
23807 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23808 (__SWBLK_T_TYPE): Likewise.
23809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23810 (__SWBLK_T_TYPE): Likewise.
23811 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23812 (__SWBLK_T_TYPE): Likewise.
23814 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23815 Honza Horak <hhorak@redhat.com>
23817 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23818 (xdr_mapname): Use YPMAXMAP as maxsize.
23819 (xdr_peername): Use YPMAXPEER as maxsize.
23820 (xdr_keydat): Use YPAXRECORD as maxsize.
23821 (xdr_valdat): Use YPMAXRECORD as maxsize.
23823 2012-10-01 Roland McGrath <roland@hack.frob.com>
23825 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23827 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23828 * csu/init-first.c: ... here.
23829 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23830 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23832 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23833 * sysdeps/i386/init-first.c: File removed.
23834 * sysdeps/sh/init-first.c: File removed.
23836 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23840 if x * y might underflow to zero and z is zero.
23841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23843 * math/libm-test.inc (min_subnorm_value): New variable.
23844 (fma_test): Add more tests.
23845 (fma_test_towardzero): Likewise.
23846 (fma_test_downward): Likewise
23847 (fma_test_upward): Likewise.
23848 (initialize): Set min_subnorm_value.
23850 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23855 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23856 mode for addition resulting in exact zero.
23857 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23862 * math/libm-test.inc (fma_test): Add more tests.
23863 (fma_test_towardzero): New function.
23864 (fma_test_downward): Likewise.
23865 (fma_test_upward): Likewise.
23866 (main): Call the new functions.
23868 2012-09-28 David S. Miller <davem@davemloft.net>
23870 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23872 2012-09-28 Roland McGrath <roland@hack.frob.com>
23874 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23875 instead of SIGALRM.
23877 * sysdeps/gnu/_G_config.h: Moved to ...
23878 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23879 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23880 * sysdeps/generic/_G_config.h: ... here.
23882 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23884 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23886 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23887 Conditionalize target on [libnss_test1.so-version].
23889 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23891 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23892 (elfobjdir): Move out of conditionals.
23894 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23895 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23896 (__nss_lookup_function): Conditionalize label remove_from_tree on
23897 [!DO_STATIC_NSS || SHARED], matching its only use.
23899 2012-09-28 David S. Miller <davem@davemloft.net>
23901 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23902 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23904 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23906 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23908 when HWCAP_SPARC_CRYPTO is present.
23910 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23912 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23914 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23917 * stdio-common/vfprintf.c (process_string_arg): Revert
23920 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23922 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23924 * stdio-common/tst-sprintf.c: Include <locale.h>
23925 (main): Test sprintf's handling of incomplete multibyte
23928 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23930 * elf/dl-runtime.c (VERSYMIDX): Removed.
23931 * elf/dl-version.c (VERSYMIDX): Likewise.
23932 * elf/do-rel.h (VERSYMIDX): Likewise.
23933 (VALIDX): Likewise.
23934 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23935 * elf/rtld.c (VALIDX): Likewise.
23936 (ADDRIDX): Likewise.
23937 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23938 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23939 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23940 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23941 (VALIDX): Likewise.
23942 (ADDRIDX): Likewise.
23944 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23946 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23948 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23951 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23953 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23954 addresses are in the same scope as 192.0.2/24.
23955 * posix/gai.conf: Document new scope table defaults.
23957 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23960 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23961 for ftell. Compute offsets from write pointers instead.
23962 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23964 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23967 * libio/Makefile (tests): New test case tst-fseek.
23968 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23969 combination works in wide mode.
23970 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23971 state when the external buffer state changes.
23973 2012-09-27 David S. Miller <davem@davemloft.net>
23976 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23977 pass reloc->r_addend in as the 'high' argument to
23978 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23982 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23984 * rt/tst-aio2.c: Include <pthread.h>.
23985 * rt/tst-aio3.c: Likewise.
23987 2012-09-27 Steve Ellcey <sellcey@mips.com>
23989 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23991 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23993 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23994 contents on [SHARED].
23996 2012-09-26 Marek Polacek <polacek@redhat.com>
24000 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24001 for C++ and GCC <4.3 as well as for non GCC compilers.
24003 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24007 2012-09-25 Roland McGrath <roland@hack.frob.com>
24009 * Makefile.in (all, install): Declare with .PHONY.
24010 Reported by Michael Hope <michael.hope@linaro.org>.
24012 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24014 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24015 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24017 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24019 (sydep_routines): Add the new and the internal functions.
24020 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24021 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24023 (GLIBC_2.17): Add the new function.
24024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24025 (GLIBC_2.17): Likewise.
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24027 (GLIBC_2.17): Likewise.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24029 (GLIBC_2.17): Likewise.
24030 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24032 2012-09-25 Alan Modra <amodra@gmail.com>
24034 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24035 Add release barrier before setting once_control to say
24036 initialisation is done. Add hints on lwarx. Use macro in
24038 (clear_once_control): Add release barrier.
24040 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24043 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24045 * math/s_clog10.c (__clog10): Likewise.
24046 * math/s_clog10f.c (__clog10f): Likewise.
24047 * math/s_clog10l.c (__clog10l): Likewise.
24048 * math/s_clogf.c (__clogf): Likewise.
24049 * math/s_clogl.c (__clogl): Likewise.
24050 * math/Makefile (libm-calls): Add x2y2m1.
24051 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24052 (__x2y2m1): Likewise.
24053 (__x2y2m1l): Likewise.
24054 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24055 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24058 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24059 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24060 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24061 * sysdeps/i386/fpu/libm-test-ulps: Update.
24062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24065 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24066 int as type of variable DEPTH.
24067 (glob): Use size_t instead of int as type of variables NEWCOUNT
24070 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24072 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24073 Add s_sincosf-sse2.
24074 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24075 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24076 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24077 macros for using routine as __sincosf_ia32.
24078 Use macro for function declaration and weak_alias.
24079 * sysdeps/i386/fpu/libm-test-ulps: Update.
24081 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24084 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24085 subnormal argument.
24086 * math/s_cexpf.c (__cexpf): Likewise.
24087 * math/s_csinf.c (__csinf): Likewise.
24088 * math/s_csinhf.c (__csinhf): Likewise.
24089 * math/s_ctanf.c (__ctanf): Likewise.
24090 * math/s_ctanhf.c (__ctanhf): Likewise.
24091 * math/s_ccosh.c (__ccoshf): Likewise.
24092 * math/s_cexp.c (__cexpl): Likewise.
24093 * math/s_csin.c (__csin): Likewise.
24094 * math/s_csinh.c (__csinh): Likewise.
24095 * math/s_ctan.c (__ctan): Likewise.
24096 * math/s_ctanh.c (ctanh): Likewise.
24097 * math/s_ccoshl.c (__ccoshl): Likewise.
24098 * math/s_cexpl.c (__cexpl): Likewise.
24099 * math/s_csinl.c (__csinl): Likewise.
24100 * math/s_csinhl.c (__csinhl): Likewise.
24101 * math/s_ctanl.c (__ctanl): Likewise.
24102 * math/s_ctanhl.c (__ctanhl): Likewise.
24104 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24106 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24107 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24108 (_IO_off_t): Define to __off_t, not _G_off_t.
24109 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24110 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24111 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24112 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24113 type of __dummy and __dummy2 fields.
24114 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24115 (_G_ssize_t): Likewise.
24116 (_G_off_t): Likewise.
24117 (_G_pid_t): Likewise.
24118 (_G_uid_t): Likewise.
24119 (_G_wchar_t): Likewise.
24120 (_G_wint_t): Likewise.
24121 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24122 (_G_ssize_t): Likewise.
24123 (_G_off_t): Likewise.
24124 (_G_pid_t): Likewise.
24125 (_G_uid_t): Likewise.
24126 (_G_wchar_t): Likewise.
24127 (_G_wint_t): Likewise.
24128 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24129 (_G_ssize_t): Likewise.
24130 (_G_off_t): Likewise.
24131 (_G_pid_t): Likewise.
24132 (_G_uid_t): Likewise.
24133 (_G_wchar_t): Likewise.
24134 (_G_wint_t): Likewise.
24136 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24138 * malloc/arena.c: Include malloc-sysdep.h.
24139 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24140 is sufficient to shrink the heap or an unmap is needed.
24141 * sysdeps/generic/malloc-sysdep.h: New file. Define
24142 new function check_may_shrink_heap.
24143 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24144 new function check_may_shrink_heap.
24146 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24148 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24151 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24153 * catgets/test-gencat.sh: Add "set -e".
24154 * elf/tst-pathopt.sh: Likewise.
24155 * grp/tst_fgetgrent.sh: Likewise.
24156 * iconvdata/run-iconv-test.sh: Likewise.
24157 * intl/tst-gettext.sh: Likewise.
24158 * intl/tst-gettext2.sh: Likewise.
24159 * intl/tst-gettext4.sh: Likewise.
24160 * intl/tst-gettext6.sh: Likewise.
24161 * intl/tst-translit.sh: Likewise.
24162 * io/ftwtest-sh: Likewise.
24163 * libio/test-freopen.sh: Likewise.
24164 * malloc/tst-mtrace.sh: Likewise.
24165 * posix/globtest.sh: Likewise.
24166 * posix/tst-getconf.sh: Likewise.
24167 * posix/wordexp-tst.sh: Likewise.
24168 * stdio-common/tst-printf.sh: Likewise.
24169 * stdio-common/tst-unbputc.sh: Likewise.
24170 * stdlib/tst-fmtmsg.sh: Likewise.
24171 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24172 * catgets/Makefile: Do not specify -e option when running
24173 testsuite shell scripts.
24174 * elf/Makefile: Likewise.
24175 * grp/Makefile: Likewise.
24176 * iconvdata/Makefile: Likewise.
24177 * intl/Makefile: Likewise.
24178 * io/Makefile: Likewise.
24179 * libio/Makefile: Likewise.
24180 * malloc/Makefile: Likewise.
24181 * posix/Makefile: Likewise.
24182 * stdio-common/Makefile: Likewise.
24183 * stdlib/Makefile: Likewise.
24184 * sysdeps/x86_64/Makefile: Likewise.
24186 * io/ftwtest-sh: Add copyright header.
24187 * posix/globtest.sh: Likewise.
24188 * posix/tst-getconf.sh: Likewise.
24189 * posix/wordexp-tst.sh: Likewise.
24190 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24192 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24195 * Makeconfig (+link): Defined as $(+link-static) if
24196 $(build-shared) isn't yes.
24197 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24199 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24201 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24204 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24205 new chunk size with MALLOC_ALIGN_MASK.
24207 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24210 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24212 (__printf_fphex): Determine rounding using get_rounding_mode and
24214 * stdio-common/tst-printf-round.c (struct hex_test): New
24216 (hex_tests): New variable.
24217 (test_hex_in_one_mode): New function.
24218 (do_test): Also run tests for hex float output.
24220 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24222 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24223 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24224 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24225 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24226 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24227 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24228 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24229 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24231 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24233 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24234 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24235 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24236 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24238 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24241 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24243 * elf/tst-rtld-load-self.sh: New test.
24244 * elf/Makefile: Run it.
24246 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24248 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24249 (tst-writev-ENV): Remove.
24250 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24252 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24254 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24256 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24258 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24260 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24262 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24263 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24264 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24267 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24270 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24271 * config.make.in (have-cpp-asm-debuginfo): Removed.
24272 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24273 * configure: Regenerated.
24275 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24278 * stdio-common/printf_fp.c: Include <stdbool.h> and
24280 (___printf_fp): Determine rounding using get_rounding_mode and
24282 * stdio-common/tst-printf-round.c: New file.
24283 * stdio-common/Makefile (tests): Add tst-printf-round.
24284 (link-libm): New variable.
24285 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24287 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24290 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24291 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24293 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24296 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24298 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24299 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24300 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24301 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24303 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24306 * include/rounding-mode.h: New file.
24307 * sysdeps/generic/get-rounding-mode.h: Likewise.
24308 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24309 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24310 (MAX_VALUE): New macro.
24311 (MIN_VALUE): Likewise.
24312 (overflow_value): New function.
24313 (underflow_value): Likewise.
24314 (round_and_return): Use overflow_value and underflow_value to
24315 determine return values in overflow and underflow cases. Use
24316 round_away to determine rounding depending on rounding mode.
24317 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24318 determine return values in overflow and underflow cases.
24319 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24320 (struct test_results): New structure.
24321 (struct test): Use struct test_results to store expected results
24322 for all rounding modes.
24323 (TEST): Include expected results for all rounding modes.
24324 (test_in_one_mode): New function.
24325 (do_test): Use test_in_one_mode to compute and check results.
24326 Check results for all rounding modes.
24327 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24330 2012-12-09 Allan McRae <allan@archlinux.org>
24332 * sysdeps/i386/fpu/libm-test-ulps: Update
24334 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24336 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24337 (_G_int32_t): Likewise.
24338 (_G_uint16_t): Likewise.
24339 (_G_uint32_t): Likewise.
24340 (_G_HAVE_BOOL): Likewise.
24341 (_G_HAVE_ATEXIT): Likewise.
24342 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24343 (_G_HAVE_IO_FILE_OPEN): Likewise.
24344 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24345 (_G_int32_t): Likewise.
24346 (_G_uint16_t): Likewise.
24347 (_G_uint32_t): Likewise.
24348 (_G_HAVE_BOOL): Likewise.
24349 (_G_HAVE_ATEXIT): Likewise.
24350 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24351 (_G_HAVE_IO_FILE_OPEN): Likewise.
24352 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24353 (_G_int32_t): Likewise.
24354 (_G_uint16_t): Likewise.
24355 (_G_uint32_t): Likewise.
24356 (_G_HAVE_BOOL): Likewise.
24357 (_G_HAVE_ATEXIT): Likewise.
24358 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24359 (_G_HAVE_IO_FILE_OPEN): Likewise.
24361 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24363 * csu/libc-tls.c: Update copyright years.
24365 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24367 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24368 [!_G_USING_THUNKS]: Remove conditional code.
24369 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24370 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24372 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24373 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24374 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24375 (_G_VTABLE_LABEL_PREFIX): Likewise.
24376 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24377 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24378 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24379 (_G_VTABLE_LABEL_PREFIX): Likewise.
24380 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24381 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24382 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24383 (_G_VTABLE_LABEL_PREFIX): Likewise.
24384 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24386 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24388 * libio/Makefile: Include ../Makeconfig before tests.
24389 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24390 only if $(build-shared) is yes.
24392 * iconv/gconv_db.c: Update copyright years.
24394 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24396 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24397 unwind info if defined PIC. Fix special cases description.
24398 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24400 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24402 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24404 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24406 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24408 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24411 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24412 (LDLIBS-tst-chk4): This.
24413 (LDFLAGS-tst-chk5): Renamed to ...
24414 (LDLIBS-tst-chk5): This.
24415 (LDFLAGS-tst-chk6): Renamed to ...
24416 (LDLIBS-tst-chk6): This.
24417 (LDFLAGS-tst-lfschk4): Renamed to ...
24418 (LDLIBS-tst-lfschk4): This.
24419 (LDFLAGS-tst-lfschk5): Renamed to ...
24420 (LDLIBS-tst-lfschk5): This.
24421 (LDFLAGS-tst-lfschk6): Renamed to ...
24422 (LDLIBS-tst-lfschk6): This.
24424 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24425 on $(common-objpfx)soversions.mk.
24427 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24430 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24433 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24435 * malloc/arena.c (arena_get_retry): New function that gets
24436 another arena for the caller to try its request on.
24437 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24438 current arena cannot fulfill the request.
24439 (__libc_memalign): Likewise.
24440 (__libc_memalign): Likewise.
24441 (__libc_pvalloc): Likewise.
24442 (__libc_calloc): Likewise.
24444 2012-09-05 John Tobey <john.tobey@gmail.com>
24447 * manual/arith.texi (Operations on Complex): Fix description
24448 of carg branch cut.
24450 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24453 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24457 * manual/memory.texi (Memory): Make order of menu items match
24460 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24462 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24463 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24464 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24466 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24468 * csu/libc-tls.c (static_dtv): Renamed to ...
24469 (_dl_static_dtv): This. Make it global.
24470 (_dl_initial_dtv): Removed.
24471 (__libc_setup_tls): Updated.
24472 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24473 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24476 2012-09-06 Petr Machata <pmachata@redhat.com>
24478 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24479 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24480 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24481 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24483 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24486 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24487 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24490 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24493 * Makeconfig (link-static-before-libc): Replace $(+prector)
24495 (link-static-after-libc): Replace $(+postctor) with
24497 (link-bounded): Replace $(+prector)/$(+postctor) with
24498 $(+prectorT)/$(+postctorT).
24499 (+prectorT): New macro.
24500 (+postctorT): Likewise.
24502 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24504 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24505 (round_str): Handle values above the maximum for IBM long double
24507 * stdlib/tst-strtod-round.c (tests): Regenerated.
24509 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24511 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24513 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24514 zarch_nohighgprs around the zarch optimized routines.
24515 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24516 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24517 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24520 2012-09-05 David S. Miller <davem@davemloft.net>
24522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24524 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24525 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24526 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24527 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24530 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24532 * malloc/arena.c: Fold copyright years.
24533 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24535 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24537 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24539 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24541 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24543 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24545 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24546 change internal state upon failure.
24548 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24550 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24551 * malloc/memusage.c (mmap): Likewise.
24552 (mmap64, mremap): Likewise. Adjust name in comment.
24554 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24556 * libio/fileops.c: Fix typos in comments.
24557 * libio/oldfileops.c: Likewise.
24558 * libio/wfileops.c: Likewise.
24560 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24563 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24564 (tst-malloc-usable-ENV): Set environment for test case.
24565 * malloc/hooks.c (malloc_check_get_size): New function to get
24567 * malloc/malloc.c (musable): Use malloc_check_get_size.
24568 * malloc/tst-malloc-usable.c: New test case.
24570 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24572 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24574 2012-09-05 Allan McRae <allan@archlinux.org>
24577 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24578 determine header location.
24579 * configure: Regenerated.
24581 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24583 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24585 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24586 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24588 (test): Regenerate.
24590 2012-09-04 David S. Miller <davem@davemloft.net>
24592 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24593 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24594 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24596 2012-09-04 Florian Weimer <fweimer@redhat.com>
24598 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24601 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24603 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24606 * libio/iogetdelim.c: Include <limits.h>.
24607 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24608 + len + 1 would overflow.
24610 2012-09-03 Andreas Jaeger <aj@suse.de>
24612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24613 * sysdeps/i386/fpu/libm-test-ulps: Update.
24615 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24617 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24618 Add s_sinf-sse2, s_conf-sse2.
24620 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24621 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24622 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24623 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24625 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24626 for using routine as __sinf_ia32.
24627 Use macro for function declaration and weak_alias.
24628 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24629 for using routine as __cosf_ia32.
24630 Use macro for function declaration and weak_alias.
24632 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24633 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24635 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24636 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24639 * math/libm-test.inc (cos_test): Add more test cases.
24640 (sin_test): Likewise.
24641 (sincos_test): Likewise.
24643 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24646 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24648 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24650 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24653 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24654 first element of the GOT.
24655 (elf_machine_load_address): Return the difference between
24656 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24658 2012-09-01 Allan McRae <allan@archlinux.org>
24661 * configure.in (AWK): Require gawk version 3.0 or later.
24662 * configure: Regenerated.
24664 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24666 * sysdeps/unix/sysv/linux/kernel-features.h
24667 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24668 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24669 [__NR_clock_getres]: Make code unconditional.
24670 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24671 (clock_getcpuclockid): Remove code left unreachable by removal of
24673 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24674 code unconditional.
24675 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24676 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24677 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24678 Make code unconditional.
24679 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24680 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24681 * sysdeps/unix/sysv/linux/clock_settime.c
24682 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24684 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24685 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24687 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24690 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24691 scripts/test-installation.pl.
24693 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24694 and $ld_so_version if it is set.
24696 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24700 failure if reading from procfs failed.
24701 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24703 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24705 * sysdeps/unix/sysv/linux/kernel-features.h
24706 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24707 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24708 Remove conditional code.
24709 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24710 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24711 Remove conditional code.
24712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24713 * sysdeps/unix/sysv/linux/i386/fxstat.c
24714 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24716 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24717 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24719 * sysdeps/unix/sysv/linux/i386/lxstat.c
24720 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24722 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24723 Remove conditional code.
24724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24725 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24726 Remove conditional code.
24727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24728 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24729 <kernel-features.h>.
24730 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24732 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24733 Remove conditional code.
24734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24735 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24736 Remove conditional.
24738 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24741 * NEWS: Add fixed bug number.
24743 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24746 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24747 underflowing exponent in case of negative sign.
24748 * stdlib/tst-strtod-round-data: Add more tests.
24749 * stdlib/tst-strtod-round.c (tests): Regenerated.
24752 * stdlib/strtod_l.c (NDIG): Remove.
24753 (HEXNDIG): Likewise.
24754 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24755 smallest representable value.
24756 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24757 lie within an exact representation of 1/2 ulp of the result.
24758 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24760 (TENS_P9_IDX): Define unconditionally.
24761 (TENS_P9_SIZE): Likewise.
24762 (TENS_P10_IDX): Likewise.
24763 (TENS_P10_SIZE): Likewise.
24764 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24765 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24766 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24767 entries for 10^2^13 and 10^2^14.
24768 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24769 (TENS_P13_IDX): Define.
24770 (TENS_P13_SIZE): Likewise.
24771 (TENS_P14_IDX): Likewise.
24772 (TENS_P14_SIZE): Likewise.
24773 (_fpioconst_pow10): Change array size to
24774 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24776 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24777 1024]: Add entries for 10^2^13 and 10^2^14.
24778 [LAST_POW10 > _LAST_POW10]: Remove #error.
24779 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24780 (_fpioconst_pow10): Change array size to
24781 FPIOCONST_POW10_ARRAY_SIZE.
24782 * stdlib/gen-fpioconst.c: New file.
24783 * stdlib/gen-tst-strtod-round.c: Likewise.
24784 * stdlib/tst-strtod-round-data: Likewise.
24785 * stdlib/tst-strtod-round.c: Likewise.
24786 * stdlib/Makefile (tests): Add tst-strtod-round.
24789 * stdlib/strtod_l.c: Include <stdint.h>.
24790 (NDEBUG): Do not define.
24791 (round_and_return): Change EXPONENT parameter to type intmax_t.
24792 Rearrange calculations to avoid internal overflow possibilities.
24793 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24794 Rearrange calculations to avoid internal overflow possibilities.
24795 Assert that number fits inside MPNSIZE limbs.
24796 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24797 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24798 calculations and add assertions to avoid internal overflow
24799 possibilities. Add casts to avoid signed/unsigned operations.
24800 * stdlib/tst-strtod-overflow.c: New file.
24801 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24803 2012-08-25 Marek Polacek <polacek@redhat.com>
24805 * time/time.h: Fix some typos in comments.
24807 2012-08-23 Roland McGrath <roland@hack.frob.com>
24809 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24810 * posix/tst-rfc3484-2.c: Likewise.
24811 * posix/tst-rfc3484-3.c: Likewise.
24813 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24815 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24816 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24818 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24820 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24821 #include of fxstatat64.c.
24823 2012-08-22 Roland McGrath <roland@hack.frob.com>
24825 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24826 * shadow/getspent_r.c: Likewise.
24827 * shadow/getspnam.c: Likewise.
24828 * shadow/getspnam_r.c: Likewise.
24829 * gshadow/getsgent.c: Likewise.
24830 * gshadow/getsgent_r.c: Likewise.
24831 * gshadow/getsgnam.c: Likewise.
24832 * gshadow/getsgnam_r.c: Likewise.
24833 * inet/getnetbyad.c: Likewise.
24834 * inet/getnetbyad_r.c: Likewise.
24835 * inet/getnetbynm.c: Likewise.
24836 * inet/getnetbynm_r.c: Likewise.
24837 * inet/getnetent.c: Likewise.
24838 * inet/getnetent_r.c: Likewise.
24839 * inet/getproto.c: Likewise.
24840 * inet/getproto_r.c: Likewise.
24841 * inet/getprtent.c: Likewise.
24842 * inet/getprtent_r.c: Likewise.
24843 * inet/getprtname.c: Likewise.
24844 * inet/getprtname_r.c: Likewise.
24845 * inet/getrpcbyname.c: Likewise.
24846 * inet/getrpcbyname_r.c: Likewise.
24847 * inet/getrpcbynumber.c: Likewise.
24848 * inet/getrpcbynumber_r.c: Likewise.
24849 * inet/getrpcent.c: Likewise.
24850 * inet/getrpcent_r.c: Likewise.
24851 * inet/getaliasent.c: Likewise.
24852 * inet/getaliasent_r.c: Likewise.
24853 * inet/getaliasname.c: Likewise.
24854 * inet/getaliasname_r.c: Likewise.
24855 * nscd/getgrgid_r.c: Likewise.
24856 * nscd/getgrnam_r.c: Likewise.
24857 * nscd/gethstbyad_r.c: Likewise.
24858 * nscd/gethstbynm3_r.c: Likewise.
24859 * nscd/getpwnam_r.c: Likewise.
24860 * nscd/getpwuid_r.c: Likewise.
24861 * nscd/getsrvbynm_r.c: Likewise.
24862 * nscd/getsrvbypt_r.c: Likewise.
24863 * nscd/gai.c: Likewise.
24865 * configure.in (build_nscd): New substituted variable, set
24866 by --disable-build-nscd and defaults to $use_nscd.
24867 * configure: Regenerated.
24868 * config.make.in (build-nscd): New substituted variable.
24869 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24870 Change conditional to require [$(build-nscd) = yes] as well.
24871 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24874 * configure.in (use_nscd): New substituted variable, set by
24875 --disable-nscd. If enabled, define USE_NSCD.
24876 * configure: Regenerated.
24877 * config.h.in: Add USE_NSCD.
24878 * config.make.in (use-nscd): New substituted variable.
24879 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24880 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24881 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24882 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24883 (CFLAGS-getgrnam_r.c): Likewise.
24884 (CFLAGS-initgroups.c): Likewise.
24885 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24886 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24888 * inet/getnetgrent_r.c
24889 (nscd_setnetgrent): New function, broken out of ...
24890 (setnetgrent): ... here. Call it.
24891 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24892 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24893 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24894 * nscd/Makefile (routines, aux): Move definitions after include of
24895 Makeconfig. Conditionalize on [$(use-nscd) != no].
24896 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24897 Conditionalize on [USE_NSCD].
24898 (is_nscd, nscd_init_cb): Likewise.
24899 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24900 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24901 * nss/nss_db/db-init.c: Likewise.
24902 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24904 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24905 (make_request): Use it.
24906 (cache_valid_p): New function.
24907 (__check_pf): Use it.
24908 * NEWS: Add item for --disable-nscd.
24910 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24912 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24913 to support sed >= 4.2.1-20-ga9bf076.
24914 * configure: Regenerated.
24916 2012-08-22 Roland McGrath <roland@hack.frob.com>
24918 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24919 Conditionalize whole body on [IREL].
24921 2012-08-22 Jeff Law <law@redhat.com>
24924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24925 if the family is PF_UNSPEC.
24927 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24929 * Makerules (lib-version): Rename from V.
24930 (install-lib-nosubdir): Change V to lib-version.
24932 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24935 * powerpc32/power6/wcschr.c: New file.
24936 * powerpc32/power6/wcscpy.c: New file.
24937 * powerpc32/power6/wcsrchr.c: New file.
24938 * powerpc64/power6/wcschr.c: New file.
24939 * powerpc64/power6/wcscpy.c: New file.
24940 * powerpc64/power6/wcsrchr.c: New file.
24942 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24944 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24945 (two_way_short_needle): Use it.
24946 * string/strstr.c (AVAILABLE1_USES_J): Define.
24947 * string/strcasestr.c: Likewise.
24949 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24951 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24954 * NEWS: Add an entry.
24955 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24956 define their defaults.
24957 (two_way_short_needle): Detect end-of-string on-the-fly.
24958 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24959 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24960 * string/bug-strcasestr1.c: New test.
24961 * string/Makefile: Run it.
24963 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24966 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24967 the first character.
24969 2012-08-21 Roland McGrath <roland@hack.frob.com>
24971 * csu/elf-init.c (__libc_csu_irel): Function removed.
24972 * csu/libc-start.c (apply_irel): New function.
24973 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24975 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24977 * sysdeps/unix/sysv/linux/kernel-features.h
24978 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24979 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24980 <kernel-features.h>.
24981 [__NR_fadvise64_64]: Make code unconditional.
24982 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24983 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24984 !__NR_fadvise64_64)]: Likewise.
24985 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24986 !__NR_fadvise64_64))]: Likewise.
24987 [__NR_fadvise64]: Make code unconditional.
24988 [!__NR_fadvise64]: Remove conditional code.
24989 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24990 <kernel-features.h>.
24991 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24993 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24996 not include <kernel-features.h>.
24997 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24999 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25001 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25002 include <kernel-features.h>.
25003 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25005 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25008 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25010 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25011 slight instruction rearrangements per scrollpipe analysis.
25012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25014 2012-08-20 Roland McGrath <roland@hack.frob.com>
25016 * manual/syslog.texi (syslog; vsyslog, closelog):
25017 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25018 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25020 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25021 DSOCAPS to match condition on defining it.
25023 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25025 * sysdeps/unix/sysv/linux/kernel-features.h
25026 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25028 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25029 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25031 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25032 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25034 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25035 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25037 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25038 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25040 * sysdeps/unix/sysv/linux/kernel-features.h
25041 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25042 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25044 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25045 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25046 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25047 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25048 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25049 Make code unconditional.
25050 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25051 (__mmap64) [!__NR_mmap2]: Likewise.
25052 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25053 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25054 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25055 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25056 [__NR_mmap2]: Make code unconditional.
25057 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25058 (__mmap64) [!__NR_mmap2]: Likewise.
25060 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25062 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25064 2012-08-18 Andreas Jaeger <aj@suse.de>
25066 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25068 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25070 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25071 * include/unistd.h (__have_sock_cloexec): Likewise.
25072 (__have_pipe2): Likewise.
25073 (__have_dup3): Likewise.
25075 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25078 * include/unistd.h (__have_pipe2): Change define into an extern int.
25079 (__have_dup3): Likewise.
25080 * socket/have_sock_cloexec.c: Include fcntl.h.
25081 (__have_pipe2): New variable.
25082 (__have_dup3): Likewise.
25084 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25086 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25088 2012-08-17 Marek Polacek <polacek@redhat.com>
25090 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25091 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25093 2012-08-17 Roland McGrath <roland@hack.frob.com>
25095 * configure.in: Add AC_SUBST for sysheaders.
25096 * configure: Regenerated.
25097 * config.make.in (sysheaders): New substituted variable.
25099 * sysdeps/unix/mkfifo.c: Moved ...
25100 * sysdeps/posix/mkfifo.c: ... here.
25101 * sysdeps/unix/mkfifoat.c: Moved ...
25102 * sysdeps/posix/mkfifoat.c: ... here.
25104 * sysdeps/unix/utime.c: Moved ...
25105 * sysdeps/posix/utime.c: ... here.
25107 * sysdeps/unix/time.c: Moved ...
25108 * sysdeps/posix/time.c: ... here.
25109 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25110 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25112 * sysdeps/unix/nice.c: Moved ...
25113 * sysdeps/posix/nice.c: ... here.
25115 * sysdeps/unix/alarm.c: Moved ...
25116 * sysdeps/posix/alarm.c: ... here.
25118 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25120 2012-08-17 Jeff Law <law@redhat.com>
25122 * intl/Makefile (codeset_mo): New variable.
25123 ($(codeset_mo)): New target.
25124 (tst-codeset.out): Depend on that. Remove explicit rule.
25125 (tst-gettext3.out, tst-gettext5.out): Likewise.
25126 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25127 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25128 * intl/tst-codeset.sh: Remove.
25129 * intl/tst-gettext3.sh: Likewise.
25130 * intl/tst-gettext5.sh: Likewise.
25132 2012-08-17 Roland McGrath <roland@hack.frob.com>
25134 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25135 * sysdeps/unix/syscalls.list: ... here.
25137 * sysdeps/posix/getaddrinfo.c
25138 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25139 (gaiconf_init, gaiconf_reload): Use them.
25140 [!_STATBUF_ST_NSEC]
25141 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25142 Define using time_t rather than struct timespec.
25144 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25145 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25147 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25149 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25150 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25154 __libc_cleanup_push argument.
25156 * bits/param.h: New file.
25157 * misc/sys/param.h: New file.
25158 * include/sys/param.h: New file.
25159 * misc/Makefile (headers): Add bits/param.h.
25160 * sysdeps/generic/sys/param.h: File removed.
25161 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25162 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25163 * sysdeps/mach/hurd/bits/param.h: New file.
25164 * sysdeps/mach/hurd/sys/param.h: File removed.
25166 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25169 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25171 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25172 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25175 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25176 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25177 rather than -D_IO_MTSAFE_IO conditionally.
25178 * stdio-common/Makefile (CPPFLAGS): Likewise.
25179 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25180 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25181 Use $(libio-mtsafe).
25182 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25183 of -D_IO_MTSAFE_IO.
25184 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25185 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25186 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25187 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25188 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25189 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25190 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25191 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25192 (CFLAGS-fread_u_chk.c): Likewise.
25193 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25194 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25195 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25196 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25197 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25198 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25199 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25200 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25201 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25203 * libio/Makefile: Test [$(libc-reentrant) = yes]
25204 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25207 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25208 * sysdeps/pthread/configure: File removed.
25209 * sysdeps/pthread/Makeconfig: New file.
25210 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25211 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25213 2012-08-16 Gary Benson <gbenson@redhat.com>
25215 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25216 unmapping the first object in a namespace.
25218 2012-08-16 Roland McGrath <roland@hack.frob.com>
25220 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25221 (__internal_setnetgrent): ... this. Add internal_function to
25222 definition. Add libc_hidden_def.
25223 (setnetgrent): Update caller.
25224 (internal_endnetgrent): Renamed to ...
25225 (__internal_endnetgrent): ... this. Add internal_function to
25226 definition. Add libc_hidden_def.
25227 (endnetgrent): Update caller.
25228 (internal_getnetgrent_r): Renamed to ...
25229 (__internal_getnetgrent_r): ... this. Add internal_function to
25230 definition. Add libc_hidden_def.
25231 (__getnetgrent_r): Update caller.
25232 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25234 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25236 * stdlib/longlong.h: Update from GCC.
25238 2012-08-16 Roland McGrath <roland@hack.frob.com>
25240 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25241 on _QL, which is set by umul_ppmm but never used.
25242 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25243 variables, which are set by GMP macros but never used.
25244 * stdio-common/_itowa.c (_itowa): Likewise.
25245 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25246 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25248 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25250 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25251 struct La_sh_regs is not constant.
25252 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25253 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25254 and struct La_sparc64_regs are not constant.
25256 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25258 * sysdeps/unix/sysv/linux/kernel-features.h
25259 (__ASSUME_POSIX_TIMERS): Remove.
25260 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25261 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25262 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25263 Make code unconditional.
25264 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25265 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25266 Make code unconditional.
25267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25268 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25269 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25271 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25272 Make code unconditional.
25273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25274 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25275 (__libc_missing_posix_timers): Remove.
25277 2012-08-15 Roland McGrath <roland@hack.frob.com>
25279 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25280 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25282 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25284 * elf/dl-sym.c: Include <stdlib.h>.
25286 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25287 constants, which avoids warnings in 32-bit builds.
25289 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25290 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25292 * misc/lseek.c: File moved to ...
25293 * io/lseek.c: ... here.
25295 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25297 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25298 shifting LEN more than 31 bits at once.
25300 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25303 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25304 segmentation fault for a case of two empty input strings.
25305 * string/test-strncasecmp.c (check1): Renamed to...
25306 (bz12205): ...this.
25307 (bz14195): Add new testcase for two empty input strings and N > 0.
25308 (test_main): Call new testcase, adapt for renamed function.
25310 2012-08-15 Andreas Jaeger <aj@suse.de>
25313 * crypt/md5test2.c: New test, based on test supplied by Serge
25314 Belyshev <belyshev@depni.sinp.msu.ru>.
25315 * crypt/Makefile (xtests): Add md5test-giant..
25316 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25318 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25321 * crypt/md5.c (md5_process_block): Don't assume the buffer
25322 length is less than 2**32.
25323 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25324 length is less than 2**64.
25326 2012-08-15 Roland McGrath <roland@hack.frob.com>
25328 * string/str-two-way.h: Include <sys/param.h>.
25329 (MAX): Macro removed.
25331 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25332 Move #define and #undef of memmove to just before and after
25333 including <string.h>.
25335 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25336 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25337 and after including <string.h>. Move declarations of
25338 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25339 to before #include "string/memmove.c".
25341 * include/dirent.h: Declare __getdirentries.
25343 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25344 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25346 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25348 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25349 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25350 * sysdeps/i386/configure: Regenerated.
25351 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25352 STABS_CURRENT_FILE, and STABS_FUN.
25353 (END): Remove call to STABS_FUN_END.
25354 (STABS_CURRENT_FILE1): Delete.
25355 (STABS_CURRENT_FILE): Likewise.
25356 (STABS_FUN): Likewise.
25357 (STABS_FUN_END): Likewise.
25358 (STABS_FUN2): Likewise.
25359 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25360 * sysdeps/x86_64/configure: Regenerated.
25362 2012-08-14 Roland McGrath <roland@hack.frob.com>
25364 * elf/dl-open.c: Include <atomic.h>.
25365 * elf/dl-lookup.c: Likewise.
25367 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25369 * sysdeps/unix/sysv/linux/kernel-features.h
25370 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25371 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25373 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25375 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25376 condition on __ASSUME_CLONE_THREAD_FLAGS.
25378 2012-08-14 Andreas Jaeger <aj@suse.de>
25380 * sysdeps/i386/fpu/libm-test-ulps: Update.
25382 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25384 * include/atomic.h (atomic_exchange_and_add): Split into ...
25385 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25388 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25392 2012-08-13 Jeff Law <law@redhat.com>
25394 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25395 null byte in the output string.
25397 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25399 * sysdeps/unix/sysv/linux/kernel-features.h
25400 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25401 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25402 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25403 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25404 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25405 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25406 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25408 2012-08-09 Jeff Law <law@redhat.com>
25411 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25412 When avoid_arena is set, don't retry in the that arena. Pick the
25413 next one, whatever it might be.
25414 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25415 (arena_lock): Pass in new parameter to arena_get2.
25416 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25418 (__libc_malloc): Unify retrying after main arena failure with
25419 __libc_memalign version.
25420 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25422 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25425 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25426 to __redirect_strstr.
25427 (__strstr_sse42): Use typeof __redirect_strstr.
25428 (__strstr_ia32): Likewise.
25429 (__libc_strstr): New prototype.
25430 (strstr): Renamed to ...
25431 (__libc_strstr): This.
25432 (strstr): New strong alias of __libc_strstr.
25433 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25434 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25437 (__libc_time): New prototype.
25438 (time_ifunc): Replace time with __libc_time.
25439 (time): New strong alias and hidden definition of __libc_time.
25440 (__GI_time): Remove strong alias.
25441 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25442 Include <stddef.h>.
25443 (memmove): Redefined to __redirect_memmove.
25444 (__memmove_sse2): Use typeof __redirect_memmove.
25445 (__memmove_ssse3): Likewise.
25446 (__memmove_ssse3_back): Likewise.
25447 (__libc_memmove): New prototype.
25448 (memmove): Renamed to ...
25449 (__libc_memmove): This.
25450 (memmove): New strong alias of __libc_memmove.
25452 2012-08-08 Mark Salter <msalter@redhat.com>
25455 (R_MN10300_TLS_GD): Define.
25456 (R_MN10300_TLS_LD): Likewise.
25457 (R_MN10300_TLS_LDO): Likewise.
25458 (R_MN10300_TLS_GOTIE): Likewise.
25459 (R_MN10300_TLS_IE): Likewise.
25460 (R_MN10300_TLS_LE): Likewise.
25461 (R_MN10300_TLS_DTPMOD): Likewise.
25462 (R_MN10300_TLS_DTPOFF): Likewise.
25463 (R_MN10300_TLS_TPOFF): Likewise.
25464 (R_MN10300_SYM_DIFF): Likewise.
25465 (R_MN10300_ALIGN): Likewise.
25466 (R_MN10300_NUM): Update.
25468 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25473 2012-08-08 Roland McGrath <roland@hack.frob.com>
25475 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25477 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25478 sysdeps/unix -> sysdeps/posix move.
25479 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25481 2012-08-07 Allan McRae <allan@archlinux.org>
25484 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25485 (SUNOS_CPP): Likewise.
25486 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25488 (open_input): Call CPP using execvp.
25490 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25492 * sysdeps/unix/sysv/linux/kernel-features.h
25493 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25494 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25495 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25496 (__ASSUME_WAITID_SYSCALL): Likewise.
25497 * sysdeps/unix/sysv/linux/dl-execstack.c
25498 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25499 code unconditional.
25500 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25502 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25503 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25504 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25506 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25508 [__ASSUME_WAITID_SYSCALL]: Likewise.
25509 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25511 2012-08-07 Roland McGrath <roland@hack.frob.com>
25513 * sysdeps/unix/closedir.c: Renamed to ...
25514 * sysdeps/posix/closedir.c: ... here.
25515 * sysdeps/unix/dirfd.c: Renamed to ...
25516 * sysdeps/posix/dirfd.c: ... here.
25517 * sysdeps/unix/dirstream.h: Renamed to ...
25518 * sysdeps/posix/dirstream.h: ... here.
25519 * sysdeps/unix/fdopendir.c: Renamed to ...
25520 * sysdeps/posix/fdopendir.c: ... here.
25521 * sysdeps/unix/opendir.c: Renamed to ...
25522 * sysdeps/posix/opendir.c: ... here.
25523 * sysdeps/unix/readdir.c: Renamed to ...
25524 * sysdeps/posix/readdir.c: ... here.
25525 * sysdeps/unix/readdir_r.c: Renamed to ...
25526 * sysdeps/posix/readdir_r.c: ... here.
25527 * sysdeps/unix/rewinddir.c: Renamed to ...
25528 * sysdeps/posix/rewinddir.c: ... here.
25529 * sysdeps/unix/seekdir.c: Renamed to ...
25530 * sysdeps/posix/seekdir.c: ... here.
25531 * sysdeps/unix/telldir.c: Renamed to ...
25532 * sysdeps/posix/telldir.c: ... here.
25533 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25534 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25535 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25536 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25538 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25539 * bits/fcntl.h: ... here.
25541 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25543 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25544 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25545 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25546 (struct flock): Move l_start, l_len to the beginning.
25547 Use __pid_t for l_pid.
25548 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25549 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25550 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25551 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25552 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25553 [__USE_LARGEFILE64] (struct flock64): New type.
25554 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25556 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25557 * bits/dirent.h: ... here.
25559 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25560 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25562 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25565 Change from 2.6.0 to 2.6.16.
25566 * sysdeps/unix/sysv/linux/configure: Regenerated.
25567 * sysdeps/unix/sysv/linux/kernel-features.h
25568 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25569 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25571 (__ASSUME_UTIMES): Likewise.
25572 (__ASSUME_CLONE_STOPPED): Remove.
25573 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25574 architectures, not kernel version.
25575 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25576 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25577 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25578 (__ASSUME_WAITID_SYSCALL): Likewise.
25579 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25580 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25581 * README: State 2.6.16 as minimum Linux kernel version. Do not
25582 refer to older versions.
25584 2012-08-06 Roland McGrath <roland@hack.frob.com>
25586 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25587 Define alphasort64 as an alias.
25588 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25589 Define versionsort64 as an alias.
25590 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25591 Define scandir64 as an alias.
25592 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25593 Define scandirat64 as an alias.
25594 * dirent/alphasort64.c (alphasort64):
25595 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25596 * dirent/versionsort64.c: Likewise.
25597 * dirent/scandir64.c: Likewise.
25598 * dirent/scandirat64.c: Likewise.
25599 * sysdeps/wordsize-64/alphasort.c: File removed.
25600 * sysdeps/wordsize-64/alphasort64.c: File removed.
25601 * sysdeps/wordsize-64/scandir.c: File removed.
25602 * sysdeps/wordsize-64/scandir64.c: File removed.
25603 * sysdeps/wordsize-64/scandirat.c: File removed.
25604 * sysdeps/wordsize-64/scandirat64.c: File removed.
25605 * sysdeps/wordsize-64/versionsort.c: File removed.
25606 * sysdeps/wordsize-64/versionsort64.c: File removed.
25607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25613 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25616 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25618 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25620 [defined __arch64__ || defined __sparcv9]
25621 (__INO_T_MATCHES_INO64_T): New macro.
25622 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25623 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25624 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25625 * sysdeps/unix/sysv/linux/bits/dirent.h
25626 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25627 (_DIRENT_MATCHES_DIRENT64): New macro.
25629 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25630 Define lockf64 as an alias.
25631 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25632 Define fseeko64 as an alias.
25633 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25634 Define ftello64 as an alias.
25635 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25636 Define _IO_fgetpos64 and fgetpos64 as aliases.
25637 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25638 Define _IO_fsetpos64 and fsetpos64 as aliases.
25639 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25640 Conditionalize body on this.
25641 * libio/fseeko64.c: Likewise.
25642 * libio/ftello64.c: Likewise.
25643 * libio/iofgetpos64.c: Likewise.
25644 * libio/iofsetpos64.c: Likewise.
25645 * sysdeps/wordsize-64/lockf.c: File removed.
25646 * sysdeps/wordsize-64/lockf64.c: File removed.
25647 * sysdeps/wordsize-64/fseeko.c: File removed.
25648 * sysdeps/wordsize-64/fseeko64.c: File removed.
25649 * sysdeps/wordsize-64/ftello.c: File removed.
25650 * sysdeps/wordsize-64/ftello64.c: File removed.
25651 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25652 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25653 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25654 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25656 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25658 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25660 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25661 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25662 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25663 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25664 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25666 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25668 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25670 [defined __arch64__ || defined __sparcv9]
25671 (__OFF_T_MATCHES_OFF64_T): New macro.
25672 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25673 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25675 (__OFF_T_MATCHES_OFF64_T): New macro.
25677 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25679 * stdlib/secure-getenv.c (__secure_getenv): Replace
25680 GLIBC_2_16 with GLIBC_2_17.
25682 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25687 2012-08-03 David S. Miller <davem@davemloft.net>
25689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25691 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25693 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25695 (__ASSUME_CORRECT_SI_PID): Likewise.
25696 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25697 (__ASSUME_TMPFS_NAME): Likewise.
25698 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25699 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25700 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25701 (HAVE_AUX_SECURE): Make definition unconditional.
25702 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25703 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25705 2012-08-03 Roland McGrath <roland@hack.frob.com>
25707 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25708 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25709 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25710 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25711 __eloop_threshold instead of SYMLOOP_MAX.
25713 * sysdeps/generic/eloop-threshold.h: New file.
25714 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25716 * elf/chroot_canon.c (chroot_canon): Likewise.
25718 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25721 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25722 Change to 2.6.0 everywhere.
25723 * sysdeps/unix/sysv/linux/configure: Regenerated.
25724 * sysdeps/unix/sysv/linux/kernel-features.h
25725 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25726 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25728 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25729 (__ASSUME_FUTEX_REQUEUE): Remove.
25730 (__ASSUME_STATFS64): Define unconditionally.
25731 (__ASSUME_AT_SECURE): Likewise.
25732 (__ASSUME_CORRECT_SI_PID): Likewise.
25733 (__ASSUME_TGKILL): Define without depending on kernel version for
25735 (__ASSUME_UTIMES): Likewise.
25736 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25738 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25739 (__ASSUME_TMPFS_NAME): Likewise.
25740 * README: Update reference to Linux kernel versions.
25742 2012-08-02 Marek Polacek <polacek@redhat.com>
25745 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25746 libc_cv_asm_type_prefix with %.
25747 * configure: Regenerated.
25748 * include/libc-symbols.h: Remove comment about
25749 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25750 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25751 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25752 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25753 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25754 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25755 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25756 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25757 * elf/tst-unique2mod1.c: Likewise.
25758 * elf/tst-unique1mod2.c: Likewise.
25759 * elf/tst-unique1mod1.c: Likewise.
25760 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25761 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25762 Replace ASM_TYPE_DIRECTIVE with .type.
25763 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25764 * sysdeps/i386/sysdep.h: Likewise.
25765 * sysdeps/x86_64/sysdep.h: Likewise.
25766 * sysdeps/sh/sysdep.h: Likewise.
25767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25768 Do not define ASM_TYPE_DIRECTIVE.
25769 * sysdeps/powerpc/sysdep.h: Likewise.
25770 * sysdeps/powerpc/powerpc32/sysdep.h:
25771 Replace ASM_TYPE_DIRECTIVE with .type.
25772 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25774 * sysdeps/i386/fpu/e_powf.S: Likewise.
25775 * sysdeps/i386/fpu/e_expl.S: Likewise.
25776 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25777 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25778 * sysdeps/i386/fpu/e_pow.S: Likewise.
25779 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25780 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25781 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25782 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25783 * sysdeps/i386/fpu/e_log2.S: Likewise.
25784 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25785 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25786 * sysdeps/i386/fpu/e_powl.S: Likewise.
25787 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25788 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25789 * sysdeps/i386/fpu/e_logl.S: Likewise.
25790 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25791 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25792 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25793 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25794 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25795 * sysdeps/i386/fpu/e_log.S: Likewise.
25796 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25797 * sysdeps/i386/fpu/e_logf.S: Likewise.
25798 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25799 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25800 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25801 * sysdeps/i386/fpu/e_log10.S: Likewise.
25802 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25803 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25804 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25805 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25806 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25808 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25809 * sysdeps/i386/i686/strtok.S: Likewise.
25810 * sysdeps/i386/i386-mcount.S: Likewise.
25811 * sysdeps/i386/strtok.S: Likewise.
25812 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25813 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25815 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25816 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25817 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25818 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25819 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25820 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25821 * sysdeps/x86_64/_mcount.S: Likewise.
25822 * sysdeps/x86_64/strtok.S: Likewise.
25823 * sysdeps/sh/_mcount.S: Likewise.
25825 2012-08-01 Roland McGrath <roland@hack.frob.com>
25827 * libio/iofopen.c: Include <fcntl.h>.
25828 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25829 (_IO_fopen64, fopen64): Define as aliases.
25830 * libio/iofopen64.c: Include <fcntl.h>.
25831 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25832 Conditionalize body on this.
25833 * sysdeps/wordsize-64/iofopen.c: File removed.
25834 * sysdeps/wordsize-64/iofopen64.c: File removed.
25836 2012-08-01 Marek Polacek <polacek@redhat.com>
25838 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25839 Use dlfcn directly instead of a variable.
25840 (binfmt-subdir): Do not define.
25843 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25846 Remove all definitions.
25847 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25848 <kernel-features.h>.
25849 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25850 (miss_F_GETOWN_EX): Remove all definitions.
25851 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25853 [!__ASSUME_FCNTL64]: Remove conditional code.
25854 [__ASSUME_FCNTL64]: Make code unconditional.
25855 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25856 <kernel-features.h>.
25857 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25858 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25859 (lockf64) [__NR_fcntl64]: Make code unconditional.
25860 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25862 * sysdeps/unix/sysv/linux/kernel-features.h
25863 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25864 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25865 Make code unconditional.
25866 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25867 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25869 [__NR_vfork]: Make code unconditional.
25870 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25871 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25873 [__NR_vfork]: Make code unconditional.
25874 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25875 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25877 2012-08-01 Roland McGrath <roland@hack.frob.com>
25879 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25880 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25882 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25883 Define mkstemp64 as an alias.
25884 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25885 Define mkstemps64 as an alias.
25886 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25887 Define mkostemp64 as an alias.
25888 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25889 Define mkostemps64 as an alias.
25890 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25891 Conditionalize body on this.
25892 * misc/mkostemp64.c: Likewise.
25893 * misc/mkostemps64.c: Likewise.
25894 * misc/mkstemps64.c: Likewise.
25895 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25896 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25897 * sysdeps/wordsize-64/mkostemp.c: File removed.
25898 * sysdeps/wordsize-64/mkstemp.c: File removed.
25899 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25900 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25905 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25906 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25907 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25908 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25910 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25911 compat_symbol macros from <shlib-compat.h> rather than the underlying
25912 default_symbol_version and symbol_version macros, so that DEFAULT
25913 lines in shlib-versions are respected.
25914 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25916 2012-08-01 Florian Weimer <fweimer@redhat.com>
25918 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25919 Declare with warn_unused_result.
25920 (setgid, setregid, setegid, setresgid): Likewise.
25921 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25923 * WUR-REPORT: Remove set*id functions.
25925 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25927 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25929 2012-07-31 Roland McGrath <roland@hack.frob.com>
25932 * include/sys/socket.h (__libc_accept, __libc_accept4):
25933 Add attribute_hidden.
25934 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25936 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25938 * inet/getnetgrent_r.c (setup): Likewise.
25940 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25942 2012-07-31 David S. Miller <davem@davemloft.net>
25944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25946 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25949 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25950 value between 1.0 and 2.0 and smaller part has absolute value less
25952 * math/s_clog10.c (__clog10): Likewise.
25953 * math/s_clog10f.c (__clog10f): Likewise.
25954 * math/s_clog10l.c (__clog10l): Likewise.
25955 * math/s_clogf.c (__clogf): Likewise.
25956 * math/s_clogl.c (__clogl): Likewise.
25957 * math/libm-test.inc (clog_test): Add more tests.
25958 (clog10_test): Likewise.
25959 * sysdeps/i386/fpu/libm-test-ulps: Update.
25960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25962 2012-07-31 Florian Weimer <fweimer@redhat.com>
25964 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25965 Exit with zero in case no suitable GID is found, and write a
25966 message to standard error.
25968 2012-07-30 Roland McGrath <roland@hack.frob.com>
25970 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25972 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25973 (MAXPATHLEN): Removed.
25974 (NOGROUP, NODEV): New macros.
25975 (setbit, clrbit, isset, isclr): New macros.
25976 (howmany, roundup, powerof2): New macros.
25977 (DEV_BSIZE): New macro.
25979 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25980 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25982 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25983 definition on [!__NO_LONG_DOUBLE_MATH].
25985 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25986 PTR_MANGLE and PTR_DEMANGLE.
25988 * socket/accept4.c (accept4): Rename to __libc_accept4.
25989 Define accept4 as a weak alias.
25991 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25992 on [_DIRENT_HAVE_D_TYPE].
25993 * io/ftw.c (ftw_dir): Likewise.
25995 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25997 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25999 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26000 Use the BSD numbers rather than the arbitrary ones we had.
26001 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26002 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26003 (SIGXCPU, SIGXFSZ): New macros.
26006 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26007 initializer on [_LIBC_REENTRANT].
26009 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26010 definitions inside [_POSIX_MAPPED_FILES].
26012 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26014 * dirent/opendir.c: Include <fcntl.h>.
26016 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26017 (__libc_getspecific): Likewise.
26018 (__libc_key_create): Likewise.
26020 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26021 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26022 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26023 (tmpfile64): Define as alias.
26024 * sysdeps/wordsize-64/tmpfile.c: File removed.
26025 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26026 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26027 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26029 * stdio-common/vfscanf.c: Include <stdbool.h>.
26030 * nss/makedb.c: Likewise.
26031 * stdio-common/_i18n_number.h: Likewise.
26032 * argp/argp-help.c: Likewise.
26033 * posix/wordexp.c: Likewise.
26034 * sysdeps/posix/spawni.c: Likewise.
26035 * nss/nss_files/files-initgroups.c: Likewise.
26036 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26037 * nss/nss_files/files-initgroups.c: Likewise.
26038 * nss/nss_db/db-netgrp.c: Likewise.
26039 * nss/nss_db/db-initgroups.c: Likewise.
26040 * io/fchmodat.c: Include <sys/stat.h>.
26042 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26043 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26045 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26048 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26049 Add multiple inclusion protection.
26051 2012-07-27 David S. Miller <davem@davemloft.net>
26053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26055 2012-07-27 Gary Benson <gbenson@redhat.com>
26058 * elf/rtld.c: Include <stap-probe.h>.
26059 (dl_main): Added static probes "init_start" and "init_complete".
26060 * elf/dl-load.c: Include <stap-probe.h>.
26061 (lose): Take new parameter "nsid".
26062 Added static probe "map_failed".
26063 (_dl_map_object_from_fd): Pass namespace id to lose.
26064 Added static probe "map_start".
26065 (open_verify): Pass namespace id to lose.
26066 * elf/dl-open.c: Include <stap-probe.h>.
26067 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26068 and "reloc_complete".
26069 * elf/dl-close.c: Include <stap-probe.h>.
26070 (_dl_close_worker): Added static probes "unmap_start" and
26072 * elf/rtld-debugger-interface.txt: New file documenting the above.
26074 2012-07-26 Roland McGrath <roland@hack.frob.com>
26076 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26077 rather than a string variable.
26078 * sunrpc/rpc_main.c (h_output): Likewise.
26079 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26081 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26083 * inet/check_native.c: New file.
26085 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26088 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26089 if larger part has absolute value 1.0.
26090 * math/s_clog10.c (__clog10): Likewise.
26091 * math/s_clog10f.c (__clog10f): Likewise.
26092 * math/s_clog10l.c (__clog10l): Likewise.
26093 * math/s_clogf.c (__clogf): Likewise.
26094 * math/s_clogl.c (__clogl): Likewise.
26095 * math/libm-test.inc (clog_test): Add more tests.
26096 (clog10_test): Likewise.
26097 * sysdeps/i386/fpu/libm-test-ulps: Update.
26098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26100 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26101 (pltexit): Likewise.
26102 (La_regs): Likewise.
26103 (La_retval): Likewise.
26104 (int_retval): Likewise.
26105 Update #error for removed macros to refer only to definitions in
26107 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26109 (pltexit): Likewise.
26110 (La_regs): Likewise.
26111 (La_retval): Likewise.
26112 (int_retval): Likewise.
26113 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26115 (pltexit): Likewise.
26116 (La_regs): Likewise.
26117 (La_retval): Likewise.
26118 (int_retval): Likewise.
26119 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26121 (pltexit): Likewise.
26122 (La_regs): Likewise.
26123 (La_retval): Likewise.
26124 (int_retval): Likewise.
26125 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26127 (pltexit): Likewise.
26128 (La_regs): Likewise.
26129 (La_retval): Likewise.
26130 (int_retval): Likewise.
26131 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26133 (pltexit): Likewise.
26134 (La_regs): Likewise.
26135 (La_retval): Likewise.
26136 (int_retval): Likewise.
26137 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26139 (pltexit): Likewise.
26140 (La_regs): Likewise.
26141 (La_retval): Likewise.
26142 (int_retval): Likewise.
26143 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26144 macro definitions in tst-audit.h.
26145 * sysdeps/i386/tst-audit.h: New file.
26146 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26147 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26148 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26149 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26150 * sysdeps/sh/tst-audit.h: Likewise.
26151 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26152 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26153 * sysdeps/x86_64/tst-audit.h: Likewise.
26155 2012-07-26 Andreas Jaeger <aj@suse.de>
26157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26160 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26161 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26162 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26164 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26165 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26166 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26168 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26171 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26173 (si_call_addr, si_syscall, si_arch): Define new macro.
26174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26176 (si_call_addr, si_syscall, si_arch): Define new marcro.
26177 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26179 (si_call_addr, si_syscall, si_arch): Define new macro.
26180 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26182 (si_call_addr, si_syscall, si_arch): Define new macro.
26184 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26188 Change to 2.4.21 where previously 2.4.1.
26189 * sysdeps/unix/sysv/linux/configure: Regenerated.
26190 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26191 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26192 Linux kernel version.
26193 (__ASSUME_STD_AUXV): Remove.
26194 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26196 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26197 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26198 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26199 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26200 (__ASSUME_NETLINK_SUPPORT): Likewise.
26201 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26202 (__no_netlink_support): Remove conditional definition.
26203 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26205 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26206 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26207 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26208 (if_nameindex_ioctl): Remove.
26209 (if_nameindex_netlink): Do not handle __no_netlink_support.
26210 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26212 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26213 Remove conditional code.
26214 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26216 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26218 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26219 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26220 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26222 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26223 [!__ASSUME_STD_AUXV]: Remove conditional code.
26224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26225 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26226 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26228 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26229 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26231 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26233 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26234 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26236 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26238 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26241 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26244 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26245 code unconditional.
26246 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26248 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26250 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26253 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26255 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26258 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26259 code unconditional.
26260 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26262 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26264 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26267 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26268 code unconditional.
26269 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26271 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26273 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26276 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26278 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26279 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26280 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26281 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26282 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26283 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26284 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26285 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26286 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26287 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26288 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26289 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26290 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26291 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26292 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26293 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26294 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26296 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26298 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26299 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26300 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26302 2012-07-25 Florian Weimer <fweimer@redhat.com>
26304 * Versions.def: Add GLIBC_2.17.
26305 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26306 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26307 Introduce __libc_secure_getenv.
26308 * stdlib/Versions (2.17): Add secure_getenv
26309 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26310 * stdlib/secure-getenv.c: Rename __secure_getenv to
26311 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26312 symbol __secure_getenv for GLIBC_2.0.
26313 * stdlib/tst-secure-getenv.c: New.
26314 * stdlib/Makefile (tests): Add testcase.
26315 * manual/startup.texi (Environment Access): Document
26317 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26318 __libc_secure_getenv.
26319 * inet/ruserpass.c (ruserpass): Likewise.
26320 * malloc/mtrace.c (mtrace): Likewise.
26321 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26322 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26323 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26324 * sysdeps/posix/tempname.c: Likewise. Evaluate
26325 HAVE_SECURE_GETENV.
26326 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26327 __secure_getenv to __libc_secure_getenv.
26328 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26341 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26343 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26344 (struct La_i86_retval): Likewise.
26345 (struct La_x86_64_regs): Likewise.
26346 (struct La_x86_64_retval): Likewise.
26347 (struct La_x32_regs): Likewise.
26348 (struct La_x32_retval): Likewise.
26349 (struct La_ppc32_regs): Likewise.
26350 (struct La_ppc32_retval): Likewise.
26351 (struct La_ppc64_regs): Likewise.
26352 (struct La_ppc64_retval): Likewise.
26353 (struct La_sh_regs): Likewise.
26354 (struct La_sh_retval): Likewise.
26355 (struct La_s390_32_regs): Likewise.
26356 (struct La_s390_32_retval): Likewise.
26357 (struct La_s390_64_regs): Likewise.
26358 (struct La_s390_64_retval): Likewise.
26359 (struct La_sparc32_regs): Likewise.
26360 (struct La_sparc32_retval): Likewise.
26361 (struct La_sparc64_regs): Likewise.
26362 (struct La_sparc64_retval): Likewise.
26363 (struct audit_ifaces): Remove architecture-specific pltenter and
26365 * sysdeps/i386/ldsodefs.h: New file.
26366 * sysdeps/powerpc/ldsodefs.h: Likewise.
26367 * sysdeps/s390/ldsodefs.h: Likewise.
26368 * sysdeps/sh/ldsodefs.h: Likewise.
26369 * sysdeps/sparc/ldsodefs.h: Likewise.
26370 * sysdeps/x86_64/ldsodefs.h: Likewise.
26372 2012-07-25 Marek Polacek <polacek@redhat.com>
26375 * math/libm-test.inc (yn_test): Add another test.
26376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26377 to ERANGE when the result is +-Inf.
26378 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26379 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26380 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26381 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26383 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26385 * conform/data/time.h-data (NULL): Use macro-constant. Require
26387 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26389 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26391 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26393 * configure.in <sysdeps resolving>: Correct printing
26395 * configure: Regenerate.
26397 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26399 * math/w_ilogb.c: Include <limits.h>.
26400 * math/w_ilogbl.c: Likewise.
26402 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26404 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26405 va_copy. Document allowing for unavailable va_copy only as
26406 pre-C99 compatibility.
26407 * manual/string.texi (Copying and Concatenation): Use va_copy
26408 instead of __va_copy in concat example.
26410 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26412 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26413 (__sendto): Use create_address_port. Initialize APORT and deallocate
26416 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26417 with O_NOLINK passed to __file_name_lookup.
26419 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26420 with O_NOLINK passed to __file_name_lookup.
26422 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26423 negative N or less than NGIDS.
26425 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26426 type to string_t. Set ERANGE as errno and return it if NAME is not big
26427 enough. Use memcpy instead of strncpy.
26429 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26431 * elf/Makefile (check-data): Remove.
26432 (localplt.data): New vpath directive.
26433 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26434 instead of $(check-data).
26435 * scripts/data/localplt-generic.data: Move to ...
26436 * sysdeps/generic/localplt.data: ... here.
26437 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26438 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26439 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26442 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26445 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26448 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26451 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26454 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26458 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26460 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26461 PPC32 and PPC64 files.
26462 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26463 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26465 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26467 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26468 __makecontext_ret to ...
26469 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26470 ... here and call exit if uc_link is NULL. New file.
26471 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26472 __makecontext_ret.S.
26473 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26474 __makecontext_ret to ...
26475 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26476 ... here and call exit if uc_link is NULL. New file.
26477 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26478 __makecontext_ret.S.
26480 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26482 * elf/elf.h (R_390_IRELATIVE): New definition.
26483 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26484 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26485 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26486 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26487 (elf_machine_lazy_rel): Likewise.
26488 * sysdeps/s390/dl-irel.h: New file.
26489 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26490 * sysdeps/s390/s390-64/memset.S: New asm code.
26491 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26492 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26493 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26494 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26495 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26496 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26498 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26499 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26500 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26501 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26502 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26503 * sysdeps/s390/s390-32/memset.S: New asm code.
26504 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26506 2012-07-17 Marek Polacek <polacek@redhat.com>
26509 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26510 * sysdeps/s390/s390-64/configure.in: Likewise.
26511 * sysdeps/sparc/configure.in: Likewise.
26512 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26513 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26514 * sysdeps/i386/configure.in: Likewise.
26515 * sysdeps/x86_64/configure.in: Likewise.
26516 * sysdeps/sh/configure.in: Likewise.
26517 * sysdeps/s390/s390-32/configure: Regenerated.
26518 * sysdeps/s390/s390-64/configure: Likewise.
26519 * sysdeps/x86_64/configure: Likewise.
26520 * sysdeps/sh/configure: Likewise.
26521 * sysdeps/powerpc/powerpc64/configure: Likewise.
26522 * sysdeps/powerpc/powerpc32/configure: Likewise.
26523 * sysdeps/sparc/configure: Likwise.
26524 * sysdeps/i386/configure: Likewise.
26526 * elf/dl-open.c: Comment fixes.
26528 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26530 * Makefile [CXX] (check-data): Remove.
26531 [CXX] (c++-types.data): New vpath directive.
26532 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26533 vpath. Do not allow for C++ type data being missing.
26534 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26535 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26536 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26537 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26538 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26539 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26540 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26543 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26546 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26549 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26552 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26555 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26558 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26561 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26564 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26565 definitions to architecture-specific files.
26566 (TLS_IE): Likewise.
26567 (TLS_LD): Likewise.
26568 (TLS_GD): Likewise.
26569 * sysdeps/i386/tls-macros.h: New file.
26570 * sysdeps/powerpc/tls-macros.h: Likewise.
26571 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26572 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26573 * sysdeps/sh/tls-macros.h: Likewise.
26574 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26575 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26576 * sysdeps/x86_64/tls-macros.h: Likewise.
26578 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26581 zero value for regular exit case.
26583 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26584 (__start_context): Preserve zero value for regular exit case.
26586 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26587 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26589 * manual/setjmp.texi (setcontext): Clarify normal process
26590 termination when uc_link is the null pointer.
26591 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26594 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26596 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26597 preprocessor. Test for each exception mask separately.
26599 2012-07-16 Andreas Jaeger <aj@suse.de>
26601 * po/ru.po: Update from translation team.
26603 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26605 * conform/data/string.h-data (NULL): Use macro-constant. Require
26607 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26608 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26609 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26610 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26613 2012-07-13 Andreas Jaeger <aj@suse.de>
26615 * po/fr.po: Update from translation team.
26617 2012-07-12 Marek Polacek <polacek@redhat.com>
26620 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26621 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26624 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26628 Change to 2.4.1 where previously 2.4.0.
26629 * sysdeps/unix/sysv/linux/configure: Regenerated.
26630 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26631 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26633 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26634 (__ASSUME_AT_CLKTCK): Remove.
26635 (__ASSUME_AT_PAGESIZE): Likewise.
26636 (__ASSUME_AT_XID): Likewise.
26637 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26638 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26639 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26641 (HAVE_AUX_PAGESIZE): Likewise.
26642 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26643 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26644 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26646 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26650 the temporary buffer used to invoke __gethostbyname2_r,
26651 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26652 host_data / struct gaih_addrtuple.
26653 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26654 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26655 header file nss/nsswitch.h.
26656 * nss/nsswitch.h (global scope): Add definition of implementation
26657 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26658 resolv/nss_dns/dns-host.c).
26660 2012-07-11 Andreas Jaeger <aj@suse.de>
26662 * po/fr.po: Update from translation team.
26664 * po/sv.po: Update from translation team
26665 * po/fr.po: Another update from translation team.
26667 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26669 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26670 for subnormals or multiply small sinh result by itself.
26671 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26674 2012-07-11 David S. Miller <davem@davemloft.net>
26676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26678 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26681 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26682 (INTERNAL_MARK): Shift it here.
26684 2012-07-10 Marek Polacek <polacek@redhat.com>
26687 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26688 libc_cv_asm_global_directive with .globl.
26689 * configure: Regenerated.
26690 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26692 * sysdeps/i386/configure: Regenerated.
26693 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26695 * sysdeps/x86_64/configure: Regenerated.
26696 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26697 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26698 * elf/tst-unique2mod2.c: Likewise.
26699 * elf/tst-unique2mod1.c: Likewise.
26700 * elf/tst-unique1mod2.c: Likewise.
26701 * elf/tst-unique1mod1.c: Likewise.
26702 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26703 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26704 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26705 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26706 * sysdeps/mach/sysdep.h: Likewise.
26707 * sysdeps/i386/sysdep.h: Likewise.
26708 * sysdeps/i386/i386-mcount.S: Likewise.
26709 * sysdeps/x86_64/_mcount.S: Likewise.
26710 * sysdeps/x86_64/sysdep.h: Likewise.
26711 * sysdeps/sh/_mcount.S: Likewise.
26712 * sysdeps/sh/sysdep.h: Likewise.
26713 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26714 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26715 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26716 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26717 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26718 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26719 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26720 * locale/localeinfo.h: Likewise.
26721 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26722 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26724 2012-07-09 Roland McGrath <roland@hack.frob.com>
26727 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26729 * manual/message.texi (The Uniforum approach): Likewise.
26730 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26731 (glibc iconv Implementation): Likewise.
26733 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26736 * math/s_clog.c (__clog): Avoid scaling a value down where that
26737 could result in underflow.
26738 * math/s_clog10.c (__clog10): Likewise.
26739 * math/s_clog10f.c (__clog10f): Likewise.
26740 * math/s_clog10l.c (__clog10l): Likewise.
26741 * math/s_clogf.c (__clogf): Likewise.
26742 * math/s_clogl.c (__clogl): Likewise.
26743 * math/libm-test.inc (clog_test): Add more tests.
26744 (clog10_test): Likewise.
26745 * sysdeps/i386/fpu/libm-test-ulps: Update.
26746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26748 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26751 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26752 by 7 not 8 to examine high bit of fractional part.
26755 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26756 for call to __mcount_internal.
26757 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26758 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26759 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26761 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26764 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26765 approximation for values within 0x1p-13f of an odd multiple of
26767 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26768 exception. Add more tests.
26769 * sysdeps/i386/fpu/libm-test-ulps: Update.
26772 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26773 inputs and return -1 for them. Do not check for +Inf in case not
26774 reachable for +Inf.
26775 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26776 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26777 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26778 and return -1 for them. Do not check for +Inf in case not
26779 reachable for +Inf.
26780 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26782 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26783 and return -1 for them. Do not check for +Inf in case not
26784 reachable for +Inf.
26785 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26786 spurious underflow.
26787 * sysdeps/i386/fpu/libm-test-ulps: Update.
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26790 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26792 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26794 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26798 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26799 could result in spurious underflow. Scale down values above
26800 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26801 * math/s_csqrtf.c (__csqrtf): Likewise.
26802 * math/s_csqrtl.c (__csqrtl): Likewise.
26803 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26804 spurious underflow.
26805 * sysdeps/i386/fpu/libm-test-ulps: Update.
26806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26808 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26810 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26812 * catgets/xopen-msg.awk: New file.
26813 * catgets/xopen-msg.sed: Removed.
26815 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26817 * intl/po2test.awk: New file.
26818 * intl/po2test.sed: Removed.
26820 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26823 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26824 or multiply small sinh result by itself.
26825 * math/s_ctanf.c (__ctanf): Likewise.
26826 * math/s_ctanh.c (__ctanh): Likewise.
26827 * math/s_ctanhf.c (__ctanhf): Likewise.
26828 * math/s_ctanhl.c (__ctanhl): Likewise.
26829 * math/s_ctanl.c (__ctanl): Likewise.
26830 * math/libm-test.inc (ctan_test_tonearest): New function.
26831 (ctan_test_towardzero): Likewise.
26832 (ctan_test_downward): Likewise.
26833 (ctan_test_upward): Likewise.
26834 (ctanh_test_tonearest): Likewise.
26835 (ctanh_test_towardzero): Likewise.
26836 (ctanh_test_downward): Likewise.
26837 (ctanh_test_upward): Likewise.
26838 (main): Call these new functions.
26839 * sysdeps/i386/fpu/libm-test-ulps: Update.
26840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26842 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26844 * .gitignore: Delete /ports entry.
26846 2012-07-03 Andreas Jaeger <aj@suse.de>
26848 * po/bg.po: Update from translation team.
26849 * po/cs.po: Likewise.
26850 * po/de.po: Likewise.
26851 * po/hr.po: Likewise.
26852 * po/nl.pl: Likewise.
26853 * po/pl.po: Likewise.
26854 * po/vi.po: Likewise.
26856 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26858 * Makeconfig [!+link] (+link-before-libc): New variable.
26859 [!+link] (+link-after-libc): Likewise.
26860 [!+link] (+link-tests): Likewise.
26861 [!+link] (+link): Define in terms of $(+link-before-libc) and
26862 $(+link-after-libc).
26863 [!+link-static] (+link-static-before-libc): New variable.
26864 [!+link-static] (+link-static-after-libc): Likewise.
26865 [!+link-static] (+link-static-tests): Likewise.
26866 [!+link-static] (+link-static): Define in terms of
26867 $(+link-static-before-libc) and $(+link-static-after-libc).
26868 [build-shared] (link-libc-before-gnulib): New variable.
26869 [build-shared] (link-libc-tests): Likewise.
26870 [build-shared] (link-libc): Define in terms of
26871 $(link-libc-before-gnulib).
26872 [!build-shared] (link-libc-tests): New variable.
26873 (link-libc-static-tests): New variable.
26874 [!gnulib] (gnulib-arch): New variable.
26875 [!gnulib] (gnulib-tests): Likewise.
26876 [!gnulib] (static-gnulib-arch): Likewise.
26877 [!gnulib] (static-gnulib-tests): Likewise.
26878 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26879 Define with "=" instead of ":=".
26880 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26881 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26882 * Rules (binaries-all-notests): New variable.
26883 (binaries-all-tests): Likewise.
26884 (binaries-static-notests): Likewise.
26885 (binaries-static-tests): Likewise.
26886 (binaries-all): Define using $(binaries-all-notests) and
26887 $(binaries-all-tests).
26888 (binaries-static): Define using $(binaries-static-notests) and
26889 $(binaries-static-tests).
26890 (binaries-shared-tests): New variable.
26891 (binaries-shared-notests): Likewise.
26892 (binaries-shared): Remove variable.
26893 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26894 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26895 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26896 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26897 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26898 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26899 * elf/Makefile (sln-modules): New variable.
26900 (extra-objs): Add $(sln-modules:=.o).
26901 (ldconfig-modules): Add static-stubs.
26902 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26903 * elf/static-stubs.c: New file.
26906 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26907 by 7 not 8 to examine high bit of fractional part. Use volatile
26908 variables when splitting into final array of floats if
26909 __FLT_EVAL_METHOD__ != 0.
26910 * math/libm-test.inc (cos_test): Add another test.
26911 (sin_test): Likewise.
26912 * sysdeps/i386/fpu/libm-test-ulps: Update.
26915 * math/libm-test.inc (cosh_test): Add more tests.
26917 * version.h (RELEASE): Set to "development".
26918 (VERSION): Set to "2.16.90".
26920 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26922 * NEWS: Update copyright. Remove last-updated date.
26923 Mention math library bug fixes and timezone data changes.
26924 * README: Mention GNU/Hurd, x32, and HPPA support status.
26926 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26928 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26930 2012-06-27 Andreas Jaeger <aj@suse.de>
26932 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26934 2012-06-25 Andreas Jaeger <aj@suse.de>
26936 * sysdeps/s390/fpu/libm-test-ulps: Update.
26938 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26939 Thomas Schwinge <thomas@codesourcery.com>
26941 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26942 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26943 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26946 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26948 * sysdeps/mach/start.c: Remove file.
26949 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26950 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26951 * sysdeps/sh/init-first.c: Likewise.
26953 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26954 registers for frame unwinding purposes, add CFI directives.
26955 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26957 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26960 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26961 __fortify_fail returning.
26962 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26964 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26965 sysdeps/sh/____longjmp_chk.S.
26966 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26967 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26968 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26969 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26971 * sysdeps/sh/abort-instr.h: New file.
26972 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26973 process in case exit returns.
26975 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26976 initialize the GOT register before use.
26978 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26979 calculation of ARGC > 4.
26981 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26982 meaningful names to some local labels.
26984 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26985 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26987 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26988 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26989 (__arch_compare_and_exchange_val_16_acq): Likewise.
26990 (__arch_compare_and_exchange_val_32_acq): Likewise.
26991 (atomic_exchange_and_add): Fix gUSA sequence.
26992 (atomic_add): Likewise.
26993 (atomic_add_negative): Likewise.
26994 (atomic_add_zero): Likewise.
26995 (atomic_bit_test_set): Likewise.
26997 2012-06-22 Andreas Schwab <schwab@redhat.com>
27000 * include/link.h (struct link_map): Add l_free_initfini.
27001 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27003 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27004 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27005 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27008 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27010 * configure.in: Use AC_LANG_SOURCE.
27011 * configure: Regenerate.
27013 2012-06-22 Roland McGrath <roland@hack.frob.com>
27015 * configure.in (libc_cv_localstatedir): New substituted variable.
27016 * configure: Regenerated.
27017 * config.make.in (localstatedir): New variable, substituted from
27018 libc_cv_localstatedir.
27019 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27020 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27021 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27022 * sysdeps/gnu/configure: Regenerated.
27024 2012-06-21 Jeff Law <law@redhat.com>
27027 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27028 free. Simplify list management for _LIBC case.
27030 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27033 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27034 Clear sign bit of 64-bit integer value before comparing against
27037 * sysdeps/mach/configure: Regenerated.
27039 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27042 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27044 2012-06-21 Jeff Law <law@redhat.com>
27047 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27048 uint16_t for elements in the "seen" array to avoid char overflows.
27049 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27050 * elf/dl-open.c (dl_open_worker): Likewise.
27052 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27054 * scripts/list-sources.sh: Scan PORTS for translations.
27055 * po/libc.pot: Regenerated.
27057 2012-06-21 Andreas Jaeger <aj@suse.de>
27060 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27062 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27063 * bits/byteswap-16.h (__bswap_16): Likewise.
27064 * bits/byteswap.h (__bswap_constant_16): Likewise.
27066 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27069 * sysdeps/i386/fpu_control.h: Removed.
27070 * sysdeps/x86_64/fpu_control.h: Moved to ...
27071 * sysdeps/x86/fpu_control.h: Here.
27073 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27074 (_FPU_SETCW): Likewise.
27076 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27079 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27080 * sysdeps/x86/fpu/bits/mathinline.h: This.
27081 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27085 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27086 functions if __x86_64__ is defined.
27088 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27090 * string/endian.h: Add !__ASSEMBLER__ condition for including
27091 conversion interfaces.
27093 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27097 of ABS(x) in calculating zero to negative powers other than odd
27099 * math/libm-test.inc (pow_test): Add more tests.
27101 2012-06-15 Andreas Jaeger <aj@suse.de>
27103 * manual/contrib.texi (Contributors): Update entry of Liubov
27104 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27107 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27109 * string/string.h: Add __wur to GNU version of strerror_r.
27111 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27114 * string/Makefile (tests): Add tst-strtok_r.
27115 * string/tst-strtok_r.c: New file.
27116 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27117 RAX_LP/RDX_LP on SAVE_PTR.
27119 2012-06-14 Roland McGrath <roland@hack.frob.com>
27121 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27123 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27125 * libm_test.inc (csqrt_test): Allow more spurious underflow
27127 (j0_test): Likewise.
27128 (j1_test): Likewise.
27129 (y0_test): Likewise.
27130 (y1_test): Likewise.
27132 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27134 * po/Makefile (libc.pot): Use UTF-8 charset.
27136 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27139 Suppress sign-conversion warning from FD_SET.
27140 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27141 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27142 not unsigned long int.
27143 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27145 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27149 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27150 __extern_always_inline instead of __extern_inline.
27151 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27152 (__signbit): Likewise.
27153 (__signbitl): Support C++ namespace.
27154 (lrintf): New inline function.
27156 (llrintf): Likewise.
27157 (llrint): Likewise.
27167 (floorf): Likewise.
27168 (nearbyint): Likewise.
27169 (nearbyintf): Likewise.
27171 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27173 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27174 non-default versions.
27176 2012-06-11 Roland McGrath <roland@hack.frob.com>
27179 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27181 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27183 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27184 (FE_UPWARD, FE_DOWNWARD): Don't define.
27185 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27186 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27188 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27190 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27191 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27193 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27195 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27197 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27198 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27200 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27203 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27204 * sysdeps/i386/fpu/Implies: New file.
27205 * sysdeps/x86_64/fpu/Implies: Likewise.
27206 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27207 * sysdeps/x86/fpu/bits/fenv.h: This.
27209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27212 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27215 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27216 character 0xffff that matches the last element of the
27219 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27224 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27226 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27227 values higher than 25.6283.
27229 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27232 subnormal exponent extraction and add some __builtin_expect.
27233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27234 Fix for subnormal mantissa calculation.
27236 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27238 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27239 cpu2 is -1 and errno is not ENOSYS.
27241 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27244 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27245 * sysdeps/x86/bits/string.h: This.
27246 * sysdeps/x86_64/bits/string.h: Removed.
27248 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27249 if not compiling for x86-64, but compiling for >= i486.
27251 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27252 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27254 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27255 New macro from Linux kernel 3.4.0.
27256 (FP_XSTATE_MAGIC2): Likewise.
27257 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27258 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27259 (struct _fpx_sw_bytes): New struct.
27260 (struct _xsave_hdr): Likewise.
27261 (struct _ymmh_state): Likewise.
27262 (struct _xstate): Likewise.
27264 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27265 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27266 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27267 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27268 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27269 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27271 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27272 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27273 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27274 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27275 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27276 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27278 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27281 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27282 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27283 (sysdep_headers): Include sys/platform/ppc.h.
27284 * sysdeps/powerpc/test-gettimebase.c: Test for
27285 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27286 * manual/Makefile (appendices): Include platform.texi.
27287 * manual/contrib.texi (Contributors): Update @node pointers.
27288 * manual/maint.texi (Maintenance): Likewise.
27289 (Platform): New node.
27290 * manual/platform.texi: New file. Document the new features.
27292 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27293 Jakub Jelinek <jakub@redhat.com>
27296 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27297 where __builtin_expect is unavailable.
27299 2012-06-03 David S. Miller <davem@davemloft.net>
27301 * stdlib/longlong.h: Updated from GCC.
27303 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27306 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27307 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27310 (GLIBC_2.16): Likewise.
27312 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27314 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27316 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27319 (default-abi): New variable.
27320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27321 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27323 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27325 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27327 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27330 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27331 definition. Document in comment.
27333 2012-06-01 David S. Miller <davem@davemloft.net>
27335 * stdlib/longlong.h: Updated from GCC.
27337 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27340 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27341 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27342 sys/debugreg.h sys/io.h here.
27343 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27344 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27346 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27347 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27348 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27349 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27350 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27351 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27353 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27354 Define only if __x86_64__ is defined.
27356 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27360 Use int64_t for variable i.
27361 * math/libm-test.inc (fmod_test): Add more tests.
27363 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27364 z computation is not scheduled after fetestexcept.
27365 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27366 Use math_force_eval instead of asm to ensure calculation scheduled
27367 before exception test.
27368 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27369 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27371 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27374 computation is not scheduled after fetestexcept.
27376 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27379 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27380 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27382 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27384 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27385 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27387 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27390 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27392 (__WCHAR_MIN): Support __WORDSIZE == 64.
27393 (__WCHAR_MAX): Likewise.
27395 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27396 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27399 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27400 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27403 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27404 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27406 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27407 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27409 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27410 Defined to 1 if __x86_64__ isn't defined.
27411 (_STAT_VER_LINUX_OLD): New.
27412 (st_atime): Remove duplicate.
27413 (st_mtime): Likewise.
27414 (st_ctime): Likewise.
27416 2012-05-31 David S. Miller <davem@davemloft.net>
27418 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27421 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27423 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27427 * elf/dl-reloc.c: Include <_itoa.h>.
27428 (_dl_reloc_bad_type): Remove use of INTUSE.
27429 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27430 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27431 * stdio-common/psiginfo.c (psiginfo): Likewise.
27432 * stdio-common/psignal.c (psignal): Likewise.
27433 * string/strsignal.c (strsignal): Likewise.
27434 * include/signal.h (_sys_siglist): Declare hidden proto.
27435 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27436 INTVARDEF with libc_hidden_data_def.
27437 * stdio-common/itoa-udigits.c: Likewise.
27438 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27439 (_itoa_lower_digits_internal): Remove declaration.
27440 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27441 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27442 (_sys_sigabbrev_internal): Remove aliases.
27443 (_sys_siglist): Define hidden alias.
27445 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27450 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27453 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27454 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27456 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27457 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27458 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27459 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27461 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27463 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27464 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27465 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27467 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27475 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27477 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27479 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27480 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27481 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27482 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27483 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27484 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27486 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27487 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27489 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27490 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27496 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27497 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27499 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27501 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27502 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27503 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27505 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27507 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27509 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27511 * math/math.h (M_El): Use two more decimal places.
27512 (M_LOG2El): Likewise.
27513 (M_LOG10El): Likewise.
27514 (M_LN2l): Likewise.
27515 (M_LN10l): Likewise.
27517 (M_PI_2l): Likewise.
27518 (M_PI_4l): Likewise.
27519 (M_1_PIl): Likewise.
27520 (M_2_PIl): Likewise.
27521 (M_2_SQRTPIl): Likewise.
27522 (M_SQRT2l): Likewise.
27523 (M_SQRT1_2l): Likewise.
27525 2012-05-31 David S. Miller <davem@davemloft.net>
27527 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27528 values between float registers.
27529 * sysdeps/sparc/sparc64/memset.S: Likewise.
27530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27532 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27534 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27535 -D_FORTIFY_SOURCE=1.
27536 (CPPFLAGS-tst-longjmp_chk.c): Define.
27537 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27538 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27539 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27540 CFLAGS-tst-wchar-h.c.
27542 2012-05-31 Marek Polacek <polacek@redhat.com>
27545 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27546 __endmntent_internal): Remove declaration.
27547 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27548 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27549 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27551 2012-05-30 David S. Miller <davem@davemloft.net>
27553 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27554 (___Q_simulate_exceptions): Use real FP ops rather than writing
27556 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27559 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27562 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27563 * sysdeps/x86/bits/xtitypes.h: This.
27565 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27566 * sysdeps/x86/bits/wordsize.h: This.
27568 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27569 * sysdeps/x86/bits/huge_vall.h: This.
27571 * sysdeps/i386/bits/select.h: Removed.
27572 * sysdeps/x86_64/bits/select.h: Renamed to ...
27573 * sysdeps/x86/bits/select.h: This.
27575 * sysdeps/i386/bits/setjmp.h: Removed.
27576 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27577 * sysdeps/x86/bits/setjmp.h: This.
27579 * sysdeps/i386/bits/mathdef.h: Removed.
27580 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27581 * sysdeps/x86/bits/mathdef.h: This.
27583 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27586 * include/sys/socket.h (__connect_internal)
27587 (__libc_sa_len_internal): Remove declaration.
27588 (__connect, __libc_sa_len): Declare hidden_proto.
27589 (SA_LEN): Remove use of INTUSE.
27590 * socket/connect.c: Add libc_hidden_def.
27591 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27592 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27593 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27595 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27596 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27597 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27598 of adding _internal alias.
27600 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27603 * sysdeps/i386/bits/link.h: Removed.
27604 * sysdeps/i386/bits/linkmap.h: Likewise.
27605 * sysdeps/x86_64/bits/link.h: Renamed to ...
27606 * sysdeps/x86/bits/link.h: This.
27607 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27608 * sysdeps/x86/bits/linkmap.h: This.
27610 * sysdeps/i386/bits/endian.h: Removed.
27611 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27612 * sysdeps/x86/bits/endian.h: This.
27614 * sysdeps/i386/bits/byteswap.h: Removed.
27615 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27616 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27617 * sysdeps/x86/bits/byteswap.h: This.
27618 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27619 * sysdeps/x86/bits/byteswap-16.h: This.
27620 * sysdeps/i386/Implies: Add x86.
27621 * sysdeps/x86_64/Implies: Likewise.
27623 2012-05-30 David S. Miller <davem@davemloft.net>
27625 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27626 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27627 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27628 (FP_TRAPPING_EXCEPTIONS): Define.
27629 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27630 (FP_TRAPPING_EXCEPTIONS): Define.
27631 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27632 subnormals only when inexact has been signalled or underflow
27633 exceptions are enabled.
27634 (_FP_PACK_CANONICAL): Likewise.
27636 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27639 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27640 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27642 2012-05-30 Richard Henderson <rth@twiddle.net>
27644 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27645 with #ifndef NOT_IN_libc.
27647 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27648 marked to avoid plt entry.
27650 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27653 * Makeconfig (default-abi): New macro.
27654 (abi-includes): Likewise.
27655 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27656 $(abi-$(default-abi)-lib-soname) for soname if defined.
27657 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27659 * Makefile (installed-stubs): Likewise.
27660 * include/stubs-biarch.h: Removed.
27661 * scripts/lib-names.awk: Only handle one library at a time.
27662 * scripts/soversions.awk: Remove WORDSIZE support.
27663 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27665 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27667 (syscall-list-default-condition): Likewise.
27668 (syscall-list-default-condition): Likewise.
27669 (syscall-list-includes): Likewise.
27670 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27671 syscall-list-* with abi-*. Handle undefined abi-variants.
27672 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27673 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27674 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27675 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27676 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27677 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27679 (syscall-list-32-options): Likewise.
27680 (syscall-list-32-condition): Likewise.
27681 (syscall-list-64-options): Likewise.
27682 (syscall-list-64-condition): Likewise.
27683 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27685 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27688 (abi-64-ld-soname): New macro.
27689 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27690 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27693 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27694 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27696 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27698 * sysdeps/unix/sysv/linux/kernel-features.h
27699 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27700 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27701 include <kernel-features.h>.
27702 [!__NR_ftruncate64]: Remove conditional code.
27703 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27704 [__NR_ftruncate64]: Make code unconditional.
27705 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27706 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27707 include <kernel-features.h>.
27708 [!__NR_ftruncate64]: Remove conditional code.
27709 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27710 [__NR_ftruncate64]: Make code unconditional.
27711 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27713 include <kernel-features.h>.
27714 [!__NR_ftruncate64]: Remove conditional code.
27715 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27716 [__NR_ftruncate64]: Make code unconditional.
27717 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27719 include <kernel-features.h>.
27720 [!__NR_ftruncate64]: Remove conditional code.
27721 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27722 [__NR_ftruncate64]: Make code unconditional.
27723 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27725 * configure.in (libc_cv_fpie): Weaken to a compile test using
27726 LIBC_TRY_CC_OPTION.
27727 * configure: Regenerated.
27729 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27744 2012-05-27 David S. Miller <davem@davemloft.net>
27746 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27748 (__Q_simulate_exceptions): Return void. Change to simulate
27749 exceptions by writing into the %fsr.
27750 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27751 (__Qp_handle_exceptions): Likewise.
27753 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27754 __Qp_handle_exceptions.
27755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27756 __Qp_handle_exceptions.
27757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27758 as unused and give dummy FP_RND_NEAREST initializer.
27759 (FP_INHIBIT_RESULTS): Define.
27760 (___Q_simulate_exceptions): Update declaration.
27761 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27763 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27764 as unused and give dummy FP_RND_NEAREST initializer.
27765 (__Qp_handle_exceptions): Update declaration.
27766 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27769 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27771 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27772 the temporary FPU control word.
27773 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27774 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27775 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27776 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27777 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27778 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27779 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27780 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27781 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27782 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27783 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27785 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27787 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27790 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27792 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27793 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27794 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27795 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27797 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27798 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27801 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27803 * po/h.po: Update from translation team.
27805 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27807 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27809 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27810 handling of denormals.
27811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27812 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27813 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27814 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27820 2012-05-26 Marek Polacek <polacek@redhat.com>
27823 * math/libm-test.inc (fma_test): Don't always expect underflow
27826 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27829 * elf/tst-execstack.c: Include stackinfo.h.
27830 (do_test): Adjust test case to ensure that pthread_getattr_np
27831 behaviour remains the same after marking stack executable.
27833 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27835 * sysdeps/unix/sysv/linux/kernel-features.h
27836 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27837 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27839 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27840 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27841 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27843 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27844 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27846 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27848 * configure.in: Define the default includes to being none.
27849 * configure: Regenerated.
27851 2012-05-25 Roland McGrath <roland@hack.frob.com>
27853 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27854 * sysdeps/x86_64/setjmp.S: Likewise.
27855 * sysdeps/i386/bsd-setjmp.S: Likewise.
27856 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27857 * sysdeps/i386/setjmp.S: Likewise.
27858 * sysdeps/i386/__longjmp.S: Likewise.
27859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27860 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27862 * include/stap-probe.h: New file.
27863 * configure.in: Handle --enable-systemtap.
27864 * configure: Regenerated.
27865 * config.h.in (USE_STAP_PROBE): New #undef.
27866 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27867 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27868 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27870 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27874 to 2.4.0 where earlier.
27875 * sysdeps/unix/sysv/linux/configure: Regenerated.
27876 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27877 <kernel-features.h>.
27878 [__ASSUME_32BITUIDS]: Make code unconditional.
27879 [!__ASSUME_32BITUIDS]: Remove conditional code.
27880 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27881 <kernel-features.h>.
27882 [__ASSUME_32BITUIDS]: Make code unconditional.
27883 [!__ASSUME_32BITUIDS]: Remove conditional code.
27884 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27885 [__ASSUME_32BITUIDS]: Make code unconditional.
27886 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27887 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27888 <kernel-features.h>.
27889 [__ASSUME_32BITUIDS]: Make code unconditional.
27890 [!__ASSUME_32BITUIDS]: Remove conditional code.
27891 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
27900 <kernel-features.h>.
27901 [__ASSUME_32BITUIDS]: Make code unconditional.
27902 [!__ASSUME_32BITUIDS]: Remove conditional code.
27903 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27904 <kernel-features.h>.
27905 [__ASSUME_32BITUIDS]: Make code unconditional.
27906 [!__ASSUME_32BITUIDS]: Remove conditional code.
27907 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27908 <kernel-features.h>.
27909 [__ASSUME_32BITUIDS]: Make code unconditional.
27910 [!__ASSUME_32BITUIDS]: Remove conditional code.
27911 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27912 <kernel-features.h>.
27913 [__ASSUME_32BITUIDS]: Make code unconditional.
27914 [!__ASSUME_32BITUIDS]: Remove conditional code.
27915 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27916 <kernel-features.h>.
27917 [__ASSUME_32BITUIDS]: Make code unconditional.
27918 [!__ASSUME_32BITUIDS]: Remove conditional code.
27919 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27920 <kernel-features.h>.
27921 [__ASSUME_32BITUIDS]: Make code unconditional.
27922 [!__ASSUME_32BITUIDS]: Remove conditional code.
27923 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27924 <kernel-features.h>.
27925 [__ASSUME_32BITUIDS]: Make code unconditional.
27926 [!__ASSUME_32BITUIDS]: Remove conditional code.
27927 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27928 <kernel-features.h>.
27929 [__NR_setresgid] (__setresgid): Do not declare.
27930 [__ASSUME_32BITUIDS]: Make code unconditional.
27931 [!__ASSUME_32BITUIDS]: Remove conditional code.
27932 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27933 <kernel-features.h>.
27934 [__NR_setresuid] (__setresuid): Do not declare.
27935 [__ASSUME_32BITUIDS]: Make code unconditional.
27936 [!__ASSUME_32BITUIDS]: Remove conditional code.
27937 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27938 <kernel-features.h>.
27939 [__ASSUME_32BITUIDS]: Make code unconditional.
27940 [!__ASSUME_32BITUIDS]: Remove conditional code.
27941 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27942 <kernel-features.h>.
27943 [__ASSUME_32BITUIDS]: Make code unconditional.
27944 [!__ASSUME_32BITUIDS]: Remove conditional code.
27945 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27946 <kernel-features.h>.
27947 [__ASSUME_32BITUIDS]: Make code unconditional.
27948 [!__ASSUME_32BITUIDS]: Remove conditional code.
27949 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27950 <kernel-features.h>.
27951 [__ASSUME_32BITUIDS]: Make code unconditional.
27952 [!__ASSUME_32BITUIDS]: Remove conditional code.
27953 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27954 <kernel-features.h>.
27955 [__ASSUME_32BITUIDS]: Make code unconditional.
27956 [!__ASSUME_32BITUIDS]: Remove conditional code.
27957 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27958 <kernel-features.h>.
27959 [__ASSUME_32BITUIDS]: Make code unconditional.
27960 [!__ASSUME_32BITUIDS]: Remove conditional code.
27961 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27962 <kernel-features.h>.
27963 [__ASSUME_32BITUIDS]: Make code unconditional.
27964 [!__ASSUME_32BITUIDS]: Remove conditional code.
27965 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27966 <kernel-features.h>.
27967 [__ASSUME_32BITUIDS]: Make code unconditional.
27968 [!__ASSUME_32BITUIDS]: Remove conditional code.
27969 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27970 <kernel-features.h>.
27971 [__ASSUME_32BITUIDS]: Make code unconditional.
27972 [!__ASSUME_32BITUIDS]: Remove conditional code.
27973 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27974 <kernel-features.h>.
27975 [__ASSUME_32BITUIDS]: Make code unconditional.
27976 [!__ASSUME_32BITUIDS]: Remove conditional code.
27977 * sysdeps/unix/sysv/linux/kernel-features.h
27978 (__ASSUME_SETRESUID_SYSCALL): Remove.
27979 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27980 (__ASSUME_32BITUIDS): Likewise.
27981 (__ASSUME_LDT_WORKS): Likewise.
27982 (__ASSUME_O_DIRECTORY): Likewise.
27983 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27984 architecture but not kernel version.
27985 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27986 (__ASSUME_MMAP2_SYSCALL): Likewise.
27987 (__ASSUME_STAT64_SYSCALL): Likewise.
27988 (__ASSUME_IPC64): Likewise.
27989 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27990 <kernel-features.h>.
27991 [__ASSUME_32BITUIDS]: Make code unconditional.
27992 [!__ASSUME_32BITUIDS]: Remove conditional code.
27993 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27994 <kernel-features.h>.
27995 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27996 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27997 132096]: Remove conditional code.
27998 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27999 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28000 <kernel-features.h>.
28001 [__ASSUME_32BITUIDS]: Make code unconditional.
28002 [!__ASSUME_32BITUIDS]: Remove conditional code.
28003 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28004 <kernel-features.h>.
28005 [__ASSUME_32BITUIDS]: Make code unconditional.
28006 [!__ASSUME_32BITUIDS]: Remove conditional code.
28007 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28008 <kernel-features.h>.
28009 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28011 (__setresgid): Do not declare.
28012 [__ASSUME_32BITUIDS]: Make code unconditional.
28013 [!__ASSUME_32BITUIDS]: Remove conditional code.
28014 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28015 <kernel-features.h>.
28016 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28018 (__setresuid): Do not declare.
28019 [__ASSUME_32BITUIDS]: Make code unconditional.
28020 [!__ASSUME_32BITUIDS]: Remove conditional code.
28021 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28022 <kernel-features.h>.
28023 [__ASSUME_32BITUIDS]: Make code unconditional.
28024 [!__ASSUME_32BITUIDS]: Remove conditional code.
28025 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28026 <kernel-features.h>.
28027 [__ASSUME_32BITUIDS]: Make code unconditional.
28028 [!__ASSUME_32BITUIDS]: Remove conditional code.
28030 2012-05-25 Richard Henderson <rth@twiddle.net>
28032 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28033 dl_hwcap to ifunc resolver.
28034 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28036 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28037 dl_hwcap to ifunc resolver.
28038 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28040 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28043 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28044 for |x| <= 2**-26, not 2**-57.
28045 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28048 2012-05-24 Jeff Law <law@redhat.com>
28050 * stdio-common/Makefile (tests): Add bug25.
28051 * stdio-common/bug25.c: New test.
28053 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28056 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28057 multiple of MALLOC_ALIGNMENT in size.
28058 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28060 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28062 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28064 (FILENAME_MAX): Use macro-int-constant.
28065 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28066 (_IOFBF): Use macro-int-constant.
28067 (_IOLBF): Likewise.
28068 (_IONBF): Likewise.
28069 (SEEK_CUR): Likewise.
28070 (SEEK_END): Likewise.
28071 (SEEK_SET): Likewise.
28072 (TMP_MAX): Likewise.
28073 (EOF): Use macro-int-constant. Require < 0.
28074 (NULL): Use macro-constant. Require == 0.
28075 (stdin): Require type to be FILE *.
28076 (stdout): Likewise.
28077 (stderr): Likewise.
28078 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28079 macro-int-constant.
28080 (EXIT_SUCCESS): Likewise.
28081 (NULL): Use macro-constant. Require == 0.
28082 (RAND_MAX): Use macro-int-constant.
28083 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28084 [C99-based standards] (strtof): Require function.
28085 [C99-based standards] (strtold): Likewise.
28086 [C99-based standards] (strtoll): Likewise.
28087 [C99-based standards] (strtoull): Likewise.
28088 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28089 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28090 [ISO || ISO99 || ISO11] (math.h): Likewise.
28091 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28092 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28095 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28098 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28099 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28100 * intl/dgettext.c (DCGETTEXT): Likewise.
28101 * intl/gettext.c (DCGETTEXT): Likewise.
28102 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28103 * posix/regex_internal.h (gettext): Likewise.
28104 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28105 Remove declaration.
28106 * include/argz.h (__argz_count_internal)
28107 (__argz_stringify_internal): Remove declaration.
28108 (__argz_count, __argz_stringify): Declare hidden proto.
28109 * intl/dcgettext.c: Remove use of INTDEF.
28110 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28111 * string/argz-stringify.c: Likewise.
28112 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28113 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28114 Declare hidden proto.
28115 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28116 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28117 Declare hidden proto.
28118 * include/stdio.h (__asprintf_internal): Don't declare.
28119 (__asprintf): Don't define as macro. Declare hidden proto.
28120 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28121 (__fsetlocking): Declare hidden proto.
28122 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28123 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28125 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28126 (_IO_setlinebuf): Remove use of INTUSE.
28127 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28128 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28129 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28130 Remove declaration.
28131 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28132 (_IO_do_flush): Remove use of INTUSE.
28133 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28134 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28135 (_IO_adjust_column, _IO_least_wmarker)
28136 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28137 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28138 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28139 (_IO_default_doallocate, _IO_wdefault_doallocate)
28140 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28141 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28142 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28143 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28144 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28145 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28146 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28147 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28148 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28149 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28150 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28151 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28152 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28154 (_IO_flush_all_internal, _IO_adjust_column_internal)
28155 (_IO_default_uflow_internal, _IO_default_finish_internal)
28156 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28157 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28158 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28159 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28160 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28161 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28162 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28163 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28164 (_IO_file_close_internal, _IO_file_close_it_internal)
28165 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28166 (_IO_file_init_internal, _IO_file_attach_internal)
28167 (_IO_file_fopen_internal, _IO_file_read_internal)
28168 (_IO_file_sync_internal, _IO_file_seek_internal)
28169 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28170 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28171 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28172 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28173 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28174 (_IO_list_all_internal, _IO_link_in_internal)
28175 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28176 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28177 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28178 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28179 (_IO_do_write_internal, _IO_padn_internal)
28180 (_IO_getline_info_internal, _IO_getline_internal)
28181 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28182 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28183 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28184 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28185 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28186 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28187 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28188 with libc_hidden_ver, remove use of INTUSE.
28189 * libio/genops.c: Likewise.
28190 * libio/freopen.c: Likewise.
28191 * libio/freopen64.c: Likewise.
28192 * libio/iofclose.c: Likewise.
28193 * libio/iofdopen.c: Likewise.
28194 * libio/iofflush.c: Likewise.
28195 * libio/iofflush_u.c: Likewise.
28196 * libio/iofgets.c: Likewise.
28197 * libio/iofgets_u.c: Likewise.
28198 * libio/iofopen.c: Likewise.
28199 * libio/iofopncook.c: Likewise.
28200 * libio/iofread.c: Likewise.
28201 * libio/iofread_u.c: Likewise.
28202 * libio/ioftell.c: Likewise.
28203 * libio/iofwrite.c: Likewise.
28204 * libio/iogetline.c: Likewise.
28205 * libio/iogets.c: Likewise.
28206 * libio/iogetwline.c: Likewise.
28207 * libio/iopadn.c: Likewise.
28208 * libio/iopopen.c: Likewise.
28209 * libio/ioseekoff.c: Likewise.
28210 * libio/ioseekpos.c: Likewise.
28211 * libio/iosetbuffer.c: Likewise.
28212 * libio/iosetvbuf.c: Likewise.
28213 * libio/ioungetc.c: Likewise.
28214 * libio/ioungetwc.c: Likewise.
28215 * libio/iovdprintf.c: Likewise.
28216 * libio/iovsprintf.c: Likewise.
28217 * libio/iovsscanf.c: Likewise.
28218 * libio/memstream.c: Likewise.
28219 * libio/obprintf.c: Likewise.
28220 * libio/oldfileops.c: Likewise.
28221 * libio/oldiofclose.c: Likewise.
28222 * libio/oldiofdopen.c: Likewise.
28223 * libio/oldiofopen.c: Likewise.
28224 * libio/oldiopopen.c: Likewise.
28225 * libio/oldstdfiles.c: Likewise.
28226 * libio/putc.c: Likewise.
28227 * libio/setbuf.c: Likewise.
28228 * libio/setlinebuf.c: Likewise.
28229 * libio/stdfiles.c: Likewise.
28230 * libio/strops.c: Likewise.
28231 * libio/vasprintf.c: Likewise.
28232 * libio/vscanf.c: Likewise.
28233 * libio/vsnprintf.c: Likewise.
28234 * libio/vswprintf.c: Likewise.
28235 * libio/wfiledoalloc.c: Likewise.
28236 * libio/wfileops.c: Likewise.
28237 * libio/wgenops.c: Likewise.
28238 * libio/wmemstream.c: Likewise.
28239 * libio/wstrops.c: Likewise.
28240 * libio/__fpurge.c: Likewise.
28241 * libio/__fsetlocking.c: Likewise.
28242 * assert/assert.c: Likewise.
28243 * debug/fgets_chk.c: Likewise.
28244 * debug/fgets_u_chk.c: Likewise.
28245 * debug/fread_chk.c: Likewise.
28246 * debug/fread_u_chk.c: Likewise.
28247 * debug/gets_chk.c: Likewise.
28248 * debug/obprintf_chk.c: Likewise.
28249 * debug/vasprintf_chk.c: Likewise.
28250 * debug/vdprintf_chk.c: Likewise.
28251 * debug/vsnprintf_chk.c: Likewise.
28252 * debug/vsprintf_chk.c: Likewise.
28253 * malloc/mtrace.c: Likewise.
28254 * misc/error.c: Likewise.
28255 * misc/syslog.c: Likewise.
28256 * stdio-common/asprintf.c: Likewise.
28257 * stdio-common/fxprintf.c: Likewise.
28258 * stdio-common/getw.c: Likewise.
28259 * stdio-common/isoc99_fscanf.c: Likewise.
28260 * stdio-common/isoc99_scanf.c: Likewise.
28261 * stdio-common/isoc99_vfscanf.c: Likewise.
28262 * stdio-common/isoc99_vscanf.c: Likewise.
28263 * stdio-common/isoc99_vsscanf.c: Likewise.
28264 * stdio-common/printf-prs.c: Likewise.
28265 * stdio-common/printf_fp.c: Likewise.
28266 * stdio-common/printf_fphex.c: Likewise.
28267 * stdio-common/printf_size.c: Likewise.
28268 * stdio-common/putw.c: Likewise.
28269 * stdio-common/scanf.c: Likewise.
28270 * stdio-common/sprintf.c: Likewise.
28271 * stdio-common/tmpfile.c: Likewise.
28272 * stdio-common/vfprintf.c: Likewise.
28273 * stdio-common/vfscanf.c: Likewise.
28274 * stdlib/strfmon_l.c: Likewise.
28275 * sunrpc/openchild.c: Likewise.
28276 * sunrpc/xdr_stdio.c: Likewise.
28277 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28278 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28280 2012-05-24 Roland McGrath <roland@hack.frob.com>
28282 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28284 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28285 in the third column, to generate for the shared library an IFUNC
28286 that uses _dl_vdso_vsym.
28287 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28288 * Makeconfig (object-suffixes-noshared): New variable.
28290 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28291 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28292 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28293 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28296 * include/sys/time.h (__gettimeofday): Remove macro.
28297 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28298 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28300 (__gettimeofday): Add libc_hidden_def.
28301 (gettimeofday): Add libc_hidden_weak.
28302 * sysdeps/mach/gettimeofday.c: Likewise.
28303 * sysdeps/posix/gettimeofday.c: Likewise.
28304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28305 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28307 (__gettimeofday_internal): Remove strong_alias.
28308 (__gettimeofday): Add libc_hidden_def.
28309 (gettimeofday): Add libc_hidden_weak.
28310 * sysdeps/unix/syscalls.list (gettimeofday):
28311 Remove __gettimeofday_internal alias.
28313 2012-05-24 Daniel Jacobowitz <drow@false.org>
28314 H.J. Lu <hongjiu.lu@intel.com>
28317 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28318 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28319 (largebin_index_32_big): New.
28320 (largebin_index): Use it for 16-byte alignment.
28321 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28322 correction with front_misalign.
28324 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28352 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28353 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28355 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28359 * math/libm-test.inc (exp_test): Add test from bug 14036.
28360 (pow_test): Add test from bug 10846.
28362 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28364 (special_function): Do not include flags in test name.
28365 (parse_args): Likewise.
28366 * sysdeps/i386/fpu/libm-test-ulps: Update.
28367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28369 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28372 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28374 * math/libm-test.inc ("Philosophy"): Update comment about
28376 (UNDERFLOW_EXCEPTION): New macro.
28377 (UNDERFLOW_EXCEPTION_OK): Likewise.
28378 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28379 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28380 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28381 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28382 (INVALID_EXCEPTION_OK): Update value.
28383 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28384 (OVERFLOW_EXCEPTION_OK): Likewise.
28385 (IGNORE_ZERO_INF_SIGN): Likewise.
28386 (test_exceptions): Handle underflow exceptions.
28387 (acos_test): Update for underflow exception expectations.
28388 (cexp_test): Likewise.
28389 (clog_test): Likewise.
28390 (clog10_test): Likewise.
28391 (csqrt_test): Likewise.
28392 (ctan_test): Likewise.
28393 (ctanh_test): Likewise.
28394 (exp_test): Likewise.
28395 (exp10_test): Likewise.
28396 (exp2_test): Likewise.
28397 (expm1_test): Likewise.
28398 (fma_test): Likewise.
28399 (j0_test): Likewise.
28400 (jn_test): Likewise.
28401 (nexttoward_test): Likewise.
28402 (pow_test): Likewise.
28403 (scalbn_test): Likewise.
28404 (scalbln_test): Likewise.
28405 (tan_test): Likewise.
28406 (y1_test): Likewise.
28407 * sysdeps/i386/fpu/libm-test-ulps: Update.
28408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28410 2012-05-23 David S. Miller <davem@davemloft.net>
28412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28413 (__libc_sigaction): Remove unused local variables.
28415 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28417 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28419 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28421 mktime: avoid signed integer overflow
28422 * time/mktime.c (__mktime_internal): Do not mishandle the case
28423 where diff == INT_MIN.
28425 mktime: simplify computation of average
28426 * time/mktime.c (ranged_convert): Use new time_t_avg function
28427 instead of rolling our own (probably-slower) code.
28429 mktime: do not assume signed right shift propagates sign bit
28430 * time/mktime.c (isdst_differ): New static function.
28431 (__mktime_internal): No need to normalize tm_isdst now.
28432 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28435 mktime: merge another wrapv change from gnulib
28436 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28437 from some compilers.
28439 mktime: remove incorrect attempt at unusual arithmetics
28440 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28441 The code didn't really work on such machines anyway.
28442 (TYPE_MINIMUM): Assume two's complement.
28443 (twos_complement_arithmetic): Verify that long_int and time_t
28444 are two's complement (or unsigned, in the latter case).
28446 mktime: check signed shifts on long_int and time_t, too
28447 * time/mktime.c (SHR): Check that shifts work as desired
28448 on the types long_int and time_t too, as SHR is used on
28451 mktime: do not assume 'long' is wide enough
28452 * time/mktime.c (verify): Move decl up.
28453 (long_int): New type.
28454 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28455 to remove assumption in the code that 'long' is wide enough to
28456 store year values. This assumption is not true on x32 and on
28457 some non-glibc platforms.
28459 mktime: merge wrapv change from gnulib
28460 * time/mktime.c (WRAPV): New macro.
28461 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28462 (guess_time_tm, __mktime_internal): Do not assume that signed
28463 integer overflow wraps around; modern compilers generate code
28464 where this assumption is no longer valid.
28466 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28468 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28469 Replace "jmp L(pseudo_end)" with "ret".
28470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28473 2012-05-23 Andreas Jaeger <aj@suse.de>
28475 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28476 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28478 2012-05-23 Andreas Jaeger <aj@suse.de>
28479 Maximilian Attems <max@stro.at>
28481 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28484 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28486 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28487 code so that pseudo_end is just ret and the stack pointer is
28488 correct also for static library in error case.
28490 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28492 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28493 move to syscalls.list.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28499 * manual/install.texi (Running make install): Do not mention Linux
28500 kernel version for which pt_chown is not needed.
28501 (Linux): Do not mention problems with nscd with 2.0 kernels.
28502 * INSTALL: Regenerated.
28504 2012-05-23 Andreas Jaeger <aj@suse.de>
28506 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28507 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28509 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28510 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28511 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28512 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28513 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28517 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28519 * sysdeps/unix/sysv/linux/bits/in.h
28520 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28522 2012-05-22 Roland McGrath <roland@hack.frob.com>
28524 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28525 (PREPARE_VERSION): Just use assert instead, it will be elided
28526 under [NDEBUG] anyway.
28528 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28530 * sysdeps/unix/sysv/linux/Makefile: Include
28531 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28532 (sysdep_routines): Remove sysctl.
28533 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28534 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28535 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28536 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28537 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28539 2012-05-22 Andreas Jaeger <aj@suse.de>
28541 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28542 that pseudo_end is just ret and the stack pointer is correct also
28543 for static library in error case.
28545 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28548 * nss/nsswitch.c (defconfig_entries): New variable.
28549 (__nss_database_lookup): Don't leak defconfig entries.
28550 (nss_parse_service_list): Don't leak on error paths.
28551 (free_database_entries): New function.
28552 (free_defconfig): New function.
28553 (free_mem): Move common code to free_database_entries.
28555 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28557 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28559 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28561 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28562 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28565 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28566 (INTERNAL_SYSCALL_TYPES): Likewise.
28567 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28568 (LOAD_REGS_TYPES_[1-6]): Likewise.
28569 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28570 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28572 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28574 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28575 copysignl for GLIBC_2_0.
28576 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28577 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28579 logbl for GLIBC_2_0.
28580 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28581 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28583 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28586 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28588 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28591 * time/mktime.c: Update copyright years.
28593 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28595 mktime: merge comment-quoting-style change from gnulib
28596 * time/mktime.c: Quote 'like this' in comments.
28597 The GNU coding standards suggest that we no longer quote `like this',
28598 as "`" and "'" are typically rendered asymmetrically nowadays.
28599 The typical gnulib style is to quote 'like this' when quoting
28600 code, and "like this" when quoting English.
28602 * time/mktime.c (compile-command): Add "-I.".
28604 mktime: merge mktime-internal.h change from gnulib
28605 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28607 mktime: merge time_r change from gnulib
28608 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28610 mktime: merge DEBUG change from gnulib
28611 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28612 case system <time.h> has a #define.
28614 mktime: merge <sys/types.h> change from gnulib
28615 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28616 since <time.t> is now guaranteed to define time_t.
28618 mktime: merge HAVE_CONFIG_H change from gnulib
28619 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28621 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28626 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28628 (struct rusage): Use anonymous union to pad each field to
28631 2012-05-21 David S. Miller <davem@davemloft.net>
28633 * Makefules (o-iterator): Remove .s cases.
28634 (compile-command.s): Delete.
28635 (COMPILE.s): Delete.
28636 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28638 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28640 * configure.in (libc_cv_predef_stack_protector): Only consider
28641 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28642 * configure: Regenerated.
28644 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28647 New macro. Use R*LP on int and pointer.
28648 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28649 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28650 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28651 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28653 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28654 [__WORDSIZE_TIME64_COMPAT32] instead of
28655 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28656 (struct utmp): Likewise.
28657 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28658 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28660 (__WORDSIZE_TIME64_COMPAT32): This.
28661 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28662 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28663 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28664 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28665 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28666 (__WORDSIZE_TIME64_COMPAT32): New macro.
28668 2012-05-21 Andreas Jaeger <aj@suse.de>
28670 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28671 only if [SHARED]. Add prototype for __wcschr_ia32.
28673 2012-05-21 Roland McGrath <roland@hack.frob.com>
28675 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28676 of %rbp unmolested in the jmp_buf while mangling the low bits.
28677 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28678 unmolested high bits of %rbp while demangling the low bits.
28679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28681 2012-05-21 Andreas Jaeger <aj@suse.de>
28683 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28684 * sunrpc/svc_simple.c: Use it for registerrpc.
28685 * sunrpc/xcrypt.c: Use it for passwd2des.
28687 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28689 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28691 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28692 Don't define if [__SYSCALL_WORDSIZE != 32].
28693 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28696 2012-05-21 Bruno Haible <bruno@clisp.org>
28697 Andreas Jaeger <aj@suse.de>
28699 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28700 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28701 inptr and inend for must_buffer_ch.
28702 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28703 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28704 * stdio-common/Makefile (tests): Remove bug15.
28705 (bug15-ENV): Remove macro.
28706 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28709 2012-05-19 Andreas Jaeger <aj@suse.de>
28710 Roland McGrath <roland@hack.frob.com>
28712 * manual/contrib.texi: Completely rewritten. It contains now an
28713 alphabetical list of contributors and their contributions.
28715 2012-05-21 Richard Henderson <rth@twiddle.net>
28717 * misc/getauxval.c (__getauxval): Use unsigned long int.
28718 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28719 (getauxval): Use unsigned long int.
28721 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28723 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28725 2012-05-21 Roland McGrath <roland@hack.frob.com>
28727 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28728 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28729 __alignof__ (long double).
28731 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28735 2012-05-20 Richard Henderson <rth@twiddle.net>
28737 * misc/getauxval.c: New file.
28738 * misc/sys/auxv.h: New file.
28739 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28740 (routines): Add getauxval.
28741 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28742 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28743 * elf/dl-sysdep.c (_dl_auxv): Remove.
28744 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28745 * elf/dl-support.c (_dl_auxv): New variable.
28746 (_dl_aux_init): Initialize it.
28747 * manual/startup.texi (Auxiliary Vector): New node.
28748 * sysdeps/generic/bits/hwcap.h: New file.
28749 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28750 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28751 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28752 * sysdeps/sparc/sysdep.h: ... here. Include it.
28753 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28754 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28766 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28770 2012-05-19 David S. Miller <davem@davemloft.net>
28772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28774 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28777 * math/s_ccosh.c: Include <float.h>
28778 (__ccosh): Avoid internal overflow calculating sinh and cosh
28779 values before multiplying by sin and cos values.
28780 * math/s_ccoshf.c: Likewise.
28781 * math/s_ccoshl.c: Likewise.
28782 * math/s_csin.c: Likewise.
28783 * math/s_csinf.c: Likewise.
28784 * math/s_csinl.c: Likewise.
28785 * math/s_csinh.c: Likewise.
28786 * math/s_csinhf.c: Likewise.
28787 * math/s_csinhl.c: Likewise.
28788 * math/libm-test.inc (ccos_test): Add more tests.
28789 (ccosh_test): Likewise.
28790 (csin_test): Likewise.
28791 (csinh_test): Likewise.
28792 * sysdeps/i386/fpu/libm-test-ulps: Update.
28793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28795 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28797 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28798 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28800 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28802 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28804 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28805 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28806 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28807 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28808 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28809 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28810 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28811 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28812 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28813 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28814 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28815 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28816 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28817 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28818 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28819 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28820 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28821 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28822 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28823 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28824 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28825 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28826 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28827 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28828 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28829 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28830 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28831 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28832 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28833 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28834 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28836 2012-05-18 Andreas Jaeger <aj@suse.de>
28838 * csu/.gitignore: Delete.
28840 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28842 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28843 (timex): Use __syscall_slong_t.
28845 2012-05-18 Andreas Jaeger <aj@suse.de>
28846 Carlos O'Donell <carlos_odonell@mentor.com>
28848 * manual/install.texi (Configuring and compiling): Update
28849 description about files modified in the source directory.
28850 * INSTALL: Regenerated.
28852 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28854 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28855 value. Use "or" to set return value to -1.
28856 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28857 negate return value.
28859 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28861 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28862 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28863 failure if the compiler has Graphite support disabled.
28864 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28866 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28867 (CFLAGS-memmove.c): Likewise.
28868 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28871 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28873 * sysdeps/x86_64/x32/_itoa.h: New file.
28875 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28876 getdents system call only if kernel and user dirents have the
28877 same d_ino and d_off.
28879 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28880 LLONG_MAX != LONG_MAX.
28881 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28882 (_fitoa_word): Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28886 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28891 include <bits/wordsize.h>. Check __x86_64__ instead of
28893 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28894 if __x86_64__ is defined. Use anonymous union on fpstate.
28896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28899 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28901 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28902 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28903 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28904 Refer to _rtld_local_ro instead of _rtld_global_ro.
28905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28907 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28909 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28911 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28912 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28913 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28915 * sysdeps/powerpc/powerpc32/dl-machine.c
28916 (__elf_machine_runtime_setup) [PROF]: Don't reference
28919 2012-05-18 Andreas Jaeger <aj@suse.de>
28921 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28922 function only available for GCCs before 3.4 since GCC 3.4
28923 introduced a builtin.
28925 (llrintf): Likewise.
28926 (llrint): Likewise.
28933 (nearbyint): Likewise.
28934 (nearbyintf): Likewise.
28938 (floorf): Likewise.
28940 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28942 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28943 on both fields and cast pointer to __syscall_ulong_t.
28945 * bits/types.h (__fsword_t): New type.
28946 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28947 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28949 (__FSWORD_T_TYPE): Likewise.
28950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28951 (__FSWORD_T_TYPE): Likewise.
28952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28953 (__FSWORD_T_TYPE): Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28955 (__FSWORD_T_TYPE): Likewise.
28956 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28957 __SWORD_TYPE with __fsword_t.
28958 (statfs64): Likewise.
28960 2012-05-17 David S. Miller <davem@davemloft.net>
28962 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28964 2012-05-17 Andreas Jaeger <aj@suse.de>
28966 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28969 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28971 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28973 2012-05-17 Andreas Jaeger <aj@suse.de>
28975 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28978 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28980 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28982 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28984 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28985 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28987 2012-05-17 Andreas Jaeger <aj@suse.de>
28988 Carlos O'Donell <carlos_odonell@mentor.com>
28991 * sysdeps/x86_64/multiarch/init-arch.h
28992 (bit_YMM_Usable): Rename to...
28993 (bit_AVX_Usable): ... this.
28994 (bit_FMA4_Usable): New macro.
28995 (bit_XMM_state): New macro.
28996 (bit_YMM_state): New macro.
28997 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28998 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28999 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29000 (CPUID_OSXSAVE): New macro.
29001 (CPUID_AVX): New macro.
29002 (CPUID_FMA4): New macro.
29003 (index_YMM_Usable): Rename to...
29004 (index_AVX_Usable): ... this.
29005 (HAS_AVX): Use HAS_ARCH_FEATURE.
29006 (HAS_FMA4): Likewise.
29007 (HAS_YMM_USABLE): Remove.
29008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29009 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29011 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29012 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29013 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29014 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29015 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29017 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29019 * math/libm-test.c: Support platforms without multiple rounding modes.
29020 * math/bug-nextafter.c: Support platforms without FP exceptions.
29021 * math/bug-nexttoward.c: Likewise.
29022 * math/test-fenv.c: Likewise.
29023 * math/test-misc.c: Likewise.
29024 * stdlib/bug-getcontext.c: Likewise.
29026 2012-05-17 Andreas Jaeger <aj@suse.de>
29028 * manual/examples/search.c (critter_cmp): Change signature to
29030 * manual/string.texi (Collation Functions): Likewise.
29032 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29034 * bits/types.h: Fold copyright years.
29035 * bits/typesizes.h: Likewise.
29036 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29038 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29040 * time/time.h: Likewise.
29042 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29045 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29046 in instead of returning them. Return void.
29047 (__libc_mallinfo): Accumulate over all arenas.
29048 (__malloc_stats): Adjust for change in int_mallinfo interface.
29050 2012-05-16 Roland McGrath <roland@hack.frob.com>
29053 * configure.in (NM): Add AC_CHECK_TOOL for it.
29054 (libc_extra_cflags): New substituted variable.
29055 Check for -fstack-protector being used implicitly.
29056 * configure: Regenerated.
29057 * config.make.in (config-extra-cflags): New variable,
29058 gets @libc_extra_cflags@.
29059 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29062 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29063 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29064 * configure: Regenerated.
29065 * config.make.in (CPPUNDEFS): New substituted variable.
29066 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29067 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29068 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29070 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29072 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29073 (mq_attr): Use __syscall_slong_t.
29075 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29077 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29078 Check __x86_64__ instead of __WORDSIZE.
29079 (_STAT_VER_LINUX): Likewise.
29080 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29081 __syscall_ulong_t and __syscall_slong_t.
29082 (stat64): Likewise.
29084 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29088 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29090 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29092 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29094 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29097 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29098 include <bits/wordsize.h>. Check __x86_64__ instead of
29100 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29102 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29105 include <bits/wordsize.h>. Check __x86_64__ instead of
29107 (user_regs_struct): Use "__extension__ unsigned long long"
29108 instead of "unsigned long" if __x86_64__ is defined.
29109 (user): Likewise. Pad after pointer field if __ILP32__ is
29112 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29114 * configure.in (makeinfo): Require version 4.5 or later. Allow
29116 * configure: Regenerated.
29117 * manual/install.texi (texinfo): Increase version requirement to
29119 * INSTALL: Regenerated.
29121 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29125 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29127 * sysdeps/x86_64/x32/ffs.c: New file.
29129 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29131 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29132 defined. Use __syscall_ulong_t.
29133 (shminfo): Use __syscall_ulong_t.
29134 (shm_info): Likewise.
29136 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29139 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29141 (msgqnum_t): Use __syscall_ulong_t.
29142 (msglen_t): Likewise.
29143 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29146 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29147 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29149 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29151 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29152 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29154 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29157 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29158 include <bits/wordsize.h>. Check __x86_64__ instead of
29161 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29162 "unsigned long long int" if __x86_64__ is defined.
29163 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29165 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29166 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29167 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29169 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29171 (GET_PC): Cast to uintptr_t first.
29172 (GET_FRAME): Likewise.
29173 (GET_STACK): Likewise.
29175 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29176 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29177 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29179 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29181 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29182 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29183 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29184 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29185 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29186 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29187 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29188 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29189 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29190 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29192 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29193 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29194 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29195 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29196 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29198 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29199 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29202 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29203 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29205 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29207 * Makerules (+depfiles): Also collect depfiles from .oS in
29209 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29210 .oS, $(libnldbl-routines)).
29212 * Makerules (native-compile-mkdep-flags): Define.
29213 * sunrpc/Makefile (extra-objs): Add $(addprefix
29214 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29215 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29216 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29217 calling $(make-target-directory).
29219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29221 * bits/types.h (__snseconds_t): Removed.
29222 * time/time.h (struct timespec): Replace __snseconds_t with
29224 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29225 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29228 (__SNSECONDS_T_TYPE): Likewise.
29229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29230 (__SNSECONDS_T_TYPE): Likewise.
29231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29232 (__SNSECONDS_T_TYPE): Likewise.
29234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29236 * sysdeps/mach/hurd/bits/typesizes.h
29237 (__SYSCALL_SLONG_TYPE): New macro.
29238 (__SYSCALL_ULONG_TYPE): Likewise.
29240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29242 * bits/types.h (__syscall_slong_t): New type.
29243 (__syscall_ulong_t): Likewise.
29245 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29246 (__SYSCALL_ULONG_TYPE): Likewise.
29247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29248 (__SYSCALL_SLONG_TYPE): Likewise.
29249 (__SYSCALL_ULONG_TYPE): Likewise.
29250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29251 (__SYSCALL_SLONG_TYPE): Likewise.
29252 (__SYSCALL_ULONG_TYPE): Likewise.
29253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29254 (__SYSCALL_SLONG_TYPE): Likewise.
29255 (__SYSCALL_ULONG_TYPE): Likewise.
29257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29259 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29260 Add sigaltstack-offsets.sym.
29261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29262 <sigaltstack-offsets.h>.
29263 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29264 longjmp_msg pointer.
29265 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29266 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29268 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29270 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29272 * elf/stackguard-macros.h: Remove file.
29273 * sysdeps/generic/stackguard-macros.h: New file.
29274 * sysdeps/i386/stackguard-macros.h: Likewise.
29275 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29276 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29277 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29278 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29279 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29280 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29281 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29282 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29283 <elf/stackguard-macros.h>.
29286 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29287 __aligned__ in attribute.
29288 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29289 (gregset_t): Likewise.
29291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29293 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29294 * sysdeps/x86_64/64/Implies-after: Here. New file.
29295 * sysdeps/x86_64/x32/Implies-after: New file.
29297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29299 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29300 and access return value for _dl_profile_fixup. Use R10_LP to
29303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29305 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29309 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29310 * sysdeps/x86_64/x32/sysdep.h: New file.
29312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29314 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29315 * sysdeps/x86_64/setjmp.S: Likewise.
29317 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29319 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29320 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29321 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29322 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29323 remove unused global constant.
29325 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29327 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29328 include of <not-cancel.h>.
29330 2012-05-15 Roland McGrath <roland@hack.frob.com>
29332 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29334 2012-05-15 Jeff Law <law@redhat.com>
29335 Andreas Jaeger <aj@suse.de>
29338 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29340 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29341 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29342 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29343 code changing __hst_map_handle.map.
29345 2012-05-15 Roland McGrath <roland@hack.frob.com>
29347 * configure.in (sysnames): Look for Implies-before and Implies-after
29349 * configure: Regenerated.
29351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29353 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29354 8-byte data alignment with LP_SIZE alignment.
29356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29358 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29363 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29367 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29368 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29369 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29375 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29376 (stackinfo_sub_sp): Likewise.
29378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29390 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29395 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29399 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29400 into R11_LP and load __x86_64_shared_cache_size_half into
29403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29405 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29408 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29416 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29417 powerpc32/power7/fpu/s_logb.c via #include.
29418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29419 powerpc32/power7/fpu/s_logbf.c via #include.
29420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29421 powerpc32/power7/fpu/s_logbl.c via #include.
29423 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29425 * README.libm: Remove file.
29427 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29429 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29430 count for x32. Use R*_LP and omit operand-size suffix.
29432 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29434 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29435 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29436 * sysdeps/x86_64/x32/shlib-versions: New file.
29438 2012-05-14 Roland McGrath <roland@hack.frob.com>
29440 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29441 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29442 Use _dl_fatal_printf instead.
29444 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29446 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29447 set if not set by the user. Do not allow for being unset.
29448 * sysdeps/unix/sysv/linux/configure: Regenerated.
29450 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29452 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29453 the `q' suffix from lea and replace .quad with ASM_ADDR.
29455 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29458 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29460 (PTR_DEMANGLE): Likewise.
29462 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29464 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29466 (ASM_ADDR): Likewise.
29467 (RAX_LP): Likewise.
29468 (RBP_LP): Likewise.
29469 (RBX_LP): Likewise.
29470 (RCX_LP): Likewise.
29471 (RDI_LP): Likewise.
29472 (RSI_LP): Likewise.
29473 (RSP_LP): Likewise.
29476 (R10_LP): Likewise.
29477 (R10_LP): Likewise.
29478 (R11_LP): Likewise.
29479 (R12_LP): Likewise.
29480 (R13_LP): Likewise.
29481 (R14_LP): Likewise.
29482 (R15_LP): Likewise.
29484 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29486 * sysdeps/x86_64/x32/dl-machine.h: New file.
29488 2012-05-14 Andreas Jaeger <aj@suse.de>
29490 * manual/Makefile (subdir): Remove export of subdir.
29491 (all): Remove target.
29492 (.PHONY): Remove all from list.
29493 (mkinstalldirs): Remove.
29494 (.PHONY): Remove installdirs from list.
29495 ($(inst_infodir)/libc.info): Use make-target-directory.
29496 (installdirs): Remove.
29497 (subdir_%): Remove.
29498 (glibc-targets): Remove.
29501 ($(objpfx)stubs ../po/manual.pot): Remove.
29502 ($(objpfx)stamp%): Remove.
29503 (make-target-directory): Remove.
29504 (subdir_install): Remove.
29505 (routines): Remove.
29512 * manual/.gitignore: Remove, it's not needed anymore.
29513 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29515 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29517 (texis): Renamed to $(objpfx)texis.
29518 (texis-path): New, contains path to generated files.
29519 (chapters.%): Use texis-path for complete path, add extra argument
29521 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29522 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29523 (summary,texi, stamp-summary): Use complete path of
29524 files. Generate files in build dir.
29525 (dir-add.texi): Build in build dir.
29526 (libm-err.texi,stamp-libm-err): Likewise.
29527 (version.texi, stamp-version): Likewise.
29528 (.%c.texi): Likewise.
29529 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29530 (mostlyclean): Remove target.
29531 (realclean): Remove target.
29532 (generated): Add new variable with contents from mostlyclean and
29533 realclean, remove entries duplicated in common-mostlyclean, add
29534 stamp-libm-err and stamp-version.
29535 (generated-dirs): Add libc directory.
29536 ($(inst_infodir)/libc.info): Install files from build dir.
29538 * manual/install.texi (Configuring and compiling): Adjust since
29539 the info files are not part of the tar ball anymore.
29541 2012-05-14 Andreas Jaeger <aj@suse.de>
29543 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29546 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29549 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29550 to 2.2.0 where earlier.
29551 * sysdeps/unix/sysv/linux/configure: Regenerated.
29552 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29553 Remove conditional code.
29554 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29555 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29556 Remove conditional code.
29557 [!__NR_lchown]: Likewise.
29558 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29559 [__NR_lchown]: Likewise.
29560 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29561 comment referencing __ASSUME_LCHOWN_SYSCALL.
29562 * sysdeps/unix/sysv/linux/i386/sigaction.c
29563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29565 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29566 Remove conditional code.
29567 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29568 (__protocol_available): Remove #if 0 code.
29569 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29571 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29572 * sysdeps/unix/sysv/linux/kernel-features.h
29573 (__ASSUME_GETCWD_SYSCALL): Don't define.
29574 (__ASSUME_REALTIME_SIGNALS): Likewise.
29575 (__ASSUME_PREAD_SYSCALL): Likewise.
29576 (__ASSUME_PWRITE_SYSCALL): Likewise.
29577 (__ASSUME_POLL_SYSCALL): Likewise.
29578 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29579 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29581 (__ASSUME_SIOCGIFNAME): Don't define.
29582 (__ASSUME_MSG_NOSIGNAL): Likewise.
29583 (__ASSUME_SENDFILE): Define unconditionally.
29584 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29585 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29587 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29588 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29589 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29590 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29591 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29592 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29593 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29595 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29598 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29601 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29607 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29610 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29613 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29616 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29618 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29619 Remove conditional code.
29620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29621 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29622 Remove conditional code.
29623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29624 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29625 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29626 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29627 Remove conditional code.
29628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29629 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29630 Remove conditional code.
29631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29632 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29633 Remove conditional code.
29634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29635 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29636 Remove conditional code.
29637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29638 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29639 Remove conditional code.
29640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29641 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29644 * sysdeps/unix/sysv/linux/sigaction.c
29645 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29646 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29647 * sysdeps/unix/sysv/linux/sigpending.c
29648 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29649 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29650 * sysdeps/unix/sysv/linux/sigprocmask.c
29651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29653 * sysdeps/unix/sysv/linux/sigsuspend.c
29654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29657 (__libc_missing_rt_sigs): Remove.
29658 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29659 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29660 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29661 Remove conditional code.
29662 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29663 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29665 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29666 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29667 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29668 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29670 2012-05-14 Andreas Jaeger <aj@suse.de>
29672 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29673 it's not used in glibc.
29674 (__coshm1): Likewise.
29675 (__acosh1p): Likewise.
29678 * manual/string.texi (Copying and Concatenation): Add missing
29679 variable in concat example.
29680 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29682 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29686 __builtin_clzl with __builtin_clzll.
29688 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29691 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29694 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29696 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29697 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29698 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29699 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29701 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29703 * NEWS: Update ia64 info.
29705 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29707 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29710 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29712 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29713 * sysdeps/unix/syscalls.list (dup3): Likewise.
29714 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29715 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29717 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29719 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29720 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29722 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29724 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29726 (TLS_IE): Use mov/add instead of movq/addq to load thread
29728 (TLS_GD_PREFIX): New.
29731 2012-05-11 David S. Miller <davem@davemloft.net>
29733 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29734 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29735 (_FPU_SETCW): Likewise.
29737 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29739 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29740 is 32-byte aligned.
29742 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29745 * iconvdata/gb18030.c: Update tables.
29746 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29747 characters specially.
29748 (BODY for TO_LOOP): Add encoding of missing ranges.
29750 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29753 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29754 * sysdeps/mach/hurd/dup3.c: Likewise.
29755 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29756 * sysdeps/powerpc/memmove.c:: Likewise.
29758 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29760 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29761 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29763 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29765 * elf/elf.h (R_X86_64_RELATIVE64): New.
29766 (R_X86_64_NUM): Updated.
29767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29768 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29769 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29770 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29771 tst-quad1pie tst-quad2pie
29772 (modules-names): Add tst-quadmod1 tst-quadmod2.
29773 ($(objpfx)tst-quad1): New dependency.
29774 ($(objpfx)tst-quad2): Likewise.
29775 ($(objpfx)tst-quad1pie): Likewise.
29776 ($(objpfx)tst-quad2pie): Likewise.
29777 * sysdeps/x86_64/tst-quad1.c: New file.
29778 * sysdeps/x86_64/tst-quad1pie.c: New file.
29779 * sysdeps/x86_64/tst-quad2.c: Likewise.
29780 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29781 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29782 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29783 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29784 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29788 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29789 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29790 * streams/stropts.h (t_scalar_t): Define type.
29792 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29793 (_PATH_PRESERVE): Set to "/var/lib".
29794 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29796 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29799 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29800 if __dir_mkfile succeeded.
29802 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29803 checking for _hurd_dtablesize. Unlock it right after having
29804 finished _hurd_dtable allocation.
29806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29808 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29809 * sysdeps/mach/hurd/configure: Regenerated.
29810 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29811 special-casing to...
29812 * sysdeps/gnu/configure.in: ... this new file.
29813 * sysdeps/unix/sysv/linux/configure: Regenerated.
29814 * sysdeps/gnu/configure: New generated file.
29816 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29817 for Linux: use nsec instead of usec, as well as:
29818 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29819 members of type struct timespec.
29820 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29822 (struct stat64): Likewise.
29823 (_STATBUF_ST_NSEC): New macro.
29824 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29826 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29827 __strtoul_internal rather than strtoul.
29829 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29831 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29836 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29837 which preserves existing values.
29838 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29840 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29842 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29843 TIMEOUT values. Return EINVAL for NFDS values either negative or
29844 greater than FD_SETSIZE.
29846 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29848 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29849 allocated, call __vm_protect to finish enabling the existing space, and
29850 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29851 allocate the remainder.
29853 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29855 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29856 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29860 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29861 sysdeps/mach/hurd/readlink.c.
29863 * posix/tst-sysconf.c (posix_options): Only use
29864 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29865 _POSIX_SYNCHRONIZED_IO when they are defined
29866 * sysdeps/mach/hurd/bits/posix_opt.h:
29867 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29868 (_XOPEN_REALTIME): Undefine macro.
29869 (_XOPEN_REALTIME_THREADS): Undefine macro.
29870 (_XOPEN_SHM): Undefine macro.
29871 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29873 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29875 (_POSIX_ASYNC_IO): Undefine macro.
29876 (_POSIX_PRIORITIZED_IO): Undefine macro.
29877 (_POSIX_SPIN_LOCKS): Define macro to -1.
29879 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29880 SA_NODEFER, SA_RESETHAND.
29881 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29882 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29887 * elf/Makefile (pldd-modules): Define unconditionally.
29889 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29891 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29895 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29896 Return ENOENT when name is empty.
29897 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29901 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29903 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29907 Fix mlock in all cases except non-readable pages.
29908 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29909 instead of VM_PROT_ALL as parameter to __vm_wire function.
29911 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29912 (__mkdir): When path is `/', just fail with EEXIST.
29913 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29915 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29917 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29918 <sys/uio.h> (for writev).
29919 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29920 and <sys/param.h> (for MIN).
29922 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29924 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29925 REQUESTED_TIME. Properly set the remaining time and return EINTR
29928 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29930 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29931 Depend on against $(link-rpcuserlibs).
29933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29935 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29936 (__libc_stack_end): Do not use attribute_relro.
29937 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29938 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29939 to libthread-provided value.
29940 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29946 * bits/libc-lock.h (__libc_once_get): New macro.
29947 * sysdeps/mach/bits/libc-lock.h: Likewise.
29948 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29950 instead of using implementation details.
29952 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29953 * libio/freopen.c: Likewise.
29954 * libio/freopen64.c: Likewise.
29955 * misc/syslog.c: Likewise.
29956 * nscd/connections.c: Likewise.
29957 * nscd/netgroupcache.c: Likewise.
29958 * sysdeps/posix/getcwd.c: Likewise.
29960 2012-05-10 Roland McGrath <roland@hack.frob.com>
29962 * math/w_ilogbf.c: Add #include <limits.h>.
29964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29966 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29967 path instead of returning without unlocking.
29969 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29970 immediate-write ioctls.
29971 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29973 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29975 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29976 __builtin_frame_address instead of making assumptions about the
29977 location of the return address relative to DATA. Force early load of
29978 the return address.
29979 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29980 __builtin_frame_address.
29983 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29984 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29985 implement dup3 and do some further code clean-ups.
29986 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29987 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29991 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29993 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29994 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29995 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29996 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29997 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30000 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30001 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30002 when handler == SIG_ERR, not when handler != SIG_ERR.
30004 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30006 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30007 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30010 accept4 for GNU Hurd.
30011 * include/sys/socket.h (__libc_accept4): New prototype.
30012 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30013 to implement __libc_accept4.
30014 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30016 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30018 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30019 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30020 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30021 signal-defines.sym.
30023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30025 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30027 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30029 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30030 assertion on O_CLOEXEC flag.
30031 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30032 * hurd/intern-fd.c: Likewise.
30033 * hurd/port2fd.c: Likewise.
30035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30038 * bits/in.h (IPV6_PKTINFO): Define new macro.
30039 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30041 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30047 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30048 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30049 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30051 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30052 * math/libm-test.inc (logb_test) : Additional logb tests.
30054 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30055 Andreas Jaeger <aj@suse.de>
30057 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30058 * configure: Regenerated.
30059 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30060 * config.make.in (link-obsolete-rpc): New substituted variable.
30061 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30062 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30063 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30064 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30065 so that libc.a contains the symbols.
30066 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30067 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30068 * sunrpc/auth_none.c: Likewise.
30069 * sunrpc/auth_unix.c: Likewise.
30070 * sunrpc/authdes_prot.c: Likewise.
30071 * sunrpc/authuxprot.c: Likewise.
30072 * sunrpc/clnt_gen.c: Likewise.
30073 * sunrpc/clnt_perr.c: Likewise.
30074 * sunrpc/clnt_raw.c: Likewise.
30075 * sunrpc/clnt_simp.c: Likewise.
30076 * sunrpc/clnt_tcp.c: Likewise.
30077 * sunrpc/clnt_udp.c: Likewise.
30078 * sunrpc/clnt_unix.c: Likewise.
30079 * sunrpc/des_crypt.c: Likewise.
30080 * sunrpc/des_soft.c: Likewise.
30081 * sunrpc/get_myaddr.c: Likewise.
30082 * sunrpc/key_call.c: Likewise.
30083 * sunrpc/key_prot.c: Likewise.
30084 * sunrpc/netname.c: Likewise.
30085 * sunrpc/pm_getmaps.c: Likewise.
30086 * sunrpc/pm_getport.c: Likewise.
30087 * sunrpc/pmap_clnt.c: Likewise.
30088 * sunrpc/pmap_prot.c: Likewise.
30089 * sunrpc/pmap_prot2.c: Likewise.
30090 * sunrpc/pmap_rmt.c: Likewise.
30091 * sunrpc/publickey.c: Likewise.
30092 * sunrpc/rpc_cmsg.c: Likewise.
30093 * sunrpc/rpc_common.c: Likewise.
30094 * sunrpc/rpc_dtable.c: Likewise.
30095 * sunrpc/rpc_prot.c: Likewise.
30096 * sunrpc/rpc_thread.c: Likewise.
30097 * sunrpc/rtime.c: Likewise.
30098 * sunrpc/svc.c: Likewise.
30099 * sunrpc/svc_auth.c: Likewise.
30100 * sunrpc/svc_raw.c: Likewise.
30101 * sunrpc/svc_run.c: Likewise.
30102 * sunrpc/svc_tcp.c: Likewise.
30103 * sunrpc/svc_udp.c: Likewise.
30104 * sunrpc/svc_unix.c: Likewise.
30105 * sunrpc/svcauth_des.c: Likewise.
30106 * sunrpc/xcrypt.c: Likewise.
30107 * sunrpc/xdr.c: Likewise.
30108 * sunrpc/xdr_array.c: Likewise.
30109 * sunrpc/xdr_float.c: Likewise.
30110 * sunrpc/xdr_intXX_t.c: Likewise.
30111 * sunrpc/xdr_mem.c: Likewise.
30112 * sunrpc/xdr_rec.c: Likewise.
30113 * sunrpc/xdr_ref.c: Likewise.
30114 * sunrpc/xdr_sizeof.c: Likewise.
30115 * sunrpc/xdr_stdio.c: Likewise.
30117 2012-05-10 Roland McGrath <roland@hack.frob.com>
30119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30120 change. Update copyright years.
30122 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30124 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30126 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30127 Joseph Myers <joseph@codesourcery.com>
30128 Paul Pluzhnikov <ppluzhnikov@google.com>
30131 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30133 [cross-compiling] (extra-libs): Likewise.
30134 [cross-compiling] (extra-libs-others): Likewise.
30135 [cross-compiling] (librpcsvc-routines): Likewise.
30136 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30137 [cross-compiling] (omit-deps): Likewise.
30138 (sunrpc-CPPFLAGS): New variable.
30139 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30140 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30141 (cross-rpcgen-objs): New variable.
30142 (extra-objs): Append $(cross-rpcgen-objs).
30143 ($(cross-rpcgen-objs)): New rule.
30144 ($(objpfx)cross-rpcgen): Likewise.
30145 (rpcgen-cmd): Define to use $(built-program-file). Expand
30147 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30148 ($(objpfx)x%.stmp): Likewise.
30149 * sunrpc/proto.h [IS_IN_build] (_): Define.
30150 [IS_IN_build] (_libc_intl_domainname): Likewise.
30152 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30155 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30156 and R_X86_64_TPOFF64.
30158 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30160 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30161 sysdeps/unix/sysv/syscalls.list.
30164 * sysdeps/unix/sysv/syscalls.list: Remove file.
30166 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30169 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30170 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30171 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30172 (__LC_IDENTIFICATION): Make these macros useful in #if
30173 expressions, as required by C99.
30175 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30177 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30178 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30181 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30183 * stdlib/longlong.h: Updated from GCC.
30185 2012-05-09 Andreas Jaeger <aj@suse.de>
30187 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30188 default is first entry.
30189 (run_mode): Set type.
30190 (main): Remove informal message about syslog.
30191 (options): Fix typo.
30194 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30197 (llrintf): Likewise.
30198 (llrint): Likewise.
30201 (nearbyint): Likewise.
30202 (nearbyintf): Likewise.
30204 2012-05-09 Andreas Jaeger <aj@suse.de>
30205 Pedro Alves <palves@redhat.com>
30207 * nscd/nscd.c (run_mode): Use enum.
30208 (main): Cleanup coding style issue.
30210 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30211 Andreas Jaeger <aj@suse.de>
30213 * nscd/nscd.c (go_background): Replaced with...
30214 (run_mode): ... this.
30215 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30216 (options): Add -F --foreground.
30217 (main): Implement it.
30218 (parse_opt): Parse it.
30220 2012-05-09 Andreas Jaeger <aj@suse.de>
30223 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30224 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30225 -Wconversion warning.
30226 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30229 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30231 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30233 (LC_ALL): Use macro-int-constant.
30234 (LC_COLLATE): Likewise.
30235 (LC_CTYPE): Likewise.
30236 (LC_MESSAGES): Likewise.
30237 (LC_MONETARY): Likewise.
30238 (LC_NUMERIC): Likewise.
30239 (LC_TIME): Likewise.
30240 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30241 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30243 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30245 [C99-based standards] (float_t): Expect type.
30246 [C99-based standards] (double_t): Expect type.
30247 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30249 [C99-based standards] (HUGE_VALL): Likewise.
30250 [C99-based standards] (INFINITY): Likewise.
30251 [C99-based standards] (NAN): Likewise.
30252 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30253 [C99-based standards] (FP_NAN): Likewise.
30254 [C99-based standards] (FP_NORMAL): Likewise.
30255 [C99-based standards] (FP_SUBNORMAL): Likewise.
30256 [C99-based standards] (FP_ZERO): Likewise.
30257 [C99-based standards] (FP_FAST_FMA): Use
30258 optional-macro-int-constant. Specify type. Require == 1.
30259 [C99-based standards] (FP_FAST_FMAF): Likewise.
30260 [C99-based standards] (FP_FAST_FMAL): Likewise.
30261 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30262 [C99-based standards] (FP_ILOGBNAN): Likewise.
30263 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30265 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30266 [C99-based standards] (math_errhandling): Specify type.
30267 [ISO99 || ISO11] (signgam): Do not allow.
30268 [non-C99-based standards] (copysignf): Do not allow.
30269 [non-C99-based standards] (exp2f): Likewise.
30270 [non-C99-based standards] (log2f): Likewise.
30271 [non-C99-based standards] (modff): Allow.
30272 [non-C99-based standards] (erff): Do not allow.
30273 [non-C99-based standards] (erfcf): Likewise.
30274 [non-C99-based standards] (gammaf): Likewise.
30275 [non-C99-based standards] (hypotf): Likewise.
30276 [non-C99-based standards] (j0f): Likewise.
30277 [non-C99-based standards] (j1f): Likewise.
30278 [non-C99-based standards] (jnf): Likewise.
30279 [non-C99-based standards] (lgammaf): Likewise.
30280 [non-C99-based standards] (tgammaf): Likewise.
30281 [non-C99-based standards] (y0f): Likewise.
30282 [non-C99-based standards] (y1f): Likewise.
30283 [non-C99-based standards] (ynf): Likewise.
30284 [non-C99-based standards] (isnanf): Likewise.
30285 [non-C99-based standards] (acoshf): Likewise.
30286 [non-C99-based standards] (asinhf): Likewise.
30287 [non-C99-based standards] (atanhf): Likewise.
30288 [non-C99-based standards] (cbrtf): Likewise.
30289 [non-C99-based standards] (expm1f): Likewise.
30290 [non-C99-based standards] (ilogbf): Likewise.
30291 [non-C99-based standards] (log1pf): Likewise.
30292 [non-C99-based standards] (logbf): Likewise.
30293 [non-C99-based standards] (nextafterf): Likewise.
30294 [non-C99-based standards] (remainderf): Likewise.
30295 [non-C99-based standards] (rintf): Likewise.
30296 [non-C99-based standards] (scalbf): Likewise.
30297 [non-C99-based standards] (copysignl): Likewise.
30298 [non-C99-based standards] (exp2l): Likewise.
30299 [non-C99-based standards] (log2l): Likewise.
30300 [non-C99-based standards] (modfl): Allow.
30301 [non-C99-based standards] (erfl): Do not allow.
30302 [non-C99-based standards] (erfcl): Likewise.
30303 [non-C99-based standards] (gammal): Likewise.
30304 [non-C99-based standards] (hypotl): Likewise.
30305 [non-C99-based standards] (j0l): Likewise.
30306 [non-C99-based standards] (j1l): Likewise.
30307 [non-C99-based standards] (jnl): Likewise.
30308 [non-C99-based standards] (lgammal): Likewise.
30309 [non-C99-based standards] (tgammal): Likewise.
30310 [non-C99-based standards] (y0l): Likewise.
30311 [non-C99-based standards] (y1l): Likewise.
30312 [non-C99-based standards] (ynl): Likewise.
30313 [non-C99-based standards] (isnanl): Likewise.
30314 [non-C99-based standards] (acoshl): Likewise.
30315 [non-C99-based standards] (asinhl): Likewise.
30316 [non-C99-based standards] (atanhl): Likewise.
30317 [non-C99-based standards] (cbrtl): Likewise.
30318 [non-C99-based standards] (expm1l): Likewise.
30319 [non-C99-based standards] (ilogbl): Likewise.
30320 [non-C99-based standards] (log1pl): Likewise.
30321 [non-C99-based standards] (logbl): Likewise.
30322 [non-C99-based standards] (nextafterl): Likewise.
30323 [non-C99-based standards] (remainderl): Likewise.
30324 [non-C99-based standards] (rintl): Likewise.
30325 [non-C99-based standards] (scalbl): Likewise.
30326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30327 [non-C99-based standards] (FP_*): Do not allow.
30328 [C99-based standards] (FP_*): Change to
30329 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30330 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30332 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30333 (SIG_ERR): Likewise.
30334 [X/Open-based standards] (SIG_HOLD): Likewise.
30335 (SIG_IGN): Likewise.
30336 (SIGABRT): Use macro-int-constant. Specify type. Require
30338 (SIGFPE): Likewise.
30339 (SIGILL): Likewise.
30340 (SIGINT): Likewise.
30341 (SIGSEGV): Likewise.
30342 (SIGTER): Likewise.
30343 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30344 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30345 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30346 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30347 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30348 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30349 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30350 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30351 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30352 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30353 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30354 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30355 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30356 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30357 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30358 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30359 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30360 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30361 [X/Open-based standards] (SIGTRAP): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30366 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30369 2012-05-08 Ian Wienand <ianw@vmware.com>
30372 * time/tzset.c (__tzset_parse_tz): Update default rules for
30373 daylight time changes in the Energy Policy Act of 2005.
30375 2012-05-09 Andreas Jaeger <aj@suse.de>
30378 * elf/ldconfig.c (parse_conf): Change string to make clear that
30379 ldconfig only issued a warning if ld.so.conf does not exist.
30381 2012-05-08 David S. Miller <davem@davemloft.net>
30383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30384 movxtod instead of popping the value on the stack.
30386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30388 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30390 * config.h.in: Add HAVE_ARM_PCS_VFP.
30392 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30395 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30396 checking but the checks are disabled for any reason.
30398 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30400 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30401 and ELF64_R_TYPE with ELFW(R_TYPE).
30403 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30405 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30406 (ulimit): Likewise.
30408 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30409 (settimeofday): Likewise.
30411 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30413 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30414 a struct th_u2 inside the union, and move tu_block/tu_code into
30415 a new th_u3 union of tu_block/tu_code inside of that. Move
30416 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30417 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30418 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30419 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30420 (th_stuff): Change to th_u1.tu_stuff.
30422 (th_msg): Change to th_u1.th_u2.tu_data.
30424 2012-05-07 David S. Miller <davem@davemloft.net>
30426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30429 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30430 (SETUP_PIC_REG): Use it.
30431 (SETUP_PIC_REG_LEAF): Use it.
30433 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30437 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30439 (EXPL_FINITE): Likewise.
30440 (FLDLOG): Likewise.
30441 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30442 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30446 (EXPL_FINITE): Likewise.
30447 (FLDLOG): Likewise.
30448 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30449 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30451 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30452 test of -max_value argument for long double.
30453 * sysdeps/i386/fpu/libm-test-ulps: Update.
30454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30456 2012-05-06 David S. Miller <davem@davemloft.net>
30458 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30459 quad soft-float symbols whose references which are compiler
30461 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30463 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30467 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30469 (EXPL_FINITE): Likewise.
30470 (FLDLOG): Likewise.
30473 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30474 Adjust comments for base varying.
30475 (__expl_finite): Change alias to EXPL_FINITE.
30476 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30478 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30479 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30480 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30481 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30482 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30496 * math/libm-test.inc (check_float_internal): Correct ulp
30497 calculation for subnormal expected results.
30499 2012-05-06 Andreas Jaeger <aj@suse.de>
30501 * Makeconfig (+math-flags): New, set to -frounding-math.
30502 (+cflags): Add +math-flags so that all of glibc gets compiled with
30505 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30507 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30509 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30515 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30516 (__ieee754_expl): Allow for and saturate large arguments.
30517 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30518 (u_threshold): Likewise.
30519 (__exp): Call __ieee754_exp before checking for overflow and
30521 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30522 (u_threshold): Likewise.
30523 (__expf): Call __ieee754_expf before checking for overflow and
30525 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30526 (u_threshold): Likewise.
30527 (__expl): Call __ieee754_expl before checking for overflow and
30529 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30530 (__ieee754_expl): Allow for and saturate large arguments.
30531 * math/libm-test.inc (exp_test): Add another test. Do not allow
30532 missing overflow exception on overflow.
30533 (expm1_test): Do not allow missing overflow exception on overflow.
30535 * sysdeps/i386/fpu/e_expl.c: Move to ...
30536 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30537 rather than using inline asm.
30538 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30539 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30540 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30542 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30545 (signal): Likewise.
30549 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30551 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30552 sysdeps/unix/common/syscalls.list.
30553 (fchmod): Likewise.
30554 (fchown): Likewise.
30555 (ftruncate): Likewise.
30556 (getrusage): Likewise.
30557 (gettimeofday): Likewise.
30558 (setpgid): Likewise.
30559 (setregid): Likewise.
30560 (setreuid): Likewise.
30561 (sigaction): Likewise.
30562 (truncate): Likewise.
30563 (vhangup): Likewise.
30564 * sysdeps/unix/common/syscalls.list: Remove file.
30565 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30566 * sysdeps/unix/sysv/linux/Implies: Likewise.
30568 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30570 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30572 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30576 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30579 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30582 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30588 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30591 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30594 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30598 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30602 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30605 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30609 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30613 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30615 * sysdeps/unix/common/bits/dirent.h: Remove file.
30616 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30618 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30619 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30620 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30621 * sysdeps/unix/bsd/isatty.c: Likewise.
30622 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30623 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30624 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30626 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30630 long double comparison inaccuracies.
30631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30634 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30636 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30639 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30642 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30643 nonzero digits before rounding a hex value.
30644 * stdlib/tst-strtod.c (tests): Add another test.
30646 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30648 * sysdeps/s390/fpu/libm-test-ulps: Update.
30650 2012-05-03 Andreas Jaeger <aj@suse.de>
30652 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30653 does not get optimized out.
30654 (malloc_opt_barrier): New.
30656 2012-05-03 Andreas Jaeger <aj@suse.de>
30657 Roland McGrath <roland@hack.frob.com>
30659 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30660 intermediate file deletion.
30661 (generated): Add .symlist files.
30663 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30666 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30667 Redirect under this condition.
30668 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30669 [__USE_GNU] (__dprintf_chk): Not under this condition.
30670 [__USE_GNU] (__vdprintf_chk): Likewise.
30671 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30672 under this condition.
30673 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30674 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30675 [__USE_XOPEN2K8] (vdprintf): Likewise.
30676 [__USE_GNU] (__dprintf_chk): Not under this condition.
30677 [__USE_GNU] (__vdprintf_chk): Likewise.
30678 [__USE_GNU] (dprintf): Likewise.
30679 [__USE_GNU] (vdprintf): Likewise.
30681 2012-05-03 Roland McGrath <roland@hack.frob.com>
30683 * elf/Makefile (common-generated): Set this instead of generated for
30684 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30685 $(all-built-dso)-derived lists.
30687 2012-05-03 Andreas Jaeger <aj@suse.de>
30689 * sysdeps/i386/fpu/libm-test-ulps: Update.
30692 * FAQ.in: Likewise.
30693 * scripts/gen-FAQ.pl: Likewise.
30694 * manual/install.texi (Installation): Point to online location of
30696 * Makefile (files-for-dist): Remove FAQ.
30699 2012-05-02 Allan McRae <allan@archlinux.org>
30701 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30702 (LDFLAGS-reldepmod5.so): Likewise.
30703 (LDFLAGS-reldep6mod1.so): Likewise.
30704 (LDFLAGS-reldep6mod4.so): Likewise.
30705 (LDFLAGS-reldep8mod3.so): Likewise.
30706 (LDFLAGS-unload4mod1.so): Likewise.
30707 (LDFLAGS-unload4mod2.so): Likewise.
30708 (LDFLAGS-tst-initorder): Likewise.
30709 (LDFLAGS-tst-initordera2.so): Likewise.
30710 (LDFLAGS-tst-initordera3.so): Likewise.
30711 (LDFLAGS-tst-initordera4.so): Likewise.
30712 (LDFLAGS-tst-initorderb2.so): Likewise.
30713 (LDFLAGS-noload): Likewise.
30714 (LDFLAGS-next): Likewise.
30715 (LDFLAGS-order2mod1.so): Likewise.
30716 (LDFLAGS-order2mod2.so): Likewise.
30717 (LDFLAGS-tst-initorder2): Likewise.
30718 (LDFLAGS-tst-initorder2a.so): Likewise.
30719 (LDFLAGS-tst-initorder2b.so): Likewise.
30720 (LDFLAGS-tst-initorder2c.so): Likewise.
30721 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30723 2012-05-02 David S. Miller <davem@davemloft.net>
30725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30727 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30730 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30732 2012-05-02 Andreas Jaeger <aj@suse.de>
30734 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30735 since we manipulate rounding mode.
30736 (CPPFLAGS-test-idouble.c): Likewise.
30737 (CPPFLAGS-test-ifloat.c): Likewise.
30738 (CFLAGS-test-ldouble.c): Likewise.
30739 (CFLAGS-test-double.c): Likewise.
30740 (CFLAGS-test-float.c): Likewise.
30741 (CFLAGS-test-misc.c): Likewise.
30742 (CFLAGS-test-test-fenv.c): Likewise.
30744 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30749 comparisons to determine direction to adjust input.
30751 2012-05-01 Roland McGrath <roland@hack.frob.com>
30753 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30754 output to the target.
30756 * scripts/localplt.awk: New file.
30757 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30758 (check-localplt-CFLAGS): Variable removed.
30759 ($(all-built-dso:=.jmprel)): New static pattern rule.
30760 (generated): Add those targets.
30761 (localplt-built-dso): New variable.
30762 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30764 * elf/check-localplt.c: File removed.
30766 * scripts/check-execstack.awk: New file.
30767 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30768 (check-execstack-CFLAGS): Variable removed.
30769 ($(objpfx)check-execstack.h): Target removed.
30770 ($(objpfx)execstack-default): New target.
30771 (generated): Add that instead of check-execstack.h.
30772 ($(all-built-dso:=.phdr)): New static pattern rule.
30773 (generated): Add those targets.
30774 * elf/check-execstack.c: File removed.
30776 * scripts/check-textrel.awk: New file.
30777 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30778 (check-textrel-CFLAGS): Variable removed.
30779 (all-built-dso): Use := to define.o
30780 ($(all-built-dso:=.dyn)): New static pattern rule.
30781 (generated): Add those targets.
30782 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30783 * config.make.in (READELF): New substituted variable.
30784 * elf/check-textrel.c: File removed.
30786 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30788 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30790 * conform/data/ctype.h-data [C99-based standards] (isblank):
30792 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30793 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30794 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30795 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30796 Specify type. Require positive value.
30797 (EILSEQ): Likewise.
30798 (ERANGE): Likewise.
30799 [ISO || POSIX] (EILSEQ): Do not expect.
30800 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30801 Specify type. Require positive value.
30802 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30803 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30804 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30805 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30806 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30807 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30808 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30809 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30810 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30811 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30812 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30813 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30814 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30815 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30816 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30817 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30818 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30819 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30820 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30821 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30822 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30824 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30825 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30847 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30852 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30853 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30854 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30855 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30856 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30857 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30861 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30862 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30868 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30870 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30874 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30875 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30876 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30877 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30878 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30880 (FLT_ROUNDS): Expect as macro, not constant.
30881 (FLT_MANT_DIG): Use macro-int-constant.
30882 (DBL_MANT_DIG): Likewise.
30883 (LDBL_MANT_DIG): Likewise.
30884 (FLT_DIG): Likewise.
30885 (DBL_DIG): Likewise.
30886 (LDBL_DIG): Likewise.
30887 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30888 (DBL_MIN_EXP): Likewise.
30889 (LDBL_MIN_EXP): Likewise.
30890 (FLT_MAX_EXP): Use macro-int-constant.
30891 (DBL_MAX_EXP): Likewise.
30892 (LDBL_MAX_EXP): Likewise.
30893 (FLT_MAX_10_EXP): Likewise.
30894 (DBL_MAX_10_EXP): Likewise.
30895 (LDBL_MAX_10_EXP): Likewise.
30896 (FLT_MAX): Use macro-constant.
30897 (DBL_MAX): Likewise.
30898 (LDBL_MAX): Likewise.
30899 (FLT_EPSILON): Use macro-constant. Give upper bound.
30900 (DBL_EPSILON): Likewise.
30901 (LDBL_EPSILON): Likewise.
30902 (FLT_MIN): Likewise.
30903 (DBL_MIN): Likewise.
30904 (LDBL_MIN): Likewise.
30905 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30906 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30907 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30908 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30909 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30910 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30911 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30912 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30913 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30914 [ISO11] (FLT_TRUE_MIN): Likewise.
30915 [ISO11] (LDBL_TRUE_MIN): Likewise.
30916 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30917 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30918 (SCHAR_MIN): Use macro-int-constant. Specify type.
30919 (SCHAR_MAX): Likewise.
30920 (UCHAR_MAX): Likewise.
30921 (CHAR_MIN): Likewise.
30922 (CHAR_MAX): Likewise.
30923 (MB_LEN_MAX): Use macro-int-constant.
30924 (SHRT_MIN): Use macro-int-constant. Specify type.
30925 (SHRT_MAX): Likewise.
30926 (USHRT_MAX): Likewise.
30927 (INT_MAX): Likewise.
30928 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30930 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30932 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30934 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30935 bound negative. Suffix upper bound with "L".
30936 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30938 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30940 [C99-based standards] (LLONG_MAX): Likewise.
30941 [C99-based standards] (ULLONG_MAX): Likewise.
30942 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30944 [ISO11] (max_align_t): Require type.
30945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30947 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30948 from $CFLAGS, without defining away __attribute__ calls.
30949 (checknamespace): Use $CFLAGS_namespace.
30951 * conform/conformtest.pl (@keywords): Only include C99 keywords
30952 for standards based on C99 or C11.
30954 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30956 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30959 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30960 usability of symbols in #if.
30962 * conform/conformtest.pl: If macro or constant types start
30963 "promoted:", expect the symbol to be of the following type
30964 promoted by the integer promotions.
30966 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30967 in one place. Also handle "macro-constant".
30969 * conform/conformtest.pl: Only accept expected macro values with
30970 "==". Parse all "macro" lines in one place.
30971 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30973 * conform/conformtest.pl: Handle braced types on "constant" lines
30974 instead of handling "typed-constant".
30975 * conform/data/signal.h-data: Use "constant" instead of
30978 * conform/conformtest.pl: Handle "optional-" at start of lines in
30979 one place rather than duplicating several cases. Handle each
30980 format of "macro" line with initial "optional-".
30982 * conform/conformtest.pl: Only accept expected constant or
30983 optional-constant values with "==". Parse all "constant" lines in
30984 one place. Parse all "optional-constant" lines in one place.
30985 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30986 * conform/data/fmtmsg.h-data: Likewise.
30987 * conform/data/netinet/in.h-data: Likewise.
30988 * conform/data/tar.h-data: Likewise.
30989 * conform/data/limits.h-data: Use "==" form on "constant" and
30990 "optional-constant" lines.
30992 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30993 Use -std=c99 for XOPEN2K.
30994 (@knownproblems): Remove.
30995 (newtoken): Don't check %isknown.
30997 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30998 Do not expect macro.
30999 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31011 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31012 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31029 [XPG3] (acosh): Likewise.
31030 [XPG3] (asinh): Likewise.
31031 [XPG3] (atanh): Likewise.
31032 [XPG3] (cbrt): Likewise.
31033 [XPG3] (expm1): Likewise.
31034 [XPG3] (ilogb): Likewise.
31035 [XPG3] (log1p): Likewise.
31036 [XPG3] (logb): Likewise.
31037 [XPG3] (nextafter): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31040 [XPG3] (remainder): Likewise.
31041 [XPG3] (rint): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31049 [UNIX98 || XOPEN2K] (scalb): Expect.
31050 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31051 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31129 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31130 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31131 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31188 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31189 _XOPEN_SOURCE_EXTENDED for XPG4.
31191 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31193 * Makeconfig (localtime): Remove variable.
31194 (inst_localtime-file): Likewise.
31196 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31217 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31221 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31222 comparisons to determine direction to adjust input.
31223 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31224 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31225 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31227 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31231 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31232 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31234 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31236 * math/libm-test.inc (nexttoward_test): Add more tests.
31238 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31241 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31242 in version GLIBC_2.1, not GLIBC_2.0.
31243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31246 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31249 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31251 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31252 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31253 * math/libm-test.inc (acos_test): Add more tests.
31254 (asin_test): Likewise.
31255 * sysdeps/i386/fpu/libm-test-ulps: Update.
31256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31259 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31261 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31262 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31263 * math/libm-test.inc (acos_test_tonearest): New function.
31264 (acos_test_towardzero): Likewise.
31265 (acos_test_downward): Likewise.
31266 (acos_test_upward): Likewise.
31267 (asin_test_tonearest): Likewise.
31268 (asin_test_towardzero): Likewise.
31269 (asin_test_downward): Likewise.
31270 (asin_test_upward): Likewise.
31271 (main): Call the new functions.
31272 * sysdeps/i386/fpu/libm-test-ulps: Update.
31273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31277 * math/e_exp10.c: Include <float.h>.
31278 (__ieee754_exp10): Handle underflow here rather than multiplying
31279 large negative argument by M_LN10.
31280 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31282 * math/e_exp10l.c: Include <float.h>.
31283 (__ieee754_exp10l): Handle underflow here rather than multiplying
31284 large negative argument by M_LN10l.
31285 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31286 spurious overflow exception on underflow.
31288 2012-04-29 Marek Polacek <polacek@redhat.com>
31290 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31291 (__fortify_function): New macro.
31292 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31293 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31294 __extern_always_inline.
31295 * libio/bits/stdio2.h: Likewise.
31296 * libio/bits/stdio.h: Likewise.
31297 * string/string.h: Likewise.
31298 * string/bits/string3.h: Likewise.
31299 * include/stdio.h: Likewise.
31300 * stdlib/bits/stdlib.h: Likewise.
31301 * stdlib/stdlib.h: Likewise.
31302 * rt/bits/mqueue2.h: Likewise.
31303 * rt/mqueue.h: Likewise.
31304 * posix/bits/unistd.h: Likewise.
31305 * posix/unistd.h: Likewise.
31306 * io/bits/poll2.h: Likewise.
31307 * io/bits/fcntl2.h: Likewise.
31308 * io/fcntl.h: Likewise.
31309 * io/sys/poll.h: Likewise.
31310 * misc/bits/syslog.h: Likewise.
31311 * misc/bits/syslog-ldbl.h: Likewise.
31312 * misc/sys/syslog.h: Likewise.
31313 * socket/bits/socket2.h: Likewise.
31314 * socket/sys/socket.h: Likewise.
31315 * debug/tst-chk1.c: Likewise.
31316 * wcsmbs/bits/wchar2.h: Likewise.
31317 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31318 * wcsmbs/wchar.h: Likewise.
31320 2012-04-29 Andreas Jaeger <aj@suse.de>
31322 * Makerules (tests): Remove enable-check-abi protection.
31323 (check-abi-warn): Remove.
31324 (check-abi-%): Remove check-abi-warn usage.
31326 * configure.in: Remove check-abi configure option.
31327 * configure: Regenerated.
31328 * config.make.in (enable-check-abi): Remove.
31330 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31333 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31334 double functions to double *_finite functions.
31337 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31338 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31340 * stdio-common/Makefile (tests): Add tst-sprintf3.
31341 * stdio-common/tst-sprintf3.c: New file.
31343 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31344 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31346 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31348 * conform/conformtest.pl: Remove duplicate typed-constant
31351 2012-04-28 David S. Miller <davem@davemloft.net>
31353 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31354 (check-abi-%): Remove AWK script prerequisite and explicit
31356 (check-abi): Rewrite to just diff the symlist with the abilist.
31357 (config-tls, config-abi-config): Delete, no longer used.
31358 (update-abi-%): Remove AWK script and explicit abilist directory.
31359 (update-abi): Rewrite to simply compare and conditionally copy the
31360 symlist and the sysdep abilist file. Remove update-abi-config
31362 * abilist/ld.abilist: Remove.
31363 * abilist/libBrokenLocale.abilist: Remove.
31364 * abilist/libanl.abilist: Remove.
31365 * abilist/libcrypt.abilist: Remove.
31366 * abilist/libdl.abilist: Remove.
31367 * abilist/librt.abilist: Remove.
31368 * abilist/libthread_db.abilist: Remove.
31369 * abilist/libutil.abilist: Remove.
31370 * scripts/extract-abilist.awk: Remove.
31371 * scripts/merge-abilist.awk: Remove.
31372 * sysdeps/generic/libcidn.abilist: New file.
31373 * sysdeps/generic/libnss_compat.abilist: New file.
31374 * sysdeps/generic/libnss_db.abilist: New file.
31375 * sysdeps/generic/libnss_dns.abilist: New file.
31376 * sysdeps/generic/libnss_files.abilist: New file.
31377 * sysdeps/generic/libnss_hesiod.abilist: New file.
31378 * sysdeps/generic/libnss_nis.abilist: New file.
31379 * sysdeps/generic/libnss_nisplus.abilist: New file.
31380 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31381 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31382 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31385 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31386 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31387 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31388 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31389 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31390 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31391 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31392 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31394 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31395 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31396 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31397 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31399 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31400 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31401 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31402 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31403 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31404 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31406 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31407 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31408 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31410 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31513 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31514 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31515 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31518 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31519 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31520 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31521 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31522 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31523 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31524 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31525 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31526 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31578 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31580 * conform/conformtest.pl: Fix typo in handling typed-constant from
31583 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31585 * README: Cut down references to pre-2.6 Linux kernels and
31586 Linuxthreads. Update lists of configurations in libc and ports
31587 and sort alphabetically. Say "or newer" with Linux kernel version
31590 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31592 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31595 * math/libm-test.inc (logb_test_downward): New test to expose
31596 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31599 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31602 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31604 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31605 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31607 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31609 * sysdeps/unix/i386/brk.S: Remove file.
31610 * sysdeps/unix/i386/dl-brk.S: Likewise.
31611 * sysdeps/unix/i386/pipe.S: Likewise.
31612 * sysdeps/unix/i386/sigreturn.S: Likewise.
31613 * sysdeps/unix/i386/syscall.S: Likewise.
31614 * sysdeps/unix/i386/vfork.S: Likewise.
31615 * sysdeps/unix/i386/wait.S: Likewise.
31617 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31618 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31620 * configure.in (arm*-none*): Do not allow without
31621 --enable-hacker-mode.
31622 (netbsd*): Remove case setting base_os.
31623 (386bsd*): Likewise.
31624 (freebsd*): Likewise.
31627 (sunos*): Likewise.
31628 (ultrix*): Likewise.
31629 (newsos*): Likewise.
31630 (dynix*): Likewise.
31636 (minix*): Likewise.
31637 (irix4*): Likewise.
31638 (irix6*): Likewise.
31639 (solaris[2-9]*): Likewise.
31641 * configure: Regenerated.
31643 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31646 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31647 overflow or cancellation in calculating denominator.
31648 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31650 down expression to avoid unexpected rounding in newer GCCs.
31651 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31653 2012-04-26 David S. Miller <davem@davemloft.net>
31655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31656 long-double compat symbols.
31657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31671 2012-04-25 David S. Miller <davem@davemloft.net>
31673 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31674 HWCAP_* values only after the memory barriers have been defined.
31675 (atomic_full_barrier): Define.
31676 (atomic_read_barrier): Define.
31677 (atomic_write_barrier): Define.
31679 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31681 * shlib-versions: Add libgcc_s version information.
31682 * sysdeps/generic/libgcc_s.h: Remove.
31683 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31685 * sysdeps/gnu/unwind-resume.c: Likewise.
31686 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31688 2012-04-25 David S. Miller <davem@davemloft.net>
31690 * sysdeps/unix/sparc/brk.S: Delete.
31691 * sysdeps/unix/sparc/dl-brk.S: Delete.
31692 * sysdeps/unix/sparc/pipe.S: Delete.
31693 * sysdeps/unix/sparc/sysdep.S: Delete.
31694 * sysdeps/unix/sparc/sysdep.h: Delete.
31695 * sysdeps/unix/sparc/vfork.S: Delete.
31696 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31697 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31698 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31699 (ret_ERRVAL, r0, r1, MOVE): Define.
31700 (JUMPTARGET): Remove.
31701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31702 sysdeps/unix/sparc/sysdep.h
31703 (ENTRY, END): Remove.
31704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31706 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31708 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31709 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31712 * timezone/README: Update upstream location and email address for
31714 * timezone/zdump.c: Update from tzcode 2012b.
31715 * timezone/zic.c: Likewise.
31717 * configure.in (libc_cv_as_needed): Remove test.
31718 * configure: Regenerated.
31719 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31720 conditional definition.
31721 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31722 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31723 * config.make.in (have-as-needed): Remove variable.
31725 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31726 Paul Pluzhnikov <ppluzhnikov@google.com>
31728 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31731 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31733 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31734 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31735 * sysdeps/sh/strlen.S: Likewise.
31737 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31739 * sysdeps/unix/fork.S: Remove file.
31740 * sysdeps/unix/i386/fork.S: Likewise.
31741 * sysdeps/unix/sparc/fork.S: Likewise.
31743 * sysdeps/unix/system.c: Remove file.
31744 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31746 * sysdeps/unix/getegid.S: Remove file.
31747 * sysdeps/unix/geteuid.S: Likewise.
31749 2012-04-24 Roland McGrath <roland@hack.frob.com>
31751 * scripts/check-localplt.awk: New file.
31752 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31754 * scripts/data/localplt-generic.data: Add a comment.
31756 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31757 NODE when __dir_mkfile failed.
31758 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31759 Reported by Ludovic Courtès <ludo@gnu.org>.
31761 2012-04-24 Andreas Jaeger <aj@suse.de>
31763 * Makerules (common-clean): Also remove gen-as-const-headers
31766 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31768 * Makerules (native-compile): Do not change working directory for
31769 build. Use $(OUTPUT_OPTION) in command.
31770 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31772 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31775 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31776 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31777 * math/libm-test.inc (floor_test): Add more tests.
31778 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31780 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31782 * sysdeps/unix/getdents.c: Remove file.
31783 * sysdeps/unix/sysv/getdents.c: Likewise.
31784 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31786 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31787 sysdeps/unix/mman/syscalls.list.
31789 (mprotect): Likewise.
31791 (munmap): Likewise.
31792 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31793 * sysdeps/unix/mman/syscalls.list: Remove.
31794 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31796 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31797 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31798 * configure: Regenerated.
31799 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31800 $(libgcc_s_suffix).
31801 * config.make.in (libgcc_s_suffix): Remove variable.
31803 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31805 * sysdeps/unix/sysv/gethostname.c: Move to ...
31806 * sysdeps/posix/gethostname.c: ... here.
31808 * sysdeps/unix/execve.S: Remove file.
31810 * sysdeps/unix/_exit.S: Remove file.
31812 2012-04-23 Andreas Jaeger <aj@suse.de>
31815 * manual/Makefile: Remove make dist support, there's no
31816 need for a stand-alone documentation tar ball.
31817 (TEXI2DVI): Define always, it's not in Makeconfig.
31820 (edition): Removed.
31821 (glibc-doc-$(edition).tar): Removed
31825 (ETAGS): Remove, it's in Makeconfig.
31826 (move-if-change): Remove, it's in Makeconfig.
31828 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31831 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31832 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31833 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31834 (strtod_l, strtof_l, strtold_l): Remove __wur.
31835 It is not necessarily an error to ignore strtol's return value.
31836 One can reliably look at the stored endptr to decide whether
31837 the number had valid syntax.
31839 2012-04-21 Andreas Jaeger <aj@suse.de>
31842 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31844 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31846 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31847 * sysdeps/unix/sysv/Versions: Remove file.
31849 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31854 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31857 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31858 version from __vm86.
31860 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31862 * sysdeps/unix/common/lxstat.c: Remove file.
31863 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31865 * sysdeps/unix/sysv/Makefile: Remove file.
31867 * sysdeps/unix/sysv/direct.h: Remove file.
31869 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31870 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31871 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31872 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31873 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31874 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31875 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31877 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31879 * sysdeps/unix/xmknod.c: Remove file.
31880 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31882 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31884 * sysdeps/unix/sysv/i386/time.S: Remove file.
31886 * sysdeps/unix/fxstat.c: Remove file.
31887 * sysdeps/unix/xstat.c: Likewise.
31888 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31890 * sysdeps/unix/sysv/sigaction.c: Remove file.
31892 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31893 (sysdep_headers): Remove variable.
31894 [termio.h not in sysdep_headers] (generated): Likewise.
31895 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31896 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31897 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31898 * sysdeps/unix/sysv/tcflow.c: Likewise.
31899 * sysdeps/unix/sysv/tcflush.c: Likewise.
31900 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31901 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31902 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31903 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31904 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31906 * sysdeps/unix/siglist.c: Remove file.
31908 * sysdeps/unix/getppid.S: Remove file.
31910 * sysdeps/unix/mkdir.c: Remove file.
31911 * sysdeps/unix/rmdir.c: Likewise.
31913 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31915 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31917 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31918 errlist-compat value.
31920 2012-04-18 David S. Miller <davem@davemloft.net>
31922 * sysdeps/generic/memcopy.h (reg_char): Delete.
31923 * debug/strcat_chk.c: Use char, not reg_char.
31924 * debug/strcpy_chk.c: Likewise.
31925 * debug/strncat_chk.c: Likewise.
31926 * debug/strncpy_chk.c: Likewise.
31927 * string/memchr.c: Likewise.
31928 * string/memrchr.c: Likewise.
31929 * string/rawmemchr.c: Likewise.
31930 * string/strcat.c: Likewise.
31931 * string/strchr.c: Likewise.
31932 * string/strchrnul.c: Likewise.
31933 * string/strcmp.c: Likewise.
31934 * string/strcpy.c: Likewise.
31935 * string/strncat.c: Likewise.
31936 * string/strncmp.c: Likewise.
31937 * string/strncpy.c: Likewise.
31939 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31941 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31942 __builtin_memcopy is called when src and dest ranges are known to not
31945 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31947 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31948 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31949 fwd_align_merge macro call.
31950 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31951 bwd_align_merge macro call.
31952 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31954 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31956 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31957 bwd_align_merge macros.
31958 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31959 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31960 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31962 2012-04-18 David S. Miller <davem@davemloft.net>
31964 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31966 2012-04-18 Andreas Jaeger <aj@suse.de>
31969 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31970 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31971 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31973 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31974 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31975 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31977 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31978 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31979 Adjust for changed ldbl-128 files.
31981 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31982 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31983 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31985 2012-04-17 David S. Miller <davem@davemloft.net>
31987 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31989 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31991 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31992 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31993 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31994 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31995 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31996 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31998 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32001 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32002 * math/libm-test.inc: Add ilogb errno and exception tests.
32003 * math/w_ilogb.c: New file: ilogb wrapper.
32004 * math/w_ilogbf.c: New file: ilogbf wrapper.
32005 * math/w_ilogbl.c: New file: ilogbl wrapper.
32006 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32007 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32008 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32009 exception being thrown with 0.0 as argument.
32010 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32011 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32012 exception being thrown with 0.0 as argument.
32013 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32014 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32015 exception being thrown with 0.0 as argument.
32016 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32017 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32018 exception being thrown with 0.0 as argument.
32019 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32020 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32021 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32022 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32023 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32024 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32025 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32026 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32027 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32029 2012-04-17 Petr Baudis <pasky@ucw.cz>
32031 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32034 2012-04-16 Marek Polacek <polacek@redhat.com>
32036 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32038 2012-04-16 Marek Polacek <polacek@redhat.com>
32040 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32041 operands of fdivp instruction.
32043 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32045 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32046 * elf/tst-auditmod3b.c: Likewise.
32047 * elf/tst-auditmod4b.c: Likewise.
32048 * elf/tst-auditmod5b.c: Likewise.
32049 * elf/tst-auditmod6b.c: Likewise.
32050 * elf/tst-auditmod6c.c: Likewise.
32051 * elf/tst-auditmod7b.c: Likewise.
32052 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32053 * sysdeps/x86_64/preconfigure.in: Likewise.
32054 * sysdeps/x86_64/preconfigure: Regenerated.
32056 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32058 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32061 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32064 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32066 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32069 * locale/iso-639.def: Fix gl language name. Spotted by
32072 2012-04-12 Roland McGrath <roland@hack.frob.com>
32075 * libio/libio.h (__io_write_fn): Update comment.
32077 2012-04-12 Petr Baudis <pasky@ucw.cz>
32080 * stdio.texi (Hook Functions): The user provided writer function
32081 is not allowed to return -1.
32083 2012-04-11 David S. Miller <davem@davemloft.net>
32085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32087 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32089 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32090 Add a leading slash to rtkaio.
32092 2012-04-11 Jim Meyering <meyering@redhat.com>
32095 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32096 It is not necessarily an error to ignore fwrite's return
32097 value. One can reliably use ferror to test for errors after
32100 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32102 * bits/types.h (__snseconds_t): New type.
32103 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32105 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32107 (__SNSECONDS_T_TYPE): Likewise.
32108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32109 (__SNSECONDS_T_TYPE): Likewise.
32110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32111 (__SNSECONDS_T_TYPE): Likewise.
32113 2012-04-10 Andreas Jaeger <aj@suse.de>
32116 * manual/time.texi (Processor Time): Return type of times is
32117 elapsed real time since an arbitrary point in the past.
32118 (CPU Time): Move CLK_TCK from here...
32119 (Processor Time): ...to here. Correct description.
32120 * manual/conf.texi (Constants for Sysconf): Correct description of
32123 2012-04-10 David S. Miller <davem@davemloft.net>
32126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32127 where the is a gap between DT_REL(A) and DT_JMPREL.
32129 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32131 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32132 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32133 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32135 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32137 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32138 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32139 (dl_main): Handle --inhibit-cache.
32140 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32142 * elf/dl-load.c (_dl_map_object): Use it.
32143 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32145 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32148 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32149 (__ieee754_powl): Saturate large exponents rather than testing for
32150 overflow of y*log2(x).
32151 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32152 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32156 * math/s_ctan.c: Include <float.h>.
32157 (__ctan): Avoid internal overflow or cancellation in calculating
32159 * math/s_ctanf.c: Likewise.
32160 * math/s_ctanl.c: Likewise.
32161 * math/s_ctanh.c: Likewise.
32162 * math/s_ctanhf.c: Likewise.
32163 * math/s_ctanhl.c: Likewise.
32164 * math/libm-test.inc (ctan_test): Add more tests.
32165 (ctanh_test): Likewise.
32166 * sysdeps/i386/fpu/libm-test-ulps: Update.
32167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32169 2012-04-09 Andreas Jaeger <aj@suse.de>
32172 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32173 is an optional BSD extension.
32176 * manual/stdio.texi (Opening Streams): Document additional fopen
32179 2012-04-09 Roland McGrath <roland@hack.frob.com>
32181 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32182 %eax without telling the compiler.
32184 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32187 * manual/install.texi: Use sourceware.org.
32189 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32192 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32193 (__ieee754_pow): Generate overflow and underflow using huge*huge
32194 and tiny*tiny rather than just returning constant infinity or zero
32195 for large exponents.
32196 * math/libm-test.inc (pow_test): Require overflow exceptions for
32197 applicable cases of large exponents.
32200 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32201 (__ieee754_pow): Use iterative multiplication algorithm only for
32202 integer exponents with absolute value below 1024. Check for odd
32203 integer exponents when using algorithm for real exponents.
32204 * math/libm-test.inc (pow_test): Add more tests.
32205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32207 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32210 * math/libm-test.inc (exp_test): Do not allow overflow exception
32213 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32216 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32217 instead of __kernel_standard_f.
32219 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32221 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32222 * sysdeps/x86_64/memset_chk.S: Likewise.
32224 2012-04-08 Andreas Jaeger <aj@suse.de>
32227 * manual/startup.texi (Environment Access): Describe return value
32228 for putenv and setenv.
32231 * manual/filesys.texi (Directory Entries): Add description for
32235 * manual/filesys.texi (Directory Entries): Clarify that it's file
32236 system not operating system in the description of DT_UNKNOWN.
32239 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32241 2012-04-08 Stephen Compall <s11@member.fsf.org>
32244 * manual/llio.texi (Opening and Closing Files): Add cross
32245 reference to explain mode argument.
32247 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32249 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32250 * sysdeps/x86_64/memset_chk.S: Likewise.
32252 2012-04-07 David S. Miller <davem@davemloft.net>
32254 * elf/elf.h (R_SPARC_WDISP10): Define.
32255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32257 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32258 R_SPARC_SIZE64 and R_SPARC_H34.
32260 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32262 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32263 conditions and remove no longer applicable assertion.
32265 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32267 * bits/byteswap.h: Include <features.h>.
32268 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32269 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32271 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32273 * bits/byteswap.h (__bswap_16): Removed.
32274 Include <bits/byteswap-16.h> to get __bswap_16.
32275 * sysdeps/i386/bits/byteswap.h: Likewise.
32276 * sysdeps/s390/bits/byteswap.h: Likewise.
32277 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32278 * bits/byteswap-16.h: New file.
32279 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32280 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32281 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32282 * string/Makefile (headers): Add bits/byteswap-16.h.
32284 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32287 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32289 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32290 * nss/tst-nss-static.c: New.
32292 2012-04-06 Robert Millan <rmh@gnu.org>
32295 * manual/llio.texi (File Position Primitive): lseek
32296 refers to WHENCE when it really means OFFSET.
32298 2012-04-06 Andreas Jaeger <aj@suse.de>
32300 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32301 strncmp declarations.
32303 * abilist/libc.abilist: Add __poll and __ppoll.
32305 2012-04-05 David S. Miller <davem@davemloft.net>
32307 * scripts/check-local-headers.sh: Accept a host triplet in the
32308 path matched by the exclude regexp.
32310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32312 * sysdeps/powerpc/powerpc32/dl-machine.h
32313 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32314 * sysdeps/s390/s390-32/dl-machine.h
32315 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32316 * sysdeps/sparc/sparc32/dl-machine.h
32317 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32318 * sysdeps/sparc/sparc64/dl-machine.h
32319 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32321 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32323 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32324 undefined symbol errors.
32326 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32329 2012-04-05 Michael Matz <matz@suse.de>
32332 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32334 2012-04-05 Andreas Jaeger <aj@suse.de>
32337 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32340 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32342 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32343 which ROUND is no valid rounding mode.
32345 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32347 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32349 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32351 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32353 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32354 an exception using FPU order intentionally.
32356 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32358 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32359 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32360 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32361 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32363 2012-04-05 Simon Josefsson <simon@josefsson.org>
32366 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32367 EINVAL when BUFLEN is too smal.
32369 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32372 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32373 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32375 2012-04-03 Andreas Jaeger <aj@suse.de>
32378 * manual/setjmp.texi (System V contexts): Fix sentence.
32381 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32382 New macro for this case.
32383 [!__GNUC__] (__bswap_64): New inline function for this case.
32384 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32385 * bits/byteswap.h: Likewise.
32386 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32387 ull, guard with __GLIBC_HAVE_LONG_LONG.
32389 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32390 __GLIBC_HAVE_LONG_LONG.
32392 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32393 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32395 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32398 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32399 inptr and inend, rather than using last_ch.
32401 2012-04-02 David S. Miller <davem@davemloft.net>
32403 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32404 * stdio-common/printf-parse.h (read_int): Change return type to
32405 'int', return -1 on INT_MAX overflow.
32406 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32407 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32408 overflows INT_MAX. Check for overflow of in-format-string precision
32409 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32410 SIZE_MAX not INT_MAX for integer overflow test.
32411 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32412 skip the construct in the format string but do not record anything.
32413 * stdio-common/bug22.c: Adjust to test both width/prevision
32414 INT_MAX overflow as well as total length INT_MAX overflow. Check
32415 explicitly for proper errno values.
32417 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32419 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32421 * string/test-strcmp.c [! WIDE]: Likewise.
32422 * time/tst-mktime2.c: Likewise for INT_MAX.
32423 * string/test-string.h: #include <sys/param.h> for MIN.
32425 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32426 * sysdeps/i386/init-first.c (init): Likewise.
32427 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32428 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32429 * sysdeps/sh/init-first.c (init): Likewise.
32431 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32433 * po/ru.po: Update from translation team.
32434 * po/vi.po: Likewise.
32436 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32438 * resolv/nss_dns/dns-host.c: Merge copyright years.
32440 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32443 Optimize memcpy with prefetch if
32444 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32445 src, dst pointers have unequal 16 byte alignments.
32447 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32450 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32451 from a CNAME entry and return the minimum ttl for the query.
32452 (gaih_getanswer_slice): Likewise.
32454 2012-03-30 Jeff Law <law@redhat.com>
32456 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32458 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32459 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32461 * resolv/nss_dns/dns-host.c: Update copyright year.
32463 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32465 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32466 requests to save a system call. Fix check that all bytes are sent.
32468 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32469 comments for sendmmsg.
32471 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32474 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32475 with only 1 character between 0x0041 and 0x01b0.
32476 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32477 * wcsmbs/tst-mbsnrtowcs.c: New file.
32479 2012-03-29 David S. Miller <davem@davemloft.net>
32481 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32482 small copies by hand.
32484 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32487 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32488 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32491 2012-03-28 David S. Miller <davem@davemloft.net>
32493 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32494 that branches into memcpy.
32495 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32498 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32501 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32502 implementation too.
32503 * sysdeps/sparc/mempcpy.S: New file.
32505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32506 the IFUNC routine in the libc case.
32507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32509 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32510 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32511 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32512 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32513 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32514 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32515 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32516 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32518 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32519 loop to 256 bytes instead of 64 bytes and fix test signedness.
32521 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32522 * sysdeps/sparc/sparc32/Makefile: rather than here...
32523 * sysdeps/sparc/sparc64/Makefile: and here.
32525 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32527 * malloc/mallocbug.c: Avoid warnings about unused variables.
32529 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32532 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32533 in the right place. Discard and retry query if response is
32534 larger than input buffer size.
32536 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32541 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32542 x for large integer exponent.
32543 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32544 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32545 sign of result as needed afterwards.
32546 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32547 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32548 result for underflowing pow the same as for overflow.
32549 (__kernel_standard_l): Handle powl overflow and underflow here
32550 rather than calling __kernel_standard.
32551 * math/libm-test.inc (pow_test): Add more tests.
32566 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32567 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32568 (__kernel_standard_l): New function.
32569 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32571 * math/w_acosl.c (__acosl): Likewise.
32572 * math/w_asinl.c (__asinl): Likewise.
32573 * math/w_atan2l.c (__atan2l): Likewise.
32574 * math/w_atanhl.c (__atanhl): Likewise.
32575 * math/w_coshl.c (__coshl): Likewise.
32576 * math/w_exp10l.c (__exp10l): Likewise.
32577 * math/w_exp2l.c (__exp2l): Likewise.
32578 * math/w_fmodl.c (__fmodl): Likewise.
32579 * math/w_hypotl.c (__hypotl): Likewise.
32580 * math/w_j0l.c (__j0l, __y0l): Likewise.
32581 * math/w_j1l.c (__j1l, __y1l): Likewise.
32582 * math/w_jnl.c (__jnl, __ynl): Likewise.
32583 * math/w_lgammal.c (__lgammal): Likewise.
32584 * math/w_log10l.c (__log10l): Likewise.
32585 * math/w_log2l.c (__log2l): Likewise.
32586 * math/w_logl.c (__logl): Likewise.
32587 * math/w_powl.c (__powl): Likewise.
32588 * math/w_remainderl.c (__remainderl): Likewise.
32589 * math/w_scalbl.c (sysv_scalbl): Likewise.
32590 * math/w_sinhl.c (__sinhl): Likewise.
32591 * math/w_sqrtl.c (__sqrtl): Likewise.
32592 * math/w_tgammal.c (__tgammal): Likewise.
32593 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32594 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32595 * math/libm-test.inc (acos_test): Add more tests.
32596 (acosh_test): Likewise.
32597 (asin_test): Likewise.
32598 (atanh_test): Likewise.
32599 (exp_test): Likewise.
32600 (exp10_test): Likewise.
32601 (exp2_test): Likewise.
32602 (expm1_test): Likewise.
32603 (lgamma_test): Likewise.
32604 (log_test): Likewise.
32605 (log10_test): Likewise.
32606 (log1p_test): Likewise.
32607 (log2_test): Likewise.
32608 (pow_test): Do not allow some spurious overflow exceptions.
32609 (sqrt_test): Add more tests.
32610 (tgamma_test): Likewise.
32611 (y0_test): Likewise.
32612 (y1_test): Likewise.
32613 (yn_test): Likewise.
32615 2012-03-27 Anton Blanchard <anton@samba.org>
32617 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32619 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32620 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32621 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32623 2012-03-27 David S. Miller <davem@davemloft.net>
32625 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32627 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32628 have-as-vis3 check.
32630 2012-03-27 Andreas Jaeger <aj@suse.de>
32632 * sysdeps/x86_64/elf/configure.in: Moved to ...
32633 * sysdeps/x86_64/configure.in: ... here.
32634 * sysdeps/x86_64/elf/start.S: Moved to ...
32635 * sysdeps/x86_64/start.S: ... here.
32636 * sysdeps/x86_64/elf/configure: Delete.
32638 * sysdeps/x86_64/configure.in: Merge contents from
32639 sysdeps/i386/configure.in (without i686 check).
32641 * sysdeps/i386/elf/Versions: Merge into ...
32642 * sysdeps/i386/Versions: ... this.
32643 * sysdeps/i386/elf/Versions: Delete file.
32644 * sysdeps/i386/elf/start.S: Moved to ...
32645 * sysdeps/i386/start.S: ...here.
32646 * sysdeps/i386/elf/configure.in: Merge into...
32647 * sysdeps/i386/configure.in: ...here.
32648 * sysdeps/i386/elf/configure.in: Delete file.
32649 * sysdeps/i386/elf/configure: Delete file.
32651 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32652 * debug/backtracesyms.c: ... here.
32653 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32654 * debug/backtracesymsfd.c: ... here.
32655 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32656 * sysdeps/generic/ifunc-sel.h: ... here.
32658 * sysdeps/unix/i386/start.c: Delete file.
32659 * sysdeps/unix/sparc/start.c: Delete file.
32660 * sysdeps/unix/start.c: Delete file.
32662 * sysdeps/sh/elf/configure.in: Moved to ...
32663 * sysdeps/sh/configure.in: ... here.
32664 * sysdeps/sh/elf/start.S: Moved to ...
32665 * sysdeps/sh/start.S: ... here.
32666 * sysdeps/sh/elf/configure: Delete file.
32668 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32669 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32670 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32671 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32672 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32673 * sysdeps/powerpc/powerpc64/start.S: here.
32674 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32675 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32676 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32677 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32678 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32680 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32681 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32682 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32683 * sysdeps/powerpc/powerpc32/start.S: ... here.
32684 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32685 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32686 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32688 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32689 * sysdeps/powerpc/ifunc-sel.h: ... here.
32690 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32691 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32693 * sysdeps/sparc/elf/configure.in: Moved to ...
32694 * sysdeps/sparc/configure.in: ... here.
32695 * sysdeps/sparc/elf/configure: Delete file.
32696 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32697 * sysdeps/sparc/sparc32/start.S: ... here.
32698 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32699 * sysdeps/sparc/sparc64/start.S: ... here.
32700 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32701 * sysdeps/sparc/sparc32/Makefile: ... this.
32702 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32703 * sysdeps/sparc/sparc64/Makefile: ... this.
32705 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32706 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32707 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32708 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32709 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32710 * sysdeps/s390/s390-32/setjmp.S: ... here.
32711 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32712 * sysdeps/s390/s390-32/configure.in: ... here.
32713 * sysdeps/s390/s390-32/elf/configure: Delete file.
32714 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32715 * sysdeps/s390/s390-32/start.S: ... here.
32717 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32718 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32719 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32720 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32721 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32722 * sysdeps/s390/s390-64/setjmp.S: ... here.
32723 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32724 * sysdeps/s390/s390-64/configure.in: ... here
32725 * sysdeps/s390/s390-64/elf/configure: Delete file.
32726 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32727 * sysdeps/s390/s390-64/start.S: ... here.
32728 * sysdeps/s390/s390-64/elf/configure: Delete.
32730 * configure.in: Remove support for elf directories in sysdeps.
32732 * configure: Regenerated.
32733 * sysdeps/i386/configure: Regenerated.
32734 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32735 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32736 * sysdeps/s390/s390-32/configure: Regenerated.
32737 * sysdeps/s390/s390-64/configure: Regenerated.
32738 * sysdeps/sh/configure: Regenerated.
32739 * sysdeps/sparc/configure: Regenerated.
32740 * sysdeps/x86_64/configure: Regenerated.
32742 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32747 denormal result into account.
32749 2012-03-25 Roland McGrath <roland@hack.frob.com>
32751 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32752 Reported by Allan McRae <allan@archlinux.org>.
32754 2012-03-23 Jeff Law <law@redhat.com>
32756 * nss/getnssent.c (__nss_getent): Fix typo.
32758 2012-03-23 David S. Miller <davem@davemloft.net>
32760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32762 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32764 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32765 to pad to uint64_t for each field.
32766 (dl_tls_index): Replace unsigned long with uint64_t.
32768 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32769 Paul Pluzhnikov <ppluzhnikov@google.com>
32772 * grp/Makefile (otherlibs): Don't set it.
32773 * inet/Makefile (otherlibs): Likewise.
32774 * login/Makefile (otherlibs): Likewise.
32775 * nscd/Makefile (otherlibs): Likewise.
32776 * posix/Makefile (otherlibs): Likewise.
32777 * pwd/Makefile (otherlibs): Likewise.
32778 * rt/Makefile (otherlibs): Likewise.
32779 * sunrpc/Makefile (otherlibs): Likewise.
32780 * nss/Makefile (otherlibs): Likewise.
32781 Add libnss_files to routines and static-only-routines.
32782 ($(objpfx)getent): Remove rule.
32783 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32784 static-only-routines.
32786 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32789 * math/s_cexp.c: Include <float.h>.
32790 (__cexp): Handle exp result overflowing not necessarily
32791 overflowing both real and imaginary parts of result.
32792 * math/s_cexpf.c: Likewise.
32793 * math/s_cexpl.c: Likewise.
32794 * math/libm-test.inc (cexp_test): Add more tests.
32795 * sysdeps/i386/fpu/libm-test-ulps: Update.
32796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32798 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32800 * include/link.h (ELFW): New macro.
32801 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32802 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32804 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32806 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32809 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32811 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32813 (struct La_x32_retval): Likewise.
32815 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32817 * sysdeps/x86_64/preconfigure.in: New file.
32818 * sysdeps/x86_64/preconfigure: New generated file.
32820 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32823 * math/e_exp2l.c: Include <float.h>.
32824 (__ieee754_exp2l): Handle overflow and underflow cases
32825 separately. Only pass fractional part of argument to
32827 * math/libm-test.inc (exp2_test): Add more tests.
32829 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32830 negating x to take absolute value.
32831 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32833 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32834 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32836 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32837 computing low part if x was negated.
32838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32840 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32842 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32843 la_x32_gnu_pltexit.
32844 (pltexit): Cast int_retval to ptrdiff_t.
32845 * elf/tst-auditmod3b.c: Likewise.
32846 * elf/tst-auditmod4b.c: Likewise.
32847 * elf/tst-auditmod5b.c: Likewise.
32848 * elf/tst-auditmod6b.c: Likewise.
32849 * elf/tst-auditmod6c.c: Likewise.
32850 * elf/tst-auditmod7b.c: Likewise.
32852 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32853 and x32_gnu_pltexit.
32855 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32856 __ELF_NATIVE_CLASS.
32857 (La_x32_regs): New macro.
32858 (La_x32_retval): Likewise.
32859 (la_x32_gnu_pltenter): New function prototype.
32860 (la_x32_gnu_pltexit): Likewise.
32862 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32864 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32869 * configure.in (libc_cv_cc_nofma): Check for option to disable
32870 generation of FMA instructions.
32871 * configure: Regenerate.
32872 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32873 * sysdeps/ieee754/dbl-64/Makefile: New file.
32874 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32875 Remove brandred-fma4.
32876 (CFLAGS-brandred-fma4.c): Remove.
32877 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32878 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32880 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32883 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32885 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32886 LLONG_MAX != LONG_MAX.
32887 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32888 (_fitoa_word): Likewise.
32889 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32890 LLONG_MAX != LONG_MAX.
32891 * stdio-common/_itowa.h: Include <_itoa.h>.
32892 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32893 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32894 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32895 only if not defined.
32896 (_ITOA_WORD_TYPE): Likewise.
32897 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32898 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32900 2012-03-21 David S. Miller <davem@davemloft.net>
32902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32904 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32906 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32907 of x86_64 when setting libc_cv_slibdir, libdir and
32909 * sysdeps/unix/sysv/linux/configure: Regenerated.
32911 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32913 * manual/lang.texi (Old Varargs): Remove section.
32914 (How Variadic): Update menu.
32915 (va_start): Do not mention varargs.h.
32917 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32918 Joseph Myers <joseph@codesourcery.com>
32920 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32922 * configure: Regenerated.
32924 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32926 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32927 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32930 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32933 * Makefile (files-for-dist): Remove NOTES.
32934 (NOTES): Remove rule.
32935 * README: Don't refer to NOTES.
32936 * manual/creature.texi: Don't include macros.texi.
32937 * manual/intro.texi (creature.texi): Remove comment referring to
32940 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32941 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32942 * configure: Regenerated.
32943 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32944 LIBC_TRY_CC_OPTION.
32945 (libc_cv_as_i686): Likewise.
32946 (libc_cv_cc_avx): Likewise.
32947 (libc_cv_cc_sse2avx): Likewise.
32948 (libc_cv_cc_fma4): Likewise.
32949 (libc_cv_cc_novzeroupper): Likewise.
32950 * sysdeps/i386/configure: Regenerated.
32953 * sysdeps/i386/fpu/s_cexp.S: Remove.
32954 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32955 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32956 * math/libm-test.inc (cexp_test): Add more tests.
32957 * sysdeps/i386/fpu/libm-test-ulps: Update.
32958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32960 2012-03-21 Allan McRae <allan@archlinux.org>
32962 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32964 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32967 * math/w_exp2.c: Do not include <float.h>.
32968 (o_threshold, u_threshold): Remove.
32969 (__exp2): Calculate result before checking finiteness and calling
32971 * math/w_exp2f.c: Likewise.
32972 * math/w_exp2l.c: Likewise.
32973 * math/libm-test.inc (exp2_test): Require overflow exception for
32977 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32978 range of signed 64-bit integers before using fistpll. Remove
32979 checks for whether integers fit in mantissa bits.
32980 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32981 the range of signed 32-bit integers before using fistpl. Remove
32982 checks for whether integers fit in mantissa bits.
32983 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32984 (__ieee754_powl): Test for y outside the range of signed 64-bit
32985 integers before using fistpll. Reduce 64-bit values to 63-bit
32987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32988 divide-by-zero is raised for zero to large negative powers.
32989 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32990 (__ieee754_powl): Test for y outside the range of signed 64-bit
32991 integers before using fistpll. Reduce 64-bit values to 63-bit
32993 * math/libm-test.inc (pow_test): Add more tests.
32995 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32997 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32998 <stdio-common/_itoa.h>.
32999 * debug/segfault.c: Likewise.
33000 * elf/dl-cache.c: Likewise.
33001 * elf/dl-minimal.c: Likewise.
33002 * elf/dl-misc.c: Likewise.
33003 * elf/dl-sysdep.c: Likewise.
33004 * elf/dl-version.c: Likewise.
33005 * elf/rtld.c: Likewise.
33006 * hurd/hurdsock.c: Likewise.
33007 * hurd/lookup-retry.c: Likewise.
33008 * malloc/malloc.c: Likewise.
33009 * malloc/mtrace.c: Likewise.
33010 * nscd/nscd_getgr_r.c: Likewise.
33011 * nscd/nscd_getpw_r.c: Likewise.
33012 * nscd/nscd_getserv_r.c: Likewise.
33013 * posix/getopt_init.c: Likewise.
33014 * posix/wordexp.c: Likewise.
33015 * stdio-common/_itoa.c: Likewise.
33016 * stdio-common/printf_fphex.c: Likewise.
33017 * stdio-common/vfprintf.c: Likewise.
33018 * string/_strerror.c: Likewise.
33019 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33020 * sysdeps/i386/i686/hp-timing.h: Likewise.
33021 * sysdeps/mach/_strerror.c: Likewise.
33022 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33023 * sysdeps/mach/hurd/sethostid.c: Likewise.
33024 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33025 * sysdeps/mach/xpg-strerror.c: Likewise.
33026 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33027 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33028 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33029 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33030 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33031 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33032 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33033 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33034 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33035 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33036 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33037 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33038 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33039 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33040 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33041 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33042 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33043 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33044 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33045 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33046 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33048 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33050 * stdio-common/_itoa.h: Moved to ...
33051 * sysdeps/generic/_itoa.h: Here.
33053 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33055 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33056 instead of "_itoa.h" and "_itowa.h".
33057 * stdio-common/vfprintf.: Likewise.
33059 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33061 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33063 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33064 (__signbit): Likwise.
33065 (llrintf): Likwise.
33068 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33070 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33073 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33075 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33076 OVERFLOW_EXCEPTION_OK.
33077 * math/libm-test.inc ("Philosophy"): Update comment about
33079 (OVERFLOW_EXCEPTION): Define.
33080 (OVERFLOW_EXCEPTION_OK): Likewise.
33081 (INVALID_EXCEPTION_OK): Renumber.
33082 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33083 (IGNORE_ZERO_INF_SIGN): Likewise.
33084 (test_exceptions): Handle FE_OVERFLOW.
33085 (exp10_test): Expect overflow exceptions.
33086 (exp2_test): Likewise.
33087 (expm1_test): Likewise.
33088 (nextafter_test): Likewise.
33089 (pow_test): Likewise.
33090 (scalbn_test): Likewise.
33091 (scalbln_test): Likewise.
33093 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33095 * sysdeps/x86_64/bits/atomic.h
33096 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33098 (atomic_exchange_acq): Likewise.
33099 (__arch_exchange_and_add_body): Likewise.
33100 (__arch_add_body): Likewise.
33101 (atomic_add_negative): Likewise.
33102 (atomic_add_zero): Likewise.
33104 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33106 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33107 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33109 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33111 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33112 Check __x86_64__ instead of __WORDSIZE.
33114 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33116 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33118 2012-03-19 David S. Miller <davem@davemloft.net>
33120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33122 * sysdeps/sparc/fpu/fenv_private.h: New file.
33123 * sysdeps/sparc/fpu/math_private.h: Use it.
33124 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33126 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33127 (libc_feholdexcept_setroundl): Remove.
33128 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33130 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33131 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33133 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33135 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33136 int64_t instead of long int.
33137 (INSERT_WORDS64): Likwise.
33139 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33142 _Unwind_GetCFA return to _Unwind_Ptr first.
33144 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33147 * math/s_clog.c: Include <float.h>.
33148 (__clog): Scale large or subnormal inputs.
33149 * math/s_clogf.c: Likewise.
33150 * math/s_clogl.c: Likewise.
33151 * math/s_clog10.c: Include <float.h>.
33152 (M_LOG10_2): Define.
33153 (__clog10): Scale large or subnormal inputs.
33154 * math/s_clog10f.c: Likewise.
33155 * math/s_clog10l.c: Likewise.
33156 * math/libm-test.inc (clog_test): Add more tests.
33157 (clog10_test): Likewise.
33158 * sysdeps/i386/fpu/libm-test-ulps: Update.
33159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33164 * math/libm-test.inc (atan2_test): Add another test.
33166 * Makerules (common-objdir-compile): Remove.
33167 * sysdeps/unix/Makefile (config-generated): Do not add
33168 $(unix-generated) to variable.
33169 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33170 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33172 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33174 [generic bits/local_lim.h] (before-compile): Do not append to
33176 [generic bits/local_lim.h] (common-generated): Likewise.
33177 [generic sys/param.h] (before-compile): Do not append to variable.
33178 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33179 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33180 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33181 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33183 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33184 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33185 [generic sys/param.h] ($(addprefix
33186 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33187 [generic sys/param.h] (common-generated): Do not append to
33189 [generic sys/param.h] (sysdep_headers): Likewise.
33190 [generic bits/errno.h] (before-compile): Do not append to
33192 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33194 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33195 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33196 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33197 [generic bits/errno.h] (common-generated): Do not append to
33199 [generic bits/ioctls.h] (before-compile): Do not append to
33201 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33203 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33204 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33205 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33207 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33208 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33209 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33210 [generic bits/ioctls.h] (common-generated): Do not append to
33212 [generic sys/syscall.h] (syscall.h): Remove variable.
33213 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33215 [generic sys/syscall.h] (before-compile): Do not append to
33217 [generic sys/syscall.h] (common-generated): Likewise.
33218 * sysdeps/unix/errnos-tmpl.c: Remove file.
33219 * sysdeps/unix/errnos.awk: Likewise.
33220 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33221 * sysdeps/unix/ioctls.awk: Likewise.
33222 * sysdeps/unix/mk-local_lim.c: Likewise.
33223 * sysdeps/unix/snarf-ioctls: Likewise.
33225 2012-03-19 Richard Henderson <rth@twiddle.net>
33227 * sysdeps/i386/fpu/fenv_private.h: New file.
33228 * sysdeps/i386/fpu/math_private.h: Use it.
33229 (math_opt_barrier, math_force_eval): Remove.
33230 (libc_feholdexcept_setround_53bit): Remove.
33231 (libc_feupdateenv_53bit): Remove.
33232 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33233 (math_opt_barrier, math_force_eval): Remove.
33234 (libc_feholdexcept): Remove.
33235 (libc_feholdexcept_setround): Remove.
33236 (libc_fetestexcept, libc_fesetenv): Remove.
33237 (libc_feupdateenv_test): Remove.
33238 (libc_feupdateenv, libc_feholdsetround): Remove.
33239 (libc_feresetround): Remove.
33241 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33242 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33244 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33245 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33246 (libc_feupdateenv_testl): New.
33247 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33248 (libc_feupdateenv_testf): New.
33249 (libc_feupdateenv): Use libc_feupdateenv_test.
33250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33253 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33254 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33255 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33256 (libc_feresetround_noex): New.
33257 (libc_feresetround_noexf): New.
33258 (libc_feresetround_noexl): New.
33259 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33260 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33261 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33262 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33267 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33268 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33269 SET_RESTORE_ROUND_NOEX.
33270 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33271 SET_RESTORE_ROUND_NOEXF.
33272 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33273 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33274 (libc_feholdsetroundf): New.
33275 (libc_feresetround, libc_feresetroundf): New.
33277 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33278 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33279 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33281 * sysdeps/generic/math_private.h: Include <fenv.h>.
33282 (default_libc_feholdexcept): New.
33283 (default_libc_feholdexcept_setround): New.
33284 (default_libc_fesetenv, default_libc_feupdateenv): New.
33285 (libc_feholdexcept): Only define if undefined.
33286 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33287 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33288 (libc_feholdexcept_setroundl): Likewise.
33289 (libc_feholdexcept_setround_53bit): Likewise.
33290 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33291 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33292 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33293 (libc_feupdateenv_53bit): Likewise.
33294 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33295 (libc_feholdexcept): Convert from macro to inline function.
33296 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33297 (libc_fesetenv, libc_feupdateenv): Likewise.
33299 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33300 not previously defined.
33301 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33302 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33303 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33304 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33305 * sysdeps/ieee754/flt-32/math_private.h: New file.
33306 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33307 math_private.h below SET_FLOAT_WORD.
33308 (__isnan, __isinf_ns, __finite): Remove.
33309 (__isnanf, __isinf_nsf, __finitef): Remove.
33311 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33315 2012-03-17 David S. Miller <davem@davemloft.net>
33318 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33321 2012-03-16 David S. Miller <davem@davemloft.net>
33323 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33327 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33329 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33330 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33331 sysdep_routines when subdir is sysvipc.
33332 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33333 __getshmlba helper.
33335 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33337 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33339 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33342 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33344 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33345 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33346 (__lround): Renamed to ...
33347 (__llround): This. Replace long int with long long int.
33348 Define lround functions as aliases of llround functions.
33349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33351 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33353 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33354 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33355 adresses to uintptr_t. Replace "long int" and "unsigned long
33356 int" with "greg_t" on va_arg.
33358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33360 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33361 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33363 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33364 Move e_machine check before EI_CLASS check. Handle x32
33365 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33366 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33367 SKIP_EM_IA_64 and include
33368 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33370 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33371 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33372 (add_system_dir): New macro.
33374 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33375 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33377 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33388 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33390 * math/w_j0f.c (j0f): Likewise.
33392 * math/w_j0l.c (__j0l): Likewise.
33394 * math/w_j1.c (j1): Likewise.
33396 * math/w_j1f.c (j1f): Likewise.
33398 * math/w_j1l.c (__j1l): Likewise.
33400 * math/w_jn.c (jn): Likewise.
33402 * math/w_jnf.c (jnf): Likewise.
33404 * math/w_jnl.c (__jnl): Likewise.
33406 * math/libm-test.inc (j0_test): Add more tests.
33407 (j1_test): Likewise.
33408 (jn_test): Likewise. Add trailing semicolon to existing test.
33409 (y0_test): Likewise.
33410 (y1_test): Likewise.
33411 * sysdeps/i386/fpu/libm-test-ulps: Update.
33412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33417 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33418 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33420 (__tanl): Set errno for infinite argument.
33421 * sysdeps/i386/fpu/mptan.c: Remove.
33422 * sysdeps/i386/fpu/s_tan.S: Likewise.
33423 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33424 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33425 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33426 * math/libm-test.inc (tan_test): Add more tests and enable more
33427 tests for double and long double.
33428 * sysdeps/i386/fpu/libm-test-ulps: Update.
33429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33431 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33433 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33434 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33436 2012-03-16 Roland McGrath <roland@hack.frob.com>
33438 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33439 * configure.in: Use it for both main tree and add-ons.
33440 * configure: Regenerated.
33442 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33444 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33446 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33448 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33452 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33453 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33458 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33459 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33460 != 0 for prec == 2.
33461 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33462 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33463 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33464 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33465 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33466 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33467 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33468 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33469 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33470 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33471 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33472 * math/libm-test.inc (cos_test): Add more tests and enable more
33473 tests for long double.
33474 (sin_test): Likewise.
33475 (sincos_test): Likewise.
33476 * sysdeps/i386/fpu/libm-test-ulps: Update.
33477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33479 2012-03-16 David S. Miller <davem@davemloft.net>
33481 * sysdeps/sparc/fpu/math_private.h: New file.
33483 2012-03-15 David S. Miller <davem@davemloft.net>
33485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33499 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33500 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33502 * sysdeps/sparc/sparc-ifunc.h: New file.
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33548 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33550 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33554 2012-03-15 Andreas Jaeger <aj@suse.de>
33557 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33558 ieee754/flt-32 implementation for sin, cos and sincos.
33559 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33560 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33561 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33562 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33563 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33564 ieee754/flt-32 implementation for tan.
33566 * math/libm-test.inc (cos_test): Enable some large input tests for
33568 (sin_test): Likewise.
33569 (sincos_test): Likewise.
33570 (tan_test): Add tests for large input.
33572 * sysdeps/i386/fpu/libm-test-ulps: Update.
33574 2012-03-15 Andreas Jaeger <aj@suse.de>
33577 * math/libm-test.inc (cos_test): Add more test cases.
33578 (sin_test): Likewise.
33579 (sincos_test): Likewise.
33581 2012-03-15 Andreas Jaeger <aj@suse.de>
33584 * math/libm-test.inc (cos_test): Add a test case for large input
33586 (sin_test): Likewise.
33587 (sincos_test): Likewise.
33589 2012-03-15 Andreas Jaeger <aj@suse.de>
33590 Joseph Myers <joseph@codesourcery.com>
33593 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33594 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33595 * sysdeps/i386/fpu/branred.c: Likewise.
33596 * sysdeps/i386/fpu/dosincos.c: Likewise.
33597 * sysdeps/i386/fpu/mpa.c: Likewise.
33598 * sysdeps/i386/fpu/s_cos.S: Likewise.
33599 * sysdeps/i386/fpu/s_sin.S: Likewise.
33600 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33601 * sysdeps/i386/fpu/sincos32.c: Likewise.
33603 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33605 (libc_feupdateenv_53bit): Define.
33606 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33608 (libc_feupdateenv_53bit): Define.
33610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33611 53 bit (without extend i386 double precision).
33613 * math/libm-test.inc (sincos_test): Add tests for large input.
33617 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33619 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33623 2012-03-15 David S. Miller <davem@davemloft.net>
33625 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33626 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33627 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33628 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33653 fmin/fmax sysdep routines.
33654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33656 2012-03-14 David S. Miller <davem@davemloft.net>
33658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33735 * sysdeps/sparc/configure.in: New file.
33736 * sysdeps/sparc/configure: Generate.
33737 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33738 * configure: Regenerate.
33739 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33740 * config.make.in (have-as-vis3): New.
33741 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33742 available use -Av9d instead of -Av9a.
33743 * sysdeps/sparc/sparc64/Makefile: Likewise.
33744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33759 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33760 fzeros/fnegs to load 0x80000000 into a float register instead of
33762 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33764 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33768 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33769 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33770 ($(inst_includedir)/bits/syscall.h): Remove rule.
33771 ($(objpfx)bits/syscall.d): Include instead of
33772 $(objpfx)syscall-list.d.
33773 (generated): Change syscall-list.h and syscall-list.d to
33774 bits/syscall.h and bits/syscall.d.
33776 2012-03-14 Roland McGrath <roland@hack.frob.com>
33779 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33781 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33784 * math/s_csqrt.c: Include <float.h>.
33785 (__csqrt): Scale large or subnormal inputs.
33786 * math/s_csqrtf.c: Likewise.
33787 * math/s_csqrtl.c: Likewise.
33788 * math/libm-test.inc (csqrt_test): Add more tests.
33789 * sysdeps/i386/fpu/libm-test-ulps: Update.
33790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33793 * math/libm-test.inc (hypot_test): Add more tests.
33795 2012-03-13 David S. Miller <davem@davemloft.net>
33798 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33799 double-precision for the calculation instead of scaling.
33801 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33803 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33804 manipulate bits before adding and subtracting TWO52[sx].
33805 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33806 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33810 2012-03-13 David S. Miller <davem@davemloft.net>
33812 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33813 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33815 rtld-global-offsets.h
33816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33818 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33821 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33823 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33824 'err' in the ifdef scope in which it is actually used.
33826 * nss/nss_db/db-init.c: Include string.h
33828 2012-03-12 David S. Miller <davem@davemloft.net>
33830 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33831 masking out of the most significant byte of random value used.
33832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33833 Fix coding style in previous change.
33835 * sysdeps/unix/sysv/linux/kernel-features.h
33836 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33837 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33839 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33842 2012-03-11 David S. Miller <davem@davemloft.net>
33844 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33845 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33846 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33847 for 'resultvar' otherwise things get truncated on 64-bit.
33849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33850 Fix masking out of the most significant byte of random value used.
33852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33854 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33858 2012-03-09 David S. Miller <davem@davemloft.net>
33860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33861 variables with appropriate CPP guards.
33862 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33863 from the frame pointer, not the stack pointer. Correct layout
33864 comments. Fix test on resulting framesize and the management of
33865 the outregs buffer for pltexit. Preserve floating point return
33866 values across _dl_call_pltexit call.
33867 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33868 framesize and the management of the outregs buffer for pltexit.
33869 Preserve floating point return values across _dl_call_pltexit
33871 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33872 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33873 (la_sparc64_gnu_pltexit): New functions.
33874 (print_exit): Fix format string for return register value.
33876 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33878 * sunrpc/Makefile (others): Add rpcgen.
33879 ($(objpfx)rpcgen): Remove special build rule and dependency on
33881 * sunrpc/rpcgen.c: New file.
33883 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33886 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33887 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33888 * sysdeps/i386/crti.S: Likewise.
33889 * sysdeps/i386/crtn.S: Likewise.
33890 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33891 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33892 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33893 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33894 * sysdeps/sh/crti.S: Likewise.
33895 * sysdeps/sh/crtn.S: Likewise.
33896 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33899 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33901 * locale/programs/locfile-kw.gperf: Likewise.
33902 * locale/programs/charmap-kw.h: Regenerated.
33903 * locale/programs/locfile-kw.h: Likewise.
33906 * intl/plural.y: Replace FSF snail mail address with URL.
33907 * intl/plural.c: Regenerated.
33909 2012-03-09 Richard Henderson <rth@twiddle.net>
33911 * include/math_private.h: Remove file.
33912 * math/math_private.h: Move file ...
33913 * sysdeps/generic/math_private.h: ... here.
33915 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33916 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33917 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33919 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33920 and <math_private.h>.
33921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33926 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33927 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33932 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33933 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33935 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33945 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33946 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33947 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33951 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33955 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33956 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33965 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33966 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33967 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33968 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33970 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33973 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33974 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33975 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33984 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33985 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33986 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33987 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33988 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34000 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34003 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34009 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34012 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34014 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34015 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34016 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34021 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34022 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34023 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34024 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34025 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34026 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34027 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34028 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34029 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34030 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34031 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34032 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34033 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34034 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34035 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34037 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34038 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34039 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34040 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34041 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34042 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34043 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34044 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34045 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34047 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34048 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34049 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34050 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34051 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34052 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34053 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34054 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34055 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34056 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34057 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34058 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34059 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34060 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34062 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34064 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34065 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34066 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34067 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34068 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34069 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34070 * sysdeps/ieee754/k_standard.c: Likewise.
34071 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34075 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34124 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34164 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34167 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34168 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34169 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34184 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34185 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34196 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34198 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34201 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34202 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34203 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34208 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34212 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34216 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34217 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34219 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34220 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34221 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34231 * sysdeps/ieee754/s_lib_version.c: Likewise.
34232 * sysdeps/ieee754/s_matherr.c: Likewise.
34233 * sysdeps/ieee754/s_signgam.c: Likewise.
34234 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34235 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34236 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34237 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34238 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34239 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34240 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34241 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34242 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34243 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34244 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34245 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34246 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34247 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34248 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34249 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34251 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34252 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34256 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34258 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34259 * sunrpc/rpc_main.c: Likewise.
34260 * sunrpc/rpc_svcout.c: Likewise.
34262 2012-03-09 David S. Miller <davem@davemloft.net>
34264 * include/math_private.h: New file.
34266 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34268 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34269 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34270 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34271 from <bits/socket_type.h>.
34272 (enum __socket_type): Don't define here.
34273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34275 bits/socket_type.h.
34278 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34279 checking __USE_GNU.
34281 * Makerules ($(inst_includedir)/%.h): New rule.
34282 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34283 (install-others): Remove variable setting.
34284 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34286 2012-03-08 Richard Henderson <rth@twiddle.net>
34288 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34289 from macro to inline function; merge with the
34290 !__LIBC_INTERNAL_MATH_INLINES version.
34291 (__ieee754_sqrtf): Likewise.
34293 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34294 to inline function.
34295 (__rintf, __floor, __floorf): Likewise.
34297 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34298 macro to inline function.
34299 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34301 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34302 not <math/math_private.h>.
34304 2012-03-08 David S. Miller <davem@davemloft.net>
34306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34308 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34310 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34312 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34314 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34315 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34317 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34319 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34320 be defined individually, they must be defined as a block. Define
34321 S for printing a string instead of hidint the different by using a
34322 macro for adding the 'l'.
34323 * stdio-common/tst-fphex-wide.c: Adjust.
34325 2012-03-07 Marek Polacek <polacek@redhat.com>
34327 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34329 2012-03-08 Marek Polacek <polacek@redhat.com>
34332 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34333 * stdio-common/tst-fphex.c: Define a few macros to make the
34334 test reusable. Use them.
34335 * stdio-common/tst-fphex-wide.c: New file.
34337 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34340 * manual/macros.texi (gnusystems): New macro.
34341 (nongnusystems): Likewise.
34342 (gnulinuxhurdsystems): Likewise.
34343 (gnuhurdsystems): Likewise..
34344 (gnulinuxsystems): Likewise.
34345 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34346 variants of the GNU system, not "GNU system".
34347 * manual/conf.texi: Likewise.
34348 * manual/errno.texi: Likewise. Update example of errno macro
34350 * manual/filesys.texi: Likewise.
34351 (getumask): Document as specific to GNU/Hurd.
34352 * manual/install.texi: Likewise. Reword some references to
34354 * manual/intro.texi: Likewise.
34355 * manual/io.texi: Likewise.
34356 (File Name Portability): Detail which constraints are inapplicable
34357 to all GNU systems and which are only inapplicable to GNU/Hurd.
34358 * manual/job.texi: Likewise.
34359 * manual/llio.texi: Likewise.
34360 (O_NOCTTY): Document as present on GNU/Linux.
34361 * manual/maint.texi: Likewise.
34362 * manual/memory.texi: Likewise.
34363 * manual/pattern.texi: Likewise.
34364 * manual/pipe.texi: Likewise.
34365 * manual/process.texi: Likewise.
34366 * manual/resource.texi: Likewise.
34367 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34369 * manual/setjmp.texi: Likewise.
34370 * manual/signal.texi: Likewise.
34371 * manual/startup.texi: Likewise.
34372 * manual/stdio.texi: Likewise.
34373 * manual/terminal.texi: Likewise.
34374 (ONLCR): Document as POSIX.
34375 (OXTABS): Document availability on GNU/Linux as XTABS.
34376 (ONOEOT): Document availability separately from other bits.
34377 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34378 * manual/time.texi: Likewise.
34379 * manual/users.texi: Likewise.
34380 * INSTALL: Regenerated.
34381 * sysdeps/gnu/errlist.c: Regenerated.
34383 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34384 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34385 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34387 * configure: Regenerated.
34389 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34391 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34392 default includes instead of AC_HEADER_CHECK.
34393 * sysdeps/i386/configure: Regenerated.
34396 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34397 * math/s_cacoshf.c (__cacoshf): Likewise.
34398 * math/s_cacoshl.c (__cacoshl): Likewise.
34399 * math/s_casinh.c (__casinh): Set signs of result from argument.
34400 * math/s_casinhf.c (__casinhf): Likewise.
34401 * math/s_casinhl.c (__casinhl): Likewise.
34402 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34403 (casinh_test): Add more tests.
34404 * sysdeps/i386/fpu/libm-test-ulps: Update.
34405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34409 * po/zh_TW.po: Update from translation team.
34411 * login/Makefile (distribute): Remove variable.
34412 * catgets/Makefile: Likewise.
34413 * mach/Makefile: Likewise.
34414 * malloc/Makefile: Likewise.
34415 * misc/Makefile: Likewise.
34416 * iconv/Makefile: Likewise.
34417 * nscd/Makefile: Likewise.
34418 * hurd/Makefile: Likewise.
34419 * manual/Makefile: Likewise.
34420 * locale/Makefile: Likewise.
34421 * intl/Makefile: Likewise.
34422 * conform/Makefile: Likewise.
34423 * nss/Makefile: Likewise.
34424 * time/Makefile: Likewise.
34425 * soft-fp/Makefile: Likewise.
34426 * dirent/Makefile: Likewise.
34427 * gmon/Makefile: Likewise.
34428 * po/Makefile: Likewise.
34429 * rt/Makefile: Likewise.
34430 * socket/Makefile: Likewise.
34431 * math/Makefile: Likewise.
34432 * signal/Makefile: Likewise.
34433 * debug/Makefile: Likewise.
34434 * elf/Makefile: Likewise.
34435 * timezone/Makefile: Likewise.
34436 * stdlib/Makefile: Likewise.
34437 * iconvdata/Makefile: Likewise.
34438 * sunrpc/Makefile: Likewise.
34439 * io/Makefile: Likewise.
34440 * argp/Makefile: Likewise.
34441 * inet/Makefile: Likewise.
34442 * hesiod/Makefile: Likewise.
34443 * grp/Makefile: Likewise.
34444 * csu/Makefile: Likewise.
34445 * wctype/Makefile: Likewise.
34446 * crypt/Makefile: Likewise.
34447 * libio/Makefile: Likewise.
34448 * string/Makefile: Likewise.
34449 * nis/Makefile: Likewise.
34450 * resolv/Makefile: Likewise.
34451 * stdio-common/Makefile: Likewise.
34452 * wcsmbs/Makefile: Likewise.
34453 * dlfcn/Makefile: Likewise.
34454 * posix/Makefile: Likewise.
34457 * timezone/Makefile: Don't install timezone files, just the programs
34460 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34462 * nss/databases.def: Add missing gshadow entry.
34464 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34466 2012-03-06 Marek Polacek <polacek@redhat.com>
34469 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34470 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34471 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34472 * stdio-common/tst-long-dbl-fphex.c: New file.
34474 2012-03-06 David S. Miller <davem@davemloft.net>
34476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34477 (set_obp_int): New function.
34478 (get_obp_int): New function.
34479 (__get_clockfreq_via_dev_openprom): Likewise.
34480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34481 Avoid unused variable warnings on 'val' and use builtin_expect.
34482 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34484 (INLINE_CLONE_SYSCALL): Likewise.
34486 2012-03-05 David S. Miller <davem@davemloft.net>
34488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34490 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34495 only for |x| >= 40.
34496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34498 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34501 Replace gettimeofday with __vdso_gettimeofday.
34503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34504 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34505 __vdso_clock_gettime and __vdso_getcpu.
34507 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34508 time with __vdso_time.
34510 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34512 * manual/lang.texi (size_t): Note types to which size_t may be
34513 equivalent with the GNU C Library, but do not describe when
34514 differences between them are significant.
34516 2012-03-05 Andreas Jaeger <aj@suse.de>
34518 * sysdeps/i386/fpu/libm-test-ulps: Update.
34520 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34523 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34524 (__ieee754_pow): Save and restore rounding mode and use
34525 round-to-nearest for main computations.
34526 * math/libm-test.inc (pow_test_tonearest): New function.
34527 (pow_test_towardzero): Likewise.
34528 (pow_test_downward): Likewise.
34529 (pow_test_upward): Likewise.
34530 (main): Call the new functions.
34531 * sysdeps/i386/fpu/libm-test-ulps: Update.
34532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34535 * math/libm-test.inc (cosh_test_tonearest): New function.
34536 (cosh_test_towardzero): Likewise.
34537 (cosh_test_downward): Likewise.
34538 (cosh_test_upward): Likewise.
34539 (sinh_test_tonearest): Likewise.
34540 (sinh_test_towardzero): Likewise.
34541 (sinh_test_downward): Likewise.
34542 (sinh_test_upward): Likewise.
34543 (main): Call the new functions.
34544 * sysdeps/i386/fpu/libm-test-ulps: Update.
34545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34547 2012-03-05 Tom de Vries <tom@codesourcery.com>
34549 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34550 default stack guard is set in last bytes.
34551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34553 2012-03-05 Kees Cook <keescook@chromium.org>
34555 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34558 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34559 possibly allocate from heap instead of stack.
34560 * stdio-common/bug-vfprintf-nargs.c: New file.
34561 * stdio-common/Makefile (tests): Add nargs overflow test.
34563 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34567 2012-03-03 Marek Polacek <polacek@redhat.com>
34569 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34570 * math/math_private.h: Likewise.
34571 * stdlib/tst-strtod.c: Likewise.
34572 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34573 * sysdeps/x86_64/bits/atomic.h: Likewise.
34575 2012-03-02 David S. Miller <davem@davemloft.net>
34577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34581 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34582 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34583 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34584 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34586 2012-03-02 Roland McGrath <roland@hack.frob.com>
34589 * manual/examples/README: New file, says the example source files
34590 can be used under GPL>=2.
34591 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34592 line containing just "*/".
34593 * manual/examples/add.c: Add copyright header (GPL>=2).
34594 * manual/examples/argp-ex1.c: Likewise.
34595 * manual/examples/argp-ex2.c: Likewise.
34596 * manual/examples/argp-ex3.c: Likewise.
34597 * manual/examples/argp-ex4.c: Likewise.
34598 * manual/examples/atexit.c: Likewise.
34599 * manual/examples/db.c: Likewise.
34600 * manual/examples/dir.c: Likewise.
34601 * manual/examples/dir2.c: Likewise.
34602 * manual/examples/execinfo.c: Likewise.
34603 * manual/examples/filecli.c: Likewise.
34604 * manual/examples/filesrv.c: Likewise.
34605 * manual/examples/fmtmsgexpl.c: Likewise.
34606 * manual/examples/genpass.c: Likewise.
34607 * manual/examples/inetcli.c: Likewise.
34608 * manual/examples/inetsrv.c: Likewise.
34609 * manual/examples/isockad.c: Likewise.
34610 * manual/examples/longopt.c: Likewise.
34611 * manual/examples/memopen.c: Likewise.
34612 * manual/examples/memstrm.c: Likewise.
34613 * manual/examples/mkfsock.c: Likewise.
34614 * manual/examples/mkisock.c: Likewise.
34615 * manual/examples/mygetpass.c: Likewise.
34616 * manual/examples/pipe.c: Likewise.
34617 * manual/examples/popen.c: Likewise.
34618 * manual/examples/rprintf.c: Likewise.
34619 * manual/examples/search.c: Likewise.
34620 * manual/examples/select.c: Likewise.
34621 * manual/examples/setjmp.c: Likewise.
34622 * manual/examples/sigh1.c: Likewise.
34623 * manual/examples/sigusr.c: Likewise.
34624 * manual/examples/stpcpy.c: Likewise.
34625 * manual/examples/strdupa.c: Likewise.
34626 * manual/examples/strftim.c: Likewise.
34627 * manual/examples/strncat.c: Likewise.
34628 * manual/examples/subopt.c: Likewise.
34629 * manual/examples/swapcontext.c: Likewise.
34630 * manual/examples/termios.c: Likewise.
34631 * manual/examples/testopt.c: Likewise.
34632 * manual/examples/testpass.c: Likewise.
34633 * manual/examples/timeval_subtract.c: Likewise.
34636 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34638 * manual/timeval_subtract.c.texi: ... here, new file.
34640 2012-03-02 David S. Miller <davem@davemloft.net>
34642 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34644 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34647 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34648 (__sin): Save and restore rounding mode and use round-to-nearest
34649 for all computations.
34650 (__cos): Save and restore rounding mode and use round-to-nearest
34651 for all computations.
34652 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34654 (tan): Save and restore rounding mode and use round-to-nearest for
34656 * math/libm-test.inc (cos_test_tonearest): New function.
34657 (cos_test_towardzero): Likewise.
34658 (cos_test_downward): Likewise.
34659 (cos_test_upward): Likewise.
34660 (sin_test_tonearest): Likewise.
34661 (sin_test_towardzero): Likewise.
34662 (sin_test_downward): Likewise.
34663 (sin_test_upward): Likewise.
34664 (tan_test_tonearest): Likewise.
34665 (tan_test_towardzero): Likewise.
34666 (tan_test_downward): Likewise.
34667 (tan_test_upward): Likewise.
34668 (main): Call the new functions.
34669 * sysdeps/i386/fpu/libm-test-ulps: Update.
34670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34673 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34674 small n, then large n, before computing and testing k+n.
34675 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34676 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34680 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34681 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34682 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34683 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34687 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34688 * math/libm-test.inc (scalbn_test): Add more tests.
34689 (scalbln_test): Likewise.
34691 * manual/filesys.texi (mode_t): Describe constraints on size and
34692 signedness, not exact equivalence to a particular type.
34694 (ino64_t): Likewise.
34696 (nlink_t): Likewise.
34697 (blkcnt_t): Likewise.
34698 (blkcnt64_t): Likewise.
34699 * manual/llio.texi (off_t): Likewise.
34702 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34703 (__ieee754_exp): Save and restore rounding mode and use
34704 round-to-nearest for all computations.
34705 * math/libm-test.inc (exp_test_tonearest): New function.
34706 (exp_test_towardzero): Likewise.
34707 (exp_test_downward): Likewise.
34708 (exp_test_upward): Likewise.
34709 (main): Call the new functions.
34710 * sysdeps/i386/fpu/libm-test-ulps: Update.
34711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34713 2012-03-01 Chris Demetriou <cgd@google.com>
34715 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34716 have predictable order.
34718 2012-03-01 David S. Miller <davem@davemloft.net>
34720 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34722 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34723 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34724 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34725 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34727 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34728 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34729 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34731 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34732 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34733 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34734 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34735 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34740 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34743 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34744 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34745 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34746 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34747 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34750 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34751 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34752 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34753 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34756 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34757 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34759 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34760 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34761 * sysdeps/sparc/elf/configure: Regenerated.
34763 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34765 * configure.in (AS, LD): Require binutils 2.20 or later.
34766 * configure: Regenerated.
34767 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34768 as required minimum version.
34769 * INSTALL: Regenerated.
34773 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34774 before squaring exponent.
34775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34776 bottom long double and 27 bits of top long double before squaring
34778 * math/libm-test.inc (erfc_test): Add more tests.
34779 * sysdeps/i386/fpu/libm-test-ulps: Update.
34780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34783 2012-03-01 Kai Tietz <ktietz@redhat.com>
34785 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34786 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34787 containing bit-fields.
34788 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34789 * soft-fp/single.h (_FP_UNION_S): Likewise.
34790 * soft-fp/double.h (_FP_UNION_D): Likewise.
34792 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34795 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34796 not include ../strcmp.S.
34797 [USE_AS_STRNCASECMP_L]: Likewise.
34798 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34799 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34800 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34801 (__strncasecmp_l_ia32): Define as alias to
34802 __strncasecmp_l_nonascii.
34805 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34806 * sysdeps/i386/fpu/libm-test-ulps: Update.
34807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34809 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34812 2012-02-29 Jeff Law <law@redhat.com>
34814 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34815 out of bounds read.
34817 2012-02-29 Marek Polacek <polacek@redhat.com>
34820 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34821 * elf/Makefile: Add rules to run tst-unused-dep.out.
34823 2012-02-28 David S. Miller <davem@davemloft.net>
34825 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34826 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34829 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34830 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34832 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34834 * math/libm-test.inc (llround_test): Move one test from
34835 lround_test. Use TEST_f_L in moved test.
34836 (lround_test): Move misplaced test to llround_test. Add testcase
34839 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34841 * sysdeps/x86_64/fpu/e_expf.S: New file.
34842 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34844 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34847 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34848 of remain_len that may cause incomplete multi-byte character and
34850 * posix/bug-regex33.c: New file.
34851 * posix/Makefile (tests): Add bug-regex33.
34853 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34855 * manual/macros.texi: New file.
34856 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34857 * manual/libc.texinfo: Include macros.texi.
34858 * manual/creatute.texi: Likewise.
34859 * manual/install.texi: Likewise.
34860 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34861 @glibcadj{} in references to the GNU C Library.
34862 * manual/charset.texi: Likewise.
34863 * manual/conf.texi: Likewise.
34864 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34865 when not using those macros.
34866 * manual/creature.texi: Likewise.
34867 * manual/crypt.texi: Likewise.
34868 * manual/errno.texi: Likewise.
34869 * manual/filesys.texi: Likewise.
34870 * manual/header.texi: Likewise.
34871 * manual/install.texi: Likewise.
34872 * manual/intro.texi: Likewise.
34873 * manual/io.texi: Likewise.
34874 * manual/job.texi: Likewise.
34875 * manual/lang.texi: Likewise.
34876 * manual/libc.texiinfo: Likewise.
34877 * manual/llio.texi: Likewise.
34878 * manual/locale.texi: Likewise.
34879 * manual/maint.texi: Likewise.
34880 * manual/math.texi: Likewise.
34881 * manual/memory.texi: Likewise.
34882 * manual/message.texi: Likewise.
34883 * manual/nss.texi: Likewise.
34884 * manual/pattern.texi: Likewise.
34885 * manual/process.texi: Likewise.
34886 * manual/resource.texi: Likewise.
34887 * manual/search.texi: Likewise.
34888 * manual/setjmp.texi: Likewise.
34889 * manual/signal.texi: Likewise.
34890 * manual/socket.texi: Likewise.
34891 * manual/startup.texi: Likewise.
34892 * manual/stdio.texi: Likewise.
34893 * manual/string.texi: Likewise.
34894 * manual/sysinfo.texi: Likewise.
34895 * manual/syslog.texi: Likewise.
34896 * manual/terminal.texi: Likewise.
34897 * manual/time.texi: Likewise.
34898 * manual/users.texi: Likewise.
34899 * INSTALL: Regenerated.
34900 * NOTES: Regenerated.
34901 * sysdeps/gnu/errlist.c: Regenerated.
34903 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34905 * include/dirent.h: Include <dirstream.h> before
34908 2012-02-28 David S. Miller <davem@davemloft.net>
34910 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34911 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34912 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34913 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34915 2012-02-27 David S. Miller <davem@davemloft.net>
34917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34919 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34920 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34923 frame pointer instead of stack pointer relative arg slot.
34924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34925 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34926 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34928 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34931 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34933 2012-02-27 David S. Miller <davem@davemloft.net>
34935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34939 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34940 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34941 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34942 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34944 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34946 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34947 later. Allow versions 5-9.
34948 * configure: Regenerated.
34949 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34950 required minimum version and 4.6 as recommended version. Do not
34951 mention bugs in GCC 2.7 and 2.8.
34952 * INSTALL: Regenerated.
34954 2012-02-27 David S. Miller <davem@davemloft.net>
34956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34962 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34963 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34966 manipulate bits before adding and subtracting TWO112[sx].
34967 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34969 2012-02-27 Roland McGrath <roland@hack.frob.com>
34972 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34973 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34974 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34975 being in POSIX, because they are in 1003.1-2008.
34977 * rt/tst-aio.c: Include <fcntl.h>.
34978 * rt/tst-aio7.c: Likewise.
34979 * rt/tst-aio64.c: Likewise.
34981 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34983 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34985 * manual/install.texi (--with-headers): Describe headers as
34986 interface headers, not private headers.
34987 (Specific advice for GNU/Linux systems): Describe use of headers
34988 from "make headers_install", not private headers from older
34990 * INSTALL: Regenerated.
34991 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34993 * sysdeps/unix/sysv/linux/configure: Regenerated.
34995 * manual/llio.texi (fclean): Remove documentation.
34997 * manual/Makefile (libc-texi-generated): New variable. Include
34999 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35000 $(libc-texi-generated), not duplicated list of files.
35001 (version.texi, stamp-version): New rules.
35002 (realclean): Remove $(libc-texi-generated), not individual files
35003 from that list. Do not remove dir-add.texinfo.
35004 * manual/libc.texinfo: Comment out uses of edition numbers and
35005 references to printed manual. Remove last-updated dates.
35006 (EDITION): Comment out.
35008 (VERSION, UPDATED): Remove.
35009 (version.texi): Include.
35011 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35013 * sysdeps/posix/spawni.c: Include <signal.h>.
35014 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35015 * sysdeps/pthread/aio_fsync.c: Likewise.
35017 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35019 * conform/Makefile (tests): Run only when not cross-compiling and
35020 when fast-check is not defined.
35022 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35023 * conform/data/limits.h-data: Fixes for POSIX2008.
35024 * conform/run-conformtest.sh: Run all tests.
35025 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35027 * include/bits/dlfcn.h: Likewise.
35028 * include/langinfo.h: Likewise.
35029 * include/monetary.h: Likewise.
35030 * include/sys/poll.h: Likewise.
35032 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35034 * posix/spawn.h: Define __need_sigset_t.
35035 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35036 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35037 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35038 to get sigevent_t only.
35039 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35040 only for __USE_GNU.
35041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35042 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35043 process_vm_writev only for __USE_GNU.
35044 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35046 * conform/Makefile: For now ignore errors from run-conformtest.
35047 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35048 POSIX to avoid namespace pollution. Don't prepend headers.
35049 * conform/data/aio.h-data: Fixes for POSIX testing.
35050 * conform/data/fcntl.h-data: Likewise.
35051 * conform/data/glob.h-data: Likewise.
35052 * conform/data/grp.h-data: Likewise.
35053 * conform/data/pthread.h-data: Likewise.
35054 * conform/data/pwd.h-data: Likewise.
35055 * conform/data/signal.h-data: Likewise.
35056 * conform/data/spawn.h-data: Likewise.
35057 * conform/data/stdio.h-data: Likewise.
35058 * conform/data/stdlib.h-data: Likewise.
35059 * conform/data/stropts.h-data: Likewise.
35060 * conform/data/sys/mman.h-data: Likewise.
35061 * conform/data/sys/stat.h-data: Likewise.
35062 * conform/data/sys/types.h-data: Likewise.
35063 * conform/data/sys/wait.h-data: Likewise.
35064 * conform/data/time.h-data: Likewise.
35065 * conform/data/unistd.h-data: Likewise.
35066 * conform/data/utime.h-data: Likewise.
35068 * io/sys/stat.h: fchmod was always in POSIX.
35069 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35070 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35071 * rt/aio.h: Define __need_timespec before including <time.h>.
35072 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35073 struct. Add forward declaration of pthread_attr_t and use it in
35075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35077 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35078 always remove CLK_TCK definition.
35080 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35082 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35084 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35086 * conform/run-conformtest.sh: New file.
35087 * conform/Makefile: Run run-conformtest for tests.
35088 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35091 * conform/data/uchar.h-data: New file.
35092 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35093 * conform/data/arpa/inet.h-data: Likewise.
35094 * conform/data/assert.h-data: Likewise.
35095 * conform/data/complex.h-data: Likewise.
35096 * conform/data/cpio.h-data: Likewise.
35097 * conform/data/ctype.h-data: Likewise.
35098 * conform/data/dirent.h-data: Likewise.
35099 * conform/data/dlfcn.h-data: Likewise.
35100 * conform/data/errno.h-data: Likewise.
35101 * conform/data/fcntl.h-data: Likewise.
35102 * conform/data/float.h-data: Likewise.
35103 * conform/data/fmtmsg.h-data: Likewise.
35104 * conform/data/fnmatch.h-data: Likewise.
35105 * conform/data/ftw.h-data: Likewise.
35106 * conform/data/glob.h-data: Likewise.
35107 * conform/data/grp.h-data: Likewise.
35108 * conform/data/iconv.h-data: Likewise.
35109 * conform/data/inttypes.h-data: Likewise.
35110 * conform/data/langinfo.h-data: Likewise.
35111 * conform/data/libgen.h-data: Likewise.
35112 * conform/data/limits.h-data: Likewise.
35113 * conform/data/locale.h-data: Likewise.
35114 * conform/data/math.h-data: Likewise.
35115 * conform/data/monetary.h-data: Likewise.
35116 * conform/data/mqueue.h-data: Likewise.
35117 * conform/data/ndbm.h-data: Likewise.
35118 * conform/data/net/if.h-data: Likewise.
35119 * conform/data/netdb.h-data: Likewise.
35120 * conform/data/netinet/in.h-data: Likewise.
35121 * conform/data/nl_types.h-data: Likewise.
35122 * conform/data/poll.h-data: Likewise.
35123 * conform/data/pthread.h-data: Likewise.
35124 * conform/data/pwd.h-data: Likewise.
35125 * conform/data/regex.h-data: Likewise.
35126 * conform/data/sched.h-data: Likewise.
35127 * conform/data/search.h-data: Likewise.
35128 * conform/data/semaphore.h-data: Likewise.
35129 * conform/data/setjmp.h-data: Likewise.
35130 * conform/data/signal.h-data: Likewise.
35131 * conform/data/spawn.h-data: Likewise.
35132 * conform/data/stdarg.h-data: Likewise.
35133 * conform/data/stdio.h-data: Likewise.
35134 * conform/data/stdlib.h-data: Likewise.
35135 * conform/data/string.h-data: Likewise.
35136 * conform/data/strings.h-data: Likewise.
35137 * conform/data/stropts.h-data: Likewise.
35138 * conform/data/sys/ipc.h-data: Likewise.
35139 * conform/data/sys/mman.h-data: Likewise.
35140 * conform/data/sys/msg.h-data: Likewise.
35141 * conform/data/sys/resource.h-data: Likewise.
35142 * conform/data/sys/select.h-data: Likewise.
35143 * conform/data/sys/sem.h-data: Likewise.
35144 * conform/data/sys/shm.h-data: Likewise.
35145 * conform/data/sys/socket.h-data: Likewise.
35146 * conform/data/sys/stat.h-data: Likewise.
35147 * conform/data/sys/statvfs.h-data: Likewise.
35148 * conform/data/sys/time.h-data: Likewise.
35149 * conform/data/sys/timeb.h-data: Likewise.
35150 * conform/data/sys/times.h-data: Likewise.
35151 * conform/data/sys/types.h-data: Likewise.
35152 * conform/data/sys/uio.h-data: Likewise.
35153 * conform/data/sys/un.h-data: Likewise.
35154 * conform/data/sys/utsname.h-data: Likewise.
35155 * conform/data/sys/wait.h-data: Likewise.
35156 * conform/data/syslog.h-data: Likewise.
35157 * conform/data/tar.h-data: Likewise.
35158 * conform/data/termios.h-data: Likewise.
35159 * conform/data/utime.h-data: Likewise.
35160 * conform/data/utmpx.h-data: Likewise.
35161 * conform/data/varargs.h-data: Likewise.
35162 * conform/data/wchar.h-data: Likewise.
35163 * conform/data/wctype.h-data: Likewise.
35164 * conform/data/wordexp.h-data: Likewise.
35166 * include/stropts.h: New file.
35167 * include/uchar.h: New file.
35168 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35169 * include/assert.h: Likewise.
35170 * include/ctype.h: Likewise.
35171 * include/dirent.h: Likewise.
35172 * include/dlfcn.h: Likewise.
35173 * include/fcntl.h: Likewise.
35174 * include/fnmatch.h: Likewise.
35175 * include/glob.h: Likewise.
35176 * include/grp.h: Likewise.
35177 * include/libio.h: Likewise.
35178 * include/locale.h: Likewise.
35179 * include/math.h: Likewise.
35180 * include/net/if.h: Likewise.
35181 * include/netdb.h: Likewise.
35182 * include/netinet/in.h: Likewise.
35183 * include/pthread.h: Likewise.
35184 * include/pwd.h: Likewise.
35185 * include/regex.h: Likewise.
35186 * include/sched.h: Likewise.
35187 * include/search.h: Likewise.
35188 * include/setjmp.h: Likewise.
35189 * include/signal.h: Likewise.
35190 * include/stdio.h: Likewise.
35191 * include/stdlib.h: Likewise.
35192 * include/string.h: Likewise.
35193 * include/sys/cdefs.h: Likewise.
35194 * include/sys/mman.h: Likewise.
35195 * include/sys/msg.h: Likewise.
35196 * include/sys/resource.h: Likewise.
35197 * include/sys/select.h: Likewise.
35198 * include/sys/socket.h: Likewise.
35199 * include/sys/stat.h: Likewise.
35200 * include/sys/statvfs.h: Likewise.
35201 * include/sys/time.h: Likewise.
35202 * include/sys/times.h: Likewise.
35203 * include/sys/uio.h: Likewise.
35204 * include/sys/utsname.h: Likewise.
35205 * include/sys/wait.h: Likewise.
35206 * include/termios.h: Likewise.
35207 * include/time.h: Likewise.
35208 * include/ulimit.h: Likewise.
35209 * include/unistd.h: Likewise.
35210 * include/utime.h: Likewise.
35211 * include/wchar.h: Likewise.
35212 * include/wctype.h: Likewise.
35213 * include/wordexp.h: Likewise.
35215 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35217 * time/time.h: TIME_UTC must be a macro.
35218 Make timespec_get available for ISO C11 only as well.
35220 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35222 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35223 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35225 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35227 * configure.in: Use -o not -a in test for unsupported multi-arch.
35229 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35231 * manual/texinfo.tex: Update to version 2012-01-19.16.
35233 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35235 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35237 2012-02-24 Roland McGrath <roland@hack.frob.com>
35240 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35241 * manual/fdl-1.3.texi: New file.
35242 * manual/fdl-1.1.texi: File removed.
35245 * manual/libc.texinfo (FDL_VERSION): New @set.
35246 Use it for mention of FDL in cover text.
35247 (Documentation License): Use it in @include file name.
35249 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35250 Roland McGrath <roland@hack.frob.com>
35253 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35254 (not LONG_LONG_MAX and LONG_LONG_MIN.
35255 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35256 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35258 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35260 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35264 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35265 manipulate bits before adding and subtracting TWO23[sx].
35266 * math/libm-test.inc (nearbyint_test): Add more tests.
35268 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35271 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35272 bits before adding and subtracting TWO23[sx].
35273 * math/libm-test.inc (rint_test): Add more tests.
35274 (rint_test_tonearest): Likewise.
35275 (rint_test_towardzero): Likewise.
35276 (rint_test_downward): Likewise.
35277 (rint_test_upward: Likewise.
35279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35282 * include/stdc-predef.h: New file. Extracted from features.h.
35283 * include/features.h: Include stdc-predef.h.
35284 * Makefile (headers): Add stdc-predef.h.
35285 * CONFORMANCE (Compiler limitations): Update.
35287 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35289 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35291 2012-02-21 David S. Miller <davem@davemloft.net>
35293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35294 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35296 2012-02-20 David S. Miller <davem@davemloft.net>
35298 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35299 using a normal save/restore sequence, rather than allocating a
35300 dummy stack frame just to store a frame pointer and restore.
35301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35303 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35305 * manual/install.texi: Fix stray word in line-wrapped comment.
35307 2012-02-20 David S. Miller <davem@davemloft.net>
35309 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35310 both binutils and gcc support GOTDATA.
35312 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35313 "rd %pc" in the PIC register setup sequences.
35315 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35316 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35317 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35318 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35319 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35324 (SYSCALL_ERROR_HANDLER): Likewise.
35325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35328 (SYSCALL_ERROR_HANDLER): Likewise.
35330 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35331 (HAVE_GCC_GOTDATA): New.
35332 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35333 relocation support in both binutils and gcc.
35334 * sysdeps/sparc/elf/configure: Regenerate.
35336 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35337 * sysdeps/sparc/sparc32/elf/configure: Delete.
35338 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35339 * sysdeps/sparc/sparc64/elf/configure: Delete.
35340 * sysdeps/sparc/elf/configure.in: New file.
35341 * sysdeps/sparc/elf/configure: Generate.
35343 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35344 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35345 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35346 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35347 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35349 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35351 * manual/install.texi: Do not mention specific glibc version
35353 * manual/libc.texinfo (VERSION, UPDATED): Update.
35354 (@copying): Use @copyright{} and range of years.
35356 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35359 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35360 [crti.S not in sysdirs] (generated): Do not append.
35361 [crti.S not in sysdirs] (omit-deps): Likewise.
35362 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35363 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35364 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35365 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35366 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35368 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35369 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35370 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35371 * csu/defs.awk: Remove file.
35372 * sysdeps/generic/initfini.c: Likewise.
35373 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35375 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35378 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35380 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35381 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35382 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35385 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35387 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35388 (__EPOLL_PACKED): Define to empty if not defined by
35390 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35394 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35396 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35397 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35398 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35399 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35401 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35405 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35407 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35410 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35414 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35417 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35419 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35421 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35422 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35424 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35426 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35429 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35431 * math/w_acos.c: Use non-signaling floating-point comparisons.
35432 * math/w_acosf.c: Likewise.
35433 * math/w_acosh.c: Likewise.
35434 * math/w_acoshf.c: Likewise.
35435 * math/w_acoshl.c: Likewise.
35436 * math/w_acosl.c: Likewise.
35437 * math/w_asin.c: Likewise.
35438 * math/w_asinf.c: Likewise.
35439 * math/w_asinl.c: Likewise.
35440 * math/w_atanh.c: Likewise.
35441 * math/w_atanhf.c: Likewise.
35442 * math/w_atanhl.c: Likewise.
35443 * math/w_exp2.c: Likewise.
35444 * math/w_exp2f.c: Likewise.
35445 * math/w_exp2l.c: Likewise.
35446 * math/w_j0.c: Likewise.
35447 * math/w_j0f.c: Likewise.
35448 * math/w_j0l.c: Likewise.
35449 * math/w_j1.c: Likewise.
35450 * math/w_j1f.c: Likewise.
35451 * math/w_j1l.c: Likewise.
35452 * math/w_jn.c: Likewise.
35453 * math/w_jnf.c: Likewise.
35454 * math/w_log.c: Likewise.
35455 * math/w_log10.c: Likewise.
35456 * math/w_log10f.c: Likewise.
35457 * math/w_log10l.c: Likewise.
35458 * math/w_log2.c: Likewise.
35459 * math/w_log2f.c: Likewise.
35460 * math/w_log2l.c: Likewise.
35461 * math/w_logf.c: Likewise.
35462 * math/w_logl.c: Likewise.
35463 * math/w_sqrt.c: Likewise.
35464 * math/w_sqrtf.c: Likewise.
35465 * math/w_sqrtl.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35468 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35469 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35470 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35472 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35475 * manual/string.texi (strnlen): Use correct parameter name in
35476 equivalent expression.
35478 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35481 * manual/users.texi (seteuid): Consistently use neweuid for
35484 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35487 * manual/nss.texi (Services in the NSS configuration): Correct
35488 list of services in example configuration file.
35490 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35493 * manual/arith.texi: Remove statements about negative zero
35494 behaving identically to zero.
35496 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35499 * manual/install.texi: Do not document upgrading from libc5.
35501 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35504 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35506 2012-02-18 David S. Miller <davem@davemloft.net>
35508 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35509 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35510 %o7 across the call.
35511 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35514 SETUP_PIC_REG_LEAF.
35515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35516 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35517 * sysdeps/sparc/crtn.S: Likewise.
35519 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35521 * aout/Makefile: Remove.
35523 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35526 * manual/examples/argp-ex1.c (main): Format definition in GNU
35528 * manual/examples/argp-ex2.c (main): Likewise.
35529 * manual/examples/argp-ex3.c (main): Likewise.
35530 * manual/examples/argp-ex4.c (main): Likewise.
35531 * manual/examples/longopt.c (main): Use new-style prototype
35533 * manual/examples/strncat.c (main): Specify return type and use
35534 (void) for arguments.
35535 * manual/examples/subopt.c (main): Use char **argv argument.
35537 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35540 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35543 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35546 * manual/string.texi (strchr): Change when strchrnul is
35549 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35552 * manual/locale.texi (setlocale): Document LOCPATH.
35554 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35557 * manual/process.texi (execle): Move @dots{} before last argument.
35559 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35562 * manual/charset.texi (Generic Charset Conversion): Fix typo
35563 (LC_TYPE -> LC_CTYPE).
35565 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35568 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35569 (scalbnf): Likewise.
35570 (scalbnl): Likewise.
35571 (scalbln): Likewise.
35572 (scalblnf): Likewise.
35573 (scalblnl): Likewise.
35574 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35575 (vwarnx): Likewise.
35578 * manual/filesys.texi (telldir): Use braces around return type.
35579 * manual/llio.texi (mmap): Add space after comma.
35580 (mmap64): Likewise.
35581 * manual/math.texi (jn): Use @var{} on parameter names.
35587 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35589 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35591 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35592 (sched_get_priority_max): Likewise.
35593 * manual/signal.texi (sigvec): Add space after comma.
35594 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35596 (if_indextoname): Likewise.
35597 (if_freenameindex): Likewise.
35598 (sendto): Use ',' instead of '.' in prototype.
35599 * manual/startup.texi (syscall): Use @dots{} instead of literal
35601 * manual/stdio.texi (__fpending): Separate initial words of
35602 paragraph from @deftypefun line.
35603 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35605 (vsyslog): Use @var{} on parameter names.
35606 * manual/terminal.texi (stty): Use @var{} on parameter names.
35607 * manual/users.texi (getutmp): Use @var{} on parameter names.
35608 (getutmpx): Likewise.
35610 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35613 * manual/stdio.texi (fopen): Fix typos in description of
35616 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35619 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35620 get clock_id definition.
35622 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35625 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35626 (madvise): Cast every argument to void on its own.
35628 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35631 * manual/startup.texi (Exit Status): Fix typo.
35633 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35636 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35637 * manual/examples/argp-ex2.c: Likewise.
35638 * manual/examples/argp-ex3.c: Likewise.
35640 2012-02-16 Richard Henderson <rth@redhat.com>
35642 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35643 * sysdeps/s390/s390-32/initfini.c: Remove.
35644 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35645 * sysdeps/s390/s390-64/initfini.c: Remove.
35647 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35649 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35650 compiler output for sysdeps/generic/initfini.c.
35651 * sysdeps/sh/elf/initfini.c: Remove file.
35653 2012-02-16 David S. Miller <davem@davemloft.net>
35656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35658 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35659 * sysdeps/sparc/crti.S: New file.
35660 * sysdeps/sparc/crtn.S: New file.
35661 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35662 * sysdeps/sparc/sparc64/Makefile: Likewise.
35664 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35667 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35669 2012-02-15 Roland McGrath <roland@hack.frob.com>
35672 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35674 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35675 (write, read, close): Likewise.
35676 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35678 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35680 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35681 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35682 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35683 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35685 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35689 2012-02-14 Marek Polacek <polacek@redhat.com>
35691 * sysdeps/x86_64/crti.S: New file.
35692 * sysdeps/x86_64/crtn.S: New file.
35693 * sysdeps/x86_64/elf/initfini.c: Remove file.
35695 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35697 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35698 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35699 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35700 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35702 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35706 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35708 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35709 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35710 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35711 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35713 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35717 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35719 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35720 __feraiseexcept instead of feraiseexcept.
35722 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35723 nanosleep invocations.
35724 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35725 strings, and add error checking for a nanosleep invocations.
35727 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35729 Replace FSF snail mail address with URLs, as per GNU coding standards.
35730 Most of the snail mail addresses were wrong anyway, and omitting
35731 them makes the source code easier to maintain. Almost all of the
35732 changes are to license notices and to locale LC_IDENTIFICATION
35733 addresses, except for this one:
35734 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35735 not its snail mail address.
35737 2012-02-09 Richard Henderson <rth@twiddle.net>
35739 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35740 of kernel-features.h.
35742 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35744 2012-02-08 Marek Polacek <polacek@redhat.com>
35746 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35747 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35748 * sysdeps/gnu/_G_config.h: Likewise.
35749 * sysdeps/generic/_G_config.h: Likewise.
35751 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35753 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35757 * sysdeps/powerpc/powerpc32/crti.S: New file.
35758 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35759 * sysdeps/powerpc/powerpc64/crti.S: New file.
35760 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35762 * Makeconfig (have-initfini): Don't set.
35763 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35764 * configure.in (nopic_initfini): Don't substitute.
35765 * config.h.in (HAVE_INITFINI): Don't #undef.
35766 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35767 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35769 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35771 Support crti.S and crtn.S provided directly by architectures.
35772 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35773 [crti.S in sysdirs] (omit-deps): Likewise.
35774 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35775 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35776 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35777 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35778 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35779 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35780 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35781 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35782 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35783 compiler output for sysdeps/generic/initfini.c.
35784 * sysdeps/i386/elf/Makefile: Remove file.
35785 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35787 2012-02-07 Marek Polacek <polacek@redhat.com>
35789 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35790 * sysdeps/gnu/_G_config.h: Likewise.
35791 * sysdeps/mach/hurd/_G_config.h: Likewise.
35793 2012-02-07 Marek Polacek <polacek@redhat.com>
35795 * math/Makefile (tests): Add tst-CMPLX2.
35796 * math/tst-CMPLX2.c: New file.
35798 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35800 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35802 * math/libm-test.inc (jn_test): Add missing L suffix.
35804 2012-02-06 Marek Polacek <polacek@redhat.com>
35806 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35807 * sysdeps/i386/fpu/e_powf.S: Likewise.
35808 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35809 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35810 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35811 * sysdeps/i386/fpu/e_pow.S: Likewise.
35812 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35813 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35814 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35815 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35816 * sysdeps/i386/fpu/e_log2.S: Likewise.
35817 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35818 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35819 * sysdeps/i386/fpu/e_powl.S: Likewise.
35820 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35822 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35823 * sysdeps/i386/fpu/e_logl.S: Likewise.
35824 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35825 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35826 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35827 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35829 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35830 * sysdeps/i386/fpu/e_log.S: Likewise.
35831 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35833 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35834 * sysdeps/i386/fpu/e_logf.S: Likewise.
35835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35836 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35837 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35838 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35839 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35840 * sysdeps/i386/fpu/e_log10.S: Likewise.
35841 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35842 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35843 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35844 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35845 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35846 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35847 * sysdeps/i386/asm-syntax.h: Likewise.
35848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35851 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35852 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35854 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35855 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35856 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35857 * sysdeps/powerpc/sysdep.h: Likewise.
35858 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35859 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35861 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35864 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35866 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35868 * sysdeps/i386/sysdep.h: Include <features.h>.
35869 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35872 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35874 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35876 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35879 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35881 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35882 (SETUP_PIC_REG): Use GET_PC_THUNK.
35883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35886 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35888 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35889 for non-PIC compilation.
35890 (SETUP_PIC_REG): Add .p2align directive.
35891 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35892 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35935 * math/tst-CMPLX.c: Include <stdio.h>.
35937 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35939 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35941 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35942 * sysdeps/sparc/bits/mathdef.h: Likewise.
35944 2012-01-31 Marek Polacek <polacek@redhat.com>
35946 * libio/libio.h: Don't define _PARAMS.
35947 * locale/programs/config.h: Don't define PARAMS.
35948 * stdlib/strtol_l.c: Likewise.
35949 (__strtol_l): Remove PARAMS from the prototype.
35951 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35953 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35954 names. Just use the correct names. Remove unnecessary wrapper
35956 * malloc/arena.c: Likewise.
35957 * malloc/hooks.c: Likewise.
35959 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35960 ARENA_TEST says not to. Simplify test for creation of a new arena.
35961 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35963 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35965 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35967 (update_get_addr): New function.
35968 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35969 GET_ADDR_MODULE parameter.
35971 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35973 * crypt/cert.c: Remove __STDC__ conditionals.
35974 * crypt/crypt-entry.c: Likewise.
35975 * crypt/crypt_util.c: Likewise.
35976 * libio/filedoalloc.c: Likewise.
35977 * libio/fileops.c: Likewise.
35978 * libio/genops.c: Likewise.
35979 * libio/iofclose.c: Likewise.
35980 * libio/iofdopen.c: Likewise.
35981 * libio/iofopen.c: Likewise.
35982 * libio/iofopen64.c: Likewise.
35983 * libio/iogetdelim.c: Likewise.
35984 * libio/iopopen.c: Likewise.
35985 * libio/obprintf.c: Likewise.
35986 * libio/oldfileops.c: Likewise.
35987 * libio/oldiofclose.c: Likewise.
35988 * libio/oldiofdopen.c: Likewise.
35989 * libio/oldiofopen.c: Likewise.
35990 * libio/oldiopopen.c: Likewise.
35991 * libio/wfiledoalloc.c: Likewise.
35992 * libio/wgenops.c: Likewise.
35993 * locale/programs/xmalloc.c: Likewise.
35994 * misc/syslog.c: Likewise.
35995 * stdio-common/xbug.c: Likewise.
35996 * string/memchr.c: Likewise.
35997 * string/memcmp.c: Likewise.
35998 * string/memrchr.c: Likewise.
35999 * string/rawmemchr.c: Likewise.
36000 * sysdeps/posix/getcwd.c: Likewise.
36001 * time/strftime_l.c: Likewise.
36003 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36005 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36006 * config.make.in (config-cflags-sse2avx): Define.
36007 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36010 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36012 * scripts/config.guess: Update from upstream config git repository.
36013 * scripts/config.sub: Likewise.
36015 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36017 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36019 (R_TILEPRO_*, R_TILEGX_*): New macros.
36021 * scripts/firstversions.awk: Fix bug in version range handling.
36023 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36025 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36027 * include/sys/epoll.h: New file.
36028 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36031 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36033 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36034 Avoid unnecessary __WORDSIZE == 64 test.
36035 (fmaxf): Use VEX format if possible.
36040 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36041 * math/math_private.h: Remove libc_fegetround* and
36043 * sysdeps/i386/configure.in: Check for -msse2avx.
36044 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36045 also if SSE2AVX is defined.
36046 Remove libc_fegetround* and libc_fesetround*.
36047 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36048 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36053 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36054 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36057 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36059 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36061 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36063 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36065 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36068 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36070 * Makeconfig (libm): Define.
36071 * elf/Makefile: Add rules to build and run tst-relsort1.
36072 * elf/tst-relsort1.c: New file.
36073 * elf/tst-relsort1mod1.c: New file.
36074 * elf/tst-relsort1mod2.c: New file.
36076 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36078 * math/s_ldexp.c: Remove __STDC__ conditionals.
36079 * math/s_ldexpf.c: Likewise.
36080 * math/s_ldexpl.c: Likewise.
36081 * math/s_nextafter.c: Likewise.
36082 * math/s_nexttowardf.c: Likewise.
36083 * math/s_significand.c: Likewise.
36084 * math/s_significandf.c: Likewise.
36085 * math/s_significandl.c: Likewise.
36086 * math/w_jnl.c: Likewise.
36087 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36088 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36089 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36090 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36091 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36093 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36094 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36095 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36096 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36097 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36108 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36115 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36116 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36117 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36118 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36119 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36120 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36121 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36124 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36125 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36126 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36127 * sysdeps/ieee754/k_standard.c: Likewise.
36128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36132 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36137 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36139 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36146 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36147 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36151 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36152 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36173 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36177 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36186 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36188 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36189 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36190 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36191 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36192 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36193 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36194 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36195 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36196 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36197 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36201 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36203 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36204 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36205 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36206 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36207 * sysdeps/ieee754/s_matherr.c: Likewise.
36208 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36209 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36213 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36215 * crypt/md5.h: Remove __STDC__ conditionals.
36216 * libio/libioP.h: Likewise.
36217 * locale/programs/config.h: Likewise.
36218 * sysdeps/generic/sysdep.h: Likewise.
36219 * sysdeps/i386/asm-syntax.h: Likewise.
36220 * sysdeps/s390/asm-syntax.h: Likewise.
36221 * sysdeps/unix/sysdep.h: Likewise.
36222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36225 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36227 * libio/libio.h: Remove __STDC__ conditionals.
36228 * malloc/obstack.h: Likewise.
36229 * math/complex.h: Likewise.
36230 * math/math.h: Likewise.
36231 * sysdeps/generic/_G_config.h: Likewise.
36232 * sysdeps/gnu/_G_config.h: Likewise.
36233 * sysdeps/mach/hurd/_G_config.h: Likewise.
36234 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36236 * sysdeps/sparc/bits/mathdef.h: Likewise.
36238 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36241 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36242 Clean up HAS_* macros.
36243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36244 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36249 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36254 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36256 * elf/tst-unique3.cc (gets): Remove declaration.
36257 * elf/tst-unique3lib.cc (gets): Likewise.
36258 * elf/tst-unique3lib2.cc (gets): Likewise.
36259 * elf/tst-unique4.cc (gets): Likewise.
36261 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36263 * include/stdio.h: Add C++ protection. Add gets declarations and
36265 * debug/tst-chk1.c: Don't declare gets here.
36266 * stdio-common/tst-gets.c: Likewise.
36268 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36270 * posix/glob: Remove directory.
36272 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36274 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36276 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36278 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36279 of the non-standard EPFNOSUPPORT.
36281 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36283 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36284 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36285 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36287 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36289 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36291 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36293 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36295 * nscd/grpcache.c (cache_addgr): Likewise.
36296 * nscd/hstcache.c (cache_addhst): Likewise.
36297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36298 * nscd/pwdcache.c (cache_addpw): Likewise.
36299 * nscd/servicescache.c (cache_addserv): Likewise.
36301 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36303 * malloc/malloc.c: Various cleanups.
36304 * malloc/hooks.c: Likewise.
36306 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36307 * stdlib/bug-fmtmsg1.c: New file.
36309 * stdlib/fmtmsg.c (init): Add missing unlock.
36310 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36312 2012-01-12 Marek Polacek <polacek@redhat.com>
36314 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36317 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36319 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36320 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36321 macro to ensure uniqueness of label name.
36322 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36323 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36325 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36327 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36329 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36330 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36331 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36334 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36336 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36338 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36339 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36342 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36344 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36345 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36349 * math/bits/math-finite.h: Add ldexp support.
36351 2012-01-10 Marek Polacek <polacek@redhat.com>
36353 * locale/programs/localedef.h (show_archive_content): Add noreturn
36356 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36358 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36360 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36362 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36364 * io/Makefile (headers): Add bits/poll2.h.
36366 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36369 typo #include statement.
36371 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36373 * include/sys/cdefs.h: Define __attribute_alloc_size.
36374 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36375 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36376 * elf/pldd.c: Likewise.
36377 * iconv/iconv_charmap.c: Likewise.
36378 * iconv/iconvconfig.c: Likewise.
36379 * iconv/strtab.c: Likewise.
36380 * locale/programs/locale.c: Likewise.
36381 * locale/programs/localedef.h: Likewise.
36382 * locale/programs/simple-hash.c: Likewise.
36383 * nscd/nscd.h: Likewise.
36384 * nss/makedb.c: Likewise.
36385 * sysdeps/generic/ldconfig.h: Likewise.
36386 * locale/programs/localedef.c: Remove xmalloc prototype.
36387 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36389 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36394 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36396 * math/Makefile (tests): Add tst-CMPLX.
36397 * math/tst-CMPLX.c: New file.
36399 * math/complex.h (CMPLXL): Fix typo.
36401 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36402 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36404 * debug/tst-chk1.c: Add poll and ppoll tests.
36405 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36406 * include/sys/poll.h: Add hidden proto for ppoll.
36407 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36408 * sysdeps/mach/hurd/ppoll.c: Likewise.
36409 * io/ppoll.c: Likewise.
36410 * debug/poll_chk.c: New file.
36411 * debug/ppoll_chk.c: New file.
36412 * include/bits/poll2.h: New file.
36413 * io/bits/poll2.h: New file.
36416 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36418 * configure.in: static is always set to yes. Remove.
36419 * config.make.in: Don't set build-static.
36420 * Makeconfig: Remove use of build-static.
36421 * dlfcn/Makefile: Likewise.
36422 * elf/Makefile: Likewise.
36423 * math/Makefile: Likewise.
36424 * misc/Makefile: Likewise.
36425 * nptl/Makefile: Likewise.
36426 * sysdeps/mach/hurd/Makefile: Likewise.
36428 * configure.in: PWD_P is not used anymore.
36429 * config.make.in: Remove PWD_P entry.
36431 * configure.in: Remove last remnants of RANLIB.
36432 No need to check for signed size_t anymore.
36433 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36435 Remove __builtin_expect test because we require at least gcc 3.4.
36436 * aclocal.m4: Likewise.
36438 * wcsmbs/mbrtoc16.c: Implement using towc function.
36439 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36440 * wcsmbs/wcsmbsload.c: Likewise.
36441 * iconv/gconv_simple.c: Likewise.
36442 * iconv/gconv_int.h: Likewise.
36443 * iconv/gconv_builtin.h: Likewise.
36444 * iconv/iconv_prog.c: Remove CHAR16 handling.
36446 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36448 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36450 * configure.in: Remove --with-elf and --enable-bounded options.
36451 Dont set base_machine for ia64. More non-ELF conditions removed.
36452 Remove testing and setting of leading underscore information.
36453 * config.make.in (build-bounded): Set to no.
36454 * config.h.in: Remove NO_UNDERSCORES entry.
36455 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36457 * csu/start.c: Remove !NO_UNDERSCORE code.
36458 * locale/localeinfo.h: Likewise.
36459 * sysdeps/generic/machine-gmon.h: Likewise.
36460 * sysdeps/generic/sysdep.h: Likewise.
36461 * sysdeps/i386/sysdep.h: Likewise.
36462 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36463 * sysdeps/mach/sysdep.h: Likewise.
36464 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36466 * sysdeps/sh/sysdep.h: Likewise.
36467 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36468 * sysdeps/unix/i386/sysdep.S: Likewise.
36469 * sysdeps/unix/sparc/start.c: Likewise.
36470 * sysdeps/unix/sparc/sysdep.S: Likewise.
36471 * sysdeps/unix/sparc/sysdep.h: Likewise.
36472 * sysdeps/unix/start.c: Likewise.
36473 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36474 * sysdeps/x86_64/sysdep.h: Likewise.
36476 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36479 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36481 * argp/argp-fmtstream.h: Use const instead __const.
36482 * argp/argp.h: Likewise.
36483 * assert/assert.h: Likewise.
36484 * bits/fenv.h: Likewise.
36485 * bits/sched.h: Likewise.
36486 * bits/sigset.h: Likewise.
36487 * bits/sigthread.h: Likewise.
36488 * catgets/nl_types.h: Likewise.
36489 * conform/data/pthread.h-data: Likewise.
36490 * crypt/crypt-private.h: Likewise.
36491 * crypt/crypt.h: Likewise.
36492 * crypt/crypt_util.c: Likewise.
36493 * ctype/ctype.h: Likewise.
36494 * debug/execinfo.h: Likewise.
36495 * debug/mbsnrtowcs_chk.c: Likewise.
36496 * debug/mbsrtowcs_chk.c: Likewise.
36497 * debug/wcsnrtombs_chk.c: Likewise.
36498 * debug/wcsrtombs_chk.c: Likewise.
36499 * debug/wcstombs_chk.c: Likewise.
36500 * dirent/dirent.h: Likewise.
36501 * dlfcn/dlfcn.h: Likewise.
36502 * elf/neededtest4.c: Likewise.
36503 * grp/grp.h: Likewise.
36504 * gshadow/gshadow.h: Likewise.
36505 * iconv/gconv.h: Likewise.
36506 * iconv/gconv_int.h: Likewise.
36507 * iconv/gconv_simple.c: Likewise.
36508 * iconv/iconv.h: Likewise.
36509 * iconv/loop.c: Likewise.
36510 * iconv/skeleton.c: Likewise.
36511 * include/aio.h: Likewise.
36512 * include/aliases.h: Likewise.
36513 * include/argz.h: Likewise.
36514 * include/arpa/inet.h: Likewise.
36515 * include/assert.h: Likewise.
36516 * include/dirent.h: Likewise.
36517 * include/dlfcn.h: Likewise.
36518 * include/execinfo.h: Likewise.
36519 * include/fcntl.h: Likewise.
36520 * include/fenv.h: Likewise.
36521 * include/glob.h: Likewise.
36522 * include/grp.h: Likewise.
36523 * include/libintl.h: Likewise.
36524 * include/mntent.h: Likewise.
36525 * include/netdb.h: Likewise.
36526 * include/pwd.h: Likewise.
36527 * include/rpc/netdb.h: Likewise.
36528 * include/sched.h: Likewise.
36529 * include/search.h: Likewise.
36530 * include/shadow.h: Likewise.
36531 * include/signal.h: Likewise.
36532 * include/stdio.h: Likewise.
36533 * include/stdlib.h: Likewise.
36534 * include/string.h: Likewise.
36535 * include/sys/socket.h: Likewise.
36536 * include/sys/stat.h: Likewise.
36537 * include/sys/statfs.h: Likewise.
36538 * include/sys/statvfs.h: Likewise.
36539 * include/sys/syslog.h: Likewise.
36540 * include/sys/time.h: Likewise.
36541 * include/sys/uio.h: Likewise.
36542 * include/time.h: Likewise.
36543 * include/unistd.h: Likewise.
36544 * include/utmp.h: Likewise.
36545 * include/wchar.h: Likewise.
36546 * include/wctype.h: Likewise.
36547 * inet/aliases.h: Likewise.
36548 * inet/arpa/inet.h: Likewise.
36549 * inet/netinet/ether.h: Likewise.
36550 * inet/netinet/in.h: Likewise.
36551 * intl/libintl.h: Likewise.
36552 * io/bits/fcntl2.h: Likewise.
36553 * io/fcntl.h: Likewise.
36554 * io/ftw.h: Likewise.
36555 * io/sys/poll.h: Likewise.
36556 * io/sys/stat.h: Likewise.
36557 * io/sys/statfs.h: Likewise.
36558 * io/sys/statvfs.h: Likewise.
36559 * io/utime.h: Likewise.
36560 * libio/bits/stdio.h: Likewise.
36561 * libio/bits/stdio2.h: Likewise.
36562 * libio/libio.h: Likewise.
36563 * libio/libioP.h: Likewise.
36564 * libio/stdio.h: Likewise.
36565 * locale/lc-ctype.c: Likewise.
36566 * locale/locale.h: Likewise.
36567 * login/utmp.h: Likewise.
36568 * malloc/arena.c: Likewise.
36569 * malloc/malloc.c: Likewise.
36570 * malloc/malloc.h: Likewise.
36571 * malloc/mcheck.c: Likewise.
36572 * malloc/mtrace.c: Likewise.
36573 * math/bits/mathcalls.h: Likewise.
36574 * math/fenv.h: Likewise.
36575 * math/math_private.h: Likewise.
36576 * misc/bits/error.h: Likewise.
36577 * misc/bits/syslog.h: Likewise.
36578 * misc/err.h: Likewise.
36579 * misc/error.h: Likewise.
36580 * misc/fstab.h: Likewise.
36581 * misc/mntent.h: Likewise.
36582 * misc/regexp.h: Likewise.
36583 * misc/search.h: Likewise.
36584 * misc/sgtty.h: Likewise.
36585 * misc/sys/mman.h: Likewise.
36586 * misc/sys/syslog.h: Likewise.
36587 * misc/sys/uio.h: Likewise.
36588 * misc/sys/xattr.h: Likewise.
36589 * misc/ttyent.h: Likewise.
36590 * nis/rpcsvc/ypclnt.h: Likewise.
36591 * nss/nss.h: Likewise.
36592 * posix/bits/unistd.h: Likewise.
36593 * posix/fnmatch.h: Likewise.
36594 * posix/glob.h: Likewise.
36595 * posix/sched.h: Likewise.
36596 * posix/spawn.h: Likewise.
36597 * posix/sys/wait.h: Likewise.
36598 * posix/unistd.h: Likewise.
36599 * posix/wordexp.h: Likewise.
36600 * pwd/pwd.h: Likewise.
36601 * resolv/netdb.h: Likewise.
36602 * resource/sys/resource.h: Likewise.
36603 * rt/aio.h: Likewise.
36604 * rt/bits/mqueue2.h: Likewise.
36605 * rt/mqueue.h: Likewise.
36606 * shadow/shadow.h: Likewise.
36607 * signal/signal.h: Likewise.
36608 * socket/send.c: Likewise.
36609 * socket/sendto.c: Likewise.
36610 * socket/sys/socket.h: Likewise.
36611 * stdio-common/printf.h: Likewise.
36612 * stdlib/bits/stdlib.h: Likewise.
36613 * stdlib/fmtmsg.h: Likewise.
36614 * stdlib/monetary.h: Likewise.
36615 * stdlib/stdlib.h: Likewise.
36616 * stdlib/ucontext.h: Likewise.
36617 * streams/stropts.h: Likewise.
36618 * string/argz.h: Likewise.
36619 * string/bits/string2.h: Likewise.
36620 * string/string.h: Likewise.
36621 * string/strings.h: Likewise.
36622 * sunrpc/rpc/auth.h: Likewise.
36623 * sunrpc/rpc/auth_des.h: Likewise.
36624 * sunrpc/rpc/clnt.h: Likewise.
36625 * sunrpc/rpc/netdb.h: Likewise.
36626 * sunrpc/rpc/pmap_clnt.h: Likewise.
36627 * sunrpc/rpc/xdr.h: Likewise.
36628 * sysdeps/generic/inttypes.h: Likewise.
36629 * sysdeps/generic/net/if.h: Likewise.
36630 * sysdeps/generic/sys/swap.h: Likewise.
36631 * sysdeps/gnu/net/if.h: Likewise.
36632 * sysdeps/gnu/utmpx.h: Likewise.
36633 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36634 * sysdeps/i386/i486/bits/string.h: Likewise.
36635 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36636 * sysdeps/s390/bits/string.h: Likewise.
36637 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36638 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36639 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36640 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36641 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36642 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36643 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36644 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36645 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36646 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36647 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36648 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36649 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36650 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36651 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36652 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36653 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36658 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36659 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36660 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36661 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36662 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36663 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36665 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36666 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36667 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36668 * sysvipc/sys/ipc.h: Likewise.
36669 * sysvipc/sys/msg.h: Likewise.
36670 * sysvipc/sys/sem.h: Likewise.
36671 * sysvipc/sys/shm.h: Likewise.
36672 * termios/termios.h: Likewise.
36673 * time/sys/time.h: Likewise.
36674 * time/time.h: Likewise.
36675 * wcsmbs/bits/wchar2.h: Likewise.
36676 * wcsmbs/uchar.h: Likewise.
36677 * wcsmbs/wchar.h: Likewise.
36678 * wctype/wctype.h: Likewise.
36681 * Makeconfig: Remove all but ELF support including AIX support.
36682 * Makerules: Likewise.
36683 * config.h.in: Likewise.
36684 * config.make.in: Likewise.
36685 * configure: Likewise.
36686 * configure.in: Likewise.
36687 * csu/Makefile: Likewise.
36688 * csu/version.c: Likewise.
36689 * debug/Makefile: Likewise.
36690 * dlfcn/Makefile: Likewise.
36691 * elf/Makefile: Likewise.
36692 * extra-lib.mk: Likewise.
36693 * iconv/Makefile: Likewise.
36694 * include/libc-symbols.h: Likewise.
36695 * include/shlib-compat.h: Likewise.
36696 * resolv/Makefile: Likewise.
36697 * resolv/res_libc.c: Likewise.
36698 * rt/Makefile: Likewise.
36699 * sysdeps/i386/asm-syntax.h: Likewise.
36700 * sysdeps/i386/sysdep.h: Likewise.
36701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36702 * sysdeps/mach/sysdep.h: Likewise.
36703 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36704 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36705 * sysdeps/s390/asm-syntax.h: Likewise.
36706 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36708 * sysdeps/sh/sysdep.h: Likewise.
36709 * sysdeps/unix/sparc/sysdep.h: Likewise.
36710 * sysdeps/wordsize-32/divdi3.c: Likewise.
36711 * sysdeps/x86_64/sysdep.h: Likewise.
36713 * argp/Versions: Remove _argp_unlock_xxx.
36716 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36717 * abilist/libBrokenLocale.abilist: Likewise.
36718 * abilist/libanl.abilist: Likewise.
36719 * abilist/libc.abilist: Likewise.
36720 * abilist/libcrypt.abilist: Likewise.
36721 * abilist/libdl.abilist: Likewise.
36722 * abilist/libm.abilist: Likewise.
36723 * abilist/libnsl.abilist: Likewise.
36724 * abilist/libpthread.abilist: Likewise.
36725 * abilist/libresolv.abilist: Likewise.
36726 * abilist/librt.abilist: Likewise.
36727 * abilist/libthread_db.abilist: Likewise.
36728 * abilist/libutil.abilist: Likewise.
36729 * abilist/libnss_db.abilist: New file.
36731 * scripts/abilist.awk: Add support for indirect functions.
36733 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36735 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36737 * shlib-versions: Remove entries for ports architectures.
36739 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36741 * elf/stackguard-macros.h: Remove support for IA-64.
36742 * elf/tst-auditmod1.c: Likewise.
36743 * sysdeps/generic/ldsodefs.h: Likewise.
36745 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36746 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36750 * configure.in: Remove --enable-omitfp support.
36752 * config.make.in: Likewise.
36753 * Makeconfig: Likewise.
36754 * manual/install.texi: Likewise.
36756 In case anyone cares, the IA-64 architecture could move to ports.
36757 * sysdeps/ia64/*: Removed.
36758 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36759 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36762 * configure.in: Remove entries for unsupported architectures.
36765 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36766 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36768 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36769 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36770 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36771 fall back to using wcrtomb.
36772 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36773 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36775 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36776 * wcsmbs/tst-c16c32-1.c: New file.
36778 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36781 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36783 * elf/tst-unique3.cc: Add explicit declaration of gets.
36784 * elf/tst-unique3lib.cc: Likewise.
36785 * elf/tst-unique3lib2.cc: Likewise.
36786 * elf/tst-unique4.cc: Likewise.
36788 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36790 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36793 * assert/assert.h (static_assert): Don't define for C++.
36794 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36795 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36797 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36799 * iconv/loop.c (single loop): Fix assertion in storing of
36802 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36804 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36806 * posix/getconf.c: Update copyright year.
36807 * nss/getent.c: Likewise.
36808 * nss/makedb.c: Likewise.
36809 * iconv/iconvconfig.c: Likewise.
36810 * iconv/iconv_prog.c: Likewise.
36811 * elf/ldconfig.c: Likewise.
36812 * elf/pldd.c: Likewise.
36813 * elf/sotruss.ksh: Likewise.
36814 * catgets/gencat.c: Likewise.
36815 * csu/version.c: Likewise.
36816 * elf/ldd.bash.in: Likewise.
36817 * elf/sprof.c (print_version): Likewise.
36818 * locale/programs/locale.c: Likewise.
36819 * locale/programs/localedef.c: Likewise.
36820 * login/programs/pt_chown.c: Likewise.
36821 * nscd/nscd.c (print_version): Likewise.
36822 * debug/xtrace.sh: Likewise.
36823 * malloc/memusage.sh: Likewise.
36824 * malloc/mtrace.pl: Likewise.
36825 * debug/catchsegv.sh: Likewise.
36827 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36829 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36832 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36835 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36836 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36838 * iconv/gconv_int.h: Likewise.
36839 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36840 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36841 from libc for GLIBC_2.16.
36842 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36843 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36844 * wcsmbs/uchar.h: Really define mbstate_t.
36845 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36846 * wcsmbs/c16rtomb.c: New file.
36847 * wcsmbs/mbrtoc16.c: New file.
36848 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36849 for C/POSIX locale.
36850 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36851 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36853 * wcsmbs/wchar.h: Add missing __restrict.
36855 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36858 * time/Makefile (routines): Add timespec_get.
36859 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36860 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36861 timespec for ISO C11.
36862 * time/timespec_get.c: New file.
36863 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36864 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36867 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36868 * stdlib/stdlib.h: Declare aligned_alloc.
36869 * Versions.def: Add GLIBC_2.16 for libc.
36870 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36873 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36876 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36880 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36883 * assert/assert.h (static_assert): Define.
36885 * version.h: Update for 2.16 development version.
36888 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36891 * version.h (RELEASE): Bump for 2.15 release.
36892 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36894 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36895 Patch by Marek Polacek <mpolacek@redhat.com>.
36897 * bits/byteswap.h: Protect long long constants with __extension__.
36898 * sysdeps/i386/bits/byteswap.h: Likewise.
36899 * sysdeps/ia64/bits/byteswap.h: Likewise.
36900 * sysdeps/s390/bits/byteswap.h: Likewise.
36901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36903 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36907 destination buffer.
36908 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36910 2011-12-23 Marek Polacek <polacek@redhat.com>
36912 * elf/dl-addr.c (determine_info): Add inline keyword.
36913 * elf/tst-auditmod4b.c (check_avx): Likewise.
36914 * elf/tst-auditmod6b.c (check_avx): Likewise.
36915 * elf/tst-auditmod6c.c (check_avx): Likewise.
36916 * elf/tst-auditmod7b.c (check_avx): Likewise.
36918 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36923 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36926 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36927 processing for last bytes.
36929 2011-08-06 Bruno Haible <bruno@clisp.org>
36932 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36933 U+0385, not to U+1FEE.
36936 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36937 entry for U+00A5 U+0301.
36939 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36942 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36943 buffer for the output is too small.
36945 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36949 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36950 SSE flags if possible.
36952 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36956 processing for last bytes.
36958 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36960 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36961 (syscall-list-default-options, syscall-list-default-condition)
36962 (syscall-list-includes): Define.
36963 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36964 list of ABIs and options and #if conditions for each ABI. Do not
36965 handle common syscalls between ABIs specially.
36966 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36968 (syscall-list-variants, syscall-list-32bit-options)
36969 (syscall-list-32bit-condition, syscall-list-64bit-options)
36970 (syscall-list-64bit-condition): Define.
36971 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36972 (syscall-list-variants, syscall-list-32bit-options)
36973 (syscall-list-32bit-condition, syscall-list-64bit-options)
36974 (syscall-list-64bit-condition): Define.
36975 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36977 (syscall-list-variants, syscall-list-32bit-options)
36978 (syscall-list-32bit-condition, syscall-list-64bit-options)
36979 (syscall-list-64bit-condition): Define.
36980 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36982 (syscall-list-variants, syscall-list-32bit-options)
36983 (syscall-list-32bit-condition, syscall-list-64bit-options)
36984 (syscall-list-64bit-condition): Define.
36986 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36988 * locale/iso-639.def: Add brx entry.
36991 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36992 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36994 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36995 __feraiseexcept_renamed.
36997 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37000 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37001 EPOLLET with unsigned values.
37002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37005 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37006 to large cancellation.
37007 * math/s_cacoshf.c: Likewise.
37008 * math/s_cacoshl.c: Likewise.
37010 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37014 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37015 * math/s_cacoshf.c: Likewise.
37016 * math/s_cacoshl.c: Likewise.
37018 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37021 * iconv/gconv.h: Define __GCONV_SWAP.
37022 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37023 * iconvdata/utf-16.c: Likewise.
37024 * iconvdata/utf-32.c: Likewise.
37026 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37030 numerator after shifting it by one limb.
37032 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37034 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37035 under [__USE_EXTERN_INLINES].
37037 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37040 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37042 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37044 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37045 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37047 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37049 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37050 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37051 for strncasecmp/strncasecmp_l compilation.
37052 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37053 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37055 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37058 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37061 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37064 * time/tzfile.c (__tzfile_read): Check values from file header.
37066 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37068 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37069 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37070 * powerpc/powerpc32/dl-start.S: Likewise.
37071 * powerpc/powerpc32/elf/start.S: Likewise.
37072 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37073 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37074 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37075 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37076 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37077 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37078 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37079 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37080 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37081 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37082 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37083 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37084 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37085 * powerpc/powerpc32/memset.S: Likewise.
37086 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37087 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37088 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37089 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37090 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37091 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37092 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37093 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37094 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37095 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37096 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37097 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37098 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37100 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37102 * math/libm-test.inc: Added more nearbyint tests.
37103 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37108 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37110 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37113 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37115 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37116 Add wcscpy-ssse3 wcscpy-c.
37117 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37118 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37119 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37120 * sysdeps/x86_64/wcschr.S: New file.
37121 * sysdeps/x86_64/wcsrchr.S: New file.
37122 * string/test-strcmp.c: Remove checking of wcscmp function for
37124 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37125 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37126 wcsrchr-sse2 wcsrchr-c.
37127 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37128 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37129 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37130 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37131 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37132 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37133 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37134 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37135 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37136 * wcsmbc/wcschr.c (WCSCHR): New macro.
37138 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37140 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37141 * wcsmbs/test-wcsrchr.c: New file.
37142 * string/test-strrchr.c: Add wcsrchr support.
37144 * wcsmbs/test-wcscpy.c: New file.
37145 * string/test-strcpy.c: Add wcscpy support.
37148 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37150 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37153 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37156 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37158 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37161 Minor optimizations.
37163 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37164 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37165 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37167 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37169 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37170 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37171 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37172 for gcc to avoid warnings.
37173 * inet/Makefile (tests): Add tst-checks.
37174 * inet/tst-checks.c: New file.
37176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37179 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37182 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37183 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37185 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37187 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37189 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37192 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37194 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37196 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37197 conditional on GCC version.
37198 (__arch_compare_and_exchange_val_8_acq)
37199 (__arch_compare_and_exchange_val_16_acq)
37200 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37201 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37202 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37204 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37206 * sysdeps/sh/backtrace.c: New file.
37208 2011-12-02 Andreas Schwab <schwab@redhat.com>
37210 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37213 2011-12-01 Andreas Schwab <schwab@redhat.com>
37215 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37216 falling back to utime.
37218 2011-11-30 Andreas Schwab <schwab@redhat.com>
37220 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37221 expectations for float.
37223 2011-11-29 Andreas Schwab <schwab@redhat.com>
37225 * locale/weight.h (findidx): Add parameter len.
37226 * locale/weightwc.h (findidx): Likewise.
37227 * posix/fnmatch_loop.c (FCT): Adjust caller.
37228 * posix/regcomp.c (build_equiv_class): Likewise.
37229 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37230 * posix/regexec.c (check_node_accept_bytes): Likewise.
37231 * string/strcoll_l.c (STRCOLL): Likewise.
37232 * string/strxfrm_l.c (STRXFRM): Likewise.
37234 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37236 * Makefile.in: Remove CVSOPT handling.
37237 * configure.in: Remove use of AC_REVISION.
37238 * iconvdata/Makefile (distribute): No need to filter out CVS.
37239 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37242 2011-11-16 Andreas Schwab <schwab@redhat.com>
37244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37245 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37246 [USE_AS_STRNCASECMP_L]: Likewise.
37247 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37248 NO_TLS_DIRECT_SEG_REFS.
37249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37250 Fix argument offsets for non-PIC.
37251 [USE_AS_STRNCASECMP_L]: Likewise.
37252 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37253 NO_TLS_DIRECT_SEG_REFS.
37255 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37257 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37259 * locale/loadlocale.c (_nl_load_locale): Likewise.
37261 2011-11-15 Andreas Schwab <schwab@redhat.com>
37263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37264 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37266 (SYSCALL_GETTIME): Set errno on error.
37268 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37269 count references to noai6ai_cached.
37271 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37273 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37275 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37276 FD_CLOEXEC for /proc/self/maps.
37278 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37279 FD_CLOEXEC for /proc/meminfo.
37281 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37284 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37285 FD_CLOEXEC for given file.
37287 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37289 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37290 FD_CLOEXEC for /etc/hosts.
37291 (_gethtent): Likewise.
37293 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37295 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37296 cancellation and set FD_CLOEXEC for /etc/netgroup.
37298 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37299 reading /etc/publickey.
37301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37302 allow cancellation when reading /etc/group.
37304 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37306 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37308 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37309 when using data file.
37311 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37313 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37314 (write_nis_obj): Use "c" and "e" in fopen.
37316 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37318 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37320 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37322 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37324 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37327 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37329 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37331 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37333 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37334 file parsing and set FD_CLOEXEC.
37336 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37338 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37340 2011-11-14 Andreas Schwab <schwab@redhat.com>
37342 * malloc/arena.c (arena_get2): Don't call reused_arena when
37343 _int_new_arena failed.
37345 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37347 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37348 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37349 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37350 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37351 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37352 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37353 to compile strcasecmp and strncasecmp.
37354 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37355 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37359 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37361 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37362 locale-defines.sym to gen-as-const-headers.
37363 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37364 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37366 to compile strcasecmp and strncasecmp.
37367 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37368 strcasecmp_l and strncasecmp_l.
37369 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37370 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37371 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37372 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37373 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37374 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37375 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37376 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37377 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37378 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37379 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37381 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37383 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37384 result of SYSDEP_GETTIME_CPU to retval.
37385 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37386 parameter list to macro. Remove trailing semicolon. Adjust users.
37388 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37391 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37393 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37396 from unused variable.
37398 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37400 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37403 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37406 * sunrpc/rpc_prot.c (rejected): Fix case value.
37408 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37409 unsigned long long int to avoid warnings in shift.
37411 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37413 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37416 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37417 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37418 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37420 * nis/nis_table.c (nis_list): Use variable of correct type for
37421 result of __follow_path call.
37423 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37425 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37426 of math functions ceil, trunc, floor, round, and sqrt, when
37427 avaliable on the platform.
37428 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37430 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37431 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37432 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37434 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37436 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37437 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37439 2011-11-11 Roland McGrath <roland@hack.frob.com>
37441 * include/unistd.h: Fix __readlink return type.
37442 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37444 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37446 * stdlib/ucontext.h: Undo last change for makecontext.
37448 2011-11-11 Andreas Schwab <schwab@redhat.com>
37450 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37452 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37453 * setjmp/setjmp.h: Mark functions as non-leaf.
37454 * setjmp/bits/setjmp2.h: Likewise.
37455 * stdlib/ucontext.h: Likewise.
37457 2011-11-10 Andreas Schwab <schwab@redhat.com>
37459 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37460 (reused_arena): Don't check arena limit.
37461 (arena_get2): Atomically check arena limit.
37463 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37465 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37466 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37471 2011-11-07 Andreas Schwab <schwab@redhat.com>
37473 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37474 handler when locking.
37476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37477 Fix size of allocated buffer.
37479 2011-11-04 Andreas Schwab <schwab@redhat.com>
37482 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37483 declarations for long double functions.
37484 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37486 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37488 2011-11-03 Andreas Schwab <schwab@redhat.com>
37490 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37493 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37496 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37498 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37500 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37502 * include/alloca.h (stackinfo_alloca_round): Define.
37503 (extend_alloca): Use it.
37504 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37505 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37508 * scripts/check-local-headers.sh: Ignore libaudit.h.
37510 * nscd/Makefile (extra-objs): Make recursively expanded.
37512 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37514 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37517 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37518 * posix/tst-rfc3484-2.c: Likewise.
37519 * posix/tst-rfc3484-3.c: Likewise.
37521 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37523 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37525 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37526 process_vm_writev from libc using GLIBC_2.15 version.
37528 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37530 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37532 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37535 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37538 * nss/getent.c (initgroups_keys): Show error message in case no group
37541 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37542 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37543 __bump_nl_timestamp.
37544 * nscd/connections (nscd_init): When host database is served open
37545 netlink socket and request notification about configuration changes.
37546 (main_loop_poll): Track netlink file descriptor and bump timestamp
37547 in case data becomes available.
37548 (main_loop_epoll): Likewise.
37549 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37550 (database_pers_head): Add extra_data fileds.
37551 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37552 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37553 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37556 in6ai data, call __free_in6ai.
37557 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37558 Add -DHAVE_NETLINK.
37559 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37560 interface information. Reuse previous data if netlink timestamp
37562 (__bump_nl_timestamp): New function.
37563 (__free_in6ai): New function.
37565 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37567 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37568 close_not_cancel_no_status here.
37569 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37571 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37574 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37577 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37578 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37579 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37581 2011-07-03 Andreas Jaeger <aj@suse.de>
37584 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37585 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37586 * math/libm-test.inc (sin_test): Add test case.
37588 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37591 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37592 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37594 * elf/chroot_canon.c (chroot_canon): Cleanups.
37596 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37599 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37600 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37602 * string/test-strchr.c: Make usable for strchrnul testing.
37603 * string/test-strchrnul.c: New file.
37604 * string/Makefile (strop-tests): Add strchrnul.
37606 * po/it.po: Update from translation team.
37607 * po/es.po: Likewise.
37609 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37611 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37612 the three constants needed as parameters. Drop the others.
37613 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37614 __m128i_strloadu_tolower.
37615 Create and initialize variable zero and use it in all the places
37616 where _mm_setzero_si128 was used.
37618 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37619 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37620 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37621 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37623 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37624 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37625 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37626 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37627 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37628 __mpranred, __mptan.
37629 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37630 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37631 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37632 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37633 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37634 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37636 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37637 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37639 2011-10-28 Andreas Schwab <schwab@redhat.com>
37641 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37642 redefine if SHARED.
37643 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37646 wide char related routines to wcsmbs subdir.
37648 2011-10-27 Andreas Schwab <schwab@redhat.com>
37651 * misc/sys/cdefs.h (__THROWNL): Define.
37652 * posix/unistd.h: Use __THREADNL instead of __THREAD
37653 for memory synchronization functions.
37655 2011-10-26 Roland McGrath <roland@hack.frob.com>
37658 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37660 * manual/stdio.texi (Obstack Streams): Node removed.
37662 2011-10-26 Andreas Schwab <schwab@redhat.com>
37664 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37666 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37668 * math/math_private.h (math_force_eval): Allow non-addressable
37670 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37672 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37674 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37675 file is not needed.
37677 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37678 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37684 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37686 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37687 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37688 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37689 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37690 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37691 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37692 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37693 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37694 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37695 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37696 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37697 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37699 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37700 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37701 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37702 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37704 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37706 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37707 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37710 place. Use VEX encoding when compiling for AVX.
37712 2011-10-25 Andreas Schwab <schwab@redhat.com>
37714 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37715 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37717 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37719 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37721 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37722 useless if() expression.
37723 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37735 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37736 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37737 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37738 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37739 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37743 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37745 2011-10-25 Andreas Schwab <schwab@redhat.com>
37747 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37751 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37753 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37754 .text section. Avoid duplicate constants.
37755 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37763 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37764 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37765 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37767 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37768 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37772 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37773 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37778 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37779 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37780 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37781 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37782 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37783 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37784 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37785 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37786 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37788 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37789 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37790 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37793 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37794 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37797 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37798 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37799 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37801 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37803 * sysdeps/x86_64/dla.h: Move to ...
37804 * sysdeps/x86_64/fpu/dla.h: ...here.
37805 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37806 situations. Use __builtin_fma only for gcc 4.6 and up.
37808 * config.make.in: Add have-mfma4 entry.
37809 * configure.in: Substitute libc_cv_cc_fma4.
37810 * math/Makefile (dbl-only-routines): Add sincostab.
37811 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37812 Use __sincostab not sincos.
37813 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37820 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37821 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37822 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37823 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37826 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37828 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37829 define aliases when function name is a macro.
37830 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37831 sysdeps/ieee754/dbl-64/sincos.tbl.
37832 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37833 fma4-enabled routines.
37834 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37835 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37836 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37837 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37839 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37840 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37841 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37842 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37843 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37844 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37845 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37846 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37847 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37848 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37849 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37850 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37851 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37852 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37854 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37855 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37857 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37859 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37860 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37861 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37862 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37863 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37865 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37876 2011-10-24 Andreas Schwab <schwab@redhat.com>
37878 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37880 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37882 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37884 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37888 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37889 Remove unused variable magic_bits.
37890 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37892 * string/strnlen.c: Define and use STRNLEN macro.
37893 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37894 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37896 * wcsmbs/wcslen.c: Define and use WCSLEN.
37897 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37898 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37899 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37900 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37901 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37902 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37905 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37908 strnlen-sse2-no-bsf.
37909 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37911 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37912 Add strnlen support.
37913 (USE_AS_STRNLEN): New macro.
37914 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37916 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37917 * sysdeps/x86_64/wcslen.S: New file.
37919 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37922 XMM-moves are used for copying on small sizes.
37924 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37926 * wcsmbs/Makefile (strop-tests): Add wcschr.
37927 * wcsmbs/test-wcschr.c: New file.
37928 * string/test-strchr.c: Update.
37929 Add wcschr support.
37932 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37934 * wcsmbs/Makefile (strop-tests): Add wcslen.
37935 * wcsmbs/test-wcslen.c: New file.
37936 * string/test-strlen.c: Update.
37937 Add wcslen support.
37940 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37942 * po/it.po: Update from translation team.
37944 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37946 * sysdeps/x86_64/wcscmp.S: Update.
37947 Fix wrong comparison semantics.
37948 wcscmp shall use signed comparison not unsigned.
37949 Don't use substraction to avoid overflow bug.
37950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37951 * wcsmbc/wcscmp.c: Likewise.
37952 * string/test-strcmp.c: Likewise.
37953 Add new tests to check cases with negative values.
37955 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37957 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37958 * sysdeps/x86_64/dla.h: ...here. New file.
37959 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37969 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37972 __ynl_finite aliases.
37974 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37978 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37980 [DLA_FMA] (EMULV): Use DLA_FMA.
37981 [DLA_FMA] (MUL12): Use EMULV.
37982 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37983 that are not needed.
37984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37992 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37994 * math/s_nan.c: Undef __nan.
37995 * math/s_nanf.c: Undef __nanf.
37996 * math/s_nanl.c: Undef __nanl.
37997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38000 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38002 * math/s_catan.c: Add branch predictions.
38003 * math/s_catanf.c: Likewise.
38004 * math/s_catanh.c: Likewise.
38005 * math/s_catanhf.c: Likewise.
38006 * math/s_catanhl.c: Likewise.
38007 * math/s_catanl.c: Likewise.
38008 * math/s_cexp.c: Likewise.
38009 * math/s_cexpf.c: Likewise.
38010 * math/s_cexpl.c: Likewise.
38011 * math/s_clog.c: Likewise.
38012 * math/s_clog10.c: Likewise.
38013 * math/s_clog10f.c: Likewise.
38014 * math/s_clog10l.c: Likewise.
38015 * math/s_clogf.c: Likewise.
38016 * math/s_clogl.c: Likewise.
38017 * math/s_csqrt.c: Likewise.
38018 * math/s_csqrtf.c: Likewise.
38019 * math/s_csqrtl.c: Likewise.
38020 * math/s_ctanf.c: Likewise.
38021 * math/s_ctanh.c: Likewise.
38022 * math/s_ctanhf.c: Likewise.
38023 * math/s_ctanhl.c: Likewise.
38024 * math/s_ctanl.c: Likewise.
38026 * math/math_private.h: Define __nan, __nanf, __nanl.
38027 * math/s_cacosh.c: Include <math_private.h>.
38028 * math/s_cacoshl.c: Likewise.
38029 * math/s_casinh.c: Likewise.
38030 * math/s_casinhf.c: Likewise.
38031 * math/s_casinhl.c: Likewise.
38032 * math/s_ccos.c: Rely entire on ccosh.
38033 * math/s_ccosf.c: Rely entire on ccoshf.
38034 * math/s_ccosl.c: Rely entirely on ccoshl.
38035 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38036 Remove tests for FE_INVALID.
38037 * math/s_ccoshf.c: Likewise.
38038 * math/s_ccoshl.c: Likewise.
38039 * math/s_csin.c: Likewise.
38040 * math/s_csinf.c: Likewise.
38041 * math/s_csinh.c Likewise.
38042 * math/s_csinhf.c: Likewise.
38043 * math/s_csinhl.c: Likewise.
38044 * math/s_csinl.c: Likewise.
38045 * math/s_ctan.c: Likewise.
38046 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38047 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38048 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38050 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38053 compilation problems.
38055 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38058 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38060 * sysdeps/i386/configure.in: Test for -mfma4 option.
38061 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38062 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38063 COMMON_CPUID_INDEX_80000001.
38064 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38065 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38066 use it if FMA3 is not supported.
38067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38069 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38070 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38072 2011-10-20 Andreas Schwab <schwab@redhat.com>
38075 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38076 it would create a cycle with a link time dependency.
38078 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38080 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38082 * string/Makefile (strop-tests): Add rawmemchr.
38083 * string/test-rawmemchr.c: New file.
38085 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38087 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38088 when compiling str{,n}casecmp and when AVX is available. Hook up
38089 new optimized code in initializers.
38091 2011-10-19 Andreas Schwab <schwab@redhat.com>
38093 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38094 __feraiseexcept instead of feraiseexcept.
38096 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38098 * math/math_private.h: Define defaults for libc_fetestexcept and
38100 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38101 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38103 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38104 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38105 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38106 libc_fetestexcept and libc_feupdateenv.
38108 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38109 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38110 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38111 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38112 libc_feholdexcept_setround.
38114 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38115 Add s_nearbyint-c and s_nearbyintf-c.
38116 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38117 nearbyintf inlines.
38118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38120 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38123 * math/math_private.h: Define defaults for libc_fegetround,
38124 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38125 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38126 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38128 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38129 standard functions.
38130 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38131 Remove comments and hacks for old compiler versions.
38132 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38133 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38134 libc_feholdexceptl.
38136 2011-10-18 Andreas Schwab <schwab@redhat.com>
38138 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38139 (__feraiseexcept_renamed): Add __NTH.
38140 (feraiseexcept): Add __NTH. Rename local variables to fix
38141 namespace violations.
38143 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38145 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38149 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38150 recently added interfaces.
38151 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38153 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38154 about macro parameter expansion.
38156 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38157 __NO_MATH_INLINES is defined. Cleanups.
38159 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38160 and __floorf is target has SSE4.1.
38161 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38162 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38163 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38164 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38166 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38168 (floorf): Likewise.
38170 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38172 2011-10-17 Andreas Schwab <schwab@redhat.com>
38174 * misc/sys/cdefs.h: Fix last change.
38176 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38179 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38181 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38183 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38185 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38188 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38190 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38191 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38192 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38193 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38194 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38195 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38197 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38198 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38199 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38200 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38201 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38202 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38203 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38204 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38206 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38207 ceil, ceilf, floor, floorf.
38209 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38210 Perform IRELATIVE relocations last.
38212 * elf/do-rel.h: Add another parameter nrelative, replacing the
38213 local variable with the same name. Change name of the function
38214 to end in Rel or Rela (uppercase).
38215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38216 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38217 elf_dynamic_do_##reloc function.
38219 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38221 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38222 is sufficient, at least on modern CPUs.
38224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38226 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38227 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38229 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38231 * math/bits/math-finite.h: Add entries for exp.
38232 * math/e_expl.c: Add __*_finite alias.
38233 * sysdeps/i386/fpu/e_exp.S: Likewise.
38234 * sysdeps/i386/fpu/e_expf.S: Likewise.
38235 * sysdeps/i386/fpu/e_expl.c: Likewise.
38236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38237 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38240 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38241 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38242 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38244 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38245 is sufficient, at least on modern CPUs.
38247 * ctype/ctype-info.c (__ctype_init): Define.
38248 * include/ctype.h (__ctype_init): Declare.
38249 (__ctype_b_loc): The variable is always initialized.
38250 (__ctype_toupper_loc): Likewise.
38251 (__ctype_tolower_loc): Likewise.
38252 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38253 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38255 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38257 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38259 * configure.in: Also look in $cxxmachine/include for C++ system
38262 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38264 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38265 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38266 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38267 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38269 (USE_AS_WMEMCMP): New macro.
38271 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38272 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38273 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38274 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38276 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38277 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38278 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38279 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38280 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38281 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38282 (USE_AS_WMEMCMP): New macro.
38283 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38284 * sysdeps/string/test-memcmp.c: Update.
38285 Fix simple_wmemcmp.
38287 * wcsmbs/wmemcmp.c: Update.
38288 (WMEMCMP): New macro.
38291 2011-10-12 Andreas Jaeger <aj@suse.de>
38294 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38296 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38298 * libio/iofwide.c (do_length): Avoid warning.
38300 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38302 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38304 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38306 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38307 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38308 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38309 * sysdeps/i386/i686/fpu/e_log.S: New file.
38310 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38311 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38313 * ctype/ctype.h: Add support for inlined isXXX functions when
38314 compiling C++ code.
38316 2011-10-14 Andreas Schwab <schwab@redhat.com>
38318 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38320 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38322 2011-10-13 Roland McGrath <roland@hack.frob.com>
38325 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38327 2011-10-13 Andreas Schwab <schwab@redhat.com>
38329 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38330 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38333 * sysdeps/x86_64/memrchr.S: Check for zero size.
38335 * string/stratcliff.c: Add memrchr tests.
38337 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38340 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38341 rawmemchr-sse2 rawmemchr-sse2-bsf.
38342 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38343 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38344 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38345 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38346 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38347 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38348 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38349 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38350 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38352 * string/memrchr.c (MEMRCHR): New macro.
38354 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38356 Add integration with gcc's -ffinite-math-only and optimize wrapper
38358 * Versions.def: Define GLIBC_2.15 version for libm.
38359 * math/Makefile (headers): Add bits/math-finite.h.
38360 * math/bits/math-finite.h: New file.
38361 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38362 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38363 * math/e_acoshl.c: Add __*_finite alias.
38364 * math/e_acosl.c: Likewise.
38365 * math/e_asinl.c: Likewise.
38366 * math/e_atan2l.c: Likewise.
38367 * math/e_atanhl.c: Likewise.
38368 * math/e_coshl.c: Likewise.
38369 * math/e_exp10.c: Likewise.
38370 * math/e_exp10f.c: Likewise.
38371 * math/e_exp10l.c: Likewise.
38372 * math/e_exp2l.c: Likewise.
38373 * math/e_fmodl.c: Likewise.
38374 * math/e_gammal_r.c: Likewise.
38375 * math/e_hypotl.c: Likewise.
38376 * math/e_j0l.c: Likewise.
38377 * math/e_j1l.c: Likewise.
38378 * math/e_jnl.c: Likewise.
38379 * math/e_lgammal_r.c: Likewise.
38380 * math/e_log10l.c: Likewise.
38381 * math/e_log2l.c: Likewise.
38382 * math/e_logl.c: Likewise.
38383 * math/e_powl.c: Likewise.
38384 * math/e_sinhl.c: Likewise.
38385 * math/e_sqrtl.c: Likewise.
38386 * math/e_scalb.c: Completely rewritten and optimized.
38387 * math/e_scalbf.c: Likewise.
38388 * math/e_scalbl.c: Likewise.
38389 * math/w_acos.c: Likewise.
38390 * math/w_acosf.c: Likewise.
38391 * math/w_acosl.c: Likewise.
38392 * math/w_acosh.c: Likewise.
38393 * math/w_acoshf.c: Likewise.
38394 * math/w_acoshl.c: Likewise.
38395 * math/w_asin.c: Likewise.
38396 * math/w_asinf.c: Likewise.
38397 * math/w_asinl.c: Likewise.
38398 * math/w_atan2.c: Likewise.
38399 * math/w_atan2f.c: Likewise.
38400 * math/w_atan2l.c: Likewise.
38401 * math/w_atanh.c: Likewise.
38402 * math/w_atanhf.c: Likewise.
38403 * math/w_atanhl.c: Likewise.
38404 * math/w_exp10.c: Likewise.
38405 * math/w_exp10f.c: Likewise.
38406 * math/w_exp10l.c: Likewise.
38407 * math/w_fmod.c: Likewise.
38408 * math/w_fmodf.c: Likewise.
38409 * math/w_fmodl.c: Likewise.
38410 * math/w_j0.c: Likewise.
38411 * math/w_j0f.c: Likewise.
38412 * math/w_j0l.c: Likewise.
38413 * math/w_j1.c: Likewise.
38414 * math/w_j1f.c: Likewise.
38415 * math/w_j1l.c: Likewise.
38416 * math/w_jn.c: Likewise.
38417 * math/w_jnf.c: Likewise.
38418 * math/w_log.c: Likewise.
38419 * math/w_logf.c: Likewise.
38420 * math/w_logl.c: Likewise.
38421 * math/w_log10.c: Likewise.
38422 * math/w_log10f.c: Likewise.
38423 * math/w_log10l.c: Likewise.
38424 * math/w_log2.c: Likewise.
38425 * math/w_log2f.c: Likewise.
38426 * math/w_log2l.c: Likewise.
38427 * math/w_pow.c: Likewise.
38428 * math/w_powf.c: Likewise.
38429 * math/w_powl.c: Likewise.
38430 * math/w_remainder.c: Likewise.
38431 * math/w_remainderf.c: Likewise.
38432 * math/w_remainderl.c: Likewise.
38433 * math/w_scalb.c: Likewise.
38434 * math/w_scalbf.c: Likewise.
38435 * math/w_scalbl.c: Likewise.
38436 * math/w_sqrt.c: Likewise.
38437 * math/w_sqrtf.c: Likewise.
38438 * math/w_sqrtl.c: Likewise.
38439 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38440 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38442 * math/math_private.h: Declare __kernel_standard_f.
38443 * math/w_cosh.c: Remove cruft and optimize a bit.
38444 * math/w_coshf.c: Likewise.
38445 * math/w_coshl.c: Likewise.
38446 * math/w_exp2.c: Likewise.
38447 * math/w_exp2f.c: Likewise.
38448 * math/w_exp2l.c: Likewise.
38449 * math/w_hypot.c: Likewise.
38450 * math/w_hypotf.c: Likewise.
38451 * math/w_hypotl.c: Likewise.
38452 * math/w_lgamma.c: Likewise.
38453 * math/w_lgamma_r.c: Likewise.
38454 * math/w_lgammaf.c: Likewise.
38455 * math/w_lgammaf_r.c: Likewise.
38456 * math/w_lgammal.c: Likewise.
38457 * math/w_lgammal_r.c: Likewise.
38458 * math/w_sinh.c: Likewise.
38459 * math/w_sinhf.c: Likewise.
38460 * math/w_sinhl.c: Likewise.
38461 * math/w_tgamma.c: Likewise.
38462 * math/w_tgammaf.c: Likewise.
38463 * math/w_tgammal.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38465 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38466 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38467 Minor optimizations. Pretty printing. Remove cruft.
38468 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38472 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38473 * sysdeps/i386/fpu/e_asin.S: Likewise.
38474 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38475 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38476 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38477 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38478 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38479 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38481 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38482 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38483 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38484 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38485 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38486 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38487 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38488 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38489 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38490 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38491 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38492 * sysdeps/i386/fpu/e_log.S: Likewise.
38493 * sysdeps/i386/fpu/e_log10.S: Likewise.
38494 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38495 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38496 * sysdeps/i386/fpu/e_log2.S: Likewise.
38497 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38498 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38499 * sysdeps/i386/fpu/e_logf.S: Likewise.
38500 * sysdeps/i386/fpu/e_logl.S: Likewise.
38501 * sysdeps/i386/fpu/e_pow.S: Likewise.
38502 * sysdeps/i386/fpu/e_powf.S: Likewise.
38503 * sysdeps/i386/fpu/e_powl.S: Likewise.
38504 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38505 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38506 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38507 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38508 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38510 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38511 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38512 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38517 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38519 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38520 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38533 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38534 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38535 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38536 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38537 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38538 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38539 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38540 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38541 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38542 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38543 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38544 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38545 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38546 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38547 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38548 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38549 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38550 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38551 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38552 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38553 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38554 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38558 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38563 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38593 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38598 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38601 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38604 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38606 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38607 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38608 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38609 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38610 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38611 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38612 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38613 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38614 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38615 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38616 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38619 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38621 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38622 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38623 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38624 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38625 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38626 (__isnanf): Likewise.
38627 (__isinf_ns): Likewise.
38628 (__isinf_nsf): Likewise.
38629 (__finite): Likewise.
38630 (__finitef): Likewise.
38631 (__ieee754_sqrt): Define as macro.
38632 (__ieee754_sqrtf): Define as macro.
38633 (__ieee754_sqrtl): Define as macro.
38634 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38636 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38637 __FINITE_MATH_ONLY__ consistent.
38638 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38640 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38642 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38645 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38647 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38649 * po/ja.po: Update from translation team.
38651 2011-10-08 Roland McGrath <roland@hack.frob.com>
38653 * locale/programs/locarchive.c (prepare_address_space): New function.
38654 (create_archive, enlarge_archive, open_archive): Use it.
38656 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38657 inside [SHARED], where it is used.
38659 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38661 * nss/getent.c (netgroup_keys): Remove unused variable.
38662 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38664 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38666 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38667 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38670 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38672 * math/Makefile (libm-calls): Add s_isinf_ns.
38673 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38674 * math/multc3.c: Likewise.
38675 * math/s_casin.c: Likewise.
38676 * math/s_casinf.c: Likewise.
38677 * math/s_casinl.c: Likewise.
38678 * math/s_ccos.c: Likewise.
38679 * math/s_ccosf.c: Likewise.
38680 * math/s_ccosl.c: Likewise.
38681 * math/s_ctan.c: Likewise.
38682 * math/s_ctanf.c: Likewise.
38683 * math/s_ctanh.c: Likewise.
38684 * math/s_ctanhf.c: Likewise.
38685 * math/s_ctanhl.c: Likewise.
38686 * math/s_ctanl.c: Likewise.
38687 * math/w_fmod.c: Likewise.
38688 * math/w_fmodf.c: Likewise.
38689 * math/w_fmodl.c: Likewise.
38690 * math/w_remainder.c: Likewise.
38691 * math/w_remainderf.c: Likewise.
38692 * math/w_remainderl.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38694 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38697 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38698 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38699 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38700 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38702 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38704 * stdio-common/printf_fphex.c: Likewise.
38705 * stdio-common/printf_size.c: Likewise.
38707 * math/e_exp10.c: Include math_private.h using <...> not "...".
38708 * math/e_exp10f.c: Likewise.
38709 * math/e_exp10l.c: Likewise.
38710 * math/e_exp2l.c: Likewise.
38711 * math/e_j0l.c: Likewise.
38712 * math/e_j1l.c: Likewise.
38713 * math/e_jnl.c: Likewise.
38714 * math/e_lgammal_r.c: Likewise.
38715 * math/e_rem_pio2l.c: Likewise.
38716 * math/e_scalb.c: Likewise.
38717 * math/e_scalbf.c: Likewise.
38718 * math/e_scalbl.c: Likewise.
38719 * math/k_cosl.c: Likewise.
38720 * math/k_sinl.c: Likewise.
38721 * math/k_tanl.c: Likewise.
38722 * math/s_cacoshf.c: Likewise.
38723 * math/s_catan.c: Likewise.
38724 * math/s_catanf.c: Likewise.
38725 * math/s_catanh.c: Likewise.
38726 * math/s_catanhf.c: Likewise.
38727 * math/s_catanhl.c: Likewise.
38728 * math/s_catanl.c: Likewise.
38729 * math/s_ccosh.c: Likewise.
38730 * math/s_ccoshf.c: Likewise.
38731 * math/s_ccoshl.c: Likewise.
38732 * math/s_cexp.c: Likewise.
38733 * math/s_cexpf.c: Likewise.
38734 * math/s_cexpl.c: Likewise.
38735 * math/s_clog.c: Likewise.
38736 * math/s_clog10.c: Likewise.
38737 * math/s_clog10f.c: Likewise.
38738 * math/s_clog10l.c: Likewise.
38739 * math/s_clogf.c: Likewise.
38740 * math/s_clogl.c: Likewise.
38741 * math/s_csin.c: Likewise.
38742 * math/s_csinf.c: Likewise.
38743 * math/s_csinh.c: Likewise.
38744 * math/s_csinhf.c: Likewise.
38745 * math/s_csinhl.c: Likewise.
38746 * math/s_csinl.c: Likewise.
38747 * math/s_csqrt.c: Likewise.
38748 * math/s_csqrtf.c: Likewise.
38749 * math/s_csqrtl.c: Likewise.
38750 * math/s_ctan.c: Likewise.
38751 * math/s_ctanf.c: Likewise.
38752 * math/s_ctanh.c: Likewise.
38753 * math/s_ctanhf.c: Likewise.
38754 * math/s_ctanhl.c: Likewise.
38755 * math/s_ctanl.c: Likewise.
38756 * math/s_ldexp.c: Likewise.
38757 * math/s_ldexpf.c: Likewise.
38758 * math/s_ldexpl.c: Likewise.
38759 * math/s_significand.c: Likewise.
38760 * math/s_significandf.c: Likewise.
38761 * math/s_significandl.c: Likewise.
38762 * math/w_acos.c: Likewise.
38763 * math/w_acosf.c: Likewise.
38764 * math/w_acosh.c: Likewise.
38765 * math/w_acoshf.c: Likewise.
38766 * math/w_acoshl.c: Likewise.
38767 * math/w_acosl.c: Likewise.
38768 * math/w_asin.c: Likewise.
38769 * math/w_asinf.c: Likewise.
38770 * math/w_asinl.c: Likewise.
38771 * math/w_atan2.c: Likewise.
38772 * math/w_atan2f.c: Likewise.
38773 * math/w_atan2l.c: Likewise.
38774 * math/w_atanh.c: Likewise.
38775 * math/w_atanhf.c: Likewise.
38776 * math/w_atanhl.c: Likewise.
38777 * math/w_cosh.c: Likewise.
38778 * math/w_coshf.c: Likewise.
38779 * math/w_coshl.c: Likewise.
38780 * math/w_dremf.c: Likewise.
38781 * math/w_exp10.c: Likewise.
38782 * math/w_exp10f.c: Likewise.
38783 * math/w_exp10l.c: Likewise.
38784 * math/w_exp2.c: Likewise.
38785 * math/w_exp2f.c: Likewise.
38786 * math/w_fmod.c: Likewise.
38787 * math/w_fmodf.c: Likewise.
38788 * math/w_fmodl.c: Likewise.
38789 * math/w_hypot.c: Likewise.
38790 * math/w_hypotf.c: Likewise.
38791 * math/w_hypotl.c: Likewise.
38792 * math/w_j0.c: Likewise.
38793 * math/w_j0f.c: Likewise.
38794 * math/w_j0l.c: Likewise.
38795 * math/w_j1.c: Likewise.
38796 * math/w_j1f.c: Likewise.
38797 * math/w_j1l.c: Likewise.
38798 * math/w_jn.c: Likewise.
38799 * math/w_jnf.c: Likewise.
38800 * math/w_jnl.c: Likewise.
38801 * math/w_lgamma.c: Likewise.
38802 * math/w_lgamma_r.c: Likewise.
38803 * math/w_lgammaf.c: Likewise.
38804 * math/w_lgammaf_r.c: Likewise.
38805 * math/w_lgammal.c: Likewise.
38806 * math/w_lgammal_r.c: Likewise.
38807 * math/w_log.c: Likewise.
38808 * math/w_log10.c: Likewise.
38809 * math/w_log10f.c: Likewise.
38810 * math/w_log10l.c: Likewise.
38811 * math/w_log2.c: Likewise.
38812 * math/w_log2f.c: Likewise.
38813 * math/w_log2l.c: Likewise.
38814 * math/w_logf.c: Likewise.
38815 * math/w_logl.c: Likewise.
38816 * math/w_pow.c: Likewise.
38817 * math/w_powf.c: Likewise.
38818 * math/w_powl.c: Likewise.
38819 * math/w_remainder.c: Likewise.
38820 * math/w_remainderf.c: Likewise.
38821 * math/w_remainderl.c: Likewise.
38822 * math/w_scalb.c: Likewise.
38823 * math/w_scalbf.c: Likewise.
38824 * math/w_scalbl.c: Likewise.
38825 * math/w_sinh.c: Likewise.
38826 * math/w_sinhf.c: Likewise.
38827 * math/w_sinhl.c: Likewise.
38828 * math/w_sqrt.c: Likewise.
38829 * math/w_sqrtf.c: Likewise.
38830 * math/w_sqrtl.c: Likewise.
38831 * math/w_tgamma.c: Likewise.
38832 * math/w_tgammaf.c: Likewise.
38833 * math/w_tgammal.c: Likewise.
38835 * po/ja.po: Update from translation team.
38837 2011-09-29 Andreas Jaeger <aj@suse.de>
38840 * sunrpc/netname.c (netname2host): Fix logic.
38844 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38846 * math/w_remainder.c (__remainder): Likewise.
38847 * math/w_remainderf.c (__remainderf): Likewise.
38848 * math/libm-test.inc (remainder_test): Add test cases.
38850 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38852 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38855 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38857 * string/test-memcmp.c: Avoid unncessary #defines.
38858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38860 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38862 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38863 Use new sse2 version for core i3 - i7 as it's faster
38864 than sse42 version.
38865 (bit_Prefer_PMINUB_for_stringop): New.
38866 * sysdeps/x86_64/rawmemchr.S: Update.
38867 Replace with faster SSE2 version.
38868 * sysdeps/x86_64/memrchr.S: New file.
38869 * sysdeps/x86_64/memchr.S: Update.
38870 Replace with faster SSE2 version.
38872 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38874 * elf/dl-load.c (lose): Add cast to avoid warning.
38876 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38878 * po/ca.po: Update from translation team.
38880 * inet/getnetgrent_r.c: Hook up nscd.
38881 * nscd/Makefile (routines): Add nscd_netgroup.
38882 (nscd-modules): Add netgroupcache.
38883 (CFLAGS-netgroupcache.c): Define.
38884 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38885 (cache_search): Add const to second parameter.
38886 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38888 (dbs): Add netgrdb entry.
38889 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38890 (verify_persistent_db): Handle netgrdb.
38891 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38892 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38894 (netgroup_response_header): Define.
38895 (innetgroup_response_header): Define.
38896 (datahead): Add netgroup_response_header and innetgroup_response_header
38898 * nscd/nscd.conf: Add entries for netgroup cache.
38899 * nscd/nscd.h (dbtype): Add netgrdb.
38900 (_PATH_NSCD_NETGROUP_DB): Define.
38901 (netgroup_iov_disabled): Declare.
38902 (xmalloc, xcalloc, xrealloc): Move declarations here.
38903 (cache_search): Adjust prototype.
38904 Add netgroup-related prototypes.
38905 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38906 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38907 (__nscd_innetgr): Declare.
38908 * nscd/selinux.c (perms): Use access_vector_t as element type and
38909 add netgroup-related initializers.
38910 * nscd/netgroupcache.c: New file.
38911 * nscd/nscd_netgroup.c: New file.
38912 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38913 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38914 For four parameters use innetgr.
38915 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38916 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38917 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38918 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38920 * nscd/connections.c (register_traced_file): Don't register file
38921 for disabled databases.
38923 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38925 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38927 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38928 from tree and freeing node.
38930 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38932 * nss/nsswitch.c (__nss_database_lookup): Handle
38933 nss_parse_service_list out of memory case.
38935 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38937 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38938 out of memory case.
38940 2011-10-04 Andreas Schwab <schwab@redhat.com>
38942 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38943 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38945 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38946 elf_machine_rela, elf_machine_lazy_rel.
38947 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38948 (ELF_DYNAMIC_DO_REL): Likewise.
38949 (ELF_DYNAMIC_DO_RELA): Likewise.
38950 (ELF_DYNAMIC_RELOCATE): Likewise.
38951 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38952 to ELF_DYNAMIC_DO_REL.
38953 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38954 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38955 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38957 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38958 skip_ifunc, don't call ifunc function if non-zero.
38959 (elf_machine_rela): Likewise.
38960 (elf_machine_lazy_rel): Likewise.
38961 (elf_machine_lazy_rela): Likewise.
38962 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38963 (elf_machine_lazy_rel): Likewise.
38964 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38966 (elf_machine_lazy_rel): Likewise.
38967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38969 (elf_machine_lazy_rel): Likewise.
38970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38971 (elf_machine_lazy_rel): Likewise.
38972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38973 (elf_machine_lazy_rel): Likewise.
38974 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38975 (elf_machine_lazy_rel): Likewise.
38976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38977 (elf_machine_lazy_rel): Likewise.
38978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38979 (elf_machine_lazy_rel): Likewise.
38980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38981 (elf_machine_lazy_rel): Likewise.
38983 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38985 * nss/nss_files/files-init.c (_nss_files_init): Use static
38986 initialization for all the *_traced_file variables.
38988 2011-09-28 Andreas Schwab <schwab@redhat.com>
38990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38992 2011-09-27 Roland McGrath <roland@hack.frob.com>
38995 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38997 2011-09-27 Andreas Schwab <schwab@redhat.com>
38999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39000 Reread the line before reparsing it.
39002 2011-09-26 Andreas Schwab <schwab@redhat.com>
39004 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39006 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39007 Maxim Kuvyrkov <maxim@codesourcery.com>
39008 Joseph Myers <joseph@codesourcery.com>
39010 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39011 if needed for __stack_chk_guard.
39013 2011-09-19 Roland McGrath <roland@hack.frob.com>
39015 * sysdeps/posix/spawni.c (script_execute): Always define it.
39016 It will be optimized away if unused.
39017 (maybe_script_execute): New function.
39018 (__spawni): Call it.
39020 * Makerules: Don't include tls.make.
39021 (config-tls): Always set to thread.
39022 * tls.make.c: File removed.
39024 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39026 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39027 * config.make.in (CPPFLAGS-config): New substituted variable.
39029 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39031 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39034 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39035 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39037 2011-09-15 Roland McGrath <roland@hack.frob.com>
39039 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39040 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39042 (CALL_FAIL): Likewise.
39043 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39044 (CALL_FAIL): Macro removed.
39045 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39047 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39049 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39050 for __FINITE_MATH_ONLY__ == 1.
39052 2011-09-15 Andreas Schwab <schwab@redhat.com>
39054 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39055 __ieee754_sqrt instead of sqrt.
39056 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39057 __ieee754_sqrtf instead of sqrtf.
39058 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39059 __floorf instead of floorf.
39060 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39061 __floorf, __truncf instead of floorf, truncf.
39063 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39065 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39067 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39068 __extern_always_inline.
39069 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39072 2011-09-14 Andreas Schwab <schwab@redhat.com>
39074 * elf/rtld.c (dl_main): Also relocate in dependency order when
39075 doing symbol dependency testing.
39077 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39080 Always define `refsym'.
39082 2011-09-13 Andreas Schwab <schwab@redhat.com>
39084 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39085 (__FD_ELT): Renamed from __FDELT.
39086 * misc/bits/select2.h (__FD_ELT): Likewise.
39087 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39088 __FD_MASK instead of __FDELT, __FDMASK.
39089 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39091 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39094 * elf/Makefile (gen-ldd): Fix pattern.
39096 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39097 (init_tls): Likewise.
39099 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39103 2011-09-12 Andreas Schwab <schwab@redhat.com>
39105 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39106 `struct cmsghdr *' instead of `void *'.
39107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39110 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39112 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39114 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39115 ldd_rewrite_script.
39117 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39119 * configure.in: Remove --with-tls option.
39120 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39121 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39122 out in case it is missing.
39123 * sysdeps/ia64/elf/configure.in: Likewise.
39124 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39125 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39126 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39127 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39128 * sysdeps/sh/elf/configure.in: Likewise.
39129 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39130 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39131 * sysdeps/x86_64/elf/configure.in: Likewise.
39132 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39133 * sysdeps/mach/hurd/tls.h: Likewise.
39136 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39139 * configure.in: Fix use of AC_INIT.
39141 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39143 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39145 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39147 * malloc/hooks.c: Likewise.
39150 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39151 variables statically.
39152 (narenas): Initialize.
39153 (list_lock): Initialize.
39154 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39155 initializtion of main_arena and list_lock. Small cleanups.
39156 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39157 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39158 Add initializers to main_arena and mp_.
39159 (malloc_state): Remove pagesize member. Change all users to use
39162 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39163 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39164 is always initialized.
39166 * malloc/malloc.c: Removed unused configurations and dead code.
39167 * malloc/arena.c: Likewise.
39168 * malloc/hooks.c: Likewise.
39169 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39171 * include/tls.h: Removed. USE___THREAD must always be defined.
39172 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39173 * elf/dl-libc.c: Likewise.
39174 * elf/dl-tsd.c: Likewise.
39175 * include/errno.h: Likewise.
39176 * include/netdb.h: Likewise.
39177 * include/resolv.h: Likewise.
39178 * inet/herrno-loc.c: Likewise.
39179 * inet/herrno.c: Likewise.
39180 * malloc/arena.c: Likewise.
39181 * malloc/hooks.c: Likewise.
39182 * malloc/malloc.c: Likewise.
39183 * resolv/res-state.c: Likewise.
39184 * resolv/res_libc.c: Likewise.
39185 * sysdeps/i386/dl-machine.h: Likewise.
39186 * sysdeps/ia64/dl-machine.h: Likewise.
39187 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39188 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39189 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39190 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39191 * sysdeps/sh/dl-machine.h: Likewise.
39192 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39193 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39194 * sysdeps/unix/i386/sysdep.S: Likewise.
39195 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39196 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39201 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39205 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39206 * sysdeps/x86_64/dl-machine.h: Likewise.
39207 * tls.make.c: Likewise.
39209 * configure.in: Remove --with-__thread option. Make tests for
39210 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39211 tls_model attribute fail if no support is available. Remove
39213 * Makeconfig: Adjust for dropped configure option. All features are
39215 * Makerules: Likewise.
39216 * Versions.def: Likewise.
39217 * argp/argp-fmtstream.c: Likewise.
39218 * argp/argp-fmtstream.h: Likewise.
39219 * argp/argp-help.c: Likewise.
39220 * assert/assert.c: Likewise.
39221 * config.h.in: Likewise.
39222 * config.make.in: Likewise.
39223 * configure: Likewise.
39224 * configure.in: Likewise.
39225 * csu/Versions: Likewise.
39226 * csu/init.c: Likewise.
39227 * elf/tst-audit2.c: Likewise.
39228 * elf/tst-tls10.c: Likewise.
39229 * elf/tst-tls10.h: Likewise.
39230 * elf/tst-tls11.c: Likewise.
39231 * elf/tst-tls12.c: Likewise.
39232 * elf/tst-tls14.c: Likewise.
39233 * elf/tst-tlsmod11.c: Likewise.
39234 * elf/tst-tlsmod12.c: Likewise.
39235 * elf/tst-tlsmod13.c: Likewise.
39236 * elf/tst-tlsmod13a.c: Likewise.
39237 * elf/tst-tlsmod14a.c: Likewise.
39238 * elf/tst-tlsmod15b.c: Likewise.
39239 * elf/tst-tlsmod16a.c: Likewise.
39240 * elf/tst-tlsmod16b.c: Likewise.
39241 * elf/tst-tlsmod7.c: Likewise.
39242 * elf/tst-tlsmod8.c: Likewise.
39243 * elf/tst-tlsmod9.c: Likewise.
39244 * gmon/gmon.c: Likewise.
39245 * grp/fgetgrent_r.c: Likewise.
39246 * grp/putgrent.c: Likewise.
39247 * hurd/fopenport.c: Likewise.
39248 * include/libc-symbols.h: Likewise.
39249 * include/tls.h: Likewise.
39250 * intl/gettextP.h: Likewise.
39251 * intl/loadinfo.h: Likewise.
39252 * locale/global-locale.c: Likewise.
39253 * locale/localeinfo.h: Likewise.
39254 * mach/devstream.c: Likewise.
39255 * malloc/arena.c: Likewise.
39256 * malloc/set-freeres.c: Likewise.
39257 * misc/err.c: Likewise.
39258 * misc/getttyent.c: Likewise.
39259 * misc/mntent_r.c: Likewise.
39260 * posix/getopt.c: Likewise.
39261 * posix/wordexp.c: Likewise.
39262 * pwd/fgetpwent_r.c: Likewise.
39263 * resolv/Versions: Likewise.
39264 * resolv/res_hconf.c: Likewise.
39265 * shadow/fgetspent_r.c: Likewise.
39266 * shadow/putspent.c: Likewise.
39267 * stdio-common/printf_fphex.c: Likewise.
39268 * stdio-common/tmpfile.c: Likewise.
39269 * stdlib/abort.c: Likewise.
39270 * stdlib/fmtmsg.c: Likewise.
39271 * sunrpc/auth_unix.c: Likewise.
39272 * sunrpc/clnt_perr.c: Likewise.
39273 * sunrpc/clnt_tcp.c: Likewise.
39274 * sunrpc/clnt_udp.c: Likewise.
39275 * sunrpc/clnt_unix.c: Likewise.
39276 * sunrpc/openchild.c: Likewise.
39277 * sunrpc/svc_simple.c: Likewise.
39278 * sunrpc/svc_tcp.c: Likewise.
39279 * sunrpc/svc_udp.c: Likewise.
39280 * sunrpc/svc_unix.c: Likewise.
39281 * sunrpc/xdr.c: Likewise.
39282 * sunrpc/xdr_array.c: Likewise.
39283 * sunrpc/xdr_rec.c: Likewise.
39284 * sunrpc/xdr_ref.c: Likewise.
39285 * sunrpc/xdr_stdio.c: Likewise.
39287 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39289 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39291 2011-07-03 Andreas Jaeger <aj@suse.de>
39293 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39294 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39295 regenerate with gen-libm-tests.pl.
39297 2010-05-12 Petr Baudis <pasky@suse.cz>
39300 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39301 around j0() zero points by switching to j1().
39302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39307 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39309 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39311 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39314 Patch in part by Pavel Roskin <proski@gnu.org>.
39317 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39319 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39320 Free memory block if necessary.
39323 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39324 be NULL. Don't lock in this case.
39326 2011-09-09 Roland McGrath <roland@hack.frob.com>
39328 * elf/elf.h (ELFOSABI_GNU): New macro.
39329 (ELFOSABI_LINUX): Define to that.
39331 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39333 * string/strncat.c (strncat): Undef the symbol in case it has been
39334 defined in bits/string.h.
39336 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39338 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39340 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39343 2011-08-17 Andreas Jaeger <aj@suse.de>
39345 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39347 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39348 Ian Lance Taylor <iant@google.com>
39350 * math/libm-test.inc (lround_test): New testcase.
39351 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39353 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39355 * Makefile: Remove support for automatic cvs check-ins.
39356 * Makerules: Likewise.
39357 * config.make.in: Likewise.
39358 * configure.in: Likewise.
39359 * intl/Makefile: Likewise.
39360 * locale/Makefile: Likewise.
39361 * po/Makefile: Likewise.
39362 * posix/Makefile: Likewise.
39363 * sysdeps/gnu/Makefile: Likewise.
39364 * sysdeps/mach/hurd/Makefile: Likewise.
39365 * sysdeps/sparc/sparc32/Makefile: Likewise.
39368 * posix/Makefile (bug-regex32-ENV): Define.
39369 Patch by John Stanley <jpsinthemix@verizon.net>.
39371 * misc/Makefile (headers): Add bits/select2.h.
39372 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39373 * misc/bits/select2.h: New file.
39374 * include/bits/select2.h: New file.
39375 * debug/Makefile (routines): Add fdelt_chk.
39376 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39377 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39379 * debug/fdelt_chk.c: New file.
39381 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39382 * wcsmbs/test-wmemcmp.c: Likewise.
39383 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39384 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39386 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39388 * string/Makefile (strop-tests): Add memcmp.
39389 * string/test-wmemcmp.c: New file.
39390 * string/test-memcmp.c: Add wmemcmp support.
39392 2011-09-08 Roland McGrath <roland@hack.frob.com>
39395 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39398 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39399 garbage value in a __mach_port_mod_refs call in the cases of the
39400 task-self and thread-self ports.
39402 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39404 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39406 2011-09-08 Andreas Schwab <schwab@redhat.com>
39408 * elf/dl-load.c (lose): Check for non-null L.
39410 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39412 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39414 * elf/dl-libc.c (dlerror_run): Pass back error code from
39418 * elf/dl-load.c (lose): Free l_origin if it is valid.
39420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39422 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39423 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39425 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39426 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39427 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39429 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39431 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39432 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39433 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39434 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39435 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39436 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39437 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39438 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39439 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39440 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39442 2011-08-15 Alan Modra <amodra@gmail.com>
39445 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39446 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39447 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39448 ppc_mcount to static-only-routines.
39449 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39451 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39452 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39454 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39456 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39457 for finite and infinity parameters.
39459 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39462 and add nop instructions for throughput optimization.
39463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39465 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39467 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39468 aligned copy for power7 with vector-scalar instructions.
39469 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39471 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39476 2011-09-07 Andreas Schwab <schwab@redhat.com>
39479 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39482 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39484 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39485 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39486 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39487 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39490 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39492 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39493 Forgot to demangle the pointer.
39495 * sysdeps/i386/sysdep.h: Define atom_text_section.
39496 * sysdeps/x86_64/sysdep.h: Likewise.
39497 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39498 section with atom_text_section.
39499 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39500 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39501 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39506 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39507 already be defined. Change to take two parameters and don't assign
39508 result to variable. Adjust all users.
39509 Define INTERNAL_GETTIME if not already defined.
39510 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39513 HAVE_CLOCK_GETTIME_VSYSCALL.
39514 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39517 gettimeofday vsyscall, just use time.
39519 2011-09-06 Andreas Schwab <schwab@redhat.com>
39521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39524 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39526 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39530 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39531 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39532 syscall if possible.
39534 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39536 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39537 e_ident. Don't pass to find_mapsXX.
39538 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39540 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39543 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39544 * sysdeps/x86_64/multiarch/strchr.S: Update.
39545 Check bit_slow_BSF bit.
39546 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39550 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39553 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39555 (tryshell): Define.
39556 (__spawni): Change last parameter to be flag. Test
39557 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39558 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39559 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39560 * posix/spawni.c: Likewise.
39561 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39562 * posix/spawnp.c: Likewise. Change normal version to use
39563 SPAWN_XFLAGS_USE_PATH.
39564 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39565 SPAWN_XFLAGS_TRY_SHELL.
39568 * posix/glob.h: Remove gcc 1.x support.
39571 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39573 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39576 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39578 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39579 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39580 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39582 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39583 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39585 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39587 * sysdeps/x86_64/wcscmp.S: New file.
39589 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39590 wcscmp-c wcscmp-sse2
39591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39592 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39593 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39594 * wcsmbs/wcscmp.c: Allow renaming.
39596 2011-09-05 David S. Miller <davem@davemloft.net>
39598 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39599 stack slot, rather than the struct return pointer slot.
39600 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39601 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39603 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39605 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39607 * po/ja.po: Update from translation team.
39610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39611 kernel in 64-bit binaries.
39613 2011-09-01 David S. Miller <davem@davemloft.net>
39615 * elf/elf.h (HWCAP_SPARC_*): Move to..
39616 * sysdeps/sparc/sysdep.h: this new file and add new values.
39617 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39618 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39619 _DL_HWCAP_COUNT to 24.
39620 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39622 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39623 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39624 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39626 instead of magic constants.
39627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39629 2011-08-31 David S. Miller <davem@davemloft.net>
39631 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39633 Reimplement to do errno handling inline.
39634 (SYSCALL_ERROR_HANDLER): New macro.
39635 (__SYSCALL_STRING): Do not do errno handling in asm.
39636 (__CLONE_SYSCALL_STRING): Delete.
39637 (__INTERNAL_SYSCALL_STRING): Delete.
39638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39639 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39640 (PSEUDO): Reimplement to do errno handling inline.
39641 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39642 (SYSCALL_ERROR_HANDLER): New macro.
39643 (__SYSCALL_STRING): Do not do errno handling in asm.
39644 (__CLONE_SYSCALL_STRING): Delete.
39645 (__INTERNAL_SYSCALL_STRING): Delete.
39646 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39647 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39649 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39650 (inline_syscall*): Add 'err' argument.
39651 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39652 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39653 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39654 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39656 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39657 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39659 2011-08-30 Andreas Schwab <schwab@redhat.com>
39661 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39663 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39665 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39668 2011-08-24 David S. Miller <davem@davemloft.net>
39670 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39672 2011-08-24 Andreas Schwab <schwab@redhat.com>
39674 * elf/Makefile: Add rules to build and run unload8 test.
39675 * elf/unload8.c: New file.
39676 * elf/unload8mod1.c: New file.
39677 * elf/unload8mod1x.c: New file.
39678 * elf/unload8mod2.c: New file.
39679 * elf/unload8mod3.c: New file.
39681 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39684 2011-08-23 David S. Miller <davem@davemloft.net>
39686 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39687 subtract stack bias.
39688 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39689 %sp not %fp in calculations.
39690 (_JMPBUF_UNWINDS_ADJ): Likewise.
39692 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39693 (aio_suspend): Call it to force an exception region around the
39694 AIO_MISC_WAIT() invocation.
39696 2011-08-23 Andreas Schwab <schwab@redhat.com>
39698 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39701 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39703 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39705 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39706 and <dl-machine.h>.
39707 (Elf64_FuncDesc): Remove.
39709 2011-08-22 David S. Miller <davem@davemloft.net>
39711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39712 sigaltstack check, add missing cfi directives.
39713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39714 missing cfi directives, and sigaltstack handling.
39716 2011-08-16 Andreas Schwab <schwab@redhat.com>
39719 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39720 object is seen twice.
39721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39723 * elf/Makefile (distribute): Add tst-initorder2.c.
39724 (tests): Add tst-initorder2.
39725 (modules-names): Add tst-initorder2a tst-initorder2b
39726 tst-initorder2c tst-initorder2d. Add rules to build them.
39727 ($(objpfx)tst-initorder2.out): New rule.
39728 * elf/tst-initorder2.c: New file.
39729 * elf/tst-initorder2.exp: New file.
39731 2011-08-22 Andreas Schwab <schwab@redhat.com>
39733 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39735 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39736 dependencies back to end of function.
39738 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39739 $(elfobjdir)/ld.so.
39741 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39744 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39746 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39747 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39748 of __vdso_gettimeofday.
39749 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39750 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39752 (_libc_vdso_platform_setup): Remove initialization of
39753 __vdso_gettimeofday and __vdso_time.
39755 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39757 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39758 and fgetc_unlocked.
39759 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39762 * elf/dl-open.c (add_to_global): Report additions to the global scope
39763 for LD_DEBUG=scopes.
39764 (dl_open_worker): Also print scope of newly loaded dependencies.
39765 (_dl_show_scope): Indicate if there is no scope.
39768 * stdio-common/Makefile (tests): Add bug24.
39769 * stdio-common/bug24.c: New file.
39771 2011-08-19 Andreas Jaeger <aj@suse.de>
39774 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39775 non-existant file when using close-on-exec mode.
39777 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39780 the very first instruction.
39782 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39783 the CFI state in the end.
39784 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39785 inclusion of dl-trampoline.h.
39786 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39788 2011-08-19 Andreas Schwab <schwab@redhat.com>
39790 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39791 expectations for long double.
39793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39794 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39796 2011-08-14 David S. Miller <davem@davemloft.net>
39798 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39799 artificual limit depends upon the system page size.
39801 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39803 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39804 * resolv/Makefile: Define CFLAGS-libresolv.
39806 2011-08-17 Andreas Schwab <schwab@redhat.com>
39808 * nss/makedb.c (compute_tables): Make variables used in nested
39811 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39813 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39814 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39815 if buffer was too small.
39817 * elf/pldd.c (main): Attach to all threads in the process.
39818 Rewrite /proc handling to use *at functions.
39820 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39822 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39823 specifies first scope to show.
39824 (dl_open_worker): Update callers. Move printing scope of new
39825 object to before the relocation.
39826 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39827 * sysdeps/generic/ldsodefs.h: Update declaration.
39829 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39830 string for the scope number.
39832 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39834 * nscd/servicescache.c (cache_addserv): Make sure written is always
39837 2011-08-14 Roland McGrath <roland@hack.frob.com>
39839 * sysdeps/i386/i486/bits/atomic.h
39840 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39841 statement expression, so as to suppress "set but not used" warning.
39842 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39844 * string/strncat.c (STRNCAT): Use prototype definition.
39846 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39847 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39849 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39850 (localedef-modules): Add localedef.
39851 (locale-modules): Add locale.
39853 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39854 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39855 to avoid a warning.
39857 2011-08-14 David S. Miller <davem@davemloft.net>
39859 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39860 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39862 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39864 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39865 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39866 * elf/rtld.c (dl_main): Set l_name of vDSO.
39867 Call _dl_show_scope when DL_DEBUG_SCOPES.
39868 (process_dl_debug): Recognize scopes flag and also set it for all.
39869 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39870 Declare _dl_show_scope.
39872 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39873 (do_dlopen): Pass caller_dlopen to dl_open.
39874 (__libc_dlopen_mode): Initialize caller_dlopen.
39876 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39877 of libc. Make tolower call locale-independent. Optimize a bit by
39878 using isdigit instead of isalnum.
39879 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39881 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39883 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39884 was a dependency or dynamically loaded.
39886 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39888 * intl/l10nflist.c: Allow architecture-specific pop function.
39889 * sysdeps/x86_64/l10nflist.c: New file.
39891 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39894 2011-08-10 Andreas Schwab <schwab@redhat.com>
39896 * include/dirent.h: Add libc_hidden_proto for scandirat and
39897 scandirat64. Don't declare __scandirat64.
39898 * dirent/scandirat.c: Add libc_hidden_def.
39899 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39900 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39902 2011-08-10 David S. Miller <davem@davemloft.net>
39904 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39906 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39910 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39912 * Versions.def [libc]: Add GLIBC_2.15.
39913 * dirent/Makefile (routines): Add scandirat and scandirat64.
39914 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39916 * dirent/dirent.h: Declare scandirat and scandirat64.
39917 * dirent/scandirat.c: New file.
39918 * dirent/scandirat64.c: New file.
39919 * sysdeps/wordsize-64/scandirat.c: New file.
39920 * sysdeps/wordsize-64/scandirat64.c: New file.
39921 * dirent/opendir.c: Define opendirat.
39922 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39924 * dirent/scandir64.c: Adjust for scandir.c change.
39925 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39926 __scandirat64, and __scandir_cancel_handler.
39927 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39928 additional parameter and use openat instead of open (outside of ld.so).
39929 Add new __opendir as wrapper around __opendirat.
39930 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39931 here without requiring old scandirat implementation.
39933 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39935 * dirent/scandir.c (cancel_handler): Renamed to
39936 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39937 defined. Adjust users.
39938 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39939 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39941 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39943 * string/test-string.h (IMPL): Use __STRING to expand name and then
39946 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39949 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39951 * string/Makefile: Update.
39952 (strop-tests): Append strncat.
39953 * string/test-wcscmp.c: New file.
39954 New comprehensive test for wcscmp.
39955 * string/test-strcmp.c: Update.
39956 (WIDE): New define.
39958 2011-07-22 Andreas Schwab <schwab@redhat.com>
39960 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39963 2011-07-26 Andreas Schwab <schwab@redhat.com>
39965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39966 encoding to ACE if AI_IDN.
39968 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39971 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39973 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39975 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39976 Fix overflow bug in strncat.
39977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39979 * string/test-strncat.c: Update.
39980 Add new tests for checking overflow bugs.
39982 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39985 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39986 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39987 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39989 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39990 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39991 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39992 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39995 (USE_AS_STRCAT): Define.
39996 Add strcat and strncat support.
39997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39999 2011-07-25 Andreas Schwab <schwab@redhat.com>
40001 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40002 __n bigger than INT_MAX+1.
40003 (__strncmp_g): Likewise.
40005 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40007 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40008 * libio/stido.h: Likewise.
40010 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40015 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40016 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40022 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40027 (_dl_x86_64_save_sse): Likewise.
40029 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40033 (_dl_x86_64_save_sse): Likewise.
40035 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40037 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40039 2011-07-21 Andreas Schwab <schwab@redhat.com>
40041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40043 (_dl_x86_64_save_sse): Use correct AVX check.
40045 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40048 bug in strncpy/strncat.
40049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40051 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40053 * string/tester.c (test_strcat): Add tests for different alignments
40054 of source and destination.
40055 (test_strncat): Likewise.
40057 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40060 * posix/glob.c (glob): Check passed in values before using them in
40061 expressions to avoid some overflows.
40062 (glob_in_dir): Likewise.
40065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40066 check for AVX enablement so that we don't crash with old kernels and
40068 * elf/tst-audit4.c: Add same checks here.
40069 * elf/tst-audit6.c: Likewise.
40071 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40073 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40075 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40077 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40079 * po/cs.po: Update from translation team.
40080 * po/bg.po: Likewise.
40082 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40084 * misc/sys/cdefs.h: Add support for const attribute.
40085 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40086 to gnu_dev_{major,minor,makedev} functions.
40088 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40090 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40092 2011-07-20 Andreas Schwab <schwab@redhat.com>
40094 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40097 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40100 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40101 register in order to avoid conflicts with the soft frame pointer
40102 being held in r11 when necessary.
40103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40104 (INTERNAL_VSYSCALL_NCS): Likewise.
40106 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40108 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40109 * elf/dl-fini.c (_dl_fini): Adjust caller.
40110 * elf/dl-close.c (_dl_close_worker): Likewise.
40111 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40113 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40115 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40116 "aux_cache->nlibs < 0".
40118 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40119 in the reload-count case.
40121 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40124 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40125 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40126 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40127 * sysdeps/x86_64/multiarch/strcat.S: New file.
40128 * sysdeps/x86_64/multiarch/strncat.S: New file.
40129 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40130 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40131 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40132 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40133 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40134 (USE_AS_STRCAT): Define.
40135 Add strcat and strncat support.
40136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40138 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40139 * string/strncat.c: Update.
40140 (USE_AS_STRNCAT): Define.
40141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40142 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40144 * sysdeps/x86_64/multiarch/init-arch.h
40145 (bit_Prefer_PMINUB_for_stringop): New.
40146 (index_Prefer_PMINUB_for_stringop): Likewise.
40147 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40148 bit_Prefer_PMINUB_for_stringop.
40150 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40152 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40154 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40155 of casting of buffer.
40156 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40157 buffer32 and buffer64.
40158 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40159 writes instead of casting of buffer.
40160 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40162 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40165 2011-07-19 Andreas Schwab <schwab@redhat.com>
40167 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40169 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40171 * nscd/nscd.c (termination_handler): Don't do anything for a database
40172 if it has not yet been initialized.
40174 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40176 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40178 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40180 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40182 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40184 * po/nl.po: Update from translation team.
40185 * po/sv.po: Likewise.
40187 2011-07-16 Roland McGrath <roland@hack.frob.com>
40189 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40190 now disallowed by GCC.
40192 * configure.in (use-default-link): Default to yes if a test -shared
40193 link meets our qualifications.
40194 * configure: Regenerated.
40196 * config.make.in (output-format): New variable.
40197 * configure.in: Check for ld --print-output-format support.
40198 * configure: Regenerated.
40199 * Makerules ($(common-objpfx)format.lds)
40200 [$(output-format) != unknown]: Just use $(output-format),
40201 instead of the linker-script munging.
40203 2011-07-14 Roland McGrath <roland@hack.frob.com>
40205 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40206 of $(common-objpfx)shlib.lds.
40207 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40209 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40210 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40212 * configure.in (-z relro check): Adjust test code to add a large
40213 writable data section after it.
40214 * configure: Regenerated.
40216 2011-07-11 Roland McGrath <roland@hack.frob.com>
40218 * configure.in (-z relro check): Fix test code to make the variable
40220 * configure: Regenerated.
40222 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40224 * nscd/nscd.h (struct traced_file): Define.
40225 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40226 elements. Add traced_files.
40227 (inotify_fd): Declare.
40228 (register_traced_file): Declare.
40229 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40230 (inotify_fd): Export.
40231 (resolv_conf_descr): Remove.
40232 (nscd_init): Move inotify descriptor creation to main.
40233 Don't register files for notification here.
40234 (register_traced_file): New function.
40235 (invalidate_cache): Don't use reset_res to determine whether to call
40236 res_init, go through the list of registered files.
40237 (main_loop_poll): The inotify descriptors are now stored in the
40238 structures for the traced files.
40239 (main_loop_epoll): Likewise
40240 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40241 to __nss_disable_nscd.
40242 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40243 for a database anymore. Check the records for all the registered
40245 * nss/Makefile (libnss_files-routines): Add files-init.
40246 (libnss_db-routines): Add db-init.
40247 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40248 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40249 * nss/nss_db/db-init.c: New file.
40250 * nss/nss_files/files-init.c: New file.
40251 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40252 __nss_lookup_function.
40253 (__nss_lookup_function): Call nss_load_library.
40254 (nss_load_all_libraries): New function.
40255 (__nss_disable_nscd): Take parameter with callback function for files
40256 to register. Set is_nscd. Load all the DSOs for the NSS modules
40257 used for the cached services.
40258 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40259 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40260 options for features to all the files in nscd.
40262 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40264 2011-07-10 Roland McGrath <roland@hack.frob.com>
40266 * csu/elf-init.c (__libc_csu_init): Comment typo.
40268 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40270 * po/pl.po: Update from translation team.
40271 * po/ja.po: Likewise.
40272 * po/ru.po: Likewise.
40273 * po/ko.po: Likewise.
40274 * po/fr.po: Likewise.
40276 2011-07-09 Roland McGrath <roland@hack.frob.com>
40278 * configure.in (.ctors/.dtors header and trailer check):
40279 Use an empirical test on a built program.
40280 * configure: Regenerated.
40282 * configure.in (-z relro check): Use an empirical test on a built DSO.
40283 Detect, but do not require, on ia64.
40284 * configure: Regenerated.
40286 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40287 Update tests that use readelf to use $READELF instead.
40288 * configure: Regenerated.
40290 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40292 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40293 if the result is not used.
40295 2011-07-05 Andreas Jaeger <aj@suse.de>
40298 * stdlib/tst-strtod.c: Add testcase.
40300 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40302 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40303 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40304 The latter has a higher limit. Take additional parameter to pass to
40306 (__pathconf): Pass file to __statfs_link_max.
40307 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40309 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40313 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40316 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40317 (__statfs_filesize_max): Likewise.
40318 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40320 2011-07-05 Andreas Jaeger <aj@suse.de>
40322 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40324 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40326 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40328 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40331 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40333 * Makefile (strop-tests): Add strncat.
40334 * string/test-strncat.c: New file.
40336 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40338 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40340 2011-06-21 Andreas Jaeger <aj@suse.de>
40342 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40343 Copy rule from iconvdata/Makefile.
40345 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40348 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40349 but no long options are defined, just return 'W'.
40351 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40354 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40356 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40358 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40360 (innetgr): Likewise.
40362 2011-07-05 Roland McGrath <roland@hack.frob.com>
40364 * config.make.in (install_root): Default to $(DESTDIR).
40366 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40370 2011-07-02 Roland McGrath <roland@hack.frob.com>
40372 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40374 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40375 containing directory rather than embedding absolute directory names.
40377 * scripts/check-local-headers.sh: Rewritten using awk.
40378 Match by word, not by line. Print error messages for matches.
40379 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40381 * Makerules [shlib-lds-flags empty]:
40382 ($(common-objpfx)libc_pic.opts): New target.
40383 ($(common-objpfx)libc_pic.os.clean): New target.
40384 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40386 * config.make.in (OBJCOPY): New variable.
40387 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40388 * configure: Regenerated.
40390 * config.make.in (use-default-link): New variable.
40391 * configure.in (use_default_link): Grok --with-default-link to set it.
40392 * configure: Regenerated.
40393 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40394 (shlib-lds, shlib-lds-flags): Define to empty.
40396 * Makerules (shlib-lds): New variable.
40397 (shlib-lds-flags): New variable.
40398 (build-shlib, build-moduile, build-module-asneeded): Use it.
40399 ($(common-objpfx)libc.so): Use $(shlib-lds).
40400 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40401 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40403 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40404 DT_FLAGS/DT_FLAGS_1 with zero flags.
40406 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40407 linker script munging.
40409 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40411 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40413 * crypt/sha512.c (sha512_process_block): Perform total addition using
40414 128-bit if possible.
40415 (__sha512_finish_ctx): Likewise.
40416 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40418 * crypt/sha256.c (SWAP64): Define.
40419 (sha256_process_block): Perform total addition using 64-bit if
40421 (__sha256_finish_ctx): Likewise.
40423 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40425 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40427 * nscd/hstcache.c (cache_addhst): Likewise.
40428 * nscd/grpcache.c (cache_addgr): Likewise.
40429 * nscd/aicache.c (addhstaiX): Likewise
40430 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40432 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40434 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40436 * nscd/hstcache.c (cache_addhst): Likewise.
40437 * nscd/grpcache.c (cache_addgr): Likewise.
40438 * nscd/aicache.c (addhstaiX): Likewise
40440 2011-07-01 Andreas Schwab <schwab@redhat.com>
40442 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40443 domain only when needed.
40445 2011-06-30 Andreas Schwab <schwab@redhat.com>
40447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40448 is always restored.
40450 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40452 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40453 are re-adding the entry.
40454 * nscd/servicescache.c (cache_addserv): Likewise.
40456 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40458 * sysdeps/generic/dl-irel.h: fix protection against multiple
40460 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40462 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40465 * malloc/memusage.sh: Fix quoting in message.
40466 * debug/xtrace.sh: Likewise.
40468 * configure.in: Remove support for --experimental-malloc option, make
40470 * config.make.in: Likewise.
40471 * malloc/Makefile: Likewise.
40473 2011-06-27 Andreas Schwab <schwab@redhat.com>
40475 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40476 two-byte characters.
40478 2011-06-27 Roland McGrath <roland@hack.frob.com>
40480 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40481 AC_CACHE_CHECK invocation.
40482 * configure: Regenerated.
40484 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40486 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40489 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40490 bit from old_res_options.
40492 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40494 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40495 value type for setfct.
40497 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40500 __gettimeofday instead of gettimeofday.
40502 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40504 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40506 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40508 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40513 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40516 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40517 strcpy-sse2-unaligned strncpy-sse2-unaligned
40518 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40519 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40520 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40521 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40522 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40523 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40525 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40526 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40527 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40528 (STRCPY): Support SSE2 and SSSE3 versions.
40530 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40533 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40534 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40535 kernels which artificially limit size of requests.
40537 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40540 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40541 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40542 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40543 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40544 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40545 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40546 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40549 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40550 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40551 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40552 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40553 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40555 Enable unaligned load optimization for Intel Core i3, i5 and i7
40557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40559 (index_Fast_Unaligned_Load): Define.
40560 (HAS_FAST_UNALIGNED_LOAD): Define.
40562 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40564 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40566 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40570 until it is clear that the information is realy needed.
40571 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40573 2011-06-22 Andreas Schwab <schwab@redhat.com>
40575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40577 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40580 /sys/devices/system/cpu/online if it is usable.
40582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40583 reading the information from the /proc filesystem to once a second.
40585 2011-06-21 Andreas Jaeger <aj@suse.de>
40587 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40588 NULL after inclusion of kernel headers.
40590 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40592 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40593 calls to internal_setent.
40596 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40597 addresses using gethostbyname4_r ignore IPv4 addresses.
40599 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40600 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40602 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40604 2011-06-20 David S. Miller <davem@davemloft.net>
40606 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40608 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40610 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40611 (elf_irel): Use it.
40612 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40613 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40614 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40615 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40616 * sysdeps/x86_64/dl-irel.h: Likewise.
40618 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40619 * elf/dl-sym.c: Likewise.
40621 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40623 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40624 need to dereference resplen2.
40626 2011-06-14 Andreas Schwab <schwab@redhat.com>
40628 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40630 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40632 * Makeconfig: Define vardbdir and inst_vardbdir.
40633 * nss/Makefile: Add rules to install db-Makefile.
40635 * nss/nss_db/db-XXX.c: Cleanup.
40637 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40638 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40640 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40641 * nss/makedb.c: Implement -g option to specify that value strings
40642 are generated and should not be added to table iterated over for
40644 * nss/nss_db/db-initgroups.c: New file.
40646 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40649 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40650 (internal_getgrouplist): Adjust to name change.
40651 Update use_initgroups_entry if this is not the first call.
40652 * nss/databases.def: Add initgroups entry.
40654 * nss/makedb.c (compute_tables): Check result of multiple hash table
40655 sizes to minimize maximum chain length.
40657 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40659 * Versions.def: Add entry for libnss_db.
40660 * shlib-versions: Likewise.
40661 * nss/Makefile: Add rules to build libnss_db.
40662 * nss/Versions: Add libnss_db information. Organize libnss_files
40664 * nss/db-Makefile: Add gshadow support. Change rules for the new
40665 makedb progra. Some minor improvements to generate smaller files.
40666 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40668 * nss/makedb.c: ...here.
40669 Improve database format to be smaller and require less memory at
40671 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40673 * nss/nss_db/db-netgrp.c: Likewise.
40674 * nss/nss_db/db-open.c: Likewise.
40675 * nss/nss_files/flies-XXX.x: Adjust comments.
40676 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40677 * nss/nss_files/files-grp.c: Likewise.
40678 * nss/nss_files/files-hosts.c: Likewise.
40679 * nss/nss_files/files-network.c: Likewise.
40680 * nss/nss_files/files-proto.c: Likewise.
40681 * nss/nss_files/files-pwd.c: Likewise.
40682 * nss/nss_files/files-rpc.c: Likewise.
40683 * nss/nss_files/files-service.c: Likewise.
40684 * nss/nss_files/files-sgrp.c: Likewise.
40685 * nss/nss_files/files-spwd.c: Likewise.
40686 * nss/nss_db/db-alias.c: Removed.
40687 * nss/nss_db/dummy-db.h: Removed.
40689 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40691 * nss/makedb.c: Rewritten to not use database library.
40692 * nss/Makefile: Update to build new makedb program.
40694 2011-06-14 Andreas Jaeger <aj@suse.de>
40696 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40697 memset declaration.
40699 2011-06-10 Andreas Schwab <schwab@redhat.com>
40701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40704 2011-06-10 Roland McGrath <roland@hack.frob.com>
40706 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40707 * elf/Makefile ($(objpfx)ld.so): Likewise.
40709 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40710 Don't list ld.so twice in dependencies.
40712 * posix/bug-regex31.c: Include <stdlib.h>.
40714 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40716 * nis/nss_compat/compat-spwd.c
40717 (getspent_next_nss_netgr): Remove unused variable.
40718 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40720 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40721 nonmembers" output to use the right array.
40723 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40725 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40727 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40728 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40729 * catgets/gencat.c (read_input_file): Likewise.
40730 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40732 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40733 variable definition inside #if's controlling its use.
40735 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40737 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40739 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40741 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40744 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40746 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40747 * configure: Regenerated.
40749 * Makerules: Revert last change.
40750 * elf/Makefile: Likewise.
40752 2011-06-09 Roland McGrath <roland@hack.frob.com>
40754 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40755 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40756 (reloc-link): Likewise.
40758 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40760 * elf/Makefile: Add rules to build pldd.
40761 * elf/pldd.c: New file.
40762 * elf/pldd-xx.c: New file.
40764 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40766 * version.h: Update for 2.15 development version.
40768 2011-06-07 David S. Miller <davem@davemloft.net>
40770 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40773 elf_machine_lazy_rel): Likewise.
40774 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40776 elf_machine_lazy_rel): Likewise.
40777 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40778 dl_hwcap via passed in argument.
40779 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40782 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40784 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40786 2011-06-06 Roland McGrath <roland@hack.frob.com>
40789 * manual/fdl-1.1.texi: New file, verbatim from:
40790 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40791 * manual/lgpl-2.1.texi: New file, verbatim from:
40792 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40793 * manual/Makefile (licenses): New variable, list those new file names.
40795 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40797 * manual/fdl.texi: File removed.
40798 * manual/lesser.texi: File removed.
40799 * manual/libc.texinfo (Copying, Documentation License):
40800 Use new @include file names, put @appendix directive before @include.
40802 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40805 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40806 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40807 (mq_open): Add __NTH.
40809 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40812 Assume Intel Core i3/i5/i7 processor if AVX is available.
40814 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40819 2011-05-31 Andreas Schwab <schwab@redhat.com>
40821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40822 memory. Use alloca_account. Fix memory leak when retrying.
40824 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40826 * version.h (RELEASE): Bump for 2.14 release.
40827 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40829 * config.make.in (RANLIB): Remove entry.
40831 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40833 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40834 (libc.pot): Work around missing support for .ksh extension in xgettext.
40837 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40838 if both request failed.
40839 (send_dg): In case of server errors clear resplen or *resplen2.
40842 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40843 when there are multiple maps.
40844 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40845 (_dl_fini): Remove test here.
40847 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40849 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40852 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40853 bit from old_res_options.
40854 (gaih_inet): Likewise.
40857 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40860 * resolv/res_init.c (res_setoptions): Make the code more compact.
40863 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40867 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40869 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40872 * malloc/malloc.h: Declare malloc hook variables as volatile.
40874 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40878 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40879 raise in the comment.
40880 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40881 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40882 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40884 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40887 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40888 grow the buffers more if it already has to be sufficient.
40889 (build_wcs_upper_buffer): Likewise.
40890 * posix/regexec.c (check_matching): Likewise.
40891 (clean_state_log_if_needed): Likewise.
40892 (extend_buffers): Don't enlarge buffers beyond size of the input
40894 Patches mostly by Emil Wojak <emil@wojak.eu>.
40895 * posix/bug-regex32.c: New file.
40896 * posix/Makefile (tests): Add bug-regex32.
40898 * locale/findlocale.c (_nl_find_locale): Return right away if
40899 _nl_explode_name failed.
40900 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40902 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40904 * debug/xtrace.sh: Unify messages.
40905 * malloc/memusage.sh: Likewise.
40908 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40909 time symbol from vDSO. Substitute with vsyscall if not available.
40910 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40913 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40914 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40915 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40916 Add sendmmsg and internal_sendmmsg.
40917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40918 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40921 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40922 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40925 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40928 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40929 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40935 * iconvdata/Makefile (tests): Add bug-iconv9.
40936 * iconvdata/bug-iconv9.c: New file.
40938 2011-05-27 Andreas Schwab <schwab@redhat.com>
40941 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40943 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40946 (struct user_regs_struct): Change intcs field back to cs.
40948 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40950 * po/ja.po: Update from translation team.
40952 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40955 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40956 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40958 2011-05-20 Andreas Schwab <schwab@redhat.com>
40960 * stdlib/longlong.h: Update from GCC.
40962 2011-05-23 Andreas Schwab <schwab@redhat.com>
40964 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40966 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40967 Add parameter name.
40968 (__sysconf): Pass it down.
40970 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40973 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40975 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40976 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40977 add in in __libc_use_alloca calls. Adjust callers.
40978 (glob): Use malloc in some situations.
40980 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40981 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40984 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40986 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40987 and CLOCK_BOOTTIME_ALARM.
40990 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40993 * string/_strerror.c (__strerror_r): Print negative errors as signed
40997 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40998 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40999 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41001 * configure.in: Fix typo in redirection and correct removal of test
41002 files in two cases.
41005 * locale/setlocale.c (new_composite_name): Fix test to check for
41006 identical name of all categories.
41009 * libio/filedoalloc.c (local_isatty): New function.
41010 (_IO_file_doallocate): Use local_isatty.
41011 * stdio-common/perror.c (perror): In case a new stream is used
41012 forward the stream error.
41013 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41016 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41021 * include/alloca.h (extend_alloca_account): Define.
41024 * posix/regex.h: Fix comments with documentation of user-accessible
41025 fields after compilation and describe correct free'ing of pattern
41026 after re_compile_pattern.
41027 Patch by Reuben Thomas <rrt@sc3d.org>.
41029 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41031 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41032 and -mno-altivec to prevent the compiler from using Altivec and/or
41033 VSX instructions when the corresponding registers are not available.
41035 2011-05-19 Andreas Schwab <schwab@redhat.com>
41037 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41039 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41041 * libio/freopen.c (freopen): Use __dup2, not dup2.
41042 * libio/freopen64.c (freopen64): Likewise.
41044 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41047 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41048 * math/Makefile (tests): Add test-powl.
41049 (CFLAGS-test-powl.c): Define.
41050 * math/test-powl.c: New file.
41052 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41054 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41056 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41059 * iconvdata/gb18030.c: Update to GB18020-2005.
41061 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41063 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41064 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41065 Patch by Aharon Robbins <arnold@skeeve.com>.
41068 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41072 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41073 through underflows.
41076 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41077 point to strings before performing equality test for error_one_per_line
41081 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41085 (struct user_fpregs_struct): Avoid __uint*_t types.
41088 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41089 symbol info. Use it instead of calling _dl_addr locally.
41090 (lock_and_info): New function.
41091 (tr_freehook): Call lock_and_info and pass symbol info as additional
41092 parameter to tr_where.
41093 (tr_mallochook): Likewise.
41094 (tr_reallochook): Likewise.
41095 (tr_memalignhook): Likewise.
41097 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41098 used and couldn't be at all thread-safe.
41100 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41102 * libio/freopen.c (freopen): Don't close old file descriptor
41103 before the new one is opened. Instead dup the new file descriptor
41104 to the old one after the new stream is created.
41105 * libio/freopen64.c (freopen64): Likewise.
41106 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41107 * libio/fileops.c (_IO_new_file_close_it): Handle new
41108 _IO_FLAGS2_NOCLOSE flag.
41109 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41110 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41111 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41112 _IO_FLAGS2_NOCLOSE flag.
41113 * include/unistd.h: Add hidden_proto for dup3.
41114 Define __have_dup3.
41115 * io/dup3.c: Define hidden symbol.
41116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41119 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41120 when an incomplete long option is used.
41121 * posix/tst-getopt_long1.c: New file.
41122 * posix/Makefile (tests): Add tst-getopt_long1.
41125 * scripts/config.guess: Update from autoconf-2.68.
41126 * scripts/config.sub: Likewise.
41129 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41131 (has_cpuclock): ...this. New function.
41132 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41133 macro here based on has_cpuclock code.
41136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41137 First byte (not low byte) is now always NUL.
41138 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41141 Use non-cancelable interfaces.
41144 * locale/iso-639.def: Add entry for Sorani.
41147 * include/stdlib.h: Move include protection to the right place.
41148 Define abort_msg_s. Declare __abort_msg with it.
41149 * stdlib/abort.c (__abort_msg): Adjust type.
41150 * assert/assert.c (__assert_fail_base): New function. Majority
41151 of code from __assert_fail. Allocate memory for __abort_msg with
41153 (__assert_fail): Now call __assert_fail_base.
41154 * assert/assert-perr.c: Remove bulk of implementation. Use
41155 __assert_fail_base.
41156 * include/assert.hL Declare __assert_fail_base.
41157 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41159 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41161 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41165 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41166 until all modules are registered in the DTV.
41167 * elf/Makefile: Add rules to build and run tst-tls19.
41168 * elf/tst-tls19.c: New file.
41169 * elf/tst-tls19mod1.c: New file.
41170 * elf/tst-tls19mod2.c: New file.
41171 * elf/tst-tls19mod3.c: New file.
41172 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41175 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41179 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41180 two-byte sequence errors.
41181 * iconvdata/Makefile (tests): Add bug-iconv8.
41182 * iconvdata/bug-iconv8.c: New file.
41185 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41188 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41191 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41192 (dummy_getcfa): New function.
41193 (init): Get _Unwind_GetCFA address, use dummy if not found.
41194 (backtrace_helper): In recursion check, also check whether CFA changes.
41195 (__backtrace): Completely initialize arg.
41197 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41198 storing incomplete byte sequence in state object. Avoid testing for
41199 guaranteed too small input if we know there is enough data available.
41201 2011-05-11 Andreas Schwab <schwab@redhat.com>
41203 * Makeconfig (+link-pie): Indent.
41204 * Rules (binaries-pie): Define if $(have-fpie) and
41206 (binaries-shared): Also filter out $(binaries-pie).
41207 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41208 * nscd/Makefile (others-pie): Add nscd.
41209 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41210 ($(objpfx)nscd): Remove command override.
41211 * login/Makefile (others-pie): Add pt_chown.
41212 ($(objpfx)pt_chown): Remove command override.
41213 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41214 remove command overrides.
41216 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41218 * libio/tst_putwc.c: Fix error messages.
41221 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41222 currently writing and seek to current position when not.
41223 * libio/Makefile (tests): Add bug-fclose1.
41224 * libio/bug-fclose1.c: New file.
41226 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41229 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41230 don't set DF_1_NODELETE here.
41231 (do_lookup_x): When entering new entry test for copy relocation
41232 and if necessary set DF_1_NODELETE flag.
41233 * elf/tst-unique4.cc: New file.
41234 * elf/tst-unique4.h: New file.
41235 * elf/tst-unique4lib.cc: New file.
41236 * elf/Makefile: Add rules to build and run tst-unique4.
41237 Patch by Piotr Bury <pbury@goahead.com>.
41239 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41242 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41245 * misc/mntent_r.c (addmntent): Flush the stream after the output
41248 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41249 (is_trusted_path_normalize): Skip initial colon. Append slash
41250 to empty buffer. Duplicate is_trusted_path code but allow
41251 constructed patch to be prefix.
41252 (is_dst): Allow $ORIGIN followed by /.
41253 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41254 Correct testing of result of is_trusted_path_normalize
41255 (decompose_rpath): Fix warning.
41257 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41260 * grp/initgroups.c (internal_getgrouplist): When we found the service
41261 list through the initgroups entry in nsswitch.conf do not always
41262 continue on a successful lookup. Don't always use the
41263 __nss_group_database value if it is set.
41264 * nss/nsswitch.conf (initgroups): Change action for successful db
41265 lookup to continue for compatibility.
41267 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41270 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41272 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41274 * iconvdata/tst-tables.sh: Likewise.
41275 * iconvdata/cp770.c: New file.
41276 * iconvdata/cp771.c: New file.
41277 * iconvdata/cp772.c: New file.
41278 * iconvdata/cp773.c: New file.
41279 * iconvdata/cp774.c: New file.
41280 * iconvdata/testdata/CP770: New file.
41281 * iconvdata/testdata/CP770..UTF8: New file.
41282 * iconvdata/testdata/CP771: New file.
41283 * iconvdata/testdata/CP771..UTF8: New file.
41284 * iconvdata/testdata/CP772: New file.
41285 * iconvdata/testdata/CP772..UTF8: New file.
41286 * iconvdata/testdata/CP773: New file.
41287 * iconvdata/testdata/CP773..UTF8: New file.
41288 * iconvdata/testdata/CP774: New file.
41289 * iconvdata/testdata/CP774..UTF8: New file.
41291 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41293 * iconvdata/gen-8bit-gap.sh: Likewise.
41294 * iconvdata/gen-8bit.sh: Likewise.
41296 * locale/iso-639.def: Add ary entry.
41299 * locale/C-translit.h.in: Add U20A1 transliteration.
41302 * locale/iso-639.def: Add wae entry.
41303 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41306 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41310 * locale/C-translit.h.in: Add entry for U20B9.
41311 Patch by pravin.d.s@gmail.com.
41313 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41316 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41317 ENAMETOOLONG use generic getcwd.
41318 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41319 in rtld. Use *stat64.
41320 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41321 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41322 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41323 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41324 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41325 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41326 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41327 __fstatat64 macros.
41328 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41329 * dirent/rewinddir.c: Add libc_hidden_def.
41330 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41331 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41333 * include/dirent.h (__alloc_dir): Add flags parameter.
41334 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41335 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41337 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41338 from fdopendir if O_CLOEXEC is already set.
41340 2011-03-15 Alan Modra <amodra@gmail.com>
41342 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41343 l_tls_firstbyte_offset non-zero. Save padding offset in
41344 l_tls_firstbyte_offset for later use.
41345 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41346 freeing static tls block.
41348 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41350 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41351 where #ifdef was intended. The intent is to prevent ARG_MAX from
41352 being defined by the kernel headers.
41354 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41357 * resolv/resolv.h: Define RES_NOTLDQUERY.
41358 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41359 no-tld-query and set RES_NOTLDQUERY.
41360 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41361 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41362 modern BIND to search name as TLD unless forbidden.
41364 2011-05-07 Petr Baudis <pasky@suse.cz>
41365 Ulrich Drepper <drepper@gmail.com>
41368 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41369 (is_trusted_path): ...to here.
41370 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41371 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41372 using is_trusted_path_normalize() in setuid scripts.
41374 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41376 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41377 __BEGIN/__END_DECLS.
41379 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41382 NSS_STATUS_NOTFOUND if no record was found.
41384 2011-05-05 Andreas Schwab <schwab@redhat.com>
41386 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41387 (headers-not-in-tirpc): Remove rpc/netdb.h
41388 * resolv/netdb.h: Revert last change.
41390 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41392 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41393 circular dependency between libgcc.a and libc.a.
41395 2011-05-05 Andreas Schwab <schwab@redhat.com>
41397 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41398 * nis/Makefile: Don't install rpcsvc/*.
41399 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41400 instead of <rpc/types.h>.
41401 (MAXHOSTNAMELEN): Define.
41403 2011-05-03 Andreas Schwab <schwab@redhat.com>
41405 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41407 2011-04-28 Maciej Babinski <mbabinski@google.com>
41410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41411 gethostbyname4_r when IPv6 results are possible.
41413 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41416 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41417 _PC_PIPE_BUF handling.
41419 2011-04-30 Bruno Haible <bruno@clisp.org>
41422 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41423 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41425 * inet/getnameinfo.c (getnameinfo): Likewise.
41427 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41429 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41430 to groups setting in database lookup.
41431 * nss/nsswitch.conf: Add initgroups entry.
41433 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41436 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41438 Patch by Eric Blake <eblake@redhat.com>.
41440 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41442 * sunrpc/Makefile (need-export-routines): Add svc_run.
41443 (routines): Remove svc_run.
41444 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41445 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41446 * sunrpc/svc_run.c (svc_run): Likewise.
41447 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41449 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41452 problem in reallocation in last patch.
41454 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41456 * sunrpc/Makefile: Move inclusion of Rules.
41458 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41460 * nss/nss_files/files-initgroups.c: New file.
41461 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41462 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41463 _nss_files_initgroups_dyn.
41465 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41467 * elf/elf.h (R_ARM_IRELATIVE): Define.
41469 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41471 * po/ru.po: Update from translation team.
41473 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41475 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41478 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41482 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41484 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41487 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41489 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41495 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41498 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41500 * stdlib/bug-getcontext.c: New file.
41501 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41503 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41505 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41506 instructions into .machine "z9-109".
41507 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41508 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41510 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41512 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41513 between environment variables and auxiliary vector.
41515 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41517 * Makefile: Add rules to build linkobj/libc.so.
41518 * include/libc-symbols.h: Define libc_hidden_nolink.
41519 * include/rpc/auth.h: Mark functions which are to be hidden.
41520 * include/rpc/auth_des.h: Likewise.
41521 * include/rpc/auth_unix.h: Likewise.
41522 * include/rpc/clnt.h: Likewise.
41523 * include/rpc/des_crypt.h: Likewise.
41524 * include/rpc/key_prot.h: Likewise.
41525 * include/rpc/pmap_clnt.h: Likewise.
41526 * include/rpc/pmap_prot.h: Likewise.
41527 * include/rpc/pmap_rmt.h: Likewise.
41528 * include/rpc/rpc_msg.h: Likewise.
41529 * include/rpc/svc.h: Likewise.
41530 * include/rpc/svc_auth.h: Likewise.
41531 * include/rpc/xdr.h: Likewise.
41532 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41533 * nss/Makefile: Likewise.
41534 * sunrpc/Makefile: Don't install headers. Build library with normal
41535 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41536 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41537 for the compat linking library. Remove use of INTDEF/INTUSE.
41538 * sunrpc/auth_none.c: Likewise.
41539 * sunrpc/auth_unix.c: Likewise.
41540 * sunrpc/authdes_prot.c: Likewise.
41541 * sunrpc/authuxprot.c: Likewise.
41542 * sunrpc/clnt_gen.c: Likewise.
41543 * sunrpc/clnt_perr.c: Likewise.
41544 * sunrpc/clnt_raw.c: Likewise.
41545 * sunrpc/clnt_simp.c: Likewise.
41546 * sunrpc/clnt_tcp.c: Likewise.
41547 * sunrpc/clnt_udp.c: Likewise.
41548 * sunrpc/clnt_unix.c: Likewise.
41549 * sunrpc/des_crypt.c: Likewise.
41550 * sunrpc/des_soft.c: Likewise.
41551 * sunrpc/get_myaddr.c: Likewise.
41552 * sunrpc/key_call.c: Likewise.
41553 * sunrpc/key_prot.c: Likewise.
41554 * sunrpc/netname.c: Likewise.
41555 * sunrpc/pm_getmaps.c: Likewise.
41556 * sunrpc/pm_getport.c: Likewise.
41557 * sunrpc/pmap_clnt.c: Likewise.
41558 * sunrpc/pmap_prot.c: Likewise.
41559 * sunrpc/pmap_prot2.c: Likewise.
41560 * sunrpc/pmap_rmt.c: Likewise.
41561 * sunrpc/publickey.c: Likewise.
41562 * sunrpc/rpc_cmsg.c: Likewise.
41563 * sunrpc/rpc_common.c: Likewise.
41564 * sunrpc/rpc_dtable.c: Likewise.
41565 * sunrpc/rpc_prot.c: Likewise.
41566 * sunrpc/rpc_thread.c: Likewise.
41567 * sunrpc/rtime.c: Likewise.
41568 * sunrpc/svc.c: Likewise.
41569 * sunrpc/svc_auth.c: Likewise.
41570 * sunrpc/svc_authux.c: Likewise.
41571 * sunrpc/svc_raw.c: Likewise.
41572 * sunrpc/svc_run.c: Likewise.
41573 * sunrpc/svc_simple.c: Likewise.
41574 * sunrpc/svc_tcp.c: Likewise.
41575 * sunrpc/svc_udp.c: Likewise.
41576 * sunrpc/svc_unix.c: Likewise.
41577 * sunrpc/svcauth_des.c: Likewise.
41578 * sunrpc/xcrypt.c: Likewise.
41579 * sunrpc/xdr.c: Likewise.
41580 * sunrpc/xdr_array.c: Likewise.
41581 * sunrpc/xdr_float.c: Likewise.
41582 * sunrpc/xdr_intXX_t.c: Likewise.
41583 * sunrpc/xdr_mem.c: Likewise.
41584 * sunrpc/xdr_rec.c: Likewise.
41585 * sunrpc/xdr_ref.c: Likewise.
41586 * sunrpc/xdr_sizeof.c: Likewise.
41587 * sunrpc/xdr_stdio.c: Likewise.
41589 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41592 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41593 * sysdeps/ia64/dl-tls.h: Likewise.
41594 * sysdeps/powerpc/dl-tls.h: Likewise.
41595 * sysdeps/s390/dl-tls.h: Likewise.
41596 * sysdeps/sh/dl-tls.h: Likewise.
41597 * sysdeps/sparc/dl-tls.h: Likewise.
41598 * sysdeps/x86_64/dl-tls.h: Likewise.
41599 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41601 2011-03-14 Andreas Schwab <schwab@redhat.com>
41603 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41604 rpath element also skip the following colon.
41605 (expand_dynamic_string_token): Add is_path parameter and pass
41606 down to DL_DST_REQUIRED and _dl_dst_substitute.
41607 (decompose_rpath): Call expand_dynamic_string_token with
41608 non-zero is_path. Ignore empty rpaths.
41609 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41612 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41617 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41620 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41621 Patch by Filipe David Manana <fdmanana@apache.org>.
41623 2011-04-07 Andreas Schwab <schwab@redhat.com>
41625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41626 Maintain aligned stack.
41627 (CHECK_RSP): Remove unused macro.
41629 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41631 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41632 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41634 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41636 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41638 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41640 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41643 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41644 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41645 * sysdeps/x86_64/memmove.c: New file.
41646 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41647 (memcpy): Renamed to ...
41648 (__new_memcpy): This.
41649 (memcpy): Provide GLIBC_2_14 memcpy.
41650 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41651 (memcpy): Provide GLIBC_2_2_5 memcpy.
41653 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41656 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41658 2011-03-30 Andreas Schwab <schwab@redhat.com>
41660 * misc/syncfs.c: New file.
41661 * misc/Makefile (routines): Add syncfs.
41662 * posix/unistd.h: Declare syncfs.
41663 * sysdeps/unix/syscalls.list: Add syncfs.
41665 2011-04-01 Andreas Schwab <schwab@redhat.com>
41667 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41672 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41674 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41677 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41681 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41687 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41688 sync_file_range.c with -fexceptions.
41689 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41690 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41691 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41692 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41693 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41694 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41696 sync_file_range as cancellation point
41697 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41698 now a wrapper around __call_sync_file_range with cancellation handling.
41699 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41700 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41701 function name to __call_sync_file_range.
41702 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41703 Add call_sync_file_range.
41705 2011-04-01 Andreas Schwab <schwab@redhat.com>
41707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41710 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41712 * iconv/iconv.h: Fix typo in comment.
41713 * io/fcntl.h: Likewise.
41714 * libio/stdio.h: Likewise.
41715 * posix/spawn.h: Likewise.
41716 * posix/unistd.h: Likewise.
41717 * stdlib/stdlib.h: Likewise.
41718 * time/time.h: Likewise.
41719 * wcsmbs/wchar.h: Likewise.
41721 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41722 open_by_handle): Add.
41723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41724 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41725 Augment a few comments.
41726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41731 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41734 * io/fcntl.h (AT_EMPTY_PATH): Define.
41736 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41738 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41739 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41740 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41742 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41743 * Versions.def: Add GLIBC_2.14.
41744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41747 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41749 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41751 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41753 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41756 * string/test-strncmp.c (do_page_test): New function.
41757 (check2): Likewise.
41758 (test_main): Call check2.
41759 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41761 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41764 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41765 Handle cache information in CPU leaf 4.
41766 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41768 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41771 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41772 character representation.
41773 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41775 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41777 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41778 END(__isnan) to END(__isnanf) to match function entry point/label
41779 EALIGN(__isnanf,...).
41781 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41783 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41785 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41788 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41789 copy from the symbol referenced in the relocation to initialize the
41791 Patch by Piotr Bury <pbury@goahead.com>.
41792 * elf/Makefile: Add rules to build and tst-unique3.
41793 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41794 * elf/tst-unique3.cc: New file.
41795 * elf/tst-unique3.h: New file.
41796 * elf/tst-unique3lib.cc: New file.
41797 * elf/tst-unique3lib2.cc: New file.
41799 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41801 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41803 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41804 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41807 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41809 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41810 to-be-loaded object along a path to loader is ld.so.
41812 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41813 Ulrich Drepper <drepper@gmail.com>
41815 * sysdeps/x86_64/memset.S: After aligning destination, code
41816 branches to different locations depending on the value of
41817 misalignment, when multiarch is enabled. Fix this.
41819 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41821 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41822 Set _x86_64_preferred_memory_instruction for AMD processsors.
41823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41824 Set bit_Prefer_SSE_for_memop for AMD processors.
41826 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41828 * libio/fmemopen.c (fmemopen): Optimize a bit.
41830 2011-03-03 Andreas Schwab <schwab@redhat.com>
41832 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41834 2011-03-03 Roland McGrath <roland@redhat.com>
41836 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41838 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41840 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41841 __bzero_ultra1 instead of __memset_ultra1.
41843 2011-02-23 Andreas Schwab <schwab@redhat.com>
41844 Ulrich Drepper <drepper@gmail.com>
41847 * include/link.h (struct link_map): Add l_orig_initfini.
41848 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41849 returning unsuccessfully.
41850 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41851 close of a file loaded at startup, restore the original l_initfini
41853 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41854 list, store the pointer.
41855 * elf/Makefile ($(objpfx)noload-mem): New rule.
41856 (noload-ENV): Define.
41857 (tests): Add $(objpfx)noload-mem.
41858 * elf/noload.c: Include <memcheck.h>.
41859 (main): Call mtrace. Close all opened handles.
41861 2011-02-17 Andreas Schwab <schwab@redhat.com>
41864 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41865 dependencies are missing.
41867 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41869 Fix __if_freereq crash: Unlike the generic version which uses free,
41871 * sysdeps/mach/hurd/ifreq.h: New file.
41873 2011-01-27 Petr Baudis <pasky@suse.cz>
41874 Ulrich Drepper <drepper@gmail.com>
41877 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41878 to extend_alloca().
41879 * stdio-common/bug23.c: New file.
41880 * stdio-common/Makefile (tests): Add bug23.
41882 2010-09-28 Andreas Schwab <schwab@redhat.com>
41883 Ulrich Drepper <drepper@gmail.com>
41886 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41887 before performing relro protection. At old place add assertion
41888 to make sure nothing changed.
41890 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41891 Glauber de Oliveira Costa <glommer@gmail.com>
41893 * elf/elf.h: Add new ARM TLS relocs.
41895 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41898 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41900 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41902 * sysdeps/wordsize-64/tst-writev.c: New file.
41904 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41906 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41907 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41908 insns in _dl_start to prevent a TOC reference before relocs are
41911 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41914 * Makeconfig: Remove RANLIB definition.
41915 * Makerules: Don't use RANLIB.
41916 * aclocal.m4: Remove ranlib test.
41917 * configure.in: No need to check for ranlib.
41918 * elf/rtld-Rules: Don't use RANLIB.
41920 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41922 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41924 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41925 inclusion protection macro.
41927 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41928 SIGRTMIN and SIGRTMAX and print information in that case only when
41929 SIGRTMIN is defined.
41931 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41933 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41934 arginfo fn returning -1.
41936 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41937 and thousands string is zero terminated.
41939 2011-02-03 Andreas Schwab <schwab@redhat.com>
41941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41942 sysdeps/unix/sysv/linux/bits/socket.h.
41944 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41946 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41947 (__CPU_COUNT): Remove old macros.
41948 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41949 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41950 (__CPU_ALLOC, __CPU_FREE): Add macros.
41951 (__sched_cpualloc, __sched_cpufree): Add declarations.
41953 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41955 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41956 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41957 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41958 (readdhstai): Return value of addhstaiX call.
41959 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41960 (addgrbyX): Return value returned by cache_addgr.
41961 (readdgrbyname): Return value returned by addgrbyX.
41962 (readdgrbygid): Likewise.
41963 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41964 (addpwbyX): Return value returned by cache_addpw.
41965 (readdpwbyname): Return value returned by addhstbyX.
41966 (readdpwbyuid): Likewise.
41967 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41968 (addservbyX): Return value returned by cache_addserv.
41969 (readdservbyname): Return value returned by addservbyX:
41970 (readdservbyport): Likewise.
41971 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41972 (addhstbyX): Return value returned by cache_addhst.
41973 (readdhstbyname): Return value returned by addhstbyX.
41974 (readdhstbyaddr): Likewise.
41975 (readdhstbynamev6): Likewise.
41976 (readdhstbyaddrv6): Likewise.
41977 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41978 (readdinitgroups): Return value returned by addinitgroupsX.
41979 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41980 (prune_cache): Keep track of timeout value of re-added entries.
41981 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41982 * nscd/nscd.h: Adjust prototypes of readd* functions.
41984 2011-02-04 Roland McGrath <roland@redhat.com>
41986 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41987 (nis_stats): Likewise.
41988 * nis/nis_modify.c (nis_modify): Likewise.
41989 * nis/nis_remove.c (nis_remove): Likewise.
41990 * nis/nis_add.c (nis_add): Likewise.
41992 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41994 * posix/fnmatch_loop.c: Add some consts.
41996 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41998 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42001 * config.make.in (config-cflags-novzeroupper): Define.
42002 * configure.in: Substitute libc_cv_cc_novzeroupper.
42003 * elf/Makefile (AVX-CFLAGS): Define.
42004 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42005 (CFLAGS-tst-auditmod4a.c): Likewise.
42006 (CFLAGS-tst-auditmod4b.c): Likewise.
42007 (CFLAGS-tst-auditmod6b.c): Likewise.
42008 (CFLAGS-tst-auditmod6c.c): Likewise.
42009 (CFLAGS-tst-auditmod7b.c): Likewise.
42010 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42012 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42014 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42015 function to the callback.
42016 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42018 2011-02-02 Andreas Schwab <schwab@redhat.com>
42020 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42023 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42026 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42028 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42030 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42033 * elf/Makefile: Add rules to build and run new test.
42034 * elf/tst-initorder.c: New file.
42035 * elf/tst-initorder.exp: New file.
42036 * elf/tst-initordera1.c: New file.
42037 * elf/tst-initordera2.c: New file.
42038 * elf/tst-initordera3.c: New file.
42039 * elf/tst-initordera4.c: New file.
42040 * elf/tst-initorderb1.c: New file.
42041 * elf/tst-initorderb2.c: New file.
42042 * elf/tst-order-a1.c: New file.
42043 * elf/tst-order-a2.c: New file.
42044 * elf/tst-order-a3.c: New file.
42045 * elf/tst-order-a4.c: New file.
42046 * elf/tst-order-b1.c: New file.
42047 * elf/tst-order-b2.c: New file.
42048 * elf/tst-order-main.c: New file.
42049 New test case by George Gensure <werkt0@gmail.com>.
42051 2010-10-01 Andreas Schwab <schwab@redhat.com>
42053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42054 decoding ACE if AI_CANONIDN.
42056 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42058 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42060 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42062 * version.h (RELEASE): Bump for 2.13 release.
42063 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42065 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42069 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42071 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42072 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42073 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42076 * posix/getconf.c: Update copyright year.
42077 * catgets/gencat.c: Likewise.
42078 * csu/version.c: Likewise.
42079 * debug/catchsegv.sh: Likewise.
42080 * debug/xtrace.sh: Likewise.
42081 * elf/ldconfig.c: Likewise.
42082 * elf/ldd.bash.in: Likewise.
42083 * elf/sprof.c (print_version): Likewise.
42084 * iconv/iconv_prog.c: Likewise.
42085 * iconv/iconvconfig.c: Likewise.
42086 * locale/programs/locale.c: Likewise.
42087 * locale/programs/localedef.c: Likewise.
42088 * malloc/memusage.sh: Likewise.
42089 * malloc/mtrace.pl: Likewise.
42090 * nscd/nscd.c (print_version): Likewise.
42091 * nss/getent.c: Likewise.
42093 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42094 PF_CAIF, and PF_ALG.
42095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42097 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42099 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42100 (modules-names): Use them.
42101 (ifunc-test-modules, ifunc-pie-tests): Define.
42102 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42103 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42104 (test-extras): Likewise.
42105 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42106 $(compile-command.c).
42107 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42108 (all-built-dso): Define.
42109 (check-textrel.out, check-execstack.out): Depend on it.
42111 * configure.in: Don't override --enable-multi-arch.
42113 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42116 * nscd/hstcache.c (tryagain): Define.
42117 (cache_addhst): Return tryagain not notfound for temporary errors.
42118 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42121 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42125 to make the syscall.
42126 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42129 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42130 and fall back to matching as normal character if the string ends before
42131 the matching ']' is found. This is what POSIX requires.
42132 * posix/testfnm.c: Adjust test result.
42133 * posix/globtest.sh: Adjust test result. Add new test.
42134 * posix/tst-fnmatch.input: Likewise.
42135 * posix/tst-fnmatch2.c: Add new test.
42137 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42139 * elf/Makefile (check-execstack): Revert last change. Depend on
42141 (check-execstack.h): New target.
42142 (generated): Add check-execstack.h.
42143 * elf/check-execstack.c: Include "check-execstack.h".
42144 (main): Revert last change.
42145 (handle_file): Return zero if GNU_STACK is absent and
42146 DEFAULT_STACK_PERMS doesn't include PF_X.
42148 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42150 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42151 in child fails because the descriptor is already closed.
42152 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42153 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42157 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42161 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42162 temporary buffer used to handle multi lookups locally.
42163 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42165 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42167 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42170 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42172 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42173 alignment for SSE2.
42175 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42178 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42179 characters. When rounding increased number of integer digits recompute
42181 * stdio-common/tst-grouping.c: New file.
42182 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42184 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42186 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42187 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42189 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42191 * bits/select.h: Likewise.
42193 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42195 * po/ja.po: Update from translation team.
42197 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42200 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42201 implementation just like for lxstat, fxstatat, et al.
42203 2010-12-27 Jim Meyering <meyering@redhat.com>
42206 * posix/regexec.c (build_trtable): Return failure indication upon
42207 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42209 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42212 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42213 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42214 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42215 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42218 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42221 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42222 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42224 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42226 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42227 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42228 script has SORT_BY_INIT_PRIORITY.
42229 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42230 NO_CTORS_DTORS_SECTIONS is defined.
42231 * elf/soinit.c: Likewise.
42232 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42233 NO_CTORS_DTORS_SECTIONS is defined.
42234 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42235 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42236 * sysdeps/sh/init-first.c: Likewise.
42237 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42239 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42241 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42242 always use the slow path.
42244 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42246 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42247 similar rule which adds the sysdep directories to the header search in
42248 order to pick up the correct platform stackinfo.h.
42249 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42250 perform test if it is, otherwise return successfully without testing.
42251 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42252 DEFAULT_STACK_PERMS define in stackinfo.h.
42253 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42254 defined in stackinfo.h.
42255 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42256 DEFAULT_STACK_PERMS defined in stackinfo.h.
42257 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42258 * sysdeps/ia64/stackinfo.h: Likewise.
42259 * sysdeps/s390/stackinfo.h: Likewise.
42260 * sysdeps/sh/stackinfo.h: Likewise.
42261 * sysdeps/sparc/stackinfo.h: Likewise.
42262 * sysdeps/x86_64/stackinfo.h: Likewise.
42263 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42264 PF_X for powerpc64. Retain PF_X for powerpc32.
42266 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42268 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42270 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42271 GETDENTS_64BIT_ALIGNED.
42273 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42275 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42277 2010-12-10 Andreas Schwab <schwab@redhat.com>
42279 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42282 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42283 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42285 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42286 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42288 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42291 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42294 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42296 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42298 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42300 * po/it.po: Update from translation team.
42302 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42307 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42309 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42311 2010-11-24 Andreas Schwab <schwab@redhat.com>
42313 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42315 (gaih_getanswer_slice): Likewise.
42317 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42321 2010-05-31 Petr Baudis <pasky@suse.cz>
42324 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42325 silently even in the chroot mode.
42327 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42329 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42330 last patch a bit. Pretty printing
42332 2010-05-31 Petr Baudis <pasky@suse.cz>
42335 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42336 initialization of skip_initgroups_dyn.
42338 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42343 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42345 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42347 2010-11-11 Andreas Schwab <schwab@redhat.com>
42349 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42350 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42351 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42352 ($(objpfx)tst-fnmatch-mem): New rule.
42353 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42354 * posix/tst-fnmatch.c (main): Call mtrace.
42356 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42359 Support Intel processor model 6 and model 0x2c.
42361 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42363 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42366 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42369 * string/test-strncasecmp.c (check_result): New function.
42370 (do_one_test): Use it.
42371 (check1): New function.
42372 (test_main): Use it.
42373 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42374 Support strcasecmp and strncasecmp.
42376 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42379 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42380 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42382 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42384 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42388 * sysdeps/x86_64/multiarch/bzero.S: New file.
42389 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42390 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42391 * sysdeps/x86_64/multiarch/memset.S: New file.
42392 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42394 Set bit_Prefer_SSE_for_memop for Intel processors.
42395 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42397 (index_Prefer_SSE_for_memop): Define.
42398 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42400 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42402 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42403 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42405 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42408 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42409 (__x86_64_raw_data_cache_size_half): Likewise.
42410 (__x86_64_raw_shared_cache_size): Likewise.
42411 (__x86_64_raw_shared_cache_size_half): Likewise.
42413 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42414 (__x86_64_raw_data_cache_size_half): Likewise.
42415 (__x86_64_raw_shared_cache_size): Likewise.
42416 (__x86_64_raw_shared_cache_size_half): Likewise.
42417 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42418 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42419 and __x86_64_raw_shared_cache_size_half. Round
42420 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42421 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42422 to multiple of 256 bytes.
42424 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42428 of inacessible symlinks. Verify result of symlink before returning it.
42429 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42430 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42432 2010-10-28 Erich Ritz <erichritz@gmail.com>
42434 * math/math.h (isinf): Fix typo in comment.
42436 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42438 * po/da.po: Update from translation team.
42440 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42442 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42443 is added to the list.
42445 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42446 Ulrich Drepper <drepper@gmail.com>
42448 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42449 the global list here. Move code to...
42450 (_dl_add_to_namespace_list): ...here. New function.
42451 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42452 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42453 * elf/dl-load.c (lose): Don't remove the element from the list.
42454 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42455 (_dl_map_object): Likewise.
42457 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42460 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42461 into all bytes of SSE register.
42462 Patch by Richard Li <richardpku@gmail.com>.
42464 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42467 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42470 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42472 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42473 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42474 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42480 2010-10-22 Andreas Schwab <schwab@redhat.com>
42482 * include/dlfcn.h (__RTLD_SECURE): Define.
42483 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42484 mode & __RTLD_SECURE instead.
42485 (open_path): Rename preloaded parameter to secure.
42486 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42487 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42488 * elf/dl-deps.c (openaux): Likewise.
42489 * elf/rtld.c (struct map_args): Remove is_preloaded.
42490 (map_doit): Don't use it.
42491 (dl_main): Likewise.
42492 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42493 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42495 2010-09-09 Andreas Schwab <schwab@redhat.com>
42497 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42498 (sysd-rules-targets): Remove duplicates.
42499 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42500 rtld-%.$o dependency.
42502 2010-10-18 Andreas Schwab <schwab@redhat.com>
42504 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42505 _dl_map_object do it.
42507 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42509 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42510 fast fma builtins, define the macros in the C99 standard.
42511 (FP_FAST_FMAF): Likewise.
42512 (FP_FAST_FMAL): Likewise.
42513 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42515 * bits/mathdef.h: Update copyright year.
42516 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42518 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42520 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42521 builtins, define the macros in the C99 standard.
42522 (FP_FAST_FMAF): Likewise.
42523 (FP_FAST_FMAL): Likewise.
42524 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42526 (FP_FAST_FMAF): Likewise.
42528 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42531 * math/libm-test.inc (fma_test): Some new testcases.
42532 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42533 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42534 y and infinite z. Do multiplication by C already in long double.
42535 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42537 y and infinite z. Do bitwise or of inexact bit into u.d.
42538 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42539 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42540 * sysdeps/i386/fpu/s_fma.S: Removed.
42541 * sysdeps/i386/fpu/s_fmal.S: Removed.
42543 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42546 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42548 computation is not scheduled after fetestexcept. Fix value
42549 of minimum denormal long double.
42551 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42554 * math/libm-test.inc (fma_test): Add some more tests.
42555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42558 2010-10-15 Andreas Schwab <schwab@redhat.com>
42560 * scripts/data/localplt-s390-linux-gnu.data: New file.
42561 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42563 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42566 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42567 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42569 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42571 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42573 if one of x and y is very large and the other is subnormal.
42574 * sysdeps/s390/fpu/s_fmaf.c: New file.
42575 * sysdeps/s390/fpu/s_fma.c: New file.
42576 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42577 * sysdeps/powerpc/fpu/s_fma.S: New file.
42578 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42579 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42580 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42582 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42585 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42588 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42589 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42590 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42591 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42592 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42593 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42595 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42598 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42599 * posix/bug-regex31.input: Add test case.
42601 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42603 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42604 * posix/bug-regex31.input: New file.
42607 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42608 (parse_sub_exp): Fix last change, use postorder.
42610 * posix/bug-regex31.c: New file.
42611 * posix/Makefile: Add rules to build and run bug-regex31.
42613 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42616 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42619 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42620 to have entries in sys_siglist.
42623 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42626 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42629 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42630 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42631 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42632 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42633 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42634 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42635 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42636 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42637 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42638 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42639 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42640 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42641 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42642 * math/ftestexcept.c (fetestexcept): Likewise.
42643 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42644 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42645 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42646 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42647 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42648 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42649 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42651 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42654 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42657 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42659 * string/bug-strstr1.c: New file.
42660 * string/Makefile: Add rules to build and run bug-strstr1.
42662 2010-10-05 Eric Blake <eblake@redhat.com>
42665 * string/str-two-way.h (two_way_long_needle): Always clear memory
42666 when skipping input due to the shift table.
42668 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42671 * malloc/mcheck.c: Handle large requests.
42674 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42675 for strncmp and strncasecmp.
42676 * string/stratcliff.c: Add tests for strcmp and strncmp.
42677 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42679 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42681 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42684 2010-09-30 Andreas Jaeger <aj@suse.de>
42686 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42687 (CGROUP_SUPER_MAGIC): Define.
42688 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42689 Handle btrfs and cgroup file systems.
42690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42693 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42695 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42696 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42698 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42701 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42702 trying to locate the ELF header.
42704 2010-09-27 Andreas Schwab <schwab@redhat.com>
42707 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42708 Mask out sign-bit copies when constructing f_fsid.
42710 2010-09-24 Petr Baudis <pasky@suse.cz>
42712 * debug/stack_chk_fail_local.c: Add missing licence exception.
42713 * debug/warning-nop.c: Likewise.
42715 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42717 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42718 implementing getdents64 using getdents syscall, set d_type if
42719 __ASSUME_GETDENTS32_D_TYPE.
42721 2010-09-16 Andreas Schwab <schwab@redhat.com>
42723 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42724 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42726 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42729 * posix/unistd.h: Undo change of feature selection for ftruncate from
42732 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42734 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42737 2010-09-20 Andreas Schwab <schwab@redhat.com>
42739 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42743 2010-09-14 Andreas Schwab <schwab@redhat.com>
42745 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42746 variables after CHECK_SP call.
42747 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42749 2010-09-13 Andreas Schwab <schwab@redhat.com>
42750 Ulrich Drepper <drepper@redhat.com>
42752 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42753 re-relocationg ld.so.
42754 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42755 _dl_init_paths call.
42756 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42759 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42761 * resolv/res_init.c (__res_vinit): Count the default server we added.
42763 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42764 Ulrich Drepper <drepper@redhat.com>
42767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42768 (____longjmp_chk): Use %ebx for saving value across system call.
42771 2010-09-06 Andreas Schwab <schwab@redhat.com>
42773 * manual/Makefile: Don't mix pattern rules with normal rules.
42775 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42777 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42779 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42780 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42781 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42782 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42786 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42789 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42790 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42792 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42794 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42795 * sysdeps/x86_64/addmul_1.S: Likewise.
42796 * sysdeps/x86_64/lshift.S: Likewise.
42797 * sysdeps/x86_64/mul_1.S: Likewise.
42798 * sysdeps/x86_64/rshift.S: Likewise.
42799 * sysdeps/x86_64/sub_n.S: Likewise.
42800 * sysdeps/x86_64/submul_1.S: Likewise.
42802 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42804 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42805 Define __sched_param instead of SCHED_* and sched_param when
42806 <bits/sched.h> is included with __need_schedparam defined.
42807 * bits/sched.h [__need_schedparam]
42808 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42809 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42810 (__defined_schedparam): Define to 1.
42811 (__sched_param): New structure, identical to sched_param.
42812 (__need_schedparam): Undefine.
42814 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42817 (epoll_create1): Declare.
42819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42821 2010-08-31 Andreas Schwab <schwab@redhat.com>
42824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42825 shifting retval into place.
42827 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42829 * nis/rpcsvc/nis.h: Update copyright notice.
42830 * nis/rpcsvc/nis.x: Likewise.
42831 * nis/rpcsvc/nis_callback.h: Likewise.
42832 * nis/rpcsvc/nis_callback.x: Likewise.
42833 * nis/rpcsvc/nis_object.x: Likewise.
42834 * nis/rpcsvc/nis_tags.h: Likewise.
42835 * nis/rpcsvc/yp.h: Likewise.
42836 * nis/rpcsvc/yp.x: Likewise.
42837 * nis/rpcsvc/ypupd.h: Likewise.
42838 * nis/yp_xdr.c: Likewise.
42839 * nis/ypupdate_xdr.c: Likewise.
42841 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42842 mainly the body of pmap_getport. Add parameters to specify timeouts.
42843 (pmap_getport): Use __libc_rpc_getport.
42844 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42845 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42846 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42848 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42853 2010-08-27 Roland McGrath <roland@redhat.com>
42855 * sysdeps/i386/i686/multiarch/Makefile
42856 (CFLAGS-varshift.c): New variable.
42858 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42860 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42861 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42865 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42867 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42869 * sysdeps/x86_64/strlen.S: Unroll the loop.
42870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42871 strlen-sse2 strlen-sse2-bsf.
42872 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42873 __strlen_no_bsf if bit_Slow_BSF is set.
42874 (__strlen_sse42): Removed.
42875 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42876 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42878 2010-08-25 Roland McGrath <roland@redhat.com>
42880 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42881 * sysdeps/x86_64/multiarch/varshift.c: New file.
42882 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42883 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42884 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42885 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42887 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42890 strlen-sse2 strlen-sse2-bsf.
42891 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42892 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42893 (__strlen_sse2): Removed.
42894 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42897 bit_Slow_BSF for Atom.
42898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42899 (index_Slow_BSF): Define.
42900 (HAS_SLOW_BSF): Define.
42902 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42905 * resolv/res_init.c (__res_vinit): When no server address at all
42906 is given default to loopback.
42908 2010-08-24 Roland McGrath <roland@redhat.com>
42910 * configure.in: Remove config-name.h generation.
42911 * configure: Regenerated.
42912 * config-name.in: File removed.
42913 * scripts/config-uname.sh: New file.
42914 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42915 ($(objdir)config-name.h): New target.
42917 * sunrpc/rpc_parse.h: Avoid nested comment.
42919 2010-08-24 Richard Henderson <rth@redhat.com>
42920 Ulrich Drepper <drepper@redhat.com>
42921 H.J. Lu <hongjiu.lu@intel.com>
42923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42925 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42926 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42927 _mm_alignr_epi8 with _mm_loadu_si128.
42928 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42929 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42930 (__m128i_shift_right): Removed.
42931 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42932 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42933 * sysdeps/x86_64/multiarch/varshift.h: New file.
42934 * sysdeps/x86_64/multiarch/varshift.S: New file.
42936 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42938 * configure.in: Move assembler checks to before sysdep dir checking.
42940 2010-08-20 Petr Baudis <pasky@suse.cz>
42942 * LICENSES: Sync the sunrpc license.
42944 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42946 * sunrpc/auth_des.c: Update copyright notice once again.
42947 * sunrpc/auth_none.c: Likewise.
42948 * sunrpc/auth_unix.c: Likewise.
42949 * sunrpc/authdes_prot.c: Likewise.
42950 * sunrpc/authuxprot.c: Likewise.
42951 * sunrpc/bindrsvprt.c: Likewise.
42952 * sunrpc/clnt_gen.c: Likewise.
42953 * sunrpc/clnt_perr.c: Likewise.
42954 * sunrpc/clnt_raw.c: Likewise.
42955 * sunrpc/clnt_simp.c: Likewise.
42956 * sunrpc/clnt_tcp.c: Likewise.
42957 * sunrpc/clnt_udp.c: Likewise.
42958 * sunrpc/clnt_unix.c: Likewise.
42959 * sunrpc/des_crypt.c: Likewise.
42960 * sunrpc/des_soft.c: Likewise.
42961 * sunrpc/get_myaddr.c: Likewise.
42962 * sunrpc/getrpcport.c: Likewise.
42963 * sunrpc/key_call.c: Likewise.
42964 * sunrpc/key_prot.c: Likewise.
42965 * sunrpc/openchild.c: Likewise.
42966 * sunrpc/pm_getmaps.c: Likewise.
42967 * sunrpc/pm_getport.c: Likewise.
42968 * sunrpc/pmap_clnt.c: Likewise.
42969 * sunrpc/pmap_prot.c: Likewise.
42970 * sunrpc/pmap_prot2.c: Likewise.
42971 * sunrpc/pmap_rmt.c: Likewise.
42972 * sunrpc/rpc/auth.h: Likewise.
42973 * sunrpc/rpc/auth_unix.h: Likewise.
42974 * sunrpc/rpc/clnt.h: Likewise.
42975 * sunrpc/rpc/des_crypt.h: Likewise.
42976 * sunrpc/rpc/key_prot.h: Likewise.
42977 * sunrpc/rpc/netdb.h: Likewise.
42978 * sunrpc/rpc/pmap_clnt.h: Likewise.
42979 * sunrpc/rpc/pmap_prot.h: Likewise.
42980 * sunrpc/rpc/pmap_rmt.h: Likewise.
42981 * sunrpc/rpc/rpc.h: Likewise.
42982 * sunrpc/rpc/rpc_des.h: Likewise.
42983 * sunrpc/rpc/rpc_msg.h: Likewise.
42984 * sunrpc/rpc/svc.h: Likewise.
42985 * sunrpc/rpc/svc_auth.h: Likewise.
42986 * sunrpc/rpc/types.h: Likewise.
42987 * sunrpc/rpc/xdr.h: Likewise.
42988 * sunrpc/rpc_clntout.c: Likewise.
42989 * sunrpc/rpc_cmsg.c: Likewise.
42990 * sunrpc/rpc_common.c: Likewise.
42991 * sunrpc/rpc_cout.c: Likewise.
42992 * sunrpc/rpc_dtable.c: Likewise.
42993 * sunrpc/rpc_hout.c: Likewise.
42994 * sunrpc/rpc_main.c: Likewise.
42995 * sunrpc/rpc_parse.c: Likewise.
42996 * sunrpc/rpc_parse.h: Likewise.
42997 * sunrpc/rpc_prot.c: Likewise.
42998 * sunrpc/rpc_sample.c: Likewise.
42999 * sunrpc/rpc_scan.c: Likewise.
43000 * sunrpc/rpc_scan.h: Likewise.
43001 * sunrpc/rpc_svcout.c: Likewise.
43002 * sunrpc/rpc_tblout.c: Likewise.
43003 * sunrpc/rpc_util.c: Likewise.
43004 * sunrpc/rpc_util.h: Likewise.
43005 * sunrpc/rpcinfo.c: Likewise.
43006 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43007 * sunrpc/rpcsvc/key_prot.x: Likewise.
43008 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43009 * sunrpc/rpcsvc/mount.x: Likewise.
43010 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43011 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43012 * sunrpc/rpcsvc/rex.x: Likewise.
43013 * sunrpc/rpcsvc/rstat.x: Likewise.
43014 * sunrpc/rpcsvc/rusers.x: Likewise.
43015 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43016 * sunrpc/rpcsvc/spray.x: Likewise.
43017 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43018 * sunrpc/rtime.c: Likewise.
43019 * sunrpc/svc.c: Likewise.
43020 * sunrpc/svc_auth.c: Likewise.
43021 * sunrpc/svc_authux.c: Likewise.
43022 * sunrpc/svc_raw.c: Likewise.
43023 * sunrpc/svc_run.c: Likewise.
43024 * sunrpc/svc_simple.c: Likewise.
43025 * sunrpc/svc_tcp.c: Likewise.
43026 * sunrpc/svc_udp.c: Likewise.
43027 * sunrpc/svc_unix.c: Likewise.
43028 * sunrpc/svcauth_des.c: Likewise.
43029 * sunrpc/xcrypt.c: Likewise.
43030 * sunrpc/xdr.c: Likewise.
43031 * sunrpc/xdr_array.c: Likewise.
43032 * sunrpc/xdr_float.c: Likewise.
43033 * sunrpc/xdr_mem.c: Likewise.
43034 * sunrpc/xdr_rec.c: Likewise.
43035 * sunrpc/xdr_ref.c: Likewise.
43036 * sunrpc/xdr_sizeof.c: Likewise.
43037 * sunrpc/xdr_stdio.c: Likewise.
43039 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43042 2010-08-19 Andreas Schwab <schwab@redhat.com>
43044 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43046 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43048 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43049 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43050 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43051 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43053 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43054 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43055 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43057 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43058 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43059 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43060 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43061 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43063 2010-07-26 Anton Blanchard <anton@samba.org>
43065 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43066 * malloc/arena.c (heap_trim): Likewise.
43068 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43070 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43073 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43075 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43077 * sysdeps/i386/elf/Makefile: New file.
43079 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43081 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43082 from fanotify_init.
43083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43086 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43088 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43090 * sysdeps/multiarch/strcmp.S: Likewise.
43092 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43094 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43095 strncase_l-nonascii.
43096 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43097 Add strncase_l-ssse3.
43098 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43099 * sysdeps/x86_64/strcmp.S: Likewise.
43100 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43101 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43102 * sysdeps/x86_64/strncase.S: New file.
43103 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43104 * sysdeps/x86_64/strncase_l.S: New file.
43105 * string/Makefile (strop-tests): Add strncasecmp.
43106 * string/test-strncasecmp.c: New file.
43108 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43111 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43112 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43114 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43116 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43118 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43120 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43122 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43124 2010-05-01 Alan Modra <amodra@gmail.com>
43126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43127 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43128 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43129 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43130 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43131 tidying. Don't tail-call __sigjmp_save for static lib.
43132 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43134 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43135 (CALL_MCOUNT): Add eh info, and nop after bl.
43136 (TAIL_CALL_SYSCALL_ERROR): New macro.
43137 (PSEUDO_RET): Use it.
43138 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43139 Correct save location of integer regs and cr.
43140 (_dl_profile_resolve): Correct cr save location. Delete nops
43141 after bl when SHARED. Reduce cfi size a little by better
43142 placement of cfi directives.
43143 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43144 make a stack frame. Instead use parm save area as a temp.
43145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43146 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43148 Don't make a stack frame for parent, use parm save area.
43149 Increase child stack frame to 112 bytes. Don't save unused reg,
43150 and adjust reg usage. Set up cfi on error recovery and
43151 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43153 (__makecontext): Add dummy nop after jump to exit.
43154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43155 Use correct parm save area and cr save, reduce stack frame.
43156 Correct cfi for possible PSEUDO_RET frame setup.
43157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43158 Branch to local label emitted by PSEUDO_RET rather than
43161 2010-08-12 Andreas Schwab <schwab@redhat.com>
43164 * locale/programs/locale.c (print_assignment): New function.
43165 (show_locale_vars): Use it.
43167 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43169 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43171 (struct statfs64): Likewise.
43172 (_STATFS_F_FLAGS): Define.
43173 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43175 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43176 (ST_VALID): Define locally.
43177 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43178 __statvfs_getflags, use the provided value.
43179 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43180 __ASSUME_STATFS_F_FLAGS.
43182 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43184 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43185 Add sys/fanotify.h.
43186 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43187 fanotify_mask for GLIBC_2.13.
43188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43189 fanotify_init and fanotify_mark.
43190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43191 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43193 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43195 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43196 prlimit64 for GLIBC_2.13.
43197 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43203 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43207 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43210 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43211 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43213 * nss/Makefile: Add rules to build and run tst-nss-test1.
43214 * shlib-versions: Add entry for libnss_test1.
43215 * nss/nss_test1.c: New file.
43216 * nss/tst-nss-test1.c: New file.
43218 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43219 (__nss_configure_lookup): Set appropriate entry in
43220 __nss_configure_lookup to true.
43221 * nss/nsswitch.h: Define enum with indeces of databases in
43222 databases and __nss_database_custom arrays. Declare
43223 __nss_database_custom.
43224 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43225 to avoid using nscd when custom rules are installed.
43226 * nss/getXXbyYY_r.c: Likewise.
43227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43229 * nss/nss_files/files-parse.c: Whitespace fixes.
43231 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43234 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43235 * posix/fnmatch_loop.c: Likewise.
43237 2010-07-17 Andi Kleen <ak@linux.intel.com>
43239 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43240 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43241 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43242 * Versions.def [GLIBC_2.13]: Add.
43244 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43247 Also fail if tpwd after pwuid call is NULL.
43249 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43251 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43252 when converting to ms.
43254 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43256 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43257 EOPNOTSUPP errors with ENOTTY.
43258 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43259 EOPNOTSUPP errors with ENOTTY.
43261 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43263 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43264 Add strcasecmp_l-ssse3.
43265 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43267 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43268 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43269 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43271 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43273 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43275 * string/Makefile (strop-tests): Add strcasecmp.
43276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43277 strcasecmp_l-nonascii.
43278 (gen-as-const-headers): Add locale-defines.sym.
43279 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43280 * sysdeps/x86_64/strcasecmp.S: New file.
43281 * sysdeps/x86_64/strcasecmp_l.S: New file.
43282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43283 * sysdeps/x86_64/locale-defines.sym: New file.
43284 * string/test-strcasecmp.c: New file.
43286 * string/test-strcasestr.c: Test both ends of the range of characters.
43287 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43289 2010-07-29 Roland McGrath <roland@redhat.com>
43292 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43294 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43296 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43299 2010-07-27 Andreas Schwab <schwab@redhat.com>
43301 * manual/memory.texi (Malloc Tunable Parameters): Document
43304 2010-07-26 Roland McGrath <roland@redhat.com>
43307 * configure.in (-fgnu89-inline check): Set and substitute
43308 gnu89_inline, not libc_cv_gnu89_inline.
43309 * configure: Regenerated.
43310 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43312 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43314 * string/test-strnlen.c: New file.
43315 * string/Makefile (strop-tests): Add strnlen.
43316 * string/tester.c (test_strnlen): Add a few more test cases.
43317 * string/tst-strlen.c: Better error reporting.
43319 * sysdeps/x86_64/strnlen.S: New file.
43321 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43323 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43324 lower-latency instructions.
43326 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43328 * string/test-strcasestr.c: New file.
43329 * string/test-strstr.c: New file.
43330 * string/Makefile (strop-tests): Add strstr and strcasestr.
43331 * string/str-two-way.h: Don't undefine MAX.
43332 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43334 2010-07-21 Andreas Schwab <schwab@redhat.com>
43336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43337 strcasestr-nonascii.
43338 (CFLAGS-strcasestr-nonascii.c): Define.
43339 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43341 Remove unused attribute.
43343 2010-07-20 Roland McGrath <roland@redhat.com>
43345 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43346 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43347 ld.so.cache was broken. With it, there is no way to disable dsocaps
43348 like LD_HWCAP_MASK can disable hwcaps.
43350 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43352 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43354 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43356 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43357 call in strcasestr.
43358 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43359 __strcasestr_sse42_nonascii.
43360 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43361 strcasestr-nonascii.c.
43362 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43364 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43366 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43368 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43371 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43373 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43376 2010-07-06 Andreas Schwab <schwab@redhat.com>
43379 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43382 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43384 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43385 _PC_PIPE_BUF using F_GETPIPE_SZ.
43387 2010-07-05 Roland McGrath <roland@redhat.com>
43389 * manual/arith.texi (Rounding Functions): Fix rint description
43390 implicit in round description.
43392 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43394 * elf/Makefile: Fix linking for a few tests to make recent linker
43397 2010-06-30 Andreas Schwab <schwab@redhat.com>
43399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43400 $(common-objpfx)libc_nonshared.a.
43402 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43404 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43405 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43406 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43407 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43408 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43409 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43410 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43411 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43426 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43427 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43428 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43429 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43430 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43431 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43432 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43433 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43434 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43435 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43436 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43437 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43453 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43455 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43456 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43457 * string/memmove.c (memmove): Renamed to ...
43458 (MEMMOVE): ...this. Default to memmove.
43459 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43460 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43463 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43464 mempcpy-ssse3-back memmove-ssse3-back.
43465 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43468 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43469 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43470 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43471 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43472 * sysdeps/x86_64/multiarch/memmove.c: New file.
43473 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43474 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43475 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43476 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43477 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43480 (index_Fast_Copy_Backward): Define.
43481 (HAS_ARCH_FEATURE): Define.
43482 (HAS_FAST_REP_STRING): Define.
43483 (HAS_FAST_COPY_BACKWARD): Define.
43485 2010-06-21 Andreas Schwab <schwab@redhat.com>
43487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43488 Restore proper fallback handling.
43490 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43493 * posix/group_member.c (__group_member): Correct checking loop.
43495 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43496 OOM in getpwuid_r correctly. Return error number when the caller
43497 should return, otherwise -1.
43498 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43499 call returning > 0 value.
43500 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43502 2010-06-07 Andreas Schwab <schwab@redhat.com>
43504 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43505 libc_nonshared.a from targets in modules-names.
43507 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43509 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43512 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43514 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43515 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43519 2010-06-02 Andreas Schwab <schwab@redhat.com>
43521 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43523 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43525 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43531 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43534 2010-06-14 Roland McGrath <roland@redhat.com>
43536 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43538 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43540 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43541 __REDIRECT followed by __THROW.
43542 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43543 * posix/getopt.h (getopt): Likewise.
43545 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43547 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43548 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43549 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43551 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43552 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43554 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43556 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43558 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43562 Properly check family and model.
43564 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43566 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43568 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43570 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43572 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43574 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43577 2010-05-19 Andreas Schwab <schwab@redhat.com>
43579 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43582 2010-05-21 Andreas Schwab <schwab@redhat.com>
43584 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43585 and internal_recvmmsg.
43586 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43587 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43588 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43589 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43591 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43592 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43593 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43595 2010-05-20 Andreas Schwab <schwab@redhat.com>
43597 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43599 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43601 POWER7 optimizations.
43602 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43603 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43605 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43607 * version.h: Update for 2.13 development version.
43609 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43611 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43612 exceptions. Return 0.
43614 2010-05-07 Roland McGrath <roland@redhat.com>
43616 * elf/ldconfig.c (main): Add a const.
43618 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43620 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43621 (args_options): Add no-idn option.
43622 (ahosts_keys_int): Add idn_flags to ai_flags.
43623 (parse_option): Handle 'i' option to clear idn_flags.
43625 * malloc/malloc.c (_int_free): Possible race in the most recently
43626 added check. Only act on the data if no current modification
43629 See ChangeLog.17 for earlier changes.