1 2015-02-07 Richard Braun <rbraun@sceen.net>
3 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9 priority against unexistent AIO_PRIO_DELTA_MAX.
10 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12 * misc/fchflags.c (fchflags): Likewise.
13 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19 [__USE_MISC] (chflags, fchflags): Declare functions.
20 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21 EINVAL when nfds is greater than FD_SETSIZE.
22 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28 2015-02-06 Roland McGrath <roland@hack.frob.com>
30 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38 Test SIGSETXID only if it's defined.
40 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
42 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
43 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
45 * nptl/tst-align2.c: Moved ...
46 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
47 * nptl/Makefile (tests): Remove tst-align2.
48 * sysdeps/unix/sysv/linux/Makefile
49 [$(subdir) = nptl] (tests): Add tst-align-clone.
50 * nptl/tst-getpid1.c: Moved ...
51 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
52 * nptl/tst-getpid2.c: Moved ...
53 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
54 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
55 * sysdeps/unix/sysv/linux/Makefile
56 [$(subdir) = nptl] (tests): ... here.
57 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
58 * sysdeps/unix/sysv/linux/Makefile
59 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
61 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
62 Drop trailing \n from perror argument. Use return rather than exit.
64 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
66 * nptl/tst-cancel21.c (do_test): Likewise.
67 * debug/tst-backtrace6.c: Include <signal.h> first thing.
68 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
69 [!SA_SIGINFO]: Make it a stub test.
71 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
72 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
74 * posix/tst-getlogin.c: Move to ...
75 * login/tst-getlogin.c: ... here.
76 * posix/Makefile (tests): Move tst-getlogin to ...
77 * login/Makefile (tests): ... here.
79 * libio/tst-atime.c (do_test): Move local variables SV and E
80 inside [ST_NOATIME] conditional.
82 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
84 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
86 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
87 (wait_code): New function replaces macro.
88 Call nanosleep rather than syscall.
90 * nptl/pt-system.c: Rewritten. Put everything under
91 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
92 Use IFUNC to redirect when possible.
94 * nptl/pt-longjmp.c: Rewritten. Put everything under
95 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
96 Use IFUNC to redirect when possible.
98 * nptl/pt-fork.c: Rewritten. Put everything under
99 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
100 Use IFUNC to redirect when possible.
101 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
103 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
104 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
105 unconditionally nowadays. This included the only reference to
106 __vdso_clock_gettime that appears outside libc proper.
107 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
108 Remove version set (containing only __vdso_clock_gettime).
109 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
110 Add attribute_hidden.
111 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
112 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
113 libc_hidden_data_def.
114 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
115 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
117 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
118 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
119 setrpcent, and getrpcport to ...
120 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
121 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
122 getrpcbynumber_r, and getrpcent_r to ...
123 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
124 * inet/getrpcbyname.c: Moved ...
125 * sunrpc/getrpcbyname.c: ... here.
126 * inet/getrpcbyname_r.c: Moved ...
127 * sunrpc/getrpcbyname_r.c: ... here.
128 * inet/getrpcbynumber.c: Moved ...
129 * sunrpc/getrpcbynumber.c: ... here.
130 * inet/getrpcbynumber_r.c: Moved ...
131 * sunrpc/getrpcbynumber_r.c: ... here.
132 * inet/getrpcent.c: Moved ...
133 * sunrpc/getrpcent.c: ... here.
134 * inet/getrpcent_r.c: Moved ...
135 * sunrpc/getrpcent_r.c: ... here.
136 * inet/Makefile (routines): Move those to ...
137 * sunrpc/Makefile (routines): ... here.
138 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
140 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
141 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
142 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
143 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
145 * elf/Makefile (routines): Include $(all-dl-routines), not just
147 (rtld-routines): Likewise. Use = rather than :=.
148 * sysdeps/aarch64/Makefile [$(subdir) = elf]
149 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
150 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
151 * sysdeps/arm/Makefile: Likewise.
152 * sysdeps/i386/Makefile: Likewise.
153 * sysdeps/x86_64/Makefile: Likewise.
154 * sysdeps/hppa/Makefile [$(subdir) = elf]
155 (sysdep_routines, sysdep-rtld-routines): Don't add
156 $(sysdep-dl-routines) to these.
157 * sysdeps/ia64/Makefile: Likewise.
158 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
159 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
160 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
161 Don't add dl-static to these; sysdep-dl-routines alone is enough.
162 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
163 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
164 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
165 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
166 * sysdeps/powerpc/Makefile [$(subdir) = elf]
167 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
168 these; sysdep-dl-routines alone is enough.
170 2015-02-06 Joseph Myers <joseph@codesourcery.com>
173 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
174 where multiplication results in zero and third argument is finite
176 * math/auto-libm-test-in: Add more tests of fma.
177 * math/auto-libm-test-out: Regenerated.
179 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
180 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
181 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
182 (_FP_CMP_EQ): Likewise.
183 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
185 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
186 extra argument CHECK_NAN. Redefine as wrapper around
189 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
191 * version.h (RELEASE): Set to "stable".
192 (VERSION): Set to "2.21"
193 * include/features.h (__GLIBC_MINOR__): Set to 21.
195 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
197 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
198 Paul Eggert <eggert@cs.ucla.edu>
201 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
202 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
203 size in bytes. Store needed elements in wpmax. Use needed size
204 in bytes for extend_alloca.
206 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
208 * manual/install.texi: Latest tested versions are GCC 4.9.2,
209 binutls 2.25, and texinfo 5.2.
210 * INSTALL: Regenerate.
211 * sysdeps/nios2/configure: Regenerate.
212 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
213 * manual/contrib.texi: Update.
237 * po/pt_BR.po: Update.
246 * po/zh_CN.po: Update.
247 * po/zh_TW.po: Update.
249 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
250 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
251 * sysdeps/hppa/dl-irel.h: Remove #warning.
252 * sysdeps/hppa/entry.h: Provide prototype for
253 __canonicalize_funcptr_for_compare and cast argument.
254 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
255 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
256 * sysdeps/hppa/sotruss-lib.c: New file.
257 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
258 (atomic_compare_and_exchange_val_acq): Use __typeof__.
259 (atomic_compare_and_exchange_bool_acq): Likewise.
260 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
261 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
263 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
264 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
265 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
267 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
269 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
270 called function in non-PIC case.
272 2015-01-31 David S. Miller <davem@davemloft.net>
274 * sysdeps/sparc/sparc32/bits/atomic.h
275 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
277 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
278 volatile register usage warnings from the compiler.
280 * sysdeps/sparc/nptl/sem_init.c: Delete.
281 * sysdeps/sparc/nptl/sem_post.c: Delete.
282 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
283 * sysdeps/sparc/nptl/sem_wait.c: Delete.
284 * sysdeps/sparc/sparc32/sem_init.c: New file.
285 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
286 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
287 padding explicitly initialized.
288 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
289 padding for in-semaphore spinlock.
290 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
291 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
292 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
293 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
294 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
295 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
296 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
297 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
299 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
300 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
302 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
306 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
307 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
309 (index_AVX_Fast_Unaligned_Load): Likewise.
310 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
311 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
312 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
313 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
314 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
315 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
316 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
317 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
318 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
320 2015-01-29 Andreas Schwab <schwab@suse.de>
322 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
324 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
327 * nscd/nscd_stat.c (send_stats): Initialize DATA.
329 2015-01-28 Martin Sebor <msebor@redhat.com>
331 * math/README.libm-test: Clarify. Add "How to read the test output."
333 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
335 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
338 2015-01-28 Joseph Myers <joseph@codesourcery.com>
340 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
341 (__HAVE_64B_ATOMICS): Define to 0.
343 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
346 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
347 value to set as new flag.
350 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
351 and use _ARCH_PPCSQ instead.
352 (__ieee754_sqrt): Likewise.
353 (__ieee754_sqrtf): Likewise.
354 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
355 _ARCH_PPCSQ is defined.
356 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
358 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
359 _ARCH_PPCSQ is defined.
360 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
362 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
364 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
366 * iconv/loop.c: Suppress array out of bound warning caused by GCC
369 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
371 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
372 Mark _retval as used.
373 (lll_futex_wake_unlock): Likewise.
374 (lll_futex_timed_wait_requeue_pi): Likewise.
376 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
377 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
380 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
383 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
384 (__bswap_64): Mark as __always_inline.
386 2015-01-25 Bram <bug_rh@spam.wizbit.be>
389 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
390 when none of the search directories exist.
392 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
395 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
396 power8 in .machine directive.
399 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
400 set dependency from opd value.
402 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
405 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
408 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
411 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
413 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
415 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
416 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
417 Replace 1UL with (uint64_t) 1.
418 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
421 2015-01-23 Roland McGrath <roland@hack.frob.com>
423 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
424 (if_freenameindex): Likewise.
426 * resource/getrlimit64.c: Add missing libc_hidden_def.
428 2015-01-22 Joseph Myers <joseph@codesourcery.com>
430 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
433 (_FP_TO_INT_ROUND): Likewise.
434 (_FP_FROM_INT): Likewise.
436 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
439 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
440 Make code racy and cancel safe.
442 2015-01-21 Carlos O'Donell <carlos@redhat.com>
444 * sysdeps/arm/unwind-resume.h: Fix copyright year.
445 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
448 * pwd/tst-getpw.c: Rewrite.
451 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
452 (modules-names): Add moddummy1 and moddummy2.
453 ($(objpfx)tst-rec-dlopen): Define.
454 * dlfcn/moddummy1.c: New file.
455 * dlfcn/moddummy2.c: New file.
456 * dlfcn/tst-rec-dlopen.c: New file.
457 * elf/dl-cache.c (_dl_load_cache_lookup):
458 Return char*. Copy result with alloca/strcpy/strdup.
459 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
460 returns char*. Free cached. If not saving realname
462 * elf/dl-open.c (dl_open_worker): Do not assert that
463 _r_debug->r_state is RT_CONSISTENT.
464 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
467 2015-01-21 Torvald Riegel <triegel@redhat.com>
468 Carlos O'Donell <carlos@redhat.com>
471 * nptl/sem_waitcommon.c: New file.
472 * nptl/sem_wait.c: Include sem_waitcommon.c.
473 (__sem_wait_cleanup, do_futex_wait): Remove.
474 (__new_sem_wait): Adapt.
475 (__new_sem_trywait): New function.
476 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
477 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
478 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
479 (sem_timedwait): Adapt.
480 * nptl/sem_post.c (__new_sem_post): Adapt.
481 (futex_wake): New function.
482 (__old_sem_post): Add release MO fence.
483 * nptl/sem_open.c (sem_open): Adapt.
484 * nptl/sem_init.c (__new_sem_init): Adapt.
485 (futex_private_if_supported): New function.
486 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
487 (__old_sem_getvalue): Add using previous code.
488 * sysdeps/nptl/internaltypes.h: Adapt.
489 * nptl/tst-sem13.c (do_test): Adapt.
490 * nptl/tst-sem11.c (main): Adapt.
491 * nptl/sem_trywait.c: Remove.
492 * nptl/DESIGN-sem.txt: Remove.
493 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
494 (gen-as-const-headers): Remove structsem.sym.
495 * nptl/structsem.sym: Remove.
496 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
497 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
498 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
499 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
500 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
501 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
502 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
503 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
504 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
505 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
506 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
507 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
508 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
509 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
510 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
511 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
512 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
513 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
514 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
515 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
516 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
517 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
519 2015-01-20 Carlos O'Donell <carlos@redhat.com>
521 * INSTALL: Regenerated.
523 * po/libc.pot: Regenerated.
525 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
526 Sandra Loosemore <sandra@codesourcery.com>
527 Andrew Jenner <andrew@codesourcery.com>
528 Joseph Myers <joseph@codesourcery.com>
529 Nathan Sidwell <nathan@codesourcery.com>
531 * NEWS: Mention new Nios II port.
532 * sysdeps/nios2/Implies: New file.
533 * sysdeps/nios2/Makefile: New file.
534 * sysdeps/nios2/Subdirs: New file.
535 * sysdeps/nios2/Versions: New file.
536 * sysdeps/nios2/__longjmp.S: New file.
537 * sysdeps/nios2/abort-instr.h: New file.
538 * sysdeps/nios2/backtrace.c: New file.
539 * sysdeps/nios2/bits/endian.h: New file.
540 * sysdeps/nios2/bits/fenv.h: New file.
541 * sysdeps/nios2/bits/link.h: New file.
542 * sysdeps/nios2/bits/setjmp.h: New file.
543 * sysdeps/nios2/bsd-_setjmp.S: New file.
544 * sysdeps/nios2/bsd-setjmp.S: New file.
545 * sysdeps/nios2/configure: New generated file.
546 * sysdeps/nios2/configure.ac: New file.
547 * sysdeps/nios2/crti.S: New file.
548 * sysdeps/nios2/crtn.S: New file.
549 * sysdeps/nios2/dl-init.c: New file.
550 * sysdeps/nios2/dl-machine.h: New file.
551 * sysdeps/nios2/dl-sysdep.h: New file.
552 * sysdeps/nios2/dl-tls.h: New file.
553 * sysdeps/nios2/dl-trampoline.S: New file.
554 * sysdeps/nios2/gccframe.h: New file.
555 * sysdeps/nios2/gmp-mparam.h: New file.
556 * sysdeps/nios2/jmpbuf-offsets.h: New file.
557 * sysdeps/nios2/jmpbuf-unwind.h: New file.
558 * sysdeps/nios2/ldsodefs.h: New file.
559 * sysdeps/nios2/libc-tls.c: New file.
560 * sysdeps/nios2/libm-test-ulps: New file.
561 * sysdeps/nios2/machine-gmon.h: New file.
562 * sysdeps/nios2/math-tests.h: New file.
563 * sysdeps/nios2/math_private.h: New file.
564 * sysdeps/nios2/memusage.h: New file.
565 * sysdeps/nios2/nptl/Makefile: New file.
566 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
567 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
568 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
569 * sysdeps/nios2/nptl/pthreaddef.h: New file.
570 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
571 * sysdeps/nios2/nptl/tls.h: New file.
572 * sysdeps/nios2/preconfigure: New file.
573 * sysdeps/nios2/s_fma.c: New file.
574 * sysdeps/nios2/s_fmaf.c: New file.
575 * sysdeps/nios2/setjmp.S: New file.
576 * sysdeps/nios2/sfp-machine.h: New file.
577 * sysdeps/nios2/sotruss-lib.c: New file.
578 * sysdeps/nios2/stackguard-macros.h: New file.
579 * sysdeps/nios2/stackinfo.h: New file.
580 * sysdeps/nios2/start.S: New file.
581 * sysdeps/nios2/sysdep.h: New file.
582 * sysdeps/nios2/tls-macros.h: New file.
583 * sysdeps/nios2/tst-audit.h: New file.
584 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
585 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
586 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
587 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
588 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
589 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
590 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
591 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
592 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
593 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
594 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
595 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
596 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
597 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
598 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
599 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
600 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
601 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
602 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
603 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
604 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
605 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
606 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
607 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
608 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
609 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
610 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
611 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
612 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
613 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
614 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
615 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
616 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
617 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
618 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
619 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
620 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
621 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
622 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
623 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
624 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
625 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
626 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
627 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
629 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
632 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
633 (getutent): Use weak_alias in non SHARED case
634 and default_symbol_version in SHARED case.
635 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
636 (getutent_r, pututline): Likewise.
637 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
639 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
640 (getutid_r): Likewise.
641 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
642 (getutline): Likewise.
643 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
644 (getutline_r): Likewise.
645 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
648 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
651 * sysdeps/s390/s390-32/memcmp.S
652 (memcmp_g5): Rename to __memcmp_g5.
653 * sysdeps/s390/s390-32/memcpy.S
654 (memcpy_g5): Rename to __memcpy_g5.
655 Jump to __memcpy_mvcle instead of memcpy_mvcle.
656 (memcpy_mvcle) Rename to __memcpy_mvcle.
657 * sysdeps/s390/s390-32/memset.S
658 (memset_g5): Rename to __memset_g5.
659 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
660 (IFUNC_RESOLVE): Prefix ifunc-resolve function
661 and use prefixed functions.
662 * sysdeps/s390/s390-32/multiarch/memcmp.S
663 (memcmp_z196): Rename to __memcmp_z196.
664 (memcmp_z10): Rename to __memcmp_z10.
665 (memcmp): Set alias to __memcmp_g5.
666 (bcmp): Set alias to __memcmp_g5.
667 * sysdeps/s390/s390-32/multiarch/memcpy.S
668 (memcpy_z196): Rename to __memcpy_z196.
669 Jump to __memcpy_mvcle instead of memcpy_mvcle.
670 (memcpy_z10): Rename to __memcpy_z10.
671 Jump to __memcpy_mvcle instead of memcpy_mvcle.
672 (memcpy): Set alias to __memcpy_g5.
673 * sysdeps/s390/s390-32/multiarch/memset.S
674 (memset_z196): Rename to __memset_z196.
675 Jump to __memset_mvcle instead of memset_mvcle.
676 (memset_z10): Rename to __memset_z10.
677 Jump to __memset_mvcle instead of memset_mvcle.
678 (memset_mvcle) Rename to __memset_mvcle.
679 (memset): Set alias to __memset_g5.
680 * sysdeps/s390/s390-64/memcmp.S
681 (memcmp_z900): Rename to __memcmp_z900.
682 * sysdeps/s390/s390-64/memcpy.S
683 (memcpy_z900): Rename to __memcpy_z900.
684 Jump to __memcpy_mvcle instead of memcpy_mvcle.
685 (memcpy_mvcle) Rename to __memcpy_mvcle.
686 * sysdeps/s390/s390-64/memset.S
687 (memset_z900): Rename to __memset_z900.
688 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
689 (IFUNC_RESOLVE): Prefix ifunc-resolve function
690 and use prefixed functions.
691 * sysdeps/s390/s390-64/multiarch/memcmp.S
692 (memcmp_z196): Rename to __memcmp_z196.
693 (memcmp_z10): Rename to __memcmp_z10.
694 (memcmp): Set alias to __memcmp_z900.
695 (bcmp): Set alias to __memcmp_z900.
696 * sysdeps/s390/s390-64/multiarch/memcpy.S
697 (memcpy_z196): Rename to __memcpy_z196.
698 Jump to __memcpy_mvcle instead of memcpy_mvcle.
699 (memcpy_z10): Rename to __memcpy_z10.
700 Jump to __memcpy_mvcle instead of memcpy_mvcle.
701 (memcpy): Set alias to __memcpy_z900.
702 * sysdeps/s390/s390-64/multiarch/memset.S
703 (memset_z196): Rename to __memset_z196.
704 Jump to __memset_mvcle instead of memset_mvcle.
705 (memset_z10): Rename to __memset_z10.
706 Jump to __memset_mvcle instead of memset_mvcle.
707 (memset_mvcle) Rename to __memset_mvcle.
708 (memset): Set alias to __memset_z900.
710 2015-01-14 Joseph Myers <joseph@codesourcery.com>
713 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
714 __fesetenv instead of fesetenv.
716 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
718 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
721 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
726 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
727 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
728 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
729 strncmp-power8 object.
730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
731 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
732 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
735 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
736 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
741 2015-01-13 David S. Miller <davem@davemloft.net>
743 * include/signal.h (__sigreturn): Guard with __USE_MISC.
745 2015-01-13 Roland McGrath <roland@hack.frob.com>
747 * login/logout.c (logout): Use memset rather than bzero.
748 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
749 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
750 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
751 (_gethtbyaddr): Likewise.
752 * locale/programs/simple-hash.c (bcopy): Macro removed.
754 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
757 Add strcmp-power8 object.
758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
759 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
760 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
761 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
762 __strcmp_power8 implementation.
763 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
766 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
767 Add strncpy-power8 and stpncpy-power8 objects.
768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
769 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
771 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
772 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
773 __stpncpy_power8 implementation.
774 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
775 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
776 __strncpy_power8 implementation.
777 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
778 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
781 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
782 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
783 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
785 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
786 strncat-power8 object.
787 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
788 __strcat_power8 implementation.
789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
790 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
791 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
792 optimized strcat for power8.
794 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
795 strcpy-power8 and stpcpy-power8 objects.
796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
797 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
799 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
800 multiarch stpcpy implementation for POWER8.
801 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
802 multiarch strcpy implementation for POWER8.
803 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
804 __strcpy_power8 function.
805 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
807 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
811 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
814 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
815 weights and rules. Use do_xfrm_cached if data fits in cache,
816 do_xfrm otherwise. Moved former main loop to...
817 * (do_xfrm_cached): New function.
818 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
819 find_idx, find_position and stack_push.
820 * (find_idx): New function.
821 * (find_position): Likewise.
822 * localedata/sort-test.sh: Added test run for do_xfrm.
823 * localedata/xfrm-test.c (main): Added command line option
824 -nocache to run the test with strings that are too large for
827 2015-01-13 Torvald Riegel <triegel@redhat.com>
829 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
830 variable to lll_futex_wake call, not the value itself.
832 2015-01-12 Joseph Myers <joseph@codesourcery.com>
835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
836 twom64. Adjust value to 0x1p-64L.
837 (__scalblnl): Only return standard underflowing result for K <=
838 -64 not K <= -63; adjust exponent for underflowing result by 64
840 * math/libm-test.inc (scalbn_test_data): Add more tests.
841 (scalbln_test_data): Likewise.
844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
846 (__scalblnl): Get new exponent of adjusted subnormal value from ES
848 * math/libm-test.inc (scalbn_test_data): Add more tests.
849 (scalbln_test_data): Likewise.
851 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852 Stefani Seibold <stefani@seibold.net>
854 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
855 (sysdep_routines): Add dl-vdso here, ...
856 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
857 (sysdep_routines): ... not here.
858 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
859 fallback when vDSO is not presented.
860 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
861 Define with libc_hidden_proto/libc_hidden_data_def definitions.
862 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
863 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
864 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
865 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
866 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
867 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
868 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
870 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
871 fallback configurable symbol when vDSO is not available.
872 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
873 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
874 be able to redefine fallback symbol when vDSO is not available.
875 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
876 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
878 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
881 (TLS_INIT_TP): Add tm_capable initialization.
882 (TLS_DEFINE_INIT_TP): Likewise.
883 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
885 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
886 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
888 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
889 transactoion is lock elision is built and TCB tm_capable is set.
890 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
892 (INTERNAL_SYSCALL_NCS): Likewise.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
894 (INTERNAL_SYSCALL_NCS): Likewise.
895 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
897 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
899 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
900 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
901 and remove it for 32 bits case.
902 [pthread_rwlock_t] (__rwelision): New field for lock elision.
903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
905 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
906 Disable lock elision with rdlocks if elision is not available.
908 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
909 (sysdep_routines): Add lock elision objects.
910 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
911 [pthread_mutex_t] (__spins): Rework to add lock elision field.
912 [pthread_mutex_t] (__elision): Add field.
913 [__PTHREAD_SPINS]: Adjust to init lock elision field.
914 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
915 elision definitions for powerpc.
916 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
917 implementation of lock elision for powerpc.
918 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
919 implementation of timed lock elision for powerpc.
920 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
921 implementation of trylock with lock elision for powerpc.
922 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
923 implementaion of unlock for lock elision for powerpc.
924 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
925 automatic enable lock elision for mutexes.
926 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
927 transaction execution definitions for powerpc.
928 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
930 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
931 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
932 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
936 2015-01-09 Roland McGrath <roland@hack.frob.com>
938 * sysdeps/posix/shm-directory.c: Use <> rather than ""
939 for #include of <shm-directory.h>.
941 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
943 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
944 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
946 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
949 * NEWS: Mention bug fix.
950 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
951 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
952 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
954 2015-01-09 Torvald Riegel <triegel@redhat.com>
956 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
958 2015-01-09 Torvald Riegel <triegel@redhat.com>
960 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
962 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
964 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
965 pointer and cast to uintptr_t.
967 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
969 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
971 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
973 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
975 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
978 2015-01-08 Roland McGrath <roland@hack.frob.com>
980 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
981 <nptl/pthreadP.h> instead.
982 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
984 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
986 [__SIGRTMIN] (init): Function removed.
987 [__SIGRTMIN] (initialized): Variable removed.
988 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
989 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
990 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
991 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
992 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
993 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
994 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
995 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
996 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
997 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
998 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
999 * sysdeps/nptl/allocrtsig.c: New file.
1000 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1001 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1002 * sysdeps/generic/testrtsig.h: File removed.
1004 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1005 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1007 * nptl/nptl-init.c (pthread_functions): Conditionalize
1008 .ptr__nptl_setxid initialization on [SIGSETXID].
1010 * sysdeps/nptl/sys/procfs.h: New file.
1011 * nptl_db/Makefile (headers): Add it.
1012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1014 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1015 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1016 * nptl/pthread_attr_setaffinity.c: Include it.
1017 * nptl/pthread_setattr_default_np.c: Likewise.
1018 * nptl/check-cpuset.h: New file.
1020 2015-01-08 Richard Henderson <rth@redhat.com>
1022 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1023 (CFLAGS-tst-execstack-prog.c): Likewise.
1024 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1026 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1027 Sandra Loosemore <sandra@codesourcery.com>
1028 Andrew Jenner <andrew@codesourcery.com>
1029 Joseph Myers <joseph@codesourcery.com>
1030 Nathan Sidwell <nathan@codesourcery.com>
1032 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1033 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1034 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1035 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1036 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1037 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1038 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1039 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1040 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1041 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1042 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1043 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1044 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1045 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1046 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1047 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1048 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1050 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1053 timespec struct member in syscall macro.
1054 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1055 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1056 first timeval struct member in syscall macro.
1057 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1059 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1062 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1063 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1064 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1065 __feupdateenv and define as weak alias of __feupdateenv. Use
1067 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1069 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1070 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1071 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1072 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1074 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1075 __feupdateenv and define as weak alias of __feupdateenv. Use
1077 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1079 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1080 __feupdateenv and define as weak alias of __feupdateenv. Use
1082 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1084 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1085 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1086 (__feupdateenv): Likewise.
1087 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1088 __feupdateenv and define as weak alias of __feupdateenv. Use
1090 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1091 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1093 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1095 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1097 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1098 __feupdateenv instead of feupdateenv.
1099 (default_libc_feupdateenv_test): Likewise.
1100 (libc_feresetround_ctx): Likewise.
1102 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1107 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1109 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1110 COLL_SYM in a couple of places to avoid uninitialized variable
1111 wanings on tilegx gcc 4.8.2.
1113 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1115 * sysdeps/aarch64/strcpy.S: New file.
1116 * sysdeps/aarch64/stpcpy.S: New file.
1119 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1121 * sysdeps/aarch64/strrchr.S: New file.
1124 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1127 * stdlib/setenv.c: Fix memory leak when setting large,
1130 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1133 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1134 and tabs from buffer before parsing fstab entry.
1135 * misc/tst-mntent.c (main): Add test for mount entry with
1136 trailing spaces and tabs.
1138 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1141 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1142 * math/fesetround.c (fesetround): Rename to __fesetround and
1143 define as weak alias of __fesetround. Use libm_hidden_weak.
1144 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1145 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1146 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1147 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1148 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1149 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1150 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1151 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1152 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1153 __fesetround_inline.
1154 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1155 __fesetround_inline instead of __fesetround.
1156 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1157 __fesetround and define as weak alias of __fesetround. Use
1158 libm_hidden_weak. Call __fesetround_inline instead of
1160 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1161 __fesetround and define as weak alias of __fesetround. Use
1163 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1165 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1167 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1168 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1169 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1170 __fesetround and define as weak alias of __fesetround. Use
1172 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1173 __fesetround instead of fesetround.
1174 (default_libc_feholdexcept_setround): Likewise.
1175 (libc_feholdsetround_ctx): Likewise.
1176 (libc_feholdsetround_noex_ctx): Likewise.
1179 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1180 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1181 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1182 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1183 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1184 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1185 define as weak alias of __fesetenv. Use libm_hidden_weak.
1186 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1187 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1188 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1189 define as weak alias of __fesetenv. Use libm_hidden_weak.
1190 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1191 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1192 define as weak alias of __fesetenv. Use libm_hidden_weak.
1193 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1195 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1196 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1198 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1199 define as weak alias of __fesetenv. Use libm_hidden_weak.
1200 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1201 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1202 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1203 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1204 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1205 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1206 __fesetenv instead of fesetenv.
1207 (libc_feresetround_noex_ctx): Likewise.
1208 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1209 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1210 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1211 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1212 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1213 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1214 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1215 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1216 (__feupdateenv): Likewise.
1217 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1218 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1219 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1220 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1222 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1225 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1226 addresses have been freed.
1228 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1230 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1233 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1235 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1236 Clean up check_pf allocation pattern. addresses
1238 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1241 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1242 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1243 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1244 * nptl/pthread_join.c (pthread_join): Likewise.
1245 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1246 * sysdeps/posix/waitid.c (__waitid): Likewise.
1247 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1248 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1249 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1250 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1253 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1254 (__libc_pread64): Likewise.
1255 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1256 (__libc_pwrite): Likewise.
1257 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1258 (__libc_pwrite64): Likewsie.
1259 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1260 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1261 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1262 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1263 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1264 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1265 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1269 (__libc_pread64): Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1273 (__libc_pwrite64): Likewise.
1274 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1275 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1276 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1277 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1278 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1279 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1280 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1281 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1282 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1283 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1284 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1285 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1286 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1287 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1288 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1289 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1292 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1294 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1295 (CFLAGS-test-double.c): Likewise.
1296 (CFLAGS-test-ldouble.c): Likewise.
1297 (CPPFLAGS-test-ifloat.c): Likewise.
1298 (CPPFLAGS-test-idouble.c): Likewise.
1299 (CPPFLAGS-test-ildoubl.c): Likewise.
1300 (CFLAGS-test-test-fenv.c): Remove variable.
1301 (CFLAGS-test-misc.c): Likewise.
1303 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1306 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1307 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1308 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1309 CLOCKS_PER_SEC == 1000000.
1310 * time/clocktest.c (main): Replace %ld with %jd and cast to
1313 2015-01-05 Roland McGrath <roland@hack.frob.com>
1315 * sysdeps/generic/unwind-resume.h: New file.
1316 * sysdeps/gnu/unwind-resume.c: Include it.
1317 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1318 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1320 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1321 global rather than static.
1322 (_Unwind_Resume): Update user.
1323 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1324 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1325 rather than static. Add __attribute__ ((cold)).
1326 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1327 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1328 * sysdeps/arm/arm-unwind-resume.S: New file.
1329 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1330 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1331 * sysdeps/arm/Makefile [$(subdir) = csu]
1332 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1333 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1334 Add rt-arm-unwind-resume.
1336 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1337 Add pt-arm-unwind-resume.
1338 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1339 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1341 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1344 * include/fenv.h (__feholdexcept): Declare. Use
1346 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1347 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1348 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1349 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1350 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1351 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1352 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1353 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1354 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1355 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1356 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1357 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1358 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1359 (feholdexcept): Likewise.
1360 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1361 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1362 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1363 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1364 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1365 __feholdexcept instead of feholdexcept.
1366 (default_libc_feholdexcept_setround): Likewise.
1368 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1370 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1371 to avoid using stl/str to align destination.
1373 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1375 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1377 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1380 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1381 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1382 Define as weak alias not strong alias.
1384 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1386 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1387 bltzal with addiupc.
1388 (RTLD_START): Ditto.
1390 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1392 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1393 for __vdso_* functions in declarations.
1394 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1396 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1397 INTERNAL_VSYSCALL): Use struct return types to check for error.
1399 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1400 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1401 function with cast from llround().
1402 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1403 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1406 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1409 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1410 Define as weak alias not strong alias.
1413 * ctype/ctype-c99.c: New file. isblank implementation moved from
1415 * ctype/ctype-extn.c: ... here.
1416 (__isblank_l): Move to ...
1417 * ctype/ctype-c99_l.c: ... here. New file.
1418 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1419 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1421 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1422 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1423 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1424 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1425 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1428 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1429 (posix_fadvise64): Define as weak alias not strong alias.
1430 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1431 (posix_fallocate64): Likewise.
1432 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1434 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1435 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1436 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1437 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1438 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1440 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1443 * NEWS: Mention bug fix.
1444 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1445 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1446 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1447 (HOST_STACK_END_ADDR): Likewise.
1449 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1452 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1453 * math/fegetround.c (fegetround): Rename to __fegetround and
1454 define as weak alias of __fegetround. Use libm_hidden_weak.
1455 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1456 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1457 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1458 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1459 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1460 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1461 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1462 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1463 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1464 Undefine after rather than before function definition; use
1465 parentheses around function name in definition.
1466 (__fegetround): Also undefine macro after function definition.
1467 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1468 __fegetround and define as weak alias of __fegetround. Use
1469 libm_hidden_weak. Do not undefine as macro.
1470 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1472 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1473 __fegetround and define as weak alias of __fegetround. Use
1475 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1476 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1477 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1478 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1479 __fegetround and define as weak alias of __fegetround. Use
1481 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1482 __fegetround instead of fegetround.
1485 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1486 Condition macro definition on [__USE_MISC].
1489 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1490 (struct sigaction): Change type of sa_flags field to int.
1493 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1494 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1497 * nptl/version.c (banner): Use single year in copyright notice.
1499 * NEWS: Update copyright dates.
1500 * catgets/gencat.c (print_version): Likewise.
1501 * csu/version.c (banner): Likewise.
1502 * debug/catchsegv.sh: Likewise.
1503 * debug/pcprofiledump.c (print_version): Likewise.
1504 * debug/xtrace.sh (do_version): Likewise.
1505 * elf/ldconfig.c (print_version): Likewise.
1506 * elf/ldd.bash.in: Likewise.
1507 * elf/pldd.c (print_version): Likewise.
1508 * elf/sotruss.sh: Likewise.
1509 * elf/sprof.c (print_version): Likewise.
1510 * iconv/iconv_prog.c (print_version): Likewise.
1511 * iconv/iconvconfig.c (print_version): Likewise.
1512 * locale/programs/locale.c (print_version): Likewise.
1513 * locale/programs/localedef.c (print_version): Likewise.
1514 * login/programs/pt_chown.c (print_version): Likewise.
1515 * malloc/memusage.sh (do_version): Likewise.
1516 * malloc/memusagestat.c (print_version): Likewise.
1517 * malloc/mtrace.pl: Likewise.
1518 * manual/libc.texinfo: Likewise.
1519 * nptl/version.c (banner): Likewise.
1520 * nscd/nscd.c (print_version): Likewise.
1521 * nss/getent.c (print_version): Likewise.
1522 * nss/makedb.c (print_version): Likewise.
1523 * posix/getconf.c (main): Likewise.
1524 * scripts/test-installation.pl: Likewise.
1525 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1527 2015-01-02 Will Newton <will.newton@linaro.org>
1529 * sysdeps/arm/armv7/configure: Removed.
1530 * sysdeps/arm/armv7/configure.ac: Likewise.
1532 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1534 * All files with FSF copyright notices: Update copyright dates
1535 using scripts/update-copyrights.
1536 * intl/plural.c: Regenerated.
1537 * locale/programs/charmap-kw.h: Likewise.
1538 * locale/programs/locfile-kw.h: Likewise.
1540 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1542 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1544 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1547 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1548 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1549 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1550 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1551 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1552 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1553 define as weak alias of __fegetenv. Use libm_hidden_weak.
1554 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1555 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1556 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1557 define as weak alias of __fegetenv. Use libm_hidden_weak.
1558 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1559 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1560 define as weak alias of __fegetenv. Use libm_hidden_weak.
1561 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1563 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1564 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1566 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1567 define as weak alias of __fegetenv. Use libm_hidden_weak.
1568 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1569 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1570 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1571 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1572 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1573 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1574 __fegetenv instead of fegetenv.
1575 (libc_feholdsetround_noex_ctx): Likewise.
1577 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1579 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1580 (Elf_MIPS_ABIFlags_v0): New structure.
1581 (EF_MIPS_FP64): Define.
1582 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1583 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1584 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1585 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1586 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1587 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1588 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1589 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1590 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1591 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1592 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1593 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1594 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1595 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1596 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1597 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1598 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1599 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1600 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1601 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1602 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1603 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1605 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1607 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1608 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1609 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1610 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1611 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1612 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1613 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1614 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1615 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1616 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1617 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1618 record the current FP ABI extension.
1619 (mips-mode-switch): Define to show if kernel headers support mode
1621 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1622 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1623 supported SYSV ABI version to 3.
1624 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1627 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1628 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1630 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1632 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1634 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1636 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1637 __fegetround and redefine to call __fegetround. Remove condition
1638 on [!__NO_MATH_INLINES].
1639 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1641 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1642 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1644 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1645 instead of <fenv_libc.h>.
1646 (__llrintl): Call fegetround instead of __fegetround.
1647 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1648 instead of <fenv_libc.h>.
1649 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1650 (__lrintl): Call fegetround instead of __fegetround.
1651 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1652 instead of <fenv_libc.h>.
1653 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1654 (__rintl): Call fegetround instead of __fegetround.
1656 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1658 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1661 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1664 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1665 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1666 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1668 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1670 * sysdeps/i386/tls-macros.h: Include <features.h>.
1671 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1675 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1676 define for GCC >= 5.0.
1678 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1680 * math/test-fenv.c (test_single_exception, set_single_exc,
1681 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1682 feexcp_mask_test, feenable_test, fe_single_test): Add
1683 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1684 case where they are not used.
1685 * math/libm-test.inc: Likewise.
1686 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1687 unused in the absence of FP rounding/exception support.
1688 * stdio-common/tst-printf-round.c: Likewise.
1689 * stdlib/tst-strtod-round.c: Likewise.
1690 * stdlib/tst-strtod-underflow.c: Likewise.
1692 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1695 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1696 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1697 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1698 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1700 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1701 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1702 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1704 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1705 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1707 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1709 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1710 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1711 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1713 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1715 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1716 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1717 (__feraiseexcept): Likewise.
1718 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1719 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1721 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1722 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1724 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1725 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1726 Use libm_hidden_def.
1727 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1729 (feraiseexcept): Define as weak not strong alias. Use
1731 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1732 New inline function. Factored out of ...
1733 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1734 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1735 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1737 * math/w_acos.c (__acos): Likewise.
1738 * math/w_asin.c (__asin): Likewise.
1739 * math/w_ilogb.c (__ilogb): Likewise.
1740 * math/w_j0.c (y0): Likewise.
1741 * math/w_j1.c (y1): Likewise.
1742 * math/w_jn.c (yn): Likewise.
1743 * math/w_log.c (__log): Likewise.
1744 * math/w_log10.c (__log10): Likewise.
1745 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1746 * sysdeps/aarch64/fpu/math_private.h
1747 (libc_feupdateenv_test_aarch64): Likewise.
1748 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1749 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1750 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1751 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1752 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1753 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1754 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1755 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1756 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1757 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1759 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1762 * io/test-utime.c (main): Replace %ld with %jd and cast to
1764 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1765 * nptl/tst-mutex5.c: Include <stdint.h>.
1766 (do_test): Replace %ld with %jd and cast to intmax_t.
1767 * posix/tst-regex.c (run_test): Likewise.
1768 (run_test_backwards): Likewise.
1769 * rt/tst-clock.c: Include <stdint.h>.
1770 (clock_test): Replace %ld with %jd and cast to intmax_t.
1771 * rt/tst-cpuclock1.c: Include <stdint.h>.
1772 (do_test): Replace %lu with %ju and cast to uintmax_t.
1773 * rt/tst-cpuclock2.c: Include <stdint.h>.
1774 (do_test): Replace %lu with %ju and cast to uintmax_t.
1775 * rt/tst-mqueue1.c: Include <stdint.h>.
1776 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1777 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1779 * rt/tst-mqueue4.c (do_test): Likewise.
1780 * rt/tst-timer4.c: Include <stdint.h>.
1781 (check_ts): Replace %ld with %jd and cast to intmax_t.
1782 (do_test): Likewise.
1783 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1784 and cast to intmax_t.
1785 * sysdeps/pthread/tst-timer.c (main): Likewise.
1786 * time/clocktest.c (main): Likewise.
1787 * time/tst-posixtz.c (do_test): Likewise.
1788 * timezone/tst-timezone.c (main): Likewise.
1790 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1791 H.J. Lu <hongjiu.lu@intel.com>
1793 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1794 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1796 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1797 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1798 version if bit_Fast_Unaligned_Load is set.
1799 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1800 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1801 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1802 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1803 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1804 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1806 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1807 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1808 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1810 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1811 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1812 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1813 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1815 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1817 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1818 instead of #if to avoid a Wundef warning.
1819 * stdlib/tst-limits.c (do_test): Likewise.
1821 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1822 parallel other exception macros.
1823 (fegetenv): Convert from macro to extern inline so that it applies
1824 retroactively to inline functions already seen by the compiler.
1825 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1827 * posix/Makefile (before-compile): Use $(objpfx) for
1828 posix-conf-vars-def.h.
1830 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1832 * posix/getconf.c (main): Use size_t for type of I.
1833 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1836 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1837 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1838 * posix/posix-envs.def: Likewise.
1839 * sysdeps/posix/sysconf.c: Likewise.
1840 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1841 (specs): Remove array.
1842 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1845 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1846 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1847 (__sysconf): Use CONF_IS_* macros.
1849 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1850 ($(objpfx)posix-conf-vars-def.h): New target.
1851 * posix/posix-conf-vars.list: New file.
1852 * posix/posix-conf-vars.h: New file.
1853 * posix/confstr.c: Include posix-conf-vars.h.
1854 (confstr): Use CONF_IS_* macros.
1855 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1857 * scripts/gen-posix-conf-vars.awk: New file.
1859 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1861 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1862 fegetround): Add no-op macros to avoid linknamespace issues.
1864 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1865 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1867 * sysdeps/unix/sysv/linux/tile/sysdep.h
1868 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1869 assembly-specific section to avoid a redefinition warning.
1871 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1872 long before casting to pointer to avoid a cast warning.
1874 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1876 * sysdeps/tile/tilegx/Implies: New file.
1878 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1880 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1882 2014-12-23 Florian Weimer <fweimer@redhat.com>
1884 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1886 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1890 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1891 <kernel-features.h>.
1892 (__utimes) [__NR_utimes]: Make code unconditional.
1893 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1894 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1895 (__ASSUME_UTIMES): Do not undefine.
1896 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1897 (__ASSUME_UTIMES): Likewise.
1898 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1899 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1900 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1901 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1903 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1905 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1907 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1910 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1911 alias to weak alias for j0l, y0l.
1912 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1913 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1916 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1919 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1921 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1922 to zero if not already defined.
1924 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1927 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1928 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1929 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1930 (char *) casts added.
1931 * sysdeps/ieee754/k_standardf.c: New file.
1932 * sysdeps/ieee754/k_standardl.c: Likewise.
1933 * math/Makefile (libm-support): Remove k_standard.
1934 (libm-calls): Add k_standard.
1936 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1938 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1939 Optimize to avoid an unnecessary FPCR read.
1941 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1943 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1944 Optimize to reduce FPCR/FPSR accesses.
1946 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1948 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1949 Call libc_fetestexcept_aarch64.
1951 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1953 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1954 Call libc_fesetround_aarch64.
1956 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1959 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1960 (__bind): Do not define as weak alias.
1961 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1963 (__getsockname): Do not define as weak alias.
1965 2014-12-22 Will Newton <will.newton@linaro.org>
1967 * manual/install.texi: Document that we require bison 2.7
1969 * INSTALL: Regenerate.
1970 * configure.ac: Use AC_CHECK_PROG_VER instead of
1971 AC_PATH_PROG when checking for bison and check for
1972 version 2.7 or above.
1973 * configure: Regenerate.
1975 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1978 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1979 * sysdeps/tile/ffsll.c (ffsll): To here.
1981 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1983 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1985 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1987 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1989 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1990 hidden ___tls_get_addr.
1991 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1992 hidden __tls_get_addr.
1993 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1994 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1997 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1999 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2002 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2004 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2005 from "call _dl_init@PLT".
2006 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2008 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2010 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2013 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2015 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2017 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2020 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2023 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2025 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2027 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2028 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2029 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2030 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2031 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2033 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2035 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2036 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2037 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2038 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2039 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2041 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2043 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2045 * string/strncat.c (STRNCAT): Simplify implementation.
2047 2014-12-19 David S. Miller <davem@davemloft.net>
2049 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2050 access the quad as both a long double and as a series of 4 words.
2052 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2053 link_map->l_info array access.
2055 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2057 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2059 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2060 * math/atest-exp2.c (TIMEOUT): Likewise.
2061 * math/atest-sincos.c (TIMEOUT): Likewise.
2063 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2065 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2066 -Wno-error with -fno-builtin-lround.
2068 2014-12-19 Torvald Riegel <triegel@redhat.com>
2070 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2071 Contains futex constants and functions moved over from ...
2072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2073 <lowlevellock-futex.h>.
2074 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2075 (lll_timedwait_tid): Add comments and parentheses around macro
2078 2014-12-19 Torvald Riegel <triegel@redhat.com>
2080 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2081 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2082 (__lll_private_flag): Remove.
2083 (lll_futex_wait): Likewise.
2084 (lll_futex_timed_wait): Likewise.
2085 (lll_futex_wake): Likewise.
2086 (lll_futex_requeue): Likewise.
2087 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2088 (__lll_timedwait_tid): Spell out argument names.
2089 (lll_timedwait_tid): Add comments and parentheses around macro
2091 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2092 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2094 2014-12-19 Torvald Riegel <triegel@redhat.com>
2096 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2097 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2098 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2099 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2100 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2101 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2102 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2103 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2104 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2105 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2106 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2107 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2108 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2109 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2110 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2111 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2112 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2113 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2114 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2116 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2118 * sysdeps/x86_64/x32/Makefile: New file.
2120 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2122 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2123 1L with (mp_limb_t) 1.
2125 2014-12-17 Roland McGrath <roland@hack.frob.com>
2127 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2128 * nptl/libc_pthread_init.c: ... here.
2129 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2130 * nptl/register-atfork.c: ... here.
2132 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2133 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2134 Use assert_perror to check its return value.
2135 (__gai_create_helper_thread): Likewise.
2137 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2139 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2141 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2144 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2146 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2148 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2150 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2152 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2153 (profil_counter): Likewise.
2154 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2155 (profil_counter): Likewise.
2156 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2158 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2160 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2161 (profil_counter): Likewise.
2162 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2164 [!__profil_counter] (profil_counter): Define as weak alias of
2166 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2167 (profil_counter): Rename to __profil_counter.
2168 [!__profil_counter] (profil_counter): Define as weak alias of
2170 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2171 (profil_counter): Rename to __profil_counter.
2172 [!__profil_counter] (profil_counter): Define as weak alias of
2174 * sysdeps/posix/profil.c: Update comment referring to
2176 (__profil): Use __profil_counter instead of profil_counter.
2177 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2178 __profil_counter. Use __profil_counter_ushort and
2179 __profil_counter_uint in definitions.
2180 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2181 instead of profil_counter_uint and profil_counter_ushort.
2184 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2185 define as weak alias of __inet_makeaddr.
2186 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2187 as weak alias of __inet_addr.
2188 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2189 as weak alias of __inet_pton. Use libc_hidden_weak.
2190 * include/arpa/inet.h (__inet_pton): Declare. Use
2192 (inet_makeaddr): Don't use libc_hidden_proto.
2193 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2194 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2195 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2196 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2198 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2199 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2201 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2203 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2205 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2207 * stdio-common/bug-vfprintf-nargs.c (do_test):
2208 Cast value to intptr_t to avoid format warning
2209 for usage with PRIdPTR printing macro.
2211 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2213 * libio/tst-widetext.c (do_test):
2214 Use format type %td instead of %Zd for ptrdiff_t
2215 in order to avoid format warning.
2217 2014-12-17 Andreas Schwab <schwab@suse.de>
2219 * nscd/mem.c (gc): Add size_t cast to match printf format.
2221 2014-12-16 Roland McGrath <roland@hack.frob.com>
2223 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2224 (init): Apply PTR_MANGLE to pointers before storing them.
2225 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2228 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2231 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2232 define as weak alias of __memrchr.
2233 (__memrchr): Do not define as strong alias of memrchr.
2234 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2236 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2237 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2238 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2241 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2242 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2243 (if_indextoname): Rename to __if_indextoname and define as weak
2244 alias of __if_indextoname. Use libc_hidden_weak.
2245 (if_freenameindex): Rename to __if_freenameindex and define as
2246 weak alias of __if_freenameindex.
2247 (if_nameindex): Rename to __if_nameindex and define as weak alias
2249 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2250 __if_nametoindex and define as weak alias of __if_nametoindex.
2251 Use libc_hidden_weak.
2252 (if_freenameindex): Rename to __if_freenameindex and define as
2253 weak alias of __if_freenameindex.
2254 (if_nameindex): Rename to __if_nameindex and define as weak alias
2256 (if_indextoname): Rename to __if_indextoname and define as weak
2257 alias of __if_indextoname. Use libc_hidden_weak.
2258 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2259 __if_nametoindex and define as weak alias of __if_nametoindex.
2260 Use libc_hidden_weak.
2261 (if_freenameindex): Rename to __if_freenameindex and define as
2262 weak alias of __if_freenameindex. Use libc_hidden_weak.
2263 (if_nameindex_netlink): Use __if_freenameindex instead of
2265 (if_nameindex): Rename to __if_nameindex and define as weak alias
2266 of __if_nameindex. Use libc_hidden_weak.
2267 (if_indextoname): Rename to __if_indextoname and define as weak
2268 alias of __if_indextoname. Use libc_hidden_weak.
2269 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2271 [!_ISOMAC] (__if_freenameindex): Likewise.
2272 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2274 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2276 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2277 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2278 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2279 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2280 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2281 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2282 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2284 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2286 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2287 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2289 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2291 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2292 subscript above bounds'
2294 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2297 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2299 * libio/tst-fopenloc.c: Use test-skeleton.c.
2301 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2302 (entry): Rename to ITEM.
2303 (do_test, comp): Adjust.
2305 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2307 2014-12-16 Torvald Riegel <triegel@redhat.com>
2309 * string/tester.c: Include <libc-internal.h>.
2310 (test_memset): Ignore -Wmemset-transposed-args.
2312 2014-12-16 Torvald Riegel <triegel@redhat.com>
2314 * misc/tst-mntent2.c (do_test): Fix warning.
2316 2014-12-16 Torvald Riegel <triegel@redhat.com>
2318 * elf/tst-unique4lib.cc(a): Mark as used.
2320 2014-12-16 Florian Weimer <fweimer@redhat.com>
2323 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2326 2014-12-16 Allan McRae <allan@archlinux.org>
2328 * stdio-common/Makefile (tests): Re-add bug26.
2330 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2333 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2336 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2338 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2339 (__lll_lock_wait): Likewise.
2340 (__lll_timedlock_wait): Likewise.
2341 (__lll_timedwait_tid): Likewise.
2342 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2343 (__lll_robust_timedlock_wait): Likewise.
2344 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2345 (lll_cond_trylock): Likewise.
2346 (__lll_lock): Likewise.
2347 (__lll_robust_lock): Likewise.
2348 (__lll_cond_lock): Likewise.
2349 (lll_robust_cond_lock): Likewise.
2350 (__lll_timedlock): Likewise.
2351 (__lll_robust_timedlock): Likewise.
2352 (__lll_unlock): Likewise.
2353 (__lll_robust_unlock): Likewise.
2354 (lll_wait_tid): Likewise.
2355 (lll_timedwait_tid): Likewise.
2357 2014-12-15 Torvald Riegel <triegel@redhat.com>
2359 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2361 2014-12-15 Torvald Riegel <triegel@redhat.com>
2363 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2365 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2367 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2368 * stdio-common/tst-sprintf.c: Likewise.
2370 2014-12-15 Torvald Riegel <triegel@redhat.com>
2372 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2374 2014-12-15 Jeff Law <law@redhat.com>
2377 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2378 on the heap. (CVE-2012-3406)
2379 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2380 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2381 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2383 2014-12-15 Will Newton <will.newton@linaro.org>
2385 * manual/install.texi: Bump required version of texinfo
2387 * INSTALL: Regenerated.
2388 * configure.ac: Check for makeinfo version 4.7 and above.
2389 * configure: Regenerated.
2391 2014-12-12 Roland McGrath <roland@hack.frob.com>
2393 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2394 PREFIX, string constant to insert between directory and name.
2395 * sysdeps/posix/shm_open.c: Update caller.
2396 * sysdeps/posix/shm_unlink.c: Likewise.
2397 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2398 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2399 (SEM_SHM_PREFIX): New macro.
2400 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2401 [$(have-thread-library) = no].
2402 * nptl/Makefile (libpthread-routines): Add shm-directory.
2403 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2404 * sysdeps/nptl/shm-directory.h: New file.
2405 * sysdeps/posix/shm-directory.c
2406 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2407 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2408 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2410 (__where_is_shmfs): Function removed.
2411 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2413 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2415 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2417 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2418 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2419 unconditional for use inside libpthread.
2420 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2422 2014-12-12 Roland McGrath <roland@hack.frob.com>
2424 * nptl/pthread_getaffinity.c: New file.
2425 * nptl/pthread_setaffinity.c: New file.
2426 * nptl/pthread_getname.c: New file.
2427 * nptl/pthread_setname.c: New file.
2429 * nptl/pthread_create.c (START_THREAD_DEFN)
2430 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2432 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2433 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2435 * resolv/res_send.c (send_vc): Disable warning resplen may
2436 be used uninitialized.
2438 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2441 (ATTR_NULL): New define checks ATTR against NULL.
2442 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2443 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2445 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2449 (mem2mem_check): Revert my previous change.
2450 (malloc_check_get_size): Revert my previous change.
2451 (mem2chunk_check): Revert my previous change.
2453 2014-12-11 Roland McGrath <roland@hack.frob.com>
2455 * sysdeps/posix/shm-directory.c: New file.
2456 * sysdeps/posix/shm-directory.h: New file.
2457 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2458 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2459 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2460 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2461 Transmute EPERM to EACCES.
2462 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2464 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2465 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2467 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2469 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2470 pointer and cast to uintptr_t.
2471 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2472 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2473 Add cast to avoid warning.
2474 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2476 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2478 * nptl/semaphore.h: Move to ...
2479 * sysdeps/pthread/semaphore.h: ... here.
2480 * Makefile (installed-headers): Change nptl/semaphore.h to
2481 sysdeps/pthread/semaphore.h.
2483 2014-12-11 Roland McGrath <roland@hack.frob.com>
2485 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2486 generated error format strings.
2488 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2489 -Wformat-extra-args warnings for scanf formats.
2490 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2491 test of zero-length format (duh).
2492 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2493 corner-case scanf format test.
2494 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2495 generated fprintf format string.
2496 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2497 corner-case sprintf format tests.
2498 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2499 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2500 -Wformat-extra-args warnings throughout.
2501 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2502 (CFLAGS-scanf4.c): Likewise.
2503 (CFLAGS-scanf7.c): Likewise.
2504 (CFLAGS-tst-sprintf.c): Likewise.
2505 (CFLAGS-tst-printf.c): Likewise.
2506 (CFLAGS-tst-printfsz.c): Likewise.
2508 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2510 * include/cpio.h: New file.
2511 * include/fmtmsg.h: Likewise.
2513 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2514 corresponding format argument to size_t.
2515 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2517 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2518 corresponding format argument to size_t.
2519 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2521 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2522 corresponding format argument to size_t.
2523 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2524 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2525 (CFLAGS-tst-mbswcs2.c): Likewise.
2526 (CFLAGS-tst-mbswcs3.c): Likewise.
2527 (CFLAGS-tst-mbswcs4.c): Likewise.
2528 (CFLAGS-tst-mbswcs5.c): Likewise.
2529 (CFLAGS-tst-trans.c): Likewise
2531 2014-12-11 Roland McGrath <roland@hack.frob.com>
2533 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2534 rather than assuming they won't contain any '%'s.
2536 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2538 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2539 inhibit_loop_to_libcall to avoid recursive calls.
2540 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2541 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2543 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2545 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2548 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2550 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2551 integer value instead of boolean.
2553 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2555 * malloc/malloc.c: Fix powerof2 check.
2557 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2559 * locale/programs/locfile.h (maybe_swap_uint32):
2560 Remove inline and add unused attribute.
2562 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2564 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2565 Truncating assembler expression to a .long expression.
2567 2014-12-11 Andreas Schwab <schwab@suse.de>
2569 * elf/rtld.c (struct map_args): Constify str member.
2570 (do_preload): Constify fname argument.
2572 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2574 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2575 constants definition.
2577 2014-12-11 Andreas Schwab <schwab@suse.de>
2580 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2581 FORCE_ELISION instead of DO_ELISION.
2582 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2584 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2587 * iconvdata/gconv-modules: Remove duplicate entry.
2589 2014-12-11 Will Newton <will.newton@linaro.org>
2591 Merge gettext 0.19.3 into intl/.
2593 This involves a number of cosmetic changes to comments
2594 and ANSI function definitions and prototypes throughout
2595 all the files. The gettext copyright header is used but
2596 with the date ranges taken from the glibc copy.
2598 * NEWS: Add gettext merge to 2.21.
2599 * intl/bindtextdom.c: Switch to gettext copyright.
2600 Use ANSI definitions and prototypes.
2601 Use gl_* locking primitives rather than __libc_* ones.
2602 Use __builtin_expect rather than __glibc_likely/unlikely.
2603 * intl/dcgettext.c: Switch to gettext copyright.
2604 Use ANSI definitions and prototypes.
2605 * intl/dcigettext.c: Switch to gettext copyright.
2606 Use ANSI definitions and prototypes.
2607 (INTDIV0_RAISES_SIGFPE): New define.
2608 Use gl_* locking primitives rather than __libc_* ones.
2609 Include eval-plural.h instead of plural-eval.c.
2610 Use __builtin_expect rather than __glibc_likely/unlikely.
2611 * intl/dcngettext.c: Switch to gettext copyright.
2612 Use ANSI definitions and prototypes.
2613 * intl/dgettext.c: Likewise.
2614 * intl/dngettext.c: Likewise.
2615 * intl/plural-eval.c: Renamed to...
2616 * intl/eval-plural.h: ...this.
2617 * intl/explodename.c: Switch to gettext copyright.
2618 Use ANSI definitions and prototypes.
2619 (_nl_explode_name): Use strchr instead of __rawmemchr.
2620 * intl/finddomain.c: Switch to gettext copyright.
2621 Use ANSI definitions and prototypes.
2622 Use gl_* locking primitives rather than __libc_* ones.
2623 (_nl_find_domain): Use malloc rather than alloca for
2624 allocation of temporary locale name.
2625 * intl/gettext.c: Switch to gettext copyright.
2626 Use ANSI definitions and prototypes.
2627 * intl/gettextP.h: Switch to gettext copyright.
2628 Use ANSI definitions and prototypes.
2629 Use gl_* locking primitives rather than __libc_* ones.
2630 * intl/gmo.h: Switch to gettext copyright.
2631 (struct sysdep_string): Move struct segment_pair outside of
2633 * intl/hash-string.c: Use ANSI definitions and prototypes.
2634 * intl/hash-string.h: Switch to gettext copyright.
2635 Use ANSI definitions and prototypes.
2636 * intl/l10nflist.c: Switch to gettext copyright.
2637 Use ANSI definitions and prototypes.
2638 (_nl_normalize_codeset): Avoid integer overflow.
2639 * intl/loadinfo.h: Switch to gettext copyright.
2640 Use ANSI definitions and prototypes.
2641 (LIBINTL_DLL_EXPORTED): New define.
2642 (PATH_SEPARATOR): New define.
2643 * intl/loadmsgcat.c: Switch to gettext copyright.
2644 * intl/localealias.c: Switch to gettext copyright.
2645 Use ANSI definitions and prototypes.
2646 (_nl_expand_alias): Use PATH_SEPARATOR.
2647 * intl/ngettext.c: Switch to gettext copyright.
2648 Use ANSI definitions and prototypes.
2649 * intl/plural-exp.c: Likewise.
2650 * intl/plural-exp.h: Switch to gettext copyright.
2651 Use ANSI definitions and prototypes.
2652 (struct expression): Move definition of enum operator outside
2653 of struct definition.
2654 * intl/plural.c: Regenerate.
2655 * intl/plural.y: Switch to gettext copyright.
2656 Use ANSI definitions and prototypes.
2658 * intl/textdomain.c: Switch to gettext copyright.
2659 Use ANSI definitions and prototypes.
2660 Use gl_* locking primitives rather than __libc_* ones.
2662 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2664 * debug/warning-nop.c: Add used atrribute.
2666 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2668 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2670 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2671 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2672 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2674 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2675 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2678 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2679 Undefine after defining function. Define as weak alias of
2680 __wcschr. Use libc_hidden_weak.
2681 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2682 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2683 (libc_hidden_def): Also define __GI___wcschr alias.
2684 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2685 __wcschr and define as weak alias of __wcschr.
2686 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2688 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2689 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2690 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2691 libc_hidden_weak. Do not use libc_hidden_def.
2692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2693 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2694 __GI___wcschr alias.
2695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2696 [IS_IN (libc)] (wcschr): Define as macro expanding to
2698 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2699 [IS_IN (libc)] (__wcschr_power6): Likewise.
2700 [IS_IN (libc)] (__wcschr_power7): Likewise.
2701 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2703 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2705 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2706 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2707 __wcschr and define as weak alias of __wcschr. Use
2708 libc_hidden_builtin_def.
2709 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2710 as weak alias of __wcschr. Use libc_hidden_weak.
2711 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2713 * time/era.c (_nl_init_era_entries): Likewise.
2714 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2716 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2717 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2719 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2721 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2722 format for long int variable.
2724 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2727 * manual/search.texi: (Array Sort Function): Remove claim how to make
2730 2014-12-10 Andreas Schwab <schwab@suse.de>
2733 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2734 user-controlled locks.
2736 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2738 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2741 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2743 * configure.ac (--disable-werror): New configure option.
2744 (enable_werror): New AC_SUBST.
2745 * configure: Regenerated.
2746 * config.make.in (enable-werror): New variable.
2747 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2749 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2750 * manual/install.texi (Configuring and compiling): Document
2752 * INSTALL: Regenerated.
2753 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2754 (CFLAGS-tst-chk2.c): Likewise.
2755 (CFLAGS-tst-chk3.c): Likewise.
2756 (CFLAGS-tst-chk4.cc): Likewise.
2757 (CFLAGS-tst-chk5.cc): Likewise.
2758 (CFLAGS-tst-chk6.cc): Likewise.
2759 (CFLAGS-tst-lfschk1.c): Likewise.
2760 (CFLAGS-tst-lfschk2.c): Likewise.
2761 (CFLAGS-tst-lfschk3.c): Likewise.
2762 (CFLAGS-tst-lfschk4.cc): Likewise.
2763 (CFLAGS-tst-lfschk5.cc): Likewise.
2764 (CFLAGS-tst-lfschk6.cc): Likewise.
2766 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2767 (main): Disable -Wdeprecated-declarations around calls to
2768 register_printf_function.
2770 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2771 (do_test): Disable -Wdiv-by-zero around some calls to
2772 fwrite_unlocked and fread_unlocked.
2774 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2775 (DIAG_POP_NEEDS_COMMENT): Likewise.
2776 (_DIAG_STR1): Likewise.
2777 (_DIAG_STR): Likewise.
2778 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2779 * stdio-common/bug21.c: Include <libc-internal.h>.
2780 (do_test): Disable -Wformat around call to sscanf.
2781 * stdio-common/scanf14.c: Include <libc-internal.h>.
2782 (main): Disable -Wformat around some calls to scanf functions.
2784 2014-12-09 Torvald Riegel <triegel@redhat.com>
2786 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2788 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2790 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2791 stack variable alignment.
2793 2014-12-06 Joseph Myers <joseph@codesourcery.com>
2796 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2797 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2798 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2799 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2800 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2801 __getrlimit instead of getrlimit.
2802 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2803 __gettimeofday instead of gettimeofday.
2804 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2806 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2808 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2809 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2811 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2812 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2814 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2816 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2817 for wide-character tests.
2819 2014-12-04 Roland McGrath <roland@hack.frob.com>
2821 * io/openat64.c: #include <libc-internal.h>
2822 (__openat64): Prototypify. Use ignore_value on MODE.
2823 * io/openat.c: Likewise.
2824 * misc/reboot.c: #include <libc-internal.h>
2825 (reboot): Prototypify. Use ignore_value on HOWTO.
2826 * misc/ptrace.c: #include <libc-internal.h>
2827 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2829 2014-12-04 Joseph Myers <joseph@codesourcery.com>
2831 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2832 XPG4, UNIX98 and XOPEN2K.
2833 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2835 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2837 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2839 * libio/fileops.c: Use ISO C style for function definitions.
2840 * libio/iofopen.c: Likewise.
2841 * libio/wfileops.c: Likewise.
2844 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2846 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2847 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2848 (fgets_func): Function pointer to fgets and fgetws.
2849 (do_ftell_test): Add test to verify ftell value after read
2851 (do_test): Set fgets_func.
2853 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2854 O_TRUNC flag for w and w+ modes.
2855 (do_rewind_test): Likewise.
2856 (do_ftell_test): Likewise.
2857 (do_write_test): Likewise.
2860 * libio/fileops.c (do_ftell): Seek only when there are
2862 * libio/wfileops.c (do_ftell_wide): Likewise.
2863 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2865 (do_one_test): Call it.
2867 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2869 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2870 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2871 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2873 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2874 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2875 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2877 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2879 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2881 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2884 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2885 as weak alias of __getifaddrs. Use libc_hidden_weak.
2886 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2887 __freeifaddrs. Use libc_hidden_weak.
2888 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2889 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2890 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2891 __freeifaddrs. Use libc_hidden_weak.
2892 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2893 __getifaddrs and define as weak alias of __getifaddrs. Use
2895 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2896 __freeifaddrs. Use libc_hidden_weak.
2897 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2899 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2900 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2902 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2905 * sysdeps/mips/start.S (__start): Use indirect jump to call
2908 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2910 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2912 * nptl/tst-mutex1.c: Include <stdbool.h>.
2913 [!ATTR] (ATTR_NULL): New macro.
2914 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2915 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2916 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2918 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2922 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2923 Change conditional to [__USE_MISC].
2926 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2928 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2930 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2932 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2934 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2935 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2936 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2937 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2938 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2939 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2940 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2941 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2942 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2944 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2946 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2948 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2949 Remove strpbrk objects.
2950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2951 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2952 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2953 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2954 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2955 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2957 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2958 Remove strcspn objects.
2959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2960 (__libc_ifunc_impl_list): Remove strcspn implementation.
2961 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2962 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2963 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2964 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2966 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2967 Remove strspn objetcs.
2968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2969 (__libc_ifunc_impl_list): Remove strspn implementation.
2970 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2971 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2972 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2973 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2975 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2979 (mem2mem_check): Add a terminator to the chain of checking blocks.
2980 (malloc_check_get_size): Use it here.
2981 (mem2chunk_check): Ditto.
2983 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2985 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2986 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2988 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2990 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2992 * nptl/nptl-init.c: Include libc-internal.h.
2993 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2995 * elf/ldconfig.c (search_dir): Expand comment.
2997 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2999 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3001 (linknamespace-symlist-stdlibs-tests): Likewise.
3002 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3003 instead of $(objpfx)symlist-stdlibs.
3004 (linknamespace-libs-isoc): New variable.
3005 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3006 (linknamespace-libs-ISO): New variable.
3007 (linknamespace-libs-ISO99): Likewise.
3008 (linknamespace-libs-ISO11): Likewise.
3009 (linknamespace-libs-XPG3): Likewise.
3010 (linknamespace-libs-XPG4): Likewise.
3011 (linknamespace-libs-POSIX): Likewise.
3012 (linknamespace-libs-UNIX98): Likewise.
3013 (linknamespace-libs-XOPEN2K): Likewise.
3014 (linknamespace-libs-POSIX2008): Likewise.
3015 (linknamespace-libs-XOPEN2K8): Likewise.
3016 ($(objpfx)symlist-stdlibs): Replace by
3017 $(linknamespace-symlist-stdlibs-tests). Use
3018 $(linknamespace-libs-$*) as set of libraries.
3019 ($(linknamespace-header-tests)): Update dependencies. Use
3020 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3021 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3022 * conform/linknamespace.pl: Remove comment about considering
3023 definitions of symbols from irrelevant libraries.
3025 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3028 * elf/dl-tls.c: Include <atomic.h>.
3029 (oom): Remove #ifdef SHARED/#endif.
3030 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3031 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3032 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3034 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3035 * nptl/Makefile (tests): Add tst-stack4.
3036 (modules-names): Add tst-stack4mod.
3037 ($(objpfx)tst-stack4): New.
3038 (tst-stack4mod.sos): Likewise.
3039 ($(objpfx)tst-stack4.out): Likewise.
3040 ($(tst-stack4mod.sos)): Likewise.
3042 * nptl/tst-stack4.c: New file.
3043 * nptl/tst-stack4mod.c: Likewise.
3045 2014-11-27 J. Brown <jb999@gmx.de>
3047 * sysdeps/x86/bits/string.h: Add recent CPUs.
3049 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3051 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3054 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3057 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3060 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3062 * nscd/connections.c: Include libc-internal.h because of macro
3065 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3067 * string/bits/string3.h (__warn_memset_zero_len): Don't
3068 declare for gcc newer than 5.0.
3069 (memset): Don't test for zero-length __LEN for gcc newer than
3072 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3074 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3075 size_t for %zu format.
3077 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3078 difference, not %ju.
3080 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3082 * include/libc-internal.h (ignore_value): New macro.
3083 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3086 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3089 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3090 pthread_cleanup_push to void *.
3092 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3097 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3098 instead of 1L << 52.
3100 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3101 * libio/bug-rewind2.c (do_test): Likewise.
3103 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3104 * debug/test-strcpy_chk-ifunc.c: Likewise.
3105 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3106 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3107 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3108 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3109 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3110 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3111 * Rules [$(multi-arch) = no] (tests): Do not filter out
3113 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3114 * debug/Makefile (tests-ifunc): Remove variable.
3115 (tests): Do not add $(tests-ifunc).
3116 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3117 (tests): Do not add $(tests-ifunc).
3118 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3119 [TEST_IFUNC]: Remove conditionals.
3120 * string/test-string.h (TEST_IFUNC): Remove macro.
3121 [TEST_IFUNC]: Remove conditionals.
3123 * string/test-strchr.c [!WIDE] (L): New macro.
3124 [WIDE] (L): Likewise.
3125 (check1): Use CHAR instead of char. Use L on string and character
3128 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3130 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3132 * sysdeps/powerpc/bits/atomic.h
3133 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3134 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3135 (atomic_exchange_and_add_acq): Likewise.
3136 (atomic_exchange_and_add_rel): Likewise.
3137 * sysdeps/powerpc/powerpc32/bits/atomic.h
3138 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3139 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3140 * sysdeps/powerpc/powerpc64/bits/atomic.h
3141 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3142 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3144 2014-11-26 Torvald Riegel <triegel@redhat.com>
3146 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3147 Change synchronization of __sched_fifo_min_prio and
3148 __sched_fifo_max_prio.
3149 * nptl/pthread_mutexattr_getprioceiling.c
3150 (pthread_mutexattr_getprioceiling): Likewise.
3151 * nptl/pthread_mutexattr_setprioceiling.c
3152 (pthread_mutexattr_setprioceiling): Likewise.
3153 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3154 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3157 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3159 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3162 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3164 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3165 third argument const.
3167 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3169 fnmatch: work around GCC compiler warning bug with uninit var
3170 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3171 This works around a bug with x86-64 GCC 4.9.2 and earlier
3172 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3173 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3174 used uninitialized in this function [-Wmaybe-uninitialized]".
3176 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3178 * posix/bug-regex31.c (main): Return RES not 0.
3180 2014-11-25 Anton Blanchard <anton@samba.org>
3182 * sysdeps/powerpc/bits/atomic.h
3183 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3185 2014-11-24 Sterling Augustine <saugustine@google.com>
3187 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3189 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3192 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3194 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3197 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3198 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3200 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3201 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3203 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3205 * string/strncpy.c (strncpy): Improve performance by using memset.
3207 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3209 * string/strcpy.c (strcpy):
3210 Improve performance by using strlen and memcpy.
3212 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3214 * string/strcoll_l.c (get_next_seq): __always_inline.
3215 * string/strcoll_l.c (do_compare): __always_inline.
3217 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3219 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3221 * include/mqueue.h: Likewise.
3222 * include/stdlib.h: Likewise.
3224 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3225 (get_null_defines): Adjust.
3226 * sunrpc/Makefile: Adjust comment.
3227 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3228 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3229 (CFLAGS-interp.c): Likewise.
3230 (CFLAGS-ldconfig.c): Likewise.
3231 (CPPFLAGS-.os): Likewise.
3232 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3233 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3234 * extra-modules.mk (extra-modules.mk): Likewise.
3235 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3236 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3237 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3238 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3239 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3240 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3241 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3242 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3243 * iconvdata/Makefile (CPPFLAGS): Likewise.
3244 (cpp-srcs-left): Add libof for all iconvdata routines.
3245 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3246 * include/assert.h: Likewise.
3247 * include/ctype.h: Likewise.
3248 * include/errno.h: Likewise.
3249 * include/libc-symbols.h: Likewise.
3250 * include/math.h: Likewise.
3251 * include/netdb.h: Likewise.
3252 * include/resolv.h: Likewise.
3253 * include/stdio.h: Likewise.
3254 * include/stdlib.h: Likewise.
3255 * include/string.h: Likewise.
3256 * include/sys/stat.h: Likewise.
3257 * include/wctype.h: Likewise.
3258 * intl/l10nflist.c: Likewise.
3259 * libidn/idn-stub.c: Likewise.
3260 * libio/libioP.h: Likewise.
3261 * nptl/libc_multiple_threads.c: Likewise.
3262 * nptl/pthreadP.h: Likewise.
3263 * posix/regex_internal.h: Likewise.
3264 * resolv/res_hconf.c: Likewise.
3265 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3266 * sysdeps/arm/memmove.S: Likewise.
3267 * sysdeps/arm/sysdep.h: Likewise.
3268 * sysdeps/generic/_itoa.h: Likewise.
3269 * sysdeps/generic/symbol-hacks.h: Likewise.
3270 * sysdeps/gnu/errlist.awk: Likewise.
3271 * sysdeps/gnu/errlist.c: Likewise.
3272 * sysdeps/i386/i586/memcpy.S: Likewise.
3273 * sysdeps/i386/i586/memset.S: Likewise.
3274 * sysdeps/i386/i686/memcpy.S: Likewise.
3275 * sysdeps/i386/i686/memmove.S: Likewise.
3276 * sysdeps/i386/i686/mempcpy.S: Likewise.
3277 * sysdeps/i386/i686/memset.S: Likewise.
3278 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3279 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3280 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3281 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3282 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3284 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3285 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3286 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3288 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3289 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3290 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3291 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3292 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3293 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3294 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3295 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3296 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3297 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3298 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3299 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3300 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3301 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3302 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3304 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3305 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3306 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3308 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3311 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3313 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3314 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3315 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3316 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3317 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3318 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3319 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3320 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3321 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3322 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3323 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3324 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3325 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3326 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3327 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3329 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3330 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3331 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3332 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3333 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3334 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3335 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3336 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3337 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3338 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3339 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3340 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3341 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3342 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3343 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3344 * sysdeps/posix/closedir.c: Likewise.
3345 * sysdeps/posix/opendir.c: Likewise.
3346 * sysdeps/posix/readdir.c: Likewise.
3347 * sysdeps/posix/rewinddir.c: Likewise.
3348 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3349 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3350 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3351 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3352 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3353 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3354 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3359 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3360 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3361 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3362 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3363 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3364 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3365 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3366 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3368 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3369 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3370 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3371 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3373 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3374 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3375 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3376 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3383 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3384 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3385 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3386 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3387 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3388 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3389 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3390 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3391 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3392 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3393 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3394 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3395 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3396 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3397 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3398 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3399 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3400 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3401 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3402 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3403 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3404 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3405 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3406 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3407 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3408 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3409 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3410 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3411 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3412 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3413 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3414 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3415 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3416 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3417 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3418 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3419 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3420 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3421 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3422 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3423 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3424 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3425 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3426 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3427 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3428 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3429 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3430 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3431 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3432 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3433 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3434 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3435 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3436 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3437 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3438 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3439 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3440 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3441 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3442 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3444 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3446 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3447 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3448 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3449 * sysdeps/unix/alpha/sysdep.S: Likewise.
3450 * sysdeps/unix/alpha/sysdep.h: Likewise.
3451 * sysdeps/unix/make-syscalls.sh: Likewise.
3452 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3453 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3454 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3455 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3456 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3457 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3458 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3459 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3460 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3461 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3462 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3463 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3464 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3465 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3466 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3467 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3468 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3469 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3470 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3471 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3472 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3473 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3474 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3475 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3476 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3477 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3478 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3481 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3482 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3483 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3484 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3485 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3486 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3490 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3491 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3492 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3493 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3494 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3495 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3496 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3502 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3503 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3504 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3505 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3510 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3511 * sysdeps/x86_64/memcpy.S: Likewise.
3512 * sysdeps/x86_64/memmove.c: Likewise.
3513 * sysdeps/x86_64/memset.S: Likewise.
3514 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3515 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3516 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3517 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3518 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3521 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3522 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3523 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3524 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3525 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3526 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3527 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3528 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3529 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3530 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3531 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3532 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3533 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3534 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3535 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3536 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3538 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3539 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3540 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3541 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3542 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3543 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3544 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3545 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3546 * sysdeps/x86_64/strcmp.S: Likewise.
3548 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3550 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3551 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3552 * elf/rtld-Rules: Likewise.
3553 * elf/setup-vdso.h: Likewise.
3554 * include/assert.h: Likewise.
3555 * include/bits/stdlib-float.h: Likewise.
3556 * include/errno.h: Likewise.
3557 * include/sys/stat.h: Likewise.
3558 * include/unistd.h: Likewise.
3559 * sysdeps/aarch64/setjmp.S: Likewise.
3560 * sysdeps/alpha/setjmp.S: Likewise.
3561 * sysdeps/arm/__longjmp.S: Likewise.
3562 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3563 * sysdeps/arm/setjmp.S: Likewise.
3564 * sysdeps/arm/sysdep.h: Likewise.
3565 * sysdeps/generic/_itoa.h: Likewise.
3566 * sysdeps/generic/dl-sysdep.h: Likewise.
3567 * sysdeps/generic/ldsodefs.h: Likewise.
3568 * sysdeps/i386/dl-tls.h: Likewise.
3569 * sysdeps/i386/setjmp.S: Likewise.
3570 * sysdeps/m68k/setjmp.c: Likewise.
3571 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3572 * sysdeps/mach/hurd/opendir.c: Likewise.
3573 * sysdeps/posix/getcwd.c: Likewise.
3574 * sysdeps/posix/opendir.c: Likewise.
3575 * sysdeps/posix/profil.c: Likewise.
3576 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3577 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3578 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3580 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3581 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3582 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3583 * sysdeps/s390/dl-tls.h: Likewise.
3584 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3585 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3586 * sysdeps/sh/sh3/setjmp.S: Likewise.
3587 * sysdeps/sh/sh4/setjmp.S: Likewise.
3588 * sysdeps/unix/alpha/sysdep.h: Likewise.
3589 * sysdeps/unix/arm/sysdep.S: Likewise.
3590 * sysdeps/unix/i386/sysdep.S: Likewise.
3591 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3592 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3593 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3594 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3596 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3597 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3598 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3599 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3600 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3601 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3602 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3603 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3606 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3609 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3610 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3611 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3614 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3615 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3618 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3619 * sysdeps/x86_64/setjmp.S: Likewise.
3621 * include/math.h: Use IS_IN instead of IS_IN_libm.
3622 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3634 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3642 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3643 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3644 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3645 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3646 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3647 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3649 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3650 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3651 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3652 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3653 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3654 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3665 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3666 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3667 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3668 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3670 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3676 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3677 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3678 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3679 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3680 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3681 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3682 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3683 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3684 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3685 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3686 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3687 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3688 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3689 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3691 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3693 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3694 * nptl/pthreadP.h: Likewise.
3695 * nptl_db/structs.def: Likewise.
3696 * sysdeps/arm/sysdep.h: Likewise.
3697 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3698 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3699 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3700 * sysdeps/unix/alpha/sysdep.h: Likewise.
3701 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3702 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3703 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3704 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3705 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3706 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3707 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3708 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3709 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3710 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3711 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3712 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3713 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3714 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3719 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3722 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3723 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3724 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3725 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3726 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3728 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3729 * nptl/pthreadP.h: Likewise.
3730 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3731 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3732 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3733 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3734 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3735 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3736 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3737 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3738 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3739 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3740 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3741 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3746 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3751 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3752 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3753 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3755 * dlfcn/dladdr.c: Use IS_IN.
3756 * dlfcn/dladdr1.c: Likewise.
3757 * dlfcn/dlclose.c: Likewise.
3758 * dlfcn/dlerror.c: Likewise.
3759 * dlfcn/dlinfo.c: Likewise.
3760 * dlfcn/dlmopen.c: Likewise.
3761 * dlfcn/dlopen.c: Likewise.
3762 * dlfcn/dlsym.c: Likewise.
3763 * dlfcn/dlvsym.c: Likewise.
3765 * include/ifaddrs.h: Use IS_IN.
3766 * inet/check_pf.c: Likewise.
3767 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3768 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3770 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3772 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3773 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3775 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3776 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3779 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3781 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3782 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3783 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3784 * include/libc-symbols.h (IS_IN_LIB): New macro.
3785 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3786 * include/netdb.h: Likewise.
3787 * include/stap-probe.h: Remove all uses of IN_LIB.
3789 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3790 instead of IN_MODULE.
3791 * include/libc-symbols.h (IN_MODULE): Define using
3793 (PASTE_NAME, PASTE_NAME1): New macros.
3794 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3796 (STAP_PROBE_ASM): Likewise.
3798 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3800 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3801 __mach_init in dlopened libc.
3803 2014-11-22 Mike Frysinger <vapier@gentoo.org>
3805 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3806 * sysdeps/arm/preconfigure: Regenerate.
3808 2014-11-21 Roland McGrath <roland@hack.frob.com>
3810 * nptl/pthread_create.c (__pthread_create_2_1): Set
3811 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3812 when copying values from IATTR into PD.
3814 2014-11-21 Will Newton <will.newton@linaro.org>
3815 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3817 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3818 Refactor inline-asm. Also add comment.
3820 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3821 ElfW macro instead of hardcoded Elf64 types.
3822 (la_aarch64_gnu_pltenter): Likewise.
3823 * sysdeps/aarch64/dl-machine.h
3824 (elf_machine_runtime_setup): Use ElfW(Addr).
3826 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3827 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3828 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3829 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3830 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3831 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3832 (R_AARCH64_TLS_DTPMOD): This.
3833 (R_AARCH64_TLS_DTPREL64): Rename to ...
3834 (R_AARCH64_TLS_DTPREL): This.
3835 (R_AARCH64_TLS_TPREL64): Rename to ...
3836 (R_AARCH64_TLS_TPREL): This.
3837 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3838 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3839 R_AARCH64_TLS_TPREL64.
3840 (elf_machine_rela): Likewise.
3842 2014-11-21 Torvald Riegel <triegel@redhat.com>
3844 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3845 by setting it to 0. 64b atomics are not supported currently.
3847 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3850 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3851 search domain names.
3853 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3857 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3859 * posix/tst-getaddrinfo5.c: New.
3860 * posix/Makefile (tests): Add it.
3862 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3866 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3867 after parsing line but before break_if_match.
3868 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3869 if there is a protocol mismatch.
3871 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3873 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3874 because the potential race is on the user-supplied stream.
3876 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3878 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3879 string literal if not passed a buffer.
3880 * manual/job.texi (ctermid): Update reasoning, note deviation
3881 from posix, suggest mtasurace when not passed a buffer, for
3882 future non-preliminary safety notes.
3884 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3886 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3887 of not passing it a buffer.
3888 Reported by Peng Haitao.
3890 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3892 * manual/Makefile ($(objpfx)stamp-summary): Require
3893 check-safety.sh to pass.
3894 * manual/check-safety.sh: Wish for verification that every
3895 @deftypefn and @deftypefun is followed by a @safety remark.
3897 2014-11-20 Roland McGrath <roland@hack.frob.com>
3899 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3901 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3902 PTHREAD_CANCEL_ASYNCHRONOUS.
3903 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3906 * nptl/default-sched.h: New file.
3907 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3908 * nptl/pthread_create.c: Include it.
3909 (__pthread_create_2_1): Use collect_default_sched instead of making
3910 Linux syscalls here directly.
3912 2014-11-20 Torvald Riegel <triegel@redhat.com>
3914 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3915 __pthread_once): Use C11 atomics.
3917 2014-11-20 Torvald Riegel <triegel@redhat.com>
3919 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3921 2014-11-20 Torvald Riegel <triegel@redhat.com>
3923 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3924 atomic_thread_fence_acquire, atomic_thread_fence_release,
3925 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3926 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3927 atomic_compare_exchange_weak_relaxed,
3928 atomic_compare_exchange_weak_acquire,
3929 atomic_compare_exchange_weak_release,
3930 atomic_exchange_acquire, atomic_exchange_release,
3931 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3932 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3933 atomic_fetch_and_acquire,
3934 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3936 2014-11-20 Torvald Riegel <triegel@redhat.com>
3938 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3939 USE_ATOMIC_COMPILER_BUILTINS): Define.
3940 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3941 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3942 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3943 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3944 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3945 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3946 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3947 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3948 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3949 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3950 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3951 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3952 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3953 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3954 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3955 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3956 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3957 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3958 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3959 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3960 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3961 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3962 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3963 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3964 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3965 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3966 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3967 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3968 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3969 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3970 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3971 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3972 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3973 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3974 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3975 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3976 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3977 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3978 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3979 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3981 2014-11-19 Roland McGrath <roland@hack.frob.com>
3983 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3984 the sched_priority value here. It was already checked when the user
3985 called pthread_attr_setschedparam.
3987 * nptl/tst-bad-schedattr.c: New file.
3988 * nptl/Makefile (tests): Add it.
3990 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3991 Florian Weimer <fweimer@redhat.com>
3992 Joseph Myers <joseph@codesourcery.com>
3993 Adam Conrad <adconrad@0c3.net>
3994 Andreas Schwab <schwab@suse.de>
3995 Brooks <bmoses@google.com>
3998 * wordexp-test.c (__dso_handle): Add prototype.
3999 (__register_atfork): Likewise.
4000 (__app_register_atfork): New function.
4001 (registered_forks): New global.
4002 (register_fork): New function.
4003 (test_case): Add 3 new tests for WRDE_CMDSUB.
4004 (main): Call __app_register_atfork.
4005 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4006 fork count is non-zero fail the test.
4007 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4009 (parse_dollars): Remove check for WRDE_NOCMD.
4010 (parse_dquote): Likewise.
4012 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4014 * Makeconfig (built-modules): List non-library modules to be
4016 (module-cppflags): Include libc-modules.h for
4017 everything except shlib-versions.v.i.
4019 (before-compile): Add libc-modules.h.
4020 ($(common-objpfx)libc-modules.h,
4021 $(common-objpfx)libc-modules.stmp): New targets.
4022 (common-generated): Add libc-modules.h and libc-modules.stmp.
4023 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4024 * include/libc-symbols.h: Don't include libc-modules.h.
4025 * include/libc-modules.h: Remove file.
4026 * scripts/gen-libc-modules.awk: New script to generate
4028 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4029 Depend on libc-modules.stmp.
4031 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4033 * Makeconfig (in-module): Get value of libof set for the
4035 (CPPFLAGS): Use $(in-module).
4036 * Makerules: Don't suffix routine names for nonlib.
4037 * include/libc-modules.h: New file.
4038 * include/libc-symbols.h: Include libc-modules.h
4039 (IS_IN): New macro to replace IS_IN_* macros.
4040 * elf/Makefile: Set libof-* for each routine.
4041 * elf/rtld-Rules: Likewise.
4042 * extra-modules.mk: Likewise.
4043 * iconv/Makefile: Likewise.
4044 * iconvdata/Makefile: Likewise.
4045 * locale/Makefile: Likewise.
4046 * malloc/Makefile: Likewise.
4047 * nss/Makefile: Likewise.
4048 * sysdeps/gnu/Makefile: Likewise.
4049 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4050 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4051 * sysdeps/s390/s390-64/Makefile: Likewise.
4052 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4053 CPPFLAGS for nscd instead of nonlib.
4055 2014-11-18 Roland McGrath <roland@hack.frob.com>
4057 * nptl/createthread.c: New file.
4059 * nptl/createthread.c: Moved ...
4060 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4062 * nptl/createthread.c: Add proper top-line comment.
4063 (do_clone): Folded into ...
4064 (create_thread): ... here. Take new arguments STOPPED_START and
4065 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4066 increment __nptl_threads, do event-reporting logic, do
4067 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4068 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4069 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4070 just send SIGCANCEL.
4071 * nptl/pthread_create.c: Forward-declare create_thread before
4072 including createthread.c.
4073 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4074 declaration, and new macro START_THREAD_SELF to replace argument.
4075 Remove return statement.
4076 (report_thread_creation): New function.
4077 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4078 synchronization logic, and __nptl_nthreads increment here, around
4079 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4080 PD->parent_cancelhandling here, before create_thread. When
4081 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4082 __deallocate_stack, and ENOMEM translation here.
4084 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4087 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4088 (mptwo): Rename to __mptwo.
4089 (__inv): Use __mptwo instead of mptwo.
4090 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4091 (mptwo): Rename to __mptwo.
4092 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4093 of mpone and __mptwo instead of mptwo.
4094 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4097 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4098 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4099 of mpone and __mptwo instead of mptwo.
4100 (__mpranred): Use __mpone instead of mpone.
4101 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4103 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4104 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4105 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4106 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4107 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4108 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4109 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4110 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4111 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4112 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4113 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4114 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4115 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4116 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4117 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4118 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4119 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4120 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4121 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4123 2014-11-18 Tom de Vries <tom@codesoucery.com>
4125 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4126 replace BSD Handler xref with BSD Signal Handling.
4128 2014-11-17 Richard Henderson <rth@redhat.com>
4130 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4131 (_FP_PACK_RAW_2): Remove.
4132 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4133 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4134 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4135 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4136 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4137 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4138 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4139 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4140 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4141 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4142 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4143 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4144 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4145 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4146 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4147 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4149 2014-11-14 Roland McGrath <roland@hack.frob.com>
4151 * signal/signal.h [__USE_MISC]
4152 (struct sigvec): Remove type.
4153 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4154 (sigvec): Remove declaration.
4155 * sysdeps/posix/sigvec.c: Moved ...
4156 * signal/sigvec.c: ... here, replacing old file.
4157 (struct sigvec): New type, copied from old signal.h definition.
4158 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4159 (__sigvec): Convert definition to prototype.
4160 (sigvec): Replace weak_alias with compat_symbol.
4161 * signal/Versions (libc: GLIBC_2.21): New version set.
4162 * include/signal.h: Remove __sigvec declaration.
4163 * sysdeps/unix/bsd/sigvec.c: Remove file.
4164 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4165 * manual/signal.texi (BSD Handler): Remove subsection.
4166 Move siginterrupt up to ...
4167 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4168 (Blocking in BSD): Fold subsection into its parent.
4169 * NEWS: Mention sigvec removal.
4171 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4173 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4174 (DLA_FMS): Make definition conditional only on [__FMA4__].
4175 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4178 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4179 Make definition conditional only on [PROF].
4180 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4182 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4183 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4185 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4187 * include/signal.h (__sigpause): Move declaration above call to
4189 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4191 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4192 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4194 2014-11-14 David S. Miller <davem@davemloft.net>
4196 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4197 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4199 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4201 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4202 * configure: Regenerated.
4203 * manual/install.texi (Tools for Compilation): Document a
4204 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4205 compiler verified to work.
4206 * INSTALL: Regenerated.
4208 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4209 redeclare with asm name.
4210 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4211 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4212 including <string.h>.
4213 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4214 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4215 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4216 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4217 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4218 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4219 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4221 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4223 * stdlib/strtol.c (__strtol): Use prototype definition.
4226 * stdlib/strtol.c (SYM__): New macro.
4228 (__strtol): Likewise.
4229 (strtol): Rename to __strtol and define as weak alias of
4230 __strtol. Use libc_hidden_weak.
4232 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4234 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4235 Use numbered labels in inline assembly.
4237 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4239 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4240 Add setjmp LIBC_PROBE.
4241 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4243 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4244 Add longjmp, longjmp_target LIBC_PROBE.
4245 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4248 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4250 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4251 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4252 to get rid of unused variable warning.
4254 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4256 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4257 Check for unwind_backtrace == NULL only in SHARED case.
4258 (__backchain_backtrace): Compile only in SHARED case.
4259 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4261 (__backchain_backtrace): Declare as static.
4263 2014-11-12 Roland McGrath <roland@hack.frob.com>
4265 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4266 (__libc_multiple_threads_ptr): Variable moved ...
4267 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4269 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4271 * conform/GlibcConform.pm: New file.
4272 * conform/conformtest.pl: Use GlibcConform module.
4273 * conform/linknamespace.pl: New file.
4274 * conform/list-header-symbols.pl: Likewise.
4275 * conform/Makefile (linknamespace-symlists-base): New variable.
4276 (linknamespace-symlists-tests): Likewise.
4277 (linknamespace-header-base): Likewise.
4278 (linknamespace-header-tests): Likewise.
4279 (tests-special): Add new tests.
4280 ($(linknamespace-symlists-tests)): New rule.
4281 (linknamespace-libs): New variable.
4282 ($(objpfx)symlist-stdlibs): New rule.
4283 ($(linknamespace-header-tests)): Likewise.
4284 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4285 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4286 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4287 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4288 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4289 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4290 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4291 (test-xfail-ISO/math.h/linknamespace): Likewise.
4292 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4293 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4294 (test-xfail-ISO/time.h/linknamespace): Likewise.
4295 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4296 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4297 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4298 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4299 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4300 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4301 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4302 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4303 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4304 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4305 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4306 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4307 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4308 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4309 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4310 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4311 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4312 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4313 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4314 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4315 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4316 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4317 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4318 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4319 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4320 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4321 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4322 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4323 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4324 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4325 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4326 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4327 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4328 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4329 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4330 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4331 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4332 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4333 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4334 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4335 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4336 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4337 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4338 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4339 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4340 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4341 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4342 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4343 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4344 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4345 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4346 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4347 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4348 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4349 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4350 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4351 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4352 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4353 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4354 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4355 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4356 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4357 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4358 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4359 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4360 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4361 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4362 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4363 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4364 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4365 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4366 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4367 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4368 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4369 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4370 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4371 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4372 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4373 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4374 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4375 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4376 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4377 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4378 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4379 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4380 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4381 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4382 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4383 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4384 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4385 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4386 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4387 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4388 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4389 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4390 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4391 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4392 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4393 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4394 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4395 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4396 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4397 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4398 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4399 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4400 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4401 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4402 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4403 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4404 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4405 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4406 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4407 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4408 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4409 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4410 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4411 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4412 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4413 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4414 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4415 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4416 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4417 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4418 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4419 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4420 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4421 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4422 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4423 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4424 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4425 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4426 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4427 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4428 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4429 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4430 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4431 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4432 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4433 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4434 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4435 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4436 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4437 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4438 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4439 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4440 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4441 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4442 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4443 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4444 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4447 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4451 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4452 (memmem): Rename to __memmem and define as weak alias of
4453 __memmem. Use libc_hidden_weak.
4454 (__memmem): Use libc_hidden_def.
4455 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4456 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4460 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4461 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4462 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4463 and define as weak alias of __fgets_unlocked. Use
4465 (__fgets_unlocked): Use libc_hidden_def.
4466 * include/stdio.h (__fgets_unlocked): Declare. Use
4468 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4469 __fgets_unlocked instead of fgets_unlocked.
4470 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4471 (GET_NPROCS_CONF_PARSER): Likewise.
4472 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4473 (GET_NPROCS_CONF_PARSER): Likewise.
4476 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4477 weak alias of __wmemset. Use libc_hidden_weak.
4478 (__wmemset): Use libc_hidden_def.
4479 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4480 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4484 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4485 with asm name __mempcpy.
4486 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4489 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4490 and define as weak alias of __rawmemchr.
4491 (__rawmemchr): Do not define as strong alias of rawmemchr.
4494 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4496 (qsort): Call __qsort_r instead of qsort_r.
4497 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4498 (__qsort_r): Declare. Call libc_hidden_proto.
4499 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4501 * nscd/gai.c (__qsort_r): Define to qsort_r.
4502 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4503 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4504 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4507 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4508 define as weak alias of __malloc_info.
4511 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4512 as weak alias of __rewinddir. Don't use libc_hidden_def.
4513 (__rewinddir): Use libc_hidden_def.
4514 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4515 as weak alias of __rewinddir. Don't use libc_hidden_def.
4516 (__rewinddir): Use libc_hidden_def.
4517 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4518 weak alias of __rewinddir. Don't use libc_hidden_def.
4519 (__rewinddir): Use libc_hidden_def.
4520 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4521 (__rewinddir): Use libc_hidden_proto.
4522 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4524 (__getcwd): Use __rewinddir instead of rewinddir.
4527 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4528 alias of __fileno. Use libc_hidden_weak.
4529 (__fileno): Use libc_hidden_def.
4530 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4531 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4533 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4535 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4536 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4538 (fread_unlocked): Don't use libc_hidden_ver.
4539 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4540 and define as weak alias of __fread_unlocked. Don't use
4542 (__fread_unlocked): Use libc_hidden_def.
4543 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4544 (ftello): Don't use libc_hidden_proto.
4545 (__ftello): Declare. Use libc_hidden_proto.
4546 (fread_unlocked): Don't use libc_hidden_proto.
4547 (__fread_unlocked): Declare. Use libc_hidden_proto.
4548 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4549 and __ftello instead of fileno, fread_unlocked and ftello.
4551 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4553 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4555 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4557 (_dl_start_user): Likewise.
4558 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4560 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4561 Siddhesh Poyarekar <siddhesh@redhat.com>
4563 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4564 Move argv and envp down instead of moving argc up.
4565 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4567 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4570 * test-skeleton.c (main): Return successful if one of
4571 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4572 * string/tst-strcoll-overflow.c: Define expected status.
4574 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4577 * locale/iso-639.def: Define Bhili and Tulu language codes.
4579 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4581 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4583 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4586 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4588 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4590 * configure.ac: Updated check of minimal required version to
4592 * manual/install.texi (Tools for Compilation): Updated version
4594 * configure: Regenerated.
4595 * INSTALL: Likewise.
4597 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4599 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4602 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4604 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4605 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4606 (__waitpid): Don't define as alias. Use libc_hidden_def not
4608 (waitpid): Define as alias of __waitpid.
4609 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4611 (__waitpid): Don't define as alias. Use libc_hidden_def not
4613 (waitpid): Define as alias of __waitpid.
4614 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4615 __libc_waitpid alias.
4616 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4617 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4619 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4620 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4621 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4623 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4625 (__waitpid): Don't define as alias. Use libc_hidden_def not
4627 (waitpid): Define as alias of __waitpid.
4629 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4631 * manual/llio.texi: Add comment that write safety has been
4634 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4635 (localplt-build-dso): Add elf/ld.so.
4636 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4637 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4640 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4645 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4646 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4647 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4648 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4649 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4650 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4651 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4652 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4653 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4654 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4657 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4660 * include/libc-symbols.h (INTUSE): Remove macro.
4662 (INTVARDEF): Likewise.
4663 (_INTVARDEF): Likewise.
4664 (INTDEF2): Likewise.
4665 (INTVARDEF2): Likewise.
4666 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4667 rtld_hidden_def instead of INTVARDEF.
4668 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4669 (_dl_starting_up_internal): Remove declaration.
4670 (_dl_starting_up): Use rtld_hidden_proto.
4671 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4673 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4674 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4676 * elf/dl-writev.h (_dl_writev): Likewise.
4677 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4678 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4679 _dl_starting_up_internal.
4681 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4683 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4686 2014-11-05 Will Newton <will.newton@linaro.org>
4688 * benchtests/Makefile: (bench-malloc): Add malloc thread
4689 scalability benchmark.
4690 * benchtests/bench-malloc-threads.c: New file.
4692 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4694 * sysdeps/aarch64/strchrnul.S: New file.
4696 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4698 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4700 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4702 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4704 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4706 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4708 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4711 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4713 * catgets/test-gencat.c: Use test-skeleton.c.
4714 * catgets/tst-catgets.c: Likewise.
4715 * csu/tst-empty.c: Likewise.
4716 * elf/tst-audit2.c: Likewise.
4717 * elf/tst-global1.c: Likewise.
4718 * elf/tst-pathopt.c: Likewise.
4719 * elf/tst-piemod1.c: Likewise.
4720 * elf/tst-tls10.c: Likewise.
4721 * elf/tst-tls11.c: Likewise.
4722 * elf/tst-tls12.c: Likewise.
4723 * gnulib/tst-gcc.c: Likewise.
4724 * iconvdata/tst-e2big.c: Likewise.
4725 * iconvdata/tst-loading.c: Likewise.
4726 * iconv/tst-iconv1.c: Likewise.
4727 * iconv/tst-iconv2.c: Likewise.
4728 * inet/test-inet6_opt.c: Likewise.
4729 * inet/tst-gethnm.c: Likewise.
4730 * inet/tst-network.c: Likewise.
4731 * inet/tst-ntoa.c: Likewise.
4732 * intl/tst-codeset.c: Likewise.
4733 * intl/tst-gettext2.c: Likewise.
4734 * intl/tst-gettext3.c: Likewise.
4735 * intl/tst-ngettext.c: Likewise.
4736 * intl/tst-translit.c: Likewise.
4737 * io/test-stat.c: Likewise.
4738 * libio/test-fmemopen.c: Likewise.
4739 * libio/tst-freopen.c: Likewise.
4740 * libio/tst-sscanf.c: Likewise.
4741 * libio/tst-ungetwc1.c: Likewise.
4742 * libio/tst-ungetwc2.c: Likewise.
4743 * libio/tst-widetext.c: Likewise.
4744 * localedata/tst-ctype.c: Likewise.
4745 * localedata/tst-digits.c: Likewise.
4746 * localedata/tst-leaks.c: Likewise.
4747 * localedata/tst-mbswcs1.c: Likewise.
4748 * localedata/tst-mbswcs2.c: Likewise.
4749 * localedata/tst-mbswcs3.c: Likewise.
4750 * localedata/tst-mbswcs4.c: Likewise.
4751 * localedata/tst-mbswcs5.c: Likewise.
4752 * localedata/tst-setlocale.c: Likewise.
4753 * localedata/tst-trans.c: Likewise.
4754 * localedata/tst-wctype.c: Likewise.
4755 * localedata/tst-xlocale1.c: Likewise.
4756 * login/tst-grantpt.c: Likewise.
4757 * malloc/tst-calloc.c: Likewise.
4758 * malloc/tst-malloc.c: Likewise.
4759 * malloc/tst-mallocstate.c: Likewise.
4760 * malloc/tst-mcheck.c: Likewise.
4761 * malloc/tst-mtrace.c: Likewise.
4762 * malloc/tst-obstack.c: Likewise.
4763 * math/atest-exp2.c: Likewise.
4764 * math/atest-exp.c: Likewise.
4765 * math/atest-sincos.c: Likewise.
4766 * math/test-matherr.c: Likewise.
4767 * math/test-misc.c: Likewise.
4768 * math/test-powl.c: Likewise.
4769 * math/tst-definitions.c: Likewise.
4770 * misc/tst-dirname.c: Likewise.
4771 * misc/tst-efgcvt.c: Likewise.
4772 * misc/tst-fdset.c: Likewise.
4773 * misc/tst-hsearch.c: Likewise.
4774 * misc/tst-mntent2.c: Likewise.
4775 * nptl/tst-sem7.c: Likewise.
4776 * nptl/tst-sem8.c: Likewise.
4777 * nptl/tst-sem9.c: Likewise.
4778 * nss/test-netdb.c: Likewise.
4779 * posix/tst-fnmatch.c: Likewise.
4780 * posix/tst-getlogin.c: Likewise.
4781 * posix/tst-gnuglob.c: Likewise.
4782 * posix/tst-mmap.c: Likewise.
4783 * pwd/tst-getpw.c: Likewise.
4784 * resolv/tst-inet_ntop.c: Likewise.
4785 * rt/tst-timer.c: Likewise.
4786 * stdio-common/test-fseek.c: Likewise.
4787 * stdio-common/test-popen.c: Likewise.
4788 * stdio-common/test-vfprintf.c: Likewise.
4789 * stdio-common/tst-cookie.c: Likewise.
4790 * stdio-common/tst-fileno.c: Likewise.
4791 * stdio-common/tst-gets.c: Likewise.
4792 * stdio-common/tst-obprintf.c: Likewise.
4793 * stdio-common/tst-perror.c: Likewise.
4794 * stdio-common/tst-sprintf2.c: Likewise.
4795 * stdio-common/tst-sprintf3.c: Likewise.
4796 * stdio-common/tst-sprintf.c: Likewise.
4797 * stdio-common/tst-swprintf.c: Likewise.
4798 * stdio-common/tst-tmpnam.c: Likewise.
4799 * stdio-common/tst-unbputc.c: Likewise.
4800 * stdio-common/tst-wc-printf.c: Likewise.
4801 * stdlib/tst-environ.c: Likewise.
4802 * stdlib/tst-fmtmsg.c: Likewise.
4803 * stdlib/tst-limits.c: Likewise.
4804 * stdlib/tst-rand48-2.c: Likewise.
4805 * stdlib/tst-rand48.c: Likewise.
4806 * stdlib/tst-random2.c: Likewise.
4807 * stdlib/tst-random.c: Likewise.
4808 * stdlib/tst-strtol.c: Likewise.
4809 * stdlib/tst-strtoll.c: Likewise.
4810 * stdlib/tst-tls-atexit.c: Likewise.
4811 * stdlib/tst-xpg-basename.c: Likewise.
4812 * string/test-ffs.c: Likewise.
4813 * string/tst-bswap.c: Likewise.
4814 * string/tst-inlcall.c: Likewise.
4815 * string/tst-strtok.c: Likewise.
4816 * string/tst-strxfrm.c: Likewise.
4817 * sysdeps/x86_64/tst-audit10.c: Likewise.
4818 * sysdeps/x86_64/tst-audit3.c: Likewise.
4819 * sysdeps/x86_64/tst-audit4.c: Likewise.
4820 * sysdeps/x86_64/tst-audit5.c: Likewise.
4821 * time/tst-ftime_l.c: Likewise.
4822 * time/tst-getdate.c: Likewise.
4823 * time/tst-mktime3.c: Likewise.
4824 * time/tst-mktime.c: Likewise.
4825 * time/tst-posixtz.c: Likewise.
4826 * time/tst-strptime2.c: Likewise.
4827 * time/tst-strptime3.c: Likewise.
4828 * wcsmbs/tst-btowc.c: Likewise.
4829 * wcsmbs/tst-mbrtowc.c: Likewise.
4830 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4831 * wcsmbs/tst-wchar-h.c: Likewise.
4832 * wcsmbs/tst-wcpncpy.c: Likewise.
4833 * wcsmbs/tst-wcrtomb.c: Likewise.
4834 * wcsmbs/tst-wcsnlen.c: Likewise.
4835 * wcsmbs/tst-wcstof.c: Likewise.
4837 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4840 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4842 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4844 (_dl_mcount): Use rtld_hidden_proto.
4845 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4847 * elf/rtld.c (_rtld_global_ro): Likewise.
4850 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4851 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4852 of _dl_init_internal.
4853 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4854 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4855 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4856 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4857 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4858 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4859 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4860 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4861 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4862 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4863 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4864 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4865 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4866 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4867 * sysdeps/tile/dl-start.S (_start): Likewise.
4868 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4869 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4872 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4873 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4874 (rtld_progname): Make macro definition unconditional.
4875 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4877 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4878 (dl_main): Likewise.
4879 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4880 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4881 instead of _dl_argv_internal.
4882 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4883 __GI__dl_argv instead of INTUSE(_dl_argv).
4884 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4885 __GI__dl_argv instead of _dl_argv_internal.
4887 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4888 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4890 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4891 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4893 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4894 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4896 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4897 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4899 2014-11-04 Andreas Schwab <schwab@suse.de>
4901 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4903 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4906 mtvsrd instruction in binary form.
4908 2014-11-03 Andreas Schwab <schwab@suse.de>
4911 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4912 for less than MB_LEN_MAX use a local buffer of that size.
4913 * libio/tst-fputws.c: New file.
4914 * libio/Makefile (tests): Add tst-fputws.
4916 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4918 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4919 the size of the fpu_fr.fpu_dregs[] array.
4921 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4923 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4924 (__nanosleep): Do not define as alias.
4925 (nanosleep): Define as alias of __nanosleep.
4926 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4927 __libc_nanosleep name.
4929 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4931 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4932 install.texi in comment.
4934 2014-10-31 Torvald Riegel <triegel@redhat.com>
4936 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4937 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4938 ... add here and use lwsync or sync ...
4939 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4940 ... and add here using lwsync.
4942 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4944 * elf/dl-machine-reject-phdr.h: New file.
4945 * elf/dl-load.c: #include that.
4946 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4947 if that returned true.
4949 2014-10-31 Roland McGrath <roland@hack.frob.com>
4952 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4953 gen-as-const-headers chunk. Add a big scare comment after the last
4954 safe place to touch before-compile.
4956 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4958 * manual/install.texi (Tools for Compilation): Update autoconf
4959 version requirements.
4960 * INSTALL: Regenerated.
4962 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4963 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4964 (__libc_pselect): Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4972 2014-10-31 Torvald Riegel <triegel@redhat.com>
4974 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4975 correct barrier instruction.
4976 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4978 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4981 2014-10-30 Roland McGrath <roland@hack.frob.com>
4983 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4984 after defining inlines. Instead, just use parens to defeat macro
4985 expansion of __isctype in its declaration.
4987 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4989 * include/sys/uio.h (__libc_readv): Remove declaration.
4990 (__libc_writev): Likewise.
4991 * misc/readv.c (__libc_readv): Rename to __readv.
4992 (__readv): Do not define as alias.
4993 (readv): Define as alias of __readv.
4994 * misc/writev.c (__libc_writev): Rename to __writev.
4995 (__writev): Do not define as alias.
4996 (writev): Define as alias of __writev.
4997 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4998 (__readv): Do not define as alias.
4999 (readv): Define unconditionally as alias of __readv.
5000 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5001 (__writev): Do not define as alias.
5002 (writev): Define unconditionally as alias of __writev.
5003 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5005 (writev): Do not define __libc_writev name.
5007 2014-10-30 Roland McGrath <roland@hack.frob.com>
5009 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5010 (convert_charseq): New function, broken out of ...
5011 (use_from_charmap): ... here. Call it.
5012 (use_to_charmap): Use convert_charseq and free instead of duplicating
5013 its code with a variable-length stack struct.
5015 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5017 * include/fcntl.h (__libc_creat): Remove declaration.
5018 * io/creat.c (__libc_creat): Rename to creat.
5019 (creat): Do not define as alias.
5020 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5021 of creat instead of __libc_creat.
5022 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5024 (creat): Do not define as alias.
5025 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5027 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5032 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5034 * manual/llio.texi: Add comments discussing why write() may be
5035 considered MT-unsafe on Linux.
5037 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5039 * dl-load.c (local_strdup): Remove.
5040 (expand_dynamic_string_token): Use __strdup.
5041 (decompose_rpath): Likewise.
5042 (_dl_map_object): Likewise.
5044 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5047 * sysdeps/generic/unwind-dw2-fde.c
5048 (__register_frame_info_bases_internal): Do not declare.
5049 (__register_frame_info_table_bases_internal): Likewise.
5050 (__deregister_frame_info_bases_internal): Likewise.
5051 (__register_frame_info_bases): Declare and use hidden_proto before
5052 definition. Use hidden_def instead of INTDEF.
5053 (__register_frame_info_table_bases): Likewise.
5054 (__deregister_frame_info_bases): Likewise.
5055 (__register_frame_info): Do not use INTUSE.
5056 (__register_frame): Likewise.
5057 (__register_frame_info_table): Likewise.
5058 (__register_frame_table): Likewise.
5059 (__deregister_frame_info): Likewise.
5060 (__deregister_frame): Likewise.
5062 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5064 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5065 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5067 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5069 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5072 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5075 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5076 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5077 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5078 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5079 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5080 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5081 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5082 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5083 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5084 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5085 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5086 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5087 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5089 (setfsuid): Likewise.
5090 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5091 (setfsuid): Likewise.
5092 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5093 (setfsuid): Likewise.
5094 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5096 (setfsuid): Likewise.
5097 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5098 (setfsuid): Likewise.
5099 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5101 (setfsuid): Likewise.
5103 2014-10-27 Andreas Schwab <schwab@suse.de>
5106 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5107 check for Slow_SSE4_2 feature bit.
5108 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5109 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5110 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5111 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5113 2014-10-24 Roland McGrath <roland@hack.frob.com>
5115 * configure.ac: Validate compiler version with a empirical test of
5116 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5118 * configure: Regenerated.
5120 * inet/htons.c (htons): Prototypify.
5121 * inet/htonl.c (htonl): Likewise.
5123 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5125 * string/strncat.c (strncat): Improve performance by using strlen.
5127 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5129 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5131 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5133 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5134 Call libc_fetestexcept_aarch64.
5136 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5138 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5139 Call libc_feholdexcept_aarch64.
5141 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5143 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5144 Call get_rounding_mode.
5146 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5148 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5151 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5153 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5156 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5159 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5160 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5161 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5162 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5163 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5164 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5165 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5166 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5167 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5168 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5169 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5170 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5171 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5172 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5173 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5174 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5175 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5176 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5177 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5178 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5179 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5180 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5181 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5182 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5183 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5184 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5185 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5186 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5187 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5188 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5189 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5190 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5191 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5192 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5193 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5194 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5195 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5197 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5198 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5199 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5201 (geteuid): Likewise.
5204 (getresgid): Likewise.
5205 (getresuid): Likewise.
5206 (getgroups): Likewise.
5207 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5208 (geteuid): Likewise.
5211 (getresgid): Likewise.
5212 (getresuid): Likewise.
5213 (getgroups): Likewise.
5214 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5215 (geteuid): Likewise.
5218 (getresgid): Likewise.
5219 (getresuid): Likewise.
5220 (getgroups): Likewise.
5221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5223 (geteuid): Likewise.
5226 (getresgid): Likewise.
5227 (getresuid): Likewise.
5228 (getgroups): Likewise.
5229 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5230 (geteuid): Likewise.
5233 (getresgid): Likewise.
5234 (getresuid): Likewise.
5235 (getgroups): Likewise.
5236 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5238 (geteuid): Likewise.
5241 (getgroups): Likewise.
5244 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5245 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5246 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5247 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5248 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5249 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5250 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5251 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5252 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5253 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5254 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5255 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5256 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5258 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5261 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5265 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5268 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5273 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5275 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5278 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5280 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5283 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5285 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5286 Remove unused include.
5288 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5290 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5291 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5292 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5293 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5295 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5296 Helge Deller <deller@gmx.de>
5299 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5300 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5301 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5303 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5306 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5307 Remove macro definition.
5308 (__ashrdi3_v_glibc20): Likewise.
5309 (__lshrdi3_v_glibc20): Likewise.
5310 (__cmpdi2_v_glibc20): Likewise.
5311 (__ucmpdi2_v_glibc20): Likewise.
5312 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5313 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5314 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5315 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5316 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5317 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5319 2014-10-22 Roland McGrath <roland@hack.frob.com>
5321 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5322 old GNU extension [0] syntax.
5323 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5324 alloca rather than an array member with variable length.
5325 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5326 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5327 (parse_opt): ... here. Likewise use alloca there.
5328 Validate the -i argument before checking for rootness.
5329 (send_shutdown): New function, broken out of ...
5330 (parse_opt): ... here.
5332 2014-10-22 Roland McGrath <roland@hack.frob.com>
5334 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5335 macro to get at the _rt_local_ro field.
5336 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5337 ([PIC] case) or _dl_hwcap ([!PIC] case).
5338 * sysdeps/arm/setjmp.S: Likewise.
5340 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5341 * sysdeps/arm/configure.ac: New check to define it.
5342 * sysdeps/arm/configure: Regenerated.
5343 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5344 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5345 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5346 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5347 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5348 Use move/movt pair instead of a load.
5349 (LDST_GLOBAL): Macro removed.
5350 (LDR_GLOBAL): New macro replaces it.
5351 (LDR_HIDDEN): New macro.
5352 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5353 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5355 * setjmp/tst-setjmp-static.c: New file.
5356 * setjmp/Makefile (tests): Add it.
5357 (tests-static): New variable.
5359 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5362 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5364 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5367 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5369 2014-10-21 Roland McGrath <roland@hack.frob.com>
5371 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5373 2014-10-20 Roland McGrath <roland@hack.frob.com>
5375 * io/fts.c (dirent_not_directory): New function.
5376 (fts_build): Call it.
5378 2014-10-20 Roland McGrath <roland@hack.frob.com>
5380 * nptl/version.c (__nptl_main): Use normal __write rather than
5382 (banner): Update copyright years.
5384 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5386 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5387 * nptl/pthread_cond_timedwait.c: Likewise.
5388 * nptl/pthread_mutex_timedlock.c: Likewise.
5389 * nptl/sem_timedwait.c: Likewise.
5391 * sysdeps/nptl/bits/libc-lock.h
5392 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5393 (__libc_lock_init_recursive): Return void, not 0.
5394 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5395 (__libc_rwlock_init): Likewise.
5396 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5398 2014-10-20 Torvald Riegel <triegel@redhat.com>
5401 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5402 (__pthread_once_slow): ... here.
5403 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5404 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5406 2014-10-20 Torvald Riegel <triegel@redhat.com>
5409 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5410 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5411 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5412 * nptl/pthread_once.c (__pthread_once): Likewise.
5415 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5418 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5420 (writev): Use __libc_writev as strong name.
5421 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5422 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5424 2014-10-17 Roland McGrath <roland@hack.frob.com>
5426 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5428 * sysdeps/i386/nptl/tls.h
5429 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5430 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5432 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5433 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5434 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5435 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5436 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5437 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5439 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5440 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5442 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5444 (__pthread_mutex_init): ... here. Call it.
5445 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5446 Conditionalize PI cases on [__NR_futex].
5447 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5448 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5449 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5451 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5452 conditional on [SIGSETXID].
5453 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5454 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5455 is defined. Likewise for SIGSETXID.
5456 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5457 Conditionalize definitions on [SIGSETXID].
5458 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5459 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5460 unblocking on [SIGCANCEL].
5462 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5463 [__NR_set_robust_list].
5465 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5467 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5468 (do_compare): Likewise.
5470 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5473 * string/strcoll_l.c: Don't include stdio.h.
5474 (coll_seq): Remove members idxarr and rulearr.
5475 (get_next_seq_cached): Remove function.
5476 (get_next_seq): Likewise.
5477 (get_next_seq_nocache): Rename to get_next_seq.
5478 (do_compare): Remove function.
5479 (do_compare_nocache): Rename to do_compare.
5480 (STRCOLL): Remove weight and rules cache.
5482 2014-10-16 Roland McGrath <roland@hack.frob.com>
5484 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5485 * sysdeps/arm/sfp-machine.h: ... to here.
5486 * sysdeps/arm/Implies: Remove arm/soft-fp.
5488 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5490 * conform/data/sys/utsname.h-data (*_t): Allow.
5491 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5492 [POSIX] (WEXITED): Do not expect constant.
5493 [POSIX] (WSTOPPED): Likewise.
5494 [POSIX] (WNOHANG): Likewise.
5495 [POSIX] (WNOWAIT): Likewise.
5496 [POSIX] (siginfo_t): Do not expect type or elements.
5497 [POSIX] (pid_t): Do not expect type.
5498 [POSIX] (signal.h): Do not allow header.
5499 [POSIX] (sys/resource.h): Likewise.
5500 [POSIX] (si_*): Do not allow pattern.
5501 [POSIX] (W*): Likewise.
5502 [POSIX] (P_*): Likewise.
5503 [POSIX] (BUS_*): Likewise.
5504 [POSIX] (CLD_*): Likewise.
5505 [POSIX] (FPE_*): Likewise.
5506 [POSIX] (ILL_*): Likewise.
5507 [POSIX] (POLL_*): Likewise.
5508 [POSIX] (SEGV_*): Likewise.
5509 [POSIX] (SI_*): Likewise.
5510 [POSIX] (TRAP_*): Likewise.
5511 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5514 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5517 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5518 infinite loop when __recvmsg returns 0.
5520 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5522 * CANCEL-FCT-WAIVE: Remove file.
5523 * CANCEL-FILE-WAIVE: Likewise.
5526 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5527 instead of INTVARDEF.
5528 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5529 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5530 rtld_hidden_data_def instead of INTVARDEF.
5531 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5532 * elf/dl-deps.c (expand_dst): Likewise.
5533 * elf/dl-load.c (_dl_dst_count): Likewise.
5534 (_dl_dst_substitute): Likewise.
5535 (decompose_rpath): Likewise.
5536 (_dl_init_paths): Likewise.
5537 (open_path): Likewise.
5538 (_dl_map_object): Likewise.
5539 * elf/rtld.c (dl_main): Likewise.
5540 (process_dl_audit): Likewise.
5541 (process_envvars): Likewise.
5542 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5544 (__libc_enable_secure): Use rtld_hidden_proto.
5546 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5549 (add_path): New function broken out of _dl_rtld_di_serinfo.
5550 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5552 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5554 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5555 parentheses around macro arguments.
5556 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5557 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5558 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5559 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5560 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5562 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5563 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5564 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5566 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5567 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5568 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5569 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5570 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5571 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5572 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5573 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5574 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5575 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5576 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5577 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5578 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5579 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5580 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5581 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5582 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5584 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5585 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5586 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5587 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5588 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5589 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5590 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5591 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5593 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5594 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5595 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5596 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5597 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5598 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5599 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5600 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5601 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5602 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5603 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5604 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5605 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5606 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5607 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5608 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5609 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5610 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5611 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5612 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5613 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5614 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5615 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5616 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5617 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5618 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5619 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5620 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5621 (_FP_FRAC_SRS_1): Likewise.
5622 (_FP_FRAC_CLZ_1): Likewise.
5623 (_FP_MUL_MEAT_1_imm): Likewise.
5624 (_FP_MUL_MEAT_1_wide): Likewise.
5625 (_FP_MUL_MEAT_1_hard): Likewise.
5626 (_FP_SQRT_MEAT_1): Likewise.
5627 (_FP_FRAC_ASSEMBLE_1): Likewise.
5628 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5629 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5630 (__FP_CLZ_2): Likewise.
5631 (_FP_MUL_MEAT_2_wide): Likewise.
5632 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5633 (_FP_MUL_MEAT_2_gmp): Likewise.
5634 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5635 (_FP_SQRT_MEAT_2): Likewise.
5636 (_FP_FRAC_ASSEMBLE_2): Likewise.
5637 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5638 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5639 (_FP_FRAC_CLZ_4): Likewise.
5640 (_FP_MUL_MEAT_4_wide): Likewise.
5641 (_FP_MUL_MEAT_4_gmp): Likewise.
5642 (_FP_SQRT_MEAT_4): Likewise.
5643 (_FP_FRAC_ASSEMBLE_4): Likewise.
5644 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5645 * soft-fp/op-common.h (_FP_CMP): Likewise.
5646 (_FP_CMP_EQ): Likewise.
5647 (_FP_CMP_UNORD): Likewise.
5648 (_FP_TO_INT): Likewise.
5649 (_FP_FROM_INT): Likewise.
5650 [!__FP_CLZ] (__FP_CLZ): Likewise.
5651 (_FP_DIV_HELP_imm): Likewise.
5652 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5654 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5655 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5656 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5657 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5660 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5664 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5665 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5666 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5667 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5668 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5669 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5670 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5672 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5673 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5674 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5675 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5677 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5678 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5679 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5680 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5681 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5682 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5683 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5684 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5685 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5686 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5687 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5688 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5689 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5690 (FP_UNPACK_RAW_SP): Likewise.
5691 (FP_PACK_RAW_S): Likewise.
5692 (FP_PACK_RAW_SP): Likewise.
5693 (FP_UNPACK_S): Likewise.
5694 (FP_UNPACK_SP): Likewise.
5695 (FP_UNPACK_SEMIRAW_S): Likewise.
5696 (FP_UNPACK_SEMIRAW_SP): Likewise.
5697 (FP_PACK_S): Likewise.
5698 (FP_PACK_SP): Likewise.
5699 (FP_PACK_SEMIRAW_S): Likewise.
5700 (FP_PACK_SEMIRAW_SP): Likewise.
5701 (_FP_SQRT_MEAT_S): Likewise.
5702 (FP_CMP_S): Likewise.
5703 (FP_CMP_EQ_S): Likewise.
5704 (FP_CMP_UNORD_S): Likewise.
5705 (FP_TO_INT_S): Likewise.
5706 (FP_FROM_INT_S): Likewise.
5708 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5710 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5711 (FP_EX_INVALID_IMZ): Likewise.
5712 (FP_EX_INVALID_IMZ_FMA): Likewise.
5713 (FP_EX_INVALID_ISI): Likewise.
5714 (FP_EX_INVALID_ZDZ): Likewise.
5715 (FP_EX_INVALID_IDI): Likewise.
5716 (FP_EX_INVALID_SQRT): Likewise.
5717 (FP_EX_INVALID_CVI): Likewise.
5718 (FP_EX_INVALID_VC): Likewise.
5719 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5720 "invalid" exceptions.
5721 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5722 (_FP_ADD_INTERNAL): Likewise.
5723 (_FP_MUL): Likewise.
5724 (_FP_FMA): Likewise.
5725 (_FP_DIV): Likewise.
5726 (_FP_CMP_CHECK_NAN): Likewise.
5727 (_FP_SQRT): Likewise.
5728 (_FP_TO_INT): Likewise.
5729 (FP_EXTEND): Likewise.
5731 2014-10-09 Allan McRae <allan@archlinux.org>
5733 * po/fr.po: Update French translation from translation project.
5735 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5738 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5740 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5741 (__cxa_atexit): Use libc_hidden_proto.
5742 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5745 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5747 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5748 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5749 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5750 [!_ISOMAC] (__iswctype_internal): Likewise.
5751 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5752 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5754 (fcntl): Remove __fcntl_internal alias.
5755 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5756 __connect_internal alias.
5757 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5760 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5761 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5763 (_FP_CHECK_FLUSH_ZERO): New macro.
5764 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5765 (_FP_CMP): Likewise.
5766 (_FP_CMP_EQ): Likewise.
5767 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5769 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5770 (FP_TRUNC): Likewise.
5772 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5773 treated as invalid conversion, not as normal exponent.
5775 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5776 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5777 (_FP_CMP_EQ): Likewise.
5778 (_FP_CMP_UNORD): Likewise.
5779 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5780 (FP_CMP_EQ_D): Likewise.
5781 (FP_CMP_UNORD_D): Likewise.
5782 * soft-fp/extended.h (FP_CMP_E): Likewise.
5783 (FP_CMP_EQ_E): Likewise.
5784 (FP_CMP_UNORD_E): Likewise.
5785 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5786 (FP_CMP_EQ_Q): Likewise.
5787 (FP_CMP_UNORD_Q): Likewise.
5788 * soft-fp/single.h (FP_CMP_S): Likewise.
5789 (FP_CMP_EQ_S): Likewise.
5790 (FP_CMP_UNORD_S): Likewise.
5791 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5792 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5793 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5794 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5795 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5796 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5797 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5798 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5799 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5800 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5801 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5802 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5803 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5805 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5807 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5808 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5810 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5812 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5813 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5814 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5815 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5817 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5819 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5820 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5822 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5824 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5825 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5826 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5827 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5830 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5831 a subnormal result, set the underflow exception if trapping on
5832 underflow is enabled.
5833 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5834 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5835 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5837 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5838 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5839 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5840 * soft-fp/extendxftf2.c (__extendxftf2): Use
5841 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5843 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5844 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5845 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5846 FP_HANDLE_EXCEPTIONS.
5847 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5848 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5849 FP_HANDLE_EXCEPTIONS.
5850 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5851 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5852 FP_HANDLE_EXCEPTIONS.
5853 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5854 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5855 FP_HANDLE_EXCEPTIONS.
5857 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5860 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5861 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5863 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5864 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5866 (__adjtimex): Define using libc_hidden_ver.
5867 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5869 (ntp_gettime): Call __adjtimex directly.
5870 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5872 (ntp_gettimex): Call __adjtimex directly.
5873 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5874 __adjtimex_internal alias.
5876 2014-10-08 Roland McGrath <roland@hack.frob.com>
5879 * nscd/nscd.c (more_help): Rewrite list of tables collection
5880 using xstrdup and asprintf.
5882 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5884 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5885 Roland McGrath <roland@hack.frob.com>
5887 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5888 (do_lookup_unique): ... local function 'enter' here; update callers.
5890 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5892 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5893 compat_symbol calls on [SHARED].
5894 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5895 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5897 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5898 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5899 (oldsetrlimit): Remove.
5900 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5902 (lchown): New syscall entry.
5903 (oldsetrlimit): Remove.
5904 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5905 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5906 (oldsetrlimit): Remove.
5907 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5910 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5911 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5912 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5913 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5914 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5915 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5917 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5922 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5925 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5926 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5927 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5928 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5930 (__old_sem_post): Likewise.
5932 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5934 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5935 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5936 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5937 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5938 Use INLINE_VSYSCALL macro.
5939 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5940 __vdso_clock_gettime.
5941 * sysdeps/unix/sysv/linux/tile/init-first.c
5942 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5943 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5944 __vdso_clock_gettime.
5946 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5947 to set up frame more cleanly.
5949 * sysdeps/tile/memcmp.c: New file.
5951 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5953 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5954 * sysdeps/tile/tilegx/strcasestr.c: New file.
5955 * sysdeps/tile/tilegx/strnlen.c: New file.
5956 * sysdeps/tile/tilegx/strstr.c: New file.
5958 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5960 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5962 * nptl/tst-setuid3.c: Write errors to stdout.
5964 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5967 (preload): New functions broken out of _dl_map_object_deps.
5968 (_dl_map_object_deps): Remove a nested function. Update call sites.
5970 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5973 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5974 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5976 2014-10-01 Steve Ellcey <sellcey@mips.com>
5978 * sysdeps/mips/strcmp.S: New.
5980 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5983 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5985 (mkdirat): Likewise.
5986 (readlinkat): Likewise.
5987 (renameat): Likewise.
5988 (symlinkat): Likewise.
5989 (unlinkat): Likewise.
5990 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5991 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5992 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5993 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5994 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5995 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5996 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5998 2014-09-30 Will Newton <will.newton@linaro.org>
6000 * math/math.h: Define long double math functions if
6001 _LIBC_TEST is defined.
6002 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6004 * localedata/Makefile: Move assignment to tests-special
6005 into an ifdef testing run-built-tests.
6006 * timezone/Makefile: Likewise.
6008 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6010 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6011 with $(BASH) not $(SHELL).
6013 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6014 Matthew LeGendre <legendre1@llnl.gov>
6017 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6020 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6022 * stdio-common/printf_fp.c
6023 (hack_digit): New function, broken out of ...
6024 (__printf_fp): ... local function here. Update call sites.
6025 hack_digit now takes an additional parameter that is a pointer
6026 to a struct of the referenced locals. Those locals moved inside
6027 the struct and references updated.
6029 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6031 * aclocal.m4: Require autoconf 2.69.
6032 * configure: Regenerated.
6033 * sysdeps/aarch64/configure: Likewise.
6034 * sysdeps/alpha/configure: Likewise.
6035 * sysdeps/arm/armv7/configure: Likewise.
6036 * sysdeps/arm/configure: Likewise.
6037 * sysdeps/ia64/configure: Likewise.
6038 * sysdeps/mach/configure: Likewise.
6039 * sysdeps/mips/configure: Likewise.
6040 * sysdeps/s390/configure: Likewise.
6041 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6044 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6046 * sysdeps/ia64/configure.ac: Likewise.
6048 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6051 specify symbol version for ld.so. Do not include entry for
6053 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6054 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6055 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6058 * Makeconfig [$(build-shared) = yes]
6059 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6061 [$(build-shared) = yes && $(soversions.mk-done) = t]
6062 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6063 [$(build-shared) = yes && $(soversions.mk-done) = t]
6064 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6066 [$(build-shared) = yes && $(soversions.mk-done) = t]
6067 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6069 [$(build-shared) = yes && $(soversions.mk-done) = t]
6070 (common-generated): Don't append gnu/lib-names.h and
6071 gnu/lib-names.stmp here.
6072 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6073 (lib-names-h-abi): New variable.
6074 [$(build-shared) = yes && $(soversions.mk-done) = t]
6075 (lib-names-stmp-abi): Likewise.
6076 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6077 abi-variants] (before-compile): Append
6078 $(common-objpfx)$(lib-names-h-abi).
6079 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6080 abi-variants] (common-generated): Append gnu/lib-names.h.
6081 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6082 abi-variants] (install-others-nosubdir): Depend on
6083 $(inst_includedir)/$(lib-names-h-abi).
6084 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6085 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6086 [$(build-shared) = yes && $(soversions.mk-done) = t]
6087 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6088 [$(build-shared) = yes && $(soversions.mk-done) = t]
6089 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6090 [$(build-shared) = yes && $(soversions.mk-done) = t]
6091 (common-generated): Append $(lib-names-h-abi) and
6092 $(lib-names-stmp-abi).
6093 * scripts/lib-names.awk: Do not handle multi being set.
6094 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6096 (abi-lp64_be-ld-soname): Likewise.
6097 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6099 (abi-hard-ld-soname): Likewise.
6100 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6101 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6103 (abi-o32_hard-ld-soname): Likewise.
6104 (abi-o32_soft_2008-ld-soname): Likewise.
6105 (abi-o32_hard_2008-ld-soname): Likewise.
6106 (abi-n32_soft-ld-soname): Likewise.
6107 (abi-n32_hard-ld-soname): Likewise.
6108 (abi-n32_soft_2008-ld-soname): Likewise.
6109 (abi-n32_hard_2008-ld-soname): Likewise.
6110 (abi-n64_soft-ld-soname): Likewise.
6111 (abi-n64_hard-ld-soname): Likewise.
6112 (abi-n64_soft_2008-ld-soname): Likewise.
6113 (abi-n64_hard_2008-ld-soname): Likewise.
6114 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6116 (abi-64-v2-ld-soname): Likewise.
6117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6119 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6121 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6123 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6125 (abi-64-ld-soname): Likewise.
6126 (abi-x32-ld-soname): Likewise.
6127 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6129 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6131 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6134 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6135 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6136 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6139 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6140 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6141 syscall entry for GLIBC_2.2 symbol version.
6142 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6145 (setrlimit): Likewise.
6146 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6149 2014-09-23 Will Newton <will.newton@linaro.org>
6151 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6152 _LINUX_ARM_SYSDEP_H include guard too.
6153 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6156 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6158 * sysdeps/unix/sysv/linux/eventfd.c:
6159 Make first argument unsigned.
6160 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6161 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6163 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6165 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6166 * socket/sys/socket.h: Likewise
6167 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6169 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6171 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6173 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6175 * time/tst-ftime.c: New test.
6176 * time/Makefile (tests): Add tst-ftime.
6178 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6180 * soft-fp/extended.h: Fix comment formatting.
6181 * soft-fp/op-1.h: Likewise.
6182 * soft-fp/op-2.h: Likewise.
6183 * soft-fp/op-4.h: Likewise.
6184 * soft-fp/op-8.h: Likewise.
6185 * soft-fp/op-common.h: Likewise.
6186 * soft-fp/soft-fp.h: Likewise.
6188 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6190 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6193 * Makeconfig (soversions-default-setname): Remove variable.
6194 ($(common-objpfx)soversions.i): Don't pass default_setname to
6196 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6197 oldest_abi to abi-versions.awk.
6198 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6199 * config.make.in (oldest-abi): Remove variable.
6200 * configure.ac (--enable-oldest-abi): Remove configure option.
6201 * configure: Regenerated.
6202 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6204 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6205 * scripts/soversions.awk: Do not handle default_setname variable.
6206 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6208 * sysdeps/mach/hurd/configure: Regenerated.
6209 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6211 * sysdeps/unix/sysv/linux/configure: Regenerated.
6213 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6215 * elf/Makefile (CFLAGS-interp.c): Remove.
6216 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6218 * elf/interp.c: Include generated runtime-linker.h
6220 * Makerules (lib%.so): Don't include $(+interp) in
6222 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6223 * dlfcn/eval.c: Remove file.
6225 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6229 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6233 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6235 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6236 Jakub Jelinek <jakub@redhat.com>
6239 * libio/stdio.h: Check definition of __fortify_function
6240 instead of __extern_always_inline to include bits/stdio2.h.
6241 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6242 check if __extern_always_inline is defined.
6243 [__USE_MISC || __USE_XOPEN]: Likewise.
6244 [__USE_ISOC99] Likewise.
6245 * misc/sys/cdefs.h (__fortify_function): Define only if
6246 __extern_always_inline is defined.
6247 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6248 __extern_always_inline and __extern_inline only for g++-4.3
6249 and newer or a compatible gcc.
6251 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6254 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6255 last change to handle zero prefix length.
6257 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6259 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6262 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6265 2014-09-13 Allan McRae <allan@archlinux.org>
6267 * po/ru.po: Update Russian translation from translation project.
6269 2014-09-12 Roland McGrath <roland@hack.frob.com>
6271 * locale/programs/locale.c (show_locale_vars): Inline local function
6272 into its sole call site. Clean up some style nits.
6273 (print_item): New function, broken out of ...
6274 (show_info): ... local function here. Clean up style nits.
6276 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6278 (set_class_defaults): ... local function set_default here.
6279 Define set_default as a macro locally to pass constant parameters.
6280 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6281 rather than a shared local.
6283 * stdlib/rpmatch.c (try): New function, broken out of ...
6284 (rpmatch): ... local function here. Also, prototypify definition.
6286 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6288 * scripts/soversions.awk: Do not handle configuration names.
6289 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6290 vendor and os variables to soversions.awk.
6291 * configure.ac: Do not modify gnu-* host_os.
6292 * configure: Regenerated
6293 * shlib-versions: Remove first column with configuration names.
6294 * nptl/shlib-versions: Likewise.
6295 * nptl_db/shlib-versions: Likewise.
6296 * sysdeps/hppa/shlib-versions: Likewise.
6297 * sysdeps/m68k/shlib-versions: Likewise.
6298 * sysdeps/mach/hurd/shlib-versions: Likewise.
6299 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6300 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6301 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6302 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6303 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6304 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6305 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6306 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6309 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6310 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6311 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6312 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6313 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6314 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6315 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6316 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6319 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6322 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6324 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6326 * shlib-versions: Remove OS-specific entries. Moved to files in
6328 * sysdeps/mach/hurd/shlib-versions: New file.
6329 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6331 * nptl/shlib-versions: Remove architecture-specific entries.
6332 Moved to files in sysdeps.
6333 * shlib-versions: Likewise.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6336 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6337 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6338 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6341 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6342 (UDP_NO_CHECK6_RX): Likewise.
6344 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6346 * sysdeps/posix/sysconf.c (__sysconf): Spell
6347 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6349 2014-08-12 Florian Weimer <fweimer@redhat.com>
6351 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6353 * iconv/Versions (__gconv_transliterate): Export for use from
6355 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6356 (struct __gconv_trans_data, __gconv_trans_fct,
6357 __gconv_trans_context_fct, __gconv_trans_query_fct,
6358 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6360 (struct __gconv_step_data): Remove __trans member.
6361 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6362 longer hidden. Remove unused trans_data argument.
6363 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6364 (__gconv_translit_find): Remove declaration.
6365 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6367 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6368 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6369 trans_data argument. Add hidden definition.
6370 (__gconv_translit_find): Remove.
6371 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6372 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6373 * iconv/skeleton.c: Remove transliteration initialization.
6374 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6375 __gconv_step_data initialization.
6376 * libio/iofwide.c (__libio_translit_): Remove.
6377 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6378 * wcsmbs/btowc.c (__btowc): Likewise.
6379 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6380 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6381 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6382 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6383 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6384 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6385 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6386 * wcsmbs/wctob.c (wctob): Likewise.
6388 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6391 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6392 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6394 * sysdeps/x86/Makefile: Adjust.
6396 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6397 Roland McGrath <roland@hack.frob.com>
6399 * locale/weight.h: Add include guard.
6400 (findidx): Make static rather than auto; take new parameters
6401 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6402 * locale/weightwc.h: Likewise.
6403 * posix/fnmatch_loop.c
6404 (FCT): Change type of EXTRA from int32_t to wint_t.
6405 Don't include either header inside the function.
6406 Call FINDIDX rather than findidx, and pass new arguments.
6407 #undef FINDIDX at the end of the file.
6408 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6409 FINDIDX before including fnmatch_loop.c for the non-wide version.
6410 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6411 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6412 for the wide version.
6413 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6414 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6415 Pass new arguments to findidx.
6416 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6417 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6418 Don't #include it inside the function. Pass new arguments to findidx.
6419 * posix/regex_internal.h
6420 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6421 (re_string_elem_size_at): Don't #include it inside the function.
6422 Pass new arguments to findidx.
6423 * string/strcoll_l.c: #include WEIGHT_H at top level.
6424 (get_next_seq): Don't #include it inside the function.
6425 Pass new arguments to findidx.
6426 (get_next_seq_nocache): Likewise.
6427 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6428 (STRXFRM): Don't #include it inside the function.
6429 Pass new arguments to findidx.
6431 2014-09-11 Florian Weimer <fweimer@redhat.com>
6434 * malloc/malloc.c (unlink): Turn asserts into a call to
6437 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6440 * libio/wfileops (do_ftell_wide): Free OUT.
6442 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6444 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6446 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6449 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6450 group if the current group is empty.
6452 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6454 * benchtests/bench-memset.c (test_main): Add more test from size
6455 from 32 to 512 bytes.
6456 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6457 Add POWER8 memset object.
6458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6459 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6460 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6462 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6464 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6465 multiarch POWER8 memset optimization.
6466 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6467 POWER8 memset optimization.
6469 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6470 Remove bzero multiarch objects.
6471 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6472 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6473 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6476 [__bzero]: Redefine to specific name.
6477 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6478 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6479 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6481 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6482 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6484 2014-09-10 Florian Weimer <fweimer@redhat.com>
6486 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6487 warnings into errors.
6489 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6490 __cxa_thread_atexit_impl prototype.
6492 2014-09-09 Steve Ellcey <sellcey@mips.com>
6494 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6495 Fix capitalization of error message.
6497 2014-09-09 Steve Ellcey <sellcey@mips.com>
6499 * sysdeps/mips/preconfigure: Modify ABI tests.
6501 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6503 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6505 2014-09-07 Roland McGrath <roland@hack.frob.com>
6506 Carlos O'Donell <carlos@systemhalted.org>
6508 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6509 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6510 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6511 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6512 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6513 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6514 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6515 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6516 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6517 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6518 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6519 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6520 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6521 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6522 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6523 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6524 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6525 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6526 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6527 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6528 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6529 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6530 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6531 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6532 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6533 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6534 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6535 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6536 Deconditionalize the code that was previously under [RESET_PID].
6537 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6538 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6539 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6540 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6543 2014-09-08 Allan McRae <allan@archlinux.org>
6545 * version.h (RELEASE): Set to "development".
6546 (VERSION): Set to "2.20.90"
6548 2014-09-07 Allan McRae <allan@archlinux.org
6550 * version.h (RELEASE): Set to "stable".
6551 (VERSION): Set to "2.20"
6552 * include/features.h (__GLIBC_MINOR__): Set to 20.
6554 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6557 * po/ko.po: Update Korean translation from translation project.
6559 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6562 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6563 macro for handling signed relocations.
6565 2014-09-03 Florian Weimer <fweimer@redhat.com>
6568 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6569 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6571 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6572 * iconvdata/ibm935.c (BODY): Likewise.
6573 * iconvdata/ibm937.c (BODY): Likewise.
6574 * iconvdata/ibm939.c (BODY): Likewise.
6575 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6577 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6579 * iconvdata/run-iconv-test.sh: New test loop for checking for
6582 2014-09-02 Khem Raj <raj.khem@gmail.com>
6584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6587 2014-09-01 Allan McRae <allan@archlinux.org>
6589 * po/eo.po: Update Esperanto translation from translation project.
6591 * po/ca.po: Update Catalan translation from translation project.
6593 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6595 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6598 2014-08-27 Mark Wielaard <mjw@redhat.com>
6601 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6602 to call set_thread_area instead of hand written asm.
6603 (__NR_set_thread_area): Removed define.
6604 (TLS_FLAG_WRITABLE): Likewise.
6605 (__ASSUME_SET_THREAD_AREA): Remove check.
6606 (TLS_EBX_ARG): Remove define.
6607 (TLS_LOAD_EBX): Likewise.
6609 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6611 Simplify atomicity of socket creation in bind.
6613 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6614 looking up the name after linking the file.
6616 2014-08-27 Allan McRae <allan@archlinux.org>
6618 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6620 2014-08-26 Florian Weimer <fweimer@redhat.com>
6623 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6624 trans_compare, open_translit, __gconv_translit_find):
6625 Remove module loading code.
6627 2014-08-26 Allan McRae <allan@archlinux.org>
6629 * po/vi.po: Update Vietnamese translation from translation project.
6631 * po/uk.po: Update Ukrainian translation from translation project.
6633 * po/fr.po: Update French translation from translation project.
6635 * po/ru.po: Update Russian translation from translation project.
6637 * po/pl.po: Update Polish translation from translation project.
6639 * po/cs.po: Update Czech translation from translation project.
6641 * po/de.po: Update German translation from translation project.
6643 * po/bg.po: Update Bulgarian translation from translation project.
6645 * po/sv.po: Update Sweedish translation from translation project.
6647 * po/nl.po: Update Dutch translation from translation project.
6649 * po/es.po: Update Spanish translation from translation project.
6651 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6653 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6655 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6656 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6657 (CPPFLAGS-iconvconfig): Likewise.
6658 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6660 * include/libc-symbols.h: Remove unnecessary check for
6662 * nptl/pthreadP.h: Likewise.
6663 * sysdeps/aarch64/setjmp.S: Likewise.
6664 * sysdeps/alpha/setjmp.S: Likewise.
6665 * sysdeps/arm/sysdep.h: Likewise.
6666 * sysdeps/i386/setjmp.S: Likewise.
6667 * sysdeps/m68k/setjmp.c: Likewise.
6668 * sysdeps/posix/getcwd.c: Likewise.
6669 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6670 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6671 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6672 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6673 * sysdeps/sh/sh3/setjmp.S: Likewise.
6674 * sysdeps/sh/sh4/setjmp.S: Likewise.
6675 * sysdeps/unix/alpha/sysdep.h: Likewise.
6676 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6677 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6678 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6679 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6684 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6686 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6687 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6689 * sysdeps/x86_64/setjmp.S: Likewise.
6691 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6694 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6696 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6697 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6699 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6701 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6704 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6705 and __x86_64__ when disabling x87 inline functions.
6707 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6710 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6711 asm statement with __cpuid_count.
6713 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6715 * configure.ac: Change __ehdr_start code to dereference the struct.
6716 Run readelf on the output to look for relocations.
6717 * configure: Regenerated.
6719 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6722 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6724 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6726 2014-08-12 Roland McGrath <roland@hack.frob.com>
6728 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6730 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6733 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6734 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6736 2014-08-12 Sean Anderson <seanga2@gmail.com>
6738 * malloc/malloc.c: Fix typo in comment.
6740 2014-08-09 Allan McRae <allan@archlinux.org>
6742 * Regenerate libc.po.
6744 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6746 * intl/tst-gettext2.sh: Check every lang file for creation.
6748 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6750 * sysdeps/aarch64/fpu/math_private.h
6751 (libc_feholdsetround_noex_aarch64_ctx): New function.
6753 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6755 * sysdeps/arm/armv6/strcpy.S (strcpy):
6756 Fix performance issue in misaligned cases.
6758 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6761 Move definition from termios.h.
6762 (struct termio): Likewise.
6763 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6764 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6765 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6766 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6768 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6769 Move definition to ioctl-types.h
6770 (struct termio): Likewise.
6771 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6772 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6773 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6774 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6777 2014-08-05 Richard Henderson <rth@redhat.com>
6779 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6781 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6783 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6784 Use __feraiseexcept.
6785 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6786 Protect libm symbols with IS_IN_libm.
6788 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6790 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6792 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6794 2014-08-04 Will Newton <will.newton@linaro.org>
6796 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6799 2014-08-04 Mike Frysinger <vapier@gentoo.org>
6801 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6802 variants for each function.
6804 2014-08-04 Roland McGrath <roland@hack.frob.com>
6806 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6808 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6809 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6811 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6812 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6813 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6814 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6815 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6816 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6817 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6818 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6819 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6820 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6821 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6822 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6823 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6825 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6827 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6828 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6829 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6831 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6832 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6833 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6834 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6835 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6837 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6838 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6839 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6840 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6841 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6842 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6843 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6845 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6846 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6847 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6848 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6849 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6850 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6851 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6852 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6853 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6854 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6855 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6856 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6857 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6858 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6859 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6860 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6861 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6862 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6863 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6865 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6866 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6868 2014-08-04 Roland McGrath <roland@hack.frob.com>
6870 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6871 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6872 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6873 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6874 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6875 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6877 2014-08-04 Roland McGrath <roland@hack.frob.com>
6879 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6880 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6881 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6882 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6884 2014-08-04 Roland McGrath <roland@hack.frob.com>
6886 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6887 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6888 (__libc_vfork): Define function under this name.
6889 (__vfork): Define as an alias.
6890 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6891 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6893 2014-08-04 Roland McGrath <roland@hack.frob.com>
6895 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6896 that was previously under [RESET_PID].
6897 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6899 2014-08-04 Andreas Schwab <schwab@suse.de>
6901 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6903 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6905 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6908 2014-08-01 Roland McGrath <roland@hack.frob.com>
6910 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6912 2014-08-01 Richard Henderon <rth@redhat.com>
6914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6915 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6916 typo in exact zero test.
6917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6918 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6919 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6921 2014-08-01 Roland McGrath <roland@hack.frob.com>
6923 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6924 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6925 * sysdeps/arm/sysdep.h: ... here.
6926 [!__ASSEMBLER__]: Include <stdint.h>.
6928 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6930 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6931 (HAVE_WCTYPE_H): Likewise.
6932 (HAVE_ISWCTYPE): Likewise.
6933 (ENABLE_NLS): Likewise.
6934 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6935 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6937 * posix/regex_internal.c: Check if DEBUG is defined and is
6940 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6941 (HAVE_MBSRTOWCS): Likewise.
6942 * posix/fnmatch.c: Include string.h unconditionally.
6944 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6946 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6949 2014-07-31 Roland McGrath <roland@hack.frob.com>
6951 * sysdeps/generic/safe-fatal.h: New file.
6952 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6953 * nptl/forward.c: Include it.
6954 (__pthread_unwind): Use __safe_fatal as default action, rather
6955 than a bogus use of INTERNAL_SYSCALL that could never work.
6957 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6958 * configure.ac (libc_cv_builtin_trap): New test.
6959 * configure: Regenerated.
6960 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6961 (ABORT_INSTRUCTION): Define using __builtin_trap.
6963 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6964 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6965 * sysdeps/nptl/nptl-signals.h: New file.
6966 * nptl/pthreadP.h: Include <nptl-signals.h>.
6968 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6970 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6971 (ONE_DIRECTION): Define.
6972 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6973 (ONE_DIRECTION): Define.
6974 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6975 (ONE_DIRECTION): Define.
6977 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6979 * sysdeps/s390/Makefile: Delete file.
6980 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6981 * sysdeps/s390/__longjmp.c: Delete file.
6982 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6983 Remove fields __flags and __reserved.
6984 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6986 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6987 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6988 * sysdeps/s390/rtld-setjmp.S: Likewise.
6989 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6990 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6991 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6992 * sysdeps/s390/s390-32/setjmp.S: ... here.
6994 (__sigsetjmp): Remove setting __flags field.
6995 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6996 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6997 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6998 * sysdeps/s390/s390-64/setjmp.S: ... here.
7000 (__sigsetjmp): Remove setting __flags field.
7001 * sysdeps/s390/setjmp.S: Delete file.
7002 * sysdeps/s390/sigjmp.c: Likewise.
7003 * sysdeps/s390/v1-longjmp.c: Likewise.
7004 * sysdeps/s390/v1-setjmp.h: Likewise.
7005 * sysdeps/s390/v1-sigjmp.c: Likewise.
7006 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7007 Remove v1-longjmp_chk.
7008 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7009 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7010 Include debug/longjmp_chk.c and add versioning.
7011 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7012 Include nptl/pt-longjmp.c and add versioning.
7013 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7014 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7015 Include __longjmp.c.
7016 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7018 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7019 (__getcontext): Remove setting __flags field.
7021 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7022 Don't restore upper high grps.
7023 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7025 (__swapcontext): Remove setting uc_flags field.
7026 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7028 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7029 Include __longjmp.c.
7030 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7032 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7033 (__getcontext): Remove setting __flags field.
7035 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7036 (__swapcontext): Remove setting uc_flags field.
7037 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7038 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7039 Remove fields uc_high_gprs and __reserved.
7040 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7041 New file with reverted content.
7042 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7043 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7045 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7048 2014-07-31 Andreas Schwab <schwab@suse.de>
7050 * config.h.in (HAVE_IFUNC): Define to 0.
7051 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7054 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7057 memmove-avx-unaligned, memcpy-avx-unaligned and
7058 mempcpy-avx-unaligned.
7059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7060 Add tests for AVX memcpy functions.
7061 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7062 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7064 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7065 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7067 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7070 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7071 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7072 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7074 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7077 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7080 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7083 * manual/llio.texi: Add section about open file description locks.
7084 * manual/examples/ofdlocks.c: Example of open file description
7086 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7087 F_OFD_SETLK, and F_OFD_SETLKW.
7089 2014-07-23 Allan McRae <allan@archlinux.org>
7091 * po/es.po: Update Spanish translation from translation project.
7093 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7095 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7097 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7100 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7101 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7102 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7104 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7107 * math/fesetenv.c (__fesetenv)
7108 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7109 * math/feupdateenv.c (__feupdateenv)
7110 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7113 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7114 (__ASSUME_SOCKETCALL): Do not define.
7116 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7117 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7118 (__ASSUME_SOCKETCALL): Do not define.
7119 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7120 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7121 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7122 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7123 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7124 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7125 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7126 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7128 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7129 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7130 (__ASSUME_SOCKETCALL): Do not define.
7131 (__ASSUME_IPC64): Define unconditionally.
7132 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7133 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7134 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7135 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7136 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7137 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7138 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7141 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7142 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7143 (__ASSUME_SOCKETCALL): Do not define.
7144 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7145 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7146 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7147 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7148 (__ASSUME_REQUEUE_PI): Define unconditionally.
7149 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7150 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7151 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7152 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7153 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7154 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7156 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7157 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7158 (__ASSUME_SOCKETCALL): Do not define.
7159 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7160 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7161 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7162 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7163 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7164 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7166 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7167 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7168 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7169 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7170 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7171 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7172 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7173 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7174 (__ASSUME_GETCPU_SYSCALL): Likewise.
7176 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7177 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7178 cases for individual architectures.
7179 * sysdeps/gnu/configure: Regenerated.
7180 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7181 LIBC_SLIBDIR_RTLDDIR.
7182 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7183 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7184 LIBC_SLIBDIR_RTLDDIR.
7185 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7187 LIBC_SLIBDIR_RTLDDIR.
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7190 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7191 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7193 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7194 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7196 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7197 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7198 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7199 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7201 * sysdeps/aarch64/shlib-versions: Move to ...
7202 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7203 * sysdeps/alpha/shlib-versions: Move to ...
7204 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7205 * sysdeps/arm/shlib-versions: Move to ...
7206 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7207 * sysdeps/hppa/shlib-versions: Move all contents except for
7208 libgcc_s entry to ...
7209 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7211 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7212 * sysdeps/ia64/shlib-versions: Move to ...
7213 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7215 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7216 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7217 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7218 * sysdeps/microblaze/shlib-versions: Move to ...
7219 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7220 * sysdeps/mips/shlib-versions: Move to ...
7221 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7223 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7224 * sysdeps/tile/shlib-versions: Move to ...
7225 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7226 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7228 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7229 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7231 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7233 2014-07-17 Will Newton <will.newton@linaro.org>
7235 * sysdeps/arm/bits/atomic.h
7236 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7237 (__arch_compare_and_exchange_bool_16_int): Likewise.
7238 (__arch_compare_and_exchange_bool_64_int): Likewise.
7240 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7241 into an #else block.
7243 2014-07-16 Roland McGrath <roland@hack.frob.com>
7245 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7246 just Linux configurations. Test empirically that the compiler sets
7247 __ARM_EABI__, rather than using the tuple to decide.
7248 * sysdeps/arm/preconfigure: Regenerated.
7249 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7250 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7251 contents appended ...
7252 * sysdeps/arm/configure.ac: ... here.
7253 * sysdeps/arm/configure: Regenerated.
7255 2014-07-15 Roland McGrath <roland@hack.frob.com>
7257 * nptl/pthread_kill.c: New file.
7258 * nptl/pthread_sigmask.c: New file.
7259 * nptl/pthread_sigqueue.c: New file.
7261 * sysdeps/nptl/lowlevellock.h: New file.
7262 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7263 * sysdeps/nptl/lowlevellock-futex.h: New file.
7265 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7266 Remove dead declarations.
7268 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7270 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7271 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7273 * sysdeps/x86_64/configure.ac: Likewise.
7274 * sysdeps/i386/configure: Regenerated.
7275 * sysdeps/x86_64/configure: Likewise.
7276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7277 memset-avx2 only if config-cflags-avx2 is yes.
7278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7279 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7281 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7282 only if HAVE_AVX2_SUPPORT is defined.
7283 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7285 2014-07-14 Alan Modra <amodra@gmail.com>
7288 * elf/elf.h (DT_PPC64_NUM): Correct value.
7289 * NEWS: Add to fixed bug list.
7291 2014-07-13 Jim Meyering <meyering@fb.com>
7294 regex: don't deref NULL upon heap allocation failure
7295 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7296 failure in one more place.
7297 To trigger the segfault, configure grep -with-included-regex,
7298 build it, and run these commands:
7299 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7301 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7303 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7305 2014-07-11 Richard Henderson <rth@redhat.com>
7307 * sysdeps/aarch64/libm-test-ulps: Update.
7309 2014-07-10 Florian Weimer <fweimer@redhat.com>
7312 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7313 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7314 (__nptl_setxid): Initialize error member. Call
7315 __nptl_setxid_error.
7316 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7317 * nptl/descr.h (struct xid_command): Add error member.
7318 * nptl/tst-setuid3.c: New file.
7319 * nptl/Makefile (tests): Add it.
7321 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7325 (__lll_trylock): Use __lll_base_trylock.
7326 (__lll_cond_trylock): Likewise.
7328 2014-07-10 Roland McGrath <roland@hack.frob.com>
7330 * nptl/pthread_create.c (start_thread): Use atomic_or and
7331 lll_futex_wake directly rather than lll_robust_dead.
7332 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7333 (lll_robust_dead): Macro removed.
7334 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7335 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7336 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7337 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7338 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7339 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7340 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7341 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7342 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7343 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7344 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7345 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7346 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7347 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7348 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7350 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7351 Use atomic_compare_and_exchange_val_acq directly rather than
7353 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7354 (__lll_robust_trylock, lll_robust_trylock): Removed.
7355 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7356 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7357 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7358 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7359 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7360 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7361 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7362 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7363 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7364 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7365 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7367 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7368 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7370 2014-07-02 Florian Weimer <fweimer@redhat.com>
7372 * manual/locale.texi (Locale Names): New section documenting
7373 locale name syntax. Adjust menu and node chaining accordingly.
7374 (Choosing Locale): Reference Locale Names, Locale Categories.
7375 Mention setting LC_ALL=C. Reflect that name syntax is now
7377 (Locale Categories): New section title. Reference Locale Names.
7378 LC_ALL is an environment variable, but not a category.
7379 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7380 description, now in Locale Name. Reference that section. Locale
7381 name syntax is now documented.
7383 2014-07-02 Florian Weimer <fweimer@redhat.com>
7386 * locale/findlocale.c (name_present, valid_locale_name): New
7388 (_nl_find_locale): Use the loc_name variable to store name
7389 candidates. Call name_present and valid_locale_name to check and
7390 validate locale names. Return an error if the locale is invalid.
7392 2014-07-02 Florian Weimer <fweimer@redhat.com>
7394 * locale/setlocale.c (setlocale): Use strdup for allocating
7395 composite name copy.
7397 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7399 Sync up with gnulib.
7400 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7401 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7402 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7403 and _GL_ARG_NONNULL.
7404 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7405 [!_LIBC]: Include code for Windows and Cygwin.
7406 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7407 Include prototype for int strerror_r.
7408 [!_LIBC] (is_open): New function.
7409 (flush_stdout): New function.
7410 (print_errno_message): Use it.
7412 (error_at_line): Likewise.
7413 (error_tail) Add function attribute macros. Use
7416 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7418 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7420 * io/ftw.c: Include sys/param.h unconditionally.
7422 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7425 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7427 (freecache): New function to free CACHE on exit.
7429 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7432 2014-07-09 David S. Miller <davem@davemloft.net>
7434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7436 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7437 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7438 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7439 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7440 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7441 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7442 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7443 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7444 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7445 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7446 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7447 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7448 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7450 2014-07-09 Andreas Schwab <schwab@suse.de>
7452 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7454 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7455 (do_test): Likewise.
7457 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7459 2014-07-09 Will Newton <will.newton@linaro.org>
7461 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7462 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7463 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7464 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7465 * sysdeps/hppa/start.S (_start): Likewise.
7467 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7469 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7471 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7474 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7476 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7477 after checking that it is non-NULL.
7479 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7481 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7483 * sysdeps/powerpc/memmove.c: Remove file.
7484 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7485 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7486 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7487 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7488 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7489 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7490 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7491 string memmove instead of removed powerpc one.
7493 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7494 [weak_alias]: Fix compiler warning due trailing data.
7495 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7496 [weak_alias]: Likewise.
7497 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7498 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7501 (__libc_ifunc_impl_list): Add memmove functions.
7503 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7505 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7507 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7509 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7511 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7513 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7515 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7517 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7519 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7521 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7523 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7525 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7527 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7529 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7531 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7533 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7535 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7537 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7540 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7542 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7543 to avoid alignment traps in non-cacheable memory.
7544 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7548 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7549 file: multiarch power7 memmove.
7550 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7551 multiarch default memmove.
7552 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7553 multiarch memove for powerpc32/power4.
7555 * string/bcopy.c: Use full path to include memmove.c.
7556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7558 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7559 bcopy for powerpc64.
7560 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7561 bcopy for powerpc64.
7562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7563 and memmove implementations.
7564 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7565 optimized multiarch memmove for POWER7/powerpc64.
7566 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7567 default multiarch memmove for powerpc64.
7568 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7569 multiarch for powerpc64.
7570 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7571 for POWER7/powerpc64.
7572 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7573 memmove for POWER7/powerpc64.
7575 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7578 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7579 __ELF_NATIVE_CLASS equal to 64.
7581 2014-07-07 Roland McGrath <roland@hack.frob.com>
7583 * sysdeps/nptl/lowlevellock.h: File removed.
7585 * NEWS: NPTL is no longer an add-on!
7586 * nptl/internaltypes.h: Moved ...
7587 * sysdeps/nptl/internaltypes.h: ... here.
7588 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7589 * sysdeps/nptl/fork.c: Likewise.
7590 * sysdeps/nptl/gai_misc.h: Likewise.
7591 * sysdeps/nptl/librt-cancellation.c: Likewise.
7592 * sysdeps/nptl/jmp-unwind.c: Likewise.
7593 * sysdeps/nptl/setxid.h: Likewise.
7594 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7595 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7596 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7597 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7598 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7599 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7600 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7601 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7602 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7603 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7604 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7605 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7606 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7607 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7608 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7609 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7610 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7611 * nptl/Makeconfig: Moved ...
7612 * sysdeps/nptl/Makeconfig: ... here.
7613 * nptl/configure: File removed.
7614 * nptl/ANNOUNCE: File removed.
7615 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7616 * sysdeps/unix/sysv/linux/configure: Regenerated.
7618 * nptl/Makefile (routines): Add libc_pthread_init,
7619 libc_multiple_threads, register-atfork and unregister-atfork.
7620 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7621 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7622 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7623 pthread-pi-defines.sym, structsem.sym.
7624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7625 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7626 [$(subdir) = nptl] (tests): Add tst-setgetname.
7627 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7628 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7629 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7630 [!LIBC_SIGACTION]: Remove aliases.
7631 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7632 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7633 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7634 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7635 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7636 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7637 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7638 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7639 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7640 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7641 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7642 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7643 __libc_allocate_rtsig_private.
7644 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7645 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7646 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7647 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7648 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7649 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7650 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7651 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7652 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7653 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7654 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7655 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7656 * nptl/internaltypes.h: ... here.
7657 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7658 * sysdeps/nptl/jmp-unwind.c: ... here.
7659 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7660 * nptl/libc-lowlevellock.c: ... here.
7661 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7662 * nptl/libc_multiple_threads.c: ... here.
7663 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7664 * nptl/libc_pthread_init.c: ... here.
7665 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7666 * nptl/lowlevelbarrier.sym: ... here.
7667 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7668 * nptl/lowlevelcond.sym: ... here.
7669 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7670 * nptl/lowlevellock.c: ... here.
7671 * nptl/lowlevellock.h: Moved ...
7672 * sysdeps/nptl/lowlevellock.h: ... here.
7673 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7674 * nptl/lowlevelrobustlock.c: ... here.
7675 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7676 * nptl/lowlevelrobustlock.sym: ... here.
7677 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7678 * nptl/lowlevelrwlock.sym: ... here.
7679 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7680 * nptl/pt-fork.c: ... here.
7681 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7682 * nptl/pthread-pi-defines.sym: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7684 * nptl/pthread_attr_getaffinity.c: ... here.
7685 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7686 * nptl/pthread_attr_setaffinity.c: ... here.
7687 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7688 * nptl/pthread_mutex_cond_lock.c: ... here.
7689 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7691 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7692 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7693 * nptl/pthread_once.c: ... here, replacing old file.
7694 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7695 * nptl/pthread_yield.c: ... here.
7696 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7697 * nptl/register-atfork.c: ... here.
7698 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7699 * nptl/sem_post.c: ... here.
7700 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7701 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7702 * nptl/sem_timedwait.c: ... here.
7703 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7704 * nptl/sem_trywait.c: ... here.
7705 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7706 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7707 * nptl/sem_wait.c: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7709 * nptl/structsem.sym: ... here.
7710 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7711 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7712 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7713 * nptl/unregister-atfork.c: ... here.
7714 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7715 * nptl/unwindbuf.sym: ... here.
7716 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7717 * sysdeps/nptl/fork.c: ... here.
7718 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7719 * sysdeps/nptl/fork.h: ... here.
7720 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7721 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7722 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7724 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7725 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7726 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7727 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7728 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7729 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7730 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7732 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7734 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7736 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7738 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7739 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7740 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7742 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7744 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7746 * sysdeps/unix/sysv/linux/raise.c: ... here.
7747 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7748 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7749 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7750 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7751 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7752 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7753 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7754 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7755 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7756 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7757 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7758 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7759 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7760 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7761 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7763 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7765 * sysdeps/generic/memcopy.h: Add comment for
7766 MEMCPY_OK_FOR_FWD_MEMMOVE.
7768 2014-07-04 Will Newton <will.newton@linaro.org>
7770 * string/memchr.c: Merge from gnulib.
7771 [_LIBC]: Remove conditionals.
7772 (__ptr_t): Remove define.
7773 (LONG_MAX_32_BITS): Likewise.
7774 (LONG_MAX): Likewise.
7775 (MEMCHR): Use ANSI prototype and optimize algorithm.
7777 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7779 2014-07-03 Roland McGrath <roland@hack.frob.com>
7781 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7782 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7784 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7785 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7786 in a bare environment with no <stdlib.h> installed.
7787 * sysdeps/nptl/configure: Regenerated.
7789 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7791 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7792 AC_EGREP_CPP for kernel header checks, so they only succeed if
7793 including <linux/version.h> actually works right.
7794 * sysdeps/unix/sysv/linux/configure: Regenerated.
7796 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7797 value so it's not diagnosed as unused.
7799 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7800 thing) with "ifeq ($(subdir),rt)".
7802 2014-07-03 Richard Henderson <rth@redhat.com>
7804 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7805 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7806 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7808 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7809 (math_force_eval): New.
7811 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7812 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7814 * sysdeps/alpha/fpu/s_round.c: Remove file.
7815 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7817 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7818 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7819 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7820 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7821 (_dl_start, print_statistics): Likewise.
7822 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7823 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7825 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7826 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7827 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7828 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7829 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7830 (HP_SMALL_TIMING_AVAIL): Define.
7831 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7832 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7833 (HP_SMALL_TIMING_AVAIL): Define.
7834 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7835 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7837 * sysdeps/aarch64/hp-timing.h: New file.
7839 * sysdeps/generic/hp-timing.h: Remove dead comment.
7840 * sysdeps/generic/hp-timing-common.h: New file.
7841 * sysdeps/alpha/hp-timing.h: Include it.
7842 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7843 * sysdeps/i386/i686/hp-timing.h: Likewise.
7844 * sysdeps/ia64/hp-timing.h: Likewise.
7845 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7846 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7847 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7848 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7849 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7850 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7853 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7854 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7855 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7856 * elf/rtld.c (_dl_start_final): Likewise.
7857 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7858 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7859 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7860 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7861 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7862 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7863 (HP_TIMING_DIFF_INIT): Remove.
7864 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7865 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7866 (HP_TIMING_DIFF_INIT): Remove.
7867 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7868 * sysdeps/i386/i686/hp-timing.c: Remove file.
7869 * sysdeps/x86_64/hp-timing.c: Remove file.
7870 * sysdeps/ia64/hp-timing.c: Remove file.
7871 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7872 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7873 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7874 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7876 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7877 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7878 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7879 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7880 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7881 (HP_TIMING_ACCUM): Remove.
7882 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7883 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7884 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7886 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7887 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7888 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7889 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7890 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7891 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7892 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7893 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7895 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7897 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7899 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7901 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7903 Sync up with gettext.
7904 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7905 [_MSC_VER]: Include malloc.h
7906 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7907 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7908 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7909 TEMP_FAILURE_RETRY. Cast return of alloca.
7910 [!_LIBC] Call gl_rwlock_init.
7911 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7913 2014-07-02 Roland McGrath <roland@hack.frob.com>
7915 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7916 before checking its value.
7918 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7920 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7922 * debug/memcpy_chk.c: Don't include pagecopy.h.
7923 * debug/mempcpy_chk.c: Likewise.
7924 * string/memcpy.c: Likewise.
7925 * string/memmove.c: Likewise.
7926 * sysdeps/powerpc/memmove.c: Likewise.
7927 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7928 definition of PAGE_COPY_FWD_MAYBE here...
7929 * sysdeps/generic/pagecopy.h: ... from here.
7930 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7932 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7933 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7935 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7939 (__libc_ifunc_impl_list): Likewise.
7940 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7941 multiarch strcat for PPC64.
7942 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7943 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7945 2014-07-02 Roland McGrath <roland@hack.frob.com>
7947 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7949 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7951 * intl/loadmsgcat.c: Remove declaration of
7952 get_sysdep_segment_value.
7953 (get_sysdep_segment_value): Use ISO C style.
7954 (_nl_load_domain): Use ISO C style. Get rid of redundant
7955 semicolon. Fix typo and formatting in comment.
7956 (_nl_unload_domain): Use ISO C style.
7958 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7960 2014-07-02 Will Newton <will.newton@linaro.org>
7962 * malloc/obstack.c: Merge from gnulib master.
7963 [HAVE_CONFIG_H]: Remove conditional code.
7964 [!_LIBC]: Include config.h.
7965 [!ELIDE_CODE]: Don't include inttypes.h, include
7966 stdint.h unconditionally.
7967 (print_and_abort): Mark as _Noreturn.
7968 (_obstack_allocated_p): Mark as __attribute_pure__.
7969 (obstack_free): Rename to __obstack_free.
7970 [!__attribute__]: Remove conditional code.
7971 * malloc/obstack.h: Merge from gnulib master.
7972 [__cplusplus]: Move conditional down.
7973 [!__attribute_pure__]: Define __attribute_pure__ here
7974 if it is not already defined.
7975 (_obstack_memory_used): Mark as __attribute_pure__.
7976 [!__obstack_free]: Define as obstack_free.
7977 [__GNUC__]: Remove check for ancient NeXT gcc.
7979 2014-07-02 Will Newton <will.newton@linaro.org>
7980 Paul Eggert <eggert@cs.ucla.edu>
7982 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7984 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7986 * resolv/gethnamaddr.c: Add comment warning that the file is
7989 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7991 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7994 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7995 entry for aio_cancel and aio_cancel64.
7996 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7997 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7998 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7999 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8000 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8001 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8002 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8003 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8004 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8005 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8006 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8007 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8008 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8010 2014-07-01 Roland McGrath <roland@hack.frob.com>
8012 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8013 * nptl/pthread_mutex_lock.c: Likewise.
8014 * nptl/pthread_mutex_timedlock.c: Likewise.
8015 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8017 2014-07-01 Richard henderson <rth@redhat.com>
8019 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8020 (__isnan, __isnanl): Remove.
8021 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8023 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8025 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8027 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8029 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8031 * resolv/nss_dns/dns-host.c (getanswer_r)
8032 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8034 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8037 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8039 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8040 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8042 2014-07-01 Roland McGrath <roland@hack.frob.com>
8044 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8045 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8047 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8048 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8050 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8051 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8053 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8054 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8056 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8057 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8058 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8059 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8061 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8062 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8063 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8064 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8067 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8069 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8072 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8074 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8076 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8084 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8085 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8086 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8087 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8088 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8090 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8091 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8093 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8094 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8095 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8096 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8097 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8099 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8101 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8102 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8103 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8106 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8110 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8112 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8113 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8115 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8117 * sysdeps/arm/libm-test-ulps: Regenerated.
8119 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8120 Roland McGrath <roland@hack.frob.com>
8122 * test-skeleton.c (signal_handler): Kill the whole process group
8123 before killing the child individually.
8124 (main): Report any failure on `setpgid'.
8126 2014-06-30 Roland McGrath <roland@hack.frob.com>
8128 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8129 from _TLS_H to _ARM_NPTL_TLS_H.
8130 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8131 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8133 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8136 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8137 (__expm1l): Return argument unchanged when small but not
8140 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8142 (_FP_UNPACK_RAW_1_P): Likewise.
8143 (_FP_PACK_RAW_1): Likewise.
8144 (_FP_PACK_RAW_1_P): Likewise.
8145 (_FP_MUL_MEAT_1_wide): Likewise.
8146 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8147 (_FP_MUL_MEAT_1_hard): Likewise.
8148 (_FP_DIV_MEAT_1_imm): Likewise.
8149 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8150 (_FP_DIV_MEAT_1_udiv): Likewise.
8151 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8152 (_FP_UNPACK_RAW_2): Likewise.
8153 (_FP_UNPACK_RAW_2_P): Likewise.
8154 (_FP_PACK_RAW_2): Likewise.
8155 (_FP_PACK_RAW_2_P): Likewise.
8156 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8157 (_FP_MUL_MEAT_2_wide): Likewise.
8158 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8159 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8160 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8161 (_FP_MUL_MEAT_2_gmp): Likewise.
8162 (_FP_DIV_MEAT_2_udiv): Likewise.
8163 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8164 (_FP_FRAC_SRL_4): Likewise.
8165 (_FP_FRAC_SRST_4): Likewise.
8166 (_FP_FRAC_SRS_4): Likewise.
8167 (_FP_UNPACK_RAW_4): Likewise.
8168 (_FP_UNPACK_RAW_4_P): Likewise.
8169 (_FP_PACK_RAW_4): Likewise.
8170 (_FP_PACK_RAW_4_P): Likewise.
8171 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8172 (_FP_MUL_MEAT_4_wide): Likewise.
8173 (_FP_MUL_MEAT_4_gmp): Likewise.
8174 (umul_ppppmnnn): Likewise.
8175 (_FP_DIV_MEAT_4_udiv): Likewise.
8176 (__FP_FRAC_ADD_4): Likewise.
8177 (__FP_FRAC_SUB_3): Likewise.
8178 (__FP_FRAC_SUB_4): Likewise.
8179 (__FP_FRAC_DEC_3): Likewise.
8180 (__FP_FRAC_DEC_4): Likewise.
8181 (__FP_FRAC_ADDI_4): Likewise.
8182 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8183 (_FP_FRAC_SRL_8): Likewise.
8184 (_FP_FRAC_SRS_8): Likewise.
8186 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8188 (FP_UNPACK_RAW_EP): Likewise.
8189 (FP_PACK_RAW_E): Likewise.
8190 (FP_PACK_RAW_EP): Likewise.
8191 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8192 (_FP_ISSIGNAN): Likewise.
8193 (_FP_ADD_INTERNAL): Likewise.
8194 (_FP_FMA): Likewise.
8195 (_FP_CMP): Likewise.
8196 (_FP_SQRT): Likewise.
8197 (_FP_TO_INT): Likewise.
8198 (_FP_FROM_INT): Likewise.
8199 (FP_EXTEND): Likewise.
8200 (_FP_DIV_MEAT_N_loop): Likewise.
8202 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8204 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8207 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8210 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8211 result with correct sign in case of exponents that produce
8212 overflow except for X very close to 1.
8214 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8216 mktime: merge #if/#ifdef usage from glibc
8217 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8218 as that works with both Glibc's and Gnulib's style.
8219 See thread starting at Siddhesh Poyarekar's bug report at:
8220 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8222 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8224 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8225 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8226 * sysdeps/tile/tilegx/memmove.c: Remove file.
8228 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8230 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8231 abi-name definition.
8232 * scripts/soversions.awk: Do not handle or generate ABI lines.
8233 * shlib-versions: Remove ABI entries.
8234 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8235 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8237 2014-06-27 Roland McGrath <roland@hack.frob.com>
8239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8240 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8241 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8244 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8245 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8247 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8250 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8252 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8256 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8260 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8265 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8266 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8267 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8270 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8273 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8274 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8275 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8278 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8280 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8282 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8284 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8287 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8289 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8290 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8292 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8293 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8295 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8296 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8297 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8298 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8300 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8302 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8303 Identical file removed.
8304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8306 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8307 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8308 Identical file removed.
8309 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8310 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8311 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8313 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8315 Identical file removed.
8316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8319 Identical file removed.
8320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8323 Identical file removed.
8324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8325 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8327 Identical file removed.
8328 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8330 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8331 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8332 Identical file removed.
8333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8337 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8339 Identical file removed.
8340 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8342 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8344 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8345 Identical file removed.
8346 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8348 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8350 Identical file removed.
8351 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8353 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8355 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8356 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8357 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8358 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8360 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8361 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8362 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8364 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8365 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8366 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8367 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8368 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8370 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8373 * nscd/nscd.c (monitor_child): Return exit status of child
8374 instead of return value from wait syscall.
8376 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8378 * configure.ac (libc_commonpagesize): Remove variable.
8379 (libc_relro_required): Likewise.
8380 (libc_cv_z_relro): Remove configure test.
8381 * configure: Regenerated.
8382 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8384 (libc_relro_required): Likewise.
8385 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8386 (libc_relro_required): Likewise.
8387 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8388 (libc_relro_required): Likewise.
8389 * sysdeps/arm/preconfigure: Regenerated.
8390 * sysdeps/ia64/preconfigure: Remove file.
8391 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8393 (libc_relro_required): Likewise.
8397 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8398 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8399 recompute overflowing results in original rounding mode.
8400 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8401 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8402 recompute overflowing results in original rounding mode.
8403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8404 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8405 recompute overflowing results in original rounding mode.
8406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8407 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8408 recompute overflowing results in original rounding mode.
8409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8410 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8411 recompute overflowing results in original rounding mode.
8412 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8413 (libc_feholdsetround_ctx): New macro.
8414 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8415 * sysdeps/i386/fpu/libm-test-ulps: Update.
8416 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8418 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8420 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8421 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8422 corresponding .cpsetup call.
8424 2014-06-26 Roland McGrath <roland@hack.frob.com>
8426 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8427 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8428 * sysdeps/arm/Makefile [$(subdir) = csu]
8429 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8430 (static-only-routines): Add aeabi_read_tp here.
8431 (shared-only-routines): Add libc-aeabi_read_tp here.
8432 (CFLAGS-libc-start.c): Add -fexceptions here.
8433 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8434 (sysdep_routines, static-only-routines, shared-only-routines):
8435 Don't add to these here.
8436 (CFLAGS-libc-start.c): Likewise.
8438 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8439 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8440 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8441 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8442 * sysdeps/arm/Makefile [$(subdir) = rt]
8443 (librt-sysdep_routines, librt-shared-only-routines):
8444 Append rt-aeabi_unwind_cpp_pr1 here.
8445 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8446 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8447 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8448 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8449 Append nptl-aeabi_unwind_cpp_pr1 here.
8450 (tests): Filter out tst-cleanupx4 here.
8451 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8452 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8453 Don't do those here.
8455 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8457 * scripts/list-sources.sh: Do not handle ports specially.
8459 2014-06-26 Roland McGrath <roland@hack.frob.com>
8461 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8462 * sysdeps/arm/feupdateenv.c: Likewise.
8464 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8466 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8468 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8469 trailing whitespace removed.
8470 * scripts/config.guess: Update to version 2014-03-23.
8471 * scripts/config.sub: Update to version 2014-05-01
8472 * scripts/install-sh: Update to version 2013-12-25.23.
8473 * scripts/move-if-change: Update from gnulib.
8475 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8477 * debug/memmove_chk.c: Remove pagecopy.h include.
8479 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8481 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8482 identical to gnulib mktime.
8484 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8486 * configure.ac: Do not test for machine being rs6000. Do not test
8488 * configure: Regenerated.
8490 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8492 * configure: Regenerated.
8493 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8494 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8495 Remove configure test.
8496 * sysdeps/arm/configure: Regenerated.
8497 * sysdeps/nptl/configure.ac: Do not check
8498 libc_cv_asm_cfi_directives.
8499 * sysdeps/nptl/configure: Regenerated.
8500 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8501 * sysdeps/x86_64/nptl/configure: Remove generated file.
8502 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8504 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8506 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8508 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8509 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8510 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8513 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8514 instead of whether it is defined.
8515 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8516 * sysdeps/hppa/dl-machine.h: Likewise.
8517 * sysdeps/ia64/dl-machine.h: Likewise.
8518 * sysdeps/m68k/dl-machine.h: Likewise.
8519 * sysdeps/microblaze/dl-machine.h: Likewise.
8520 * sysdeps/mips/dl-machine.: Likewise.
8521 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8522 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8523 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8524 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8525 * sysdeps/sh/dl-machine.h: Likewise.
8526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8527 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8528 * sysdeps/tile/dl-machine.h: Likewise.
8529 * sysdeps/x86_64/dl-machine.h: Likewise.
8531 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8533 (verify_persistent_db): Likewise.
8535 2014-06-26 Roland McGrath <roland@hack.frob.com>
8537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8538 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8540 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8543 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8546 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8548 Identical file removed.
8549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8550 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8552 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8554 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8561 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8563 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8565 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8568 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8570 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8572 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8574 Identical file removed.
8575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8576 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8578 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8581 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8584 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8586 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8588 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8595 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8598 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8600 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8603 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8605 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8607 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8609 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8610 * sysdeps/unix/sysv/linux/s390/Versions
8611 (libpthread: GLIBC_2.19): New version set.
8612 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8613 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8614 (librt: GLIBC_2.3.3): New version set.
8615 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8616 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8617 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8618 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8619 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8620 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8621 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8622 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8623 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8624 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8625 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8626 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8627 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8628 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8629 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8630 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8631 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8632 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8633 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8634 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8635 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8636 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8637 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8638 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8639 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8641 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8642 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8643 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8645 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8646 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8651 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8653 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8655 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8656 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8657 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8658 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8659 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8661 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8662 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8663 (__libc_vfork): Define the function under this name.
8664 [!NOT_IN_libc] (__vfork): Make this an alias.
8665 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8667 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8668 (__libc_vfork): Define the function under this name.
8669 [!NOT_IN_libc] (__vfork): Make this an alias.
8670 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8671 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8672 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8673 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8674 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8675 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8677 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8678 code that was previously under [RESET_PID].
8679 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8680 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8681 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8683 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8684 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8685 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8686 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8687 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8688 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8689 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8690 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8691 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8692 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8693 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8695 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8696 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8697 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8698 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8699 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8701 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8702 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8703 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8704 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8705 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8706 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8707 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8708 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8711 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8713 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8715 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8716 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8717 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8719 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8720 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8721 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8722 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8723 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8725 2014-06-25 Roland McGrath <roland@hack.frob.com>
8727 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8728 that was previously under [RESET_PID].
8729 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8731 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8733 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8734 not undefine and redefine.
8735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8736 [O_CLOEXEC]: Make code unconditional.
8737 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8738 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8739 <kernel-features.h>.
8740 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8741 conditional variable definition.
8742 (shm_open) [O_CLOEXEC]: Make code unconditional.
8743 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8746 * configure.ac (USE_REGPARMS): Don't define here.
8747 * configure: Regenerated.
8748 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8749 * sysdeps/i386/configure: Regenerated.
8751 * nptl/createthread.c: Don't include kernel-features.h.
8752 * nptl/pthread_cancel.c: Likewise.
8753 * nptl/pthread_condattr_setclock.c: Likewise.
8754 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8755 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8756 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8757 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8758 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8759 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8760 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8761 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8762 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8763 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8764 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8765 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8766 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8767 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8768 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8769 * nscd/gai.c: Likewise.
8770 * nss/nss_db/db-open.c: Likewise.
8771 * sysdeps/generic/ldsodefs.h: Likewise.
8772 * sysdeps/sh/nptl/tls.h: Likewise.
8773 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8774 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8775 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8776 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8777 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8778 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8779 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8780 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8782 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8783 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8784 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8785 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8786 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8787 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8788 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8789 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8790 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8791 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8792 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8793 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8794 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8795 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8796 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8797 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8798 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8799 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8800 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8801 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8802 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8803 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8804 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8805 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8806 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8807 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8808 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8809 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8810 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8811 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8812 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8813 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8814 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8815 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8816 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8817 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8818 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8819 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8820 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8821 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8822 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8823 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8824 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8825 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8826 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8827 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8828 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8829 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8830 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8853 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8854 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8855 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8856 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8857 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8858 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8859 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8860 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8861 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8862 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8863 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8864 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8865 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8866 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8867 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8868 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8869 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8870 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8871 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8872 * sysdeps/unix/sysv/linux/system.c: Likewise.
8873 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8874 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8875 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8876 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8877 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8878 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8879 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8881 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8882 * configure: Regenerated.
8883 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8885 * configure.ac (base_machine): Do not set specially for particular
8887 * configure: Regenerated.
8888 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8889 settings from configure.ac.
8890 * sysdeps/i386/preconfigure: New file.
8891 * sysdeps/s390/preconfigure: Likewise.
8892 * sysdeps/sh/preconfigure: Likewise.
8893 * sysdeps/sparc/preconfigure: Likewise.
8895 2014-06-25 Roland McGrath <roland@hack.frob.com>
8897 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8898 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8899 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8900 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8901 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8902 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8903 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8904 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8905 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8906 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8907 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8908 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8909 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8910 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8911 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8912 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8913 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8914 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8915 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8917 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8918 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8919 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8920 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8921 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8922 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8923 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8924 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8925 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8926 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8927 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8928 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8929 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8930 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8931 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8932 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8933 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8934 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8935 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8936 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8937 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8938 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8940 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8941 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8942 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8943 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8944 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8945 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8946 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8947 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8948 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8949 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8950 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8951 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8952 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8953 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8954 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8957 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8959 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8962 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8965 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8967 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8970 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8972 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8974 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8976 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8979 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8982 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8984 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8987 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8989 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8991 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8993 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8995 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8998 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9001 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9003 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9006 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9008 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9015 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9018 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9020 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9023 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9025 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9027 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9029 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9031 * timezone/checktab.awk: Update from tzcode 2014e.
9032 * timezone/private.h: Likewise.
9033 * timezone/tzfile.h: Likewise.
9034 * timezone/zdump.c: Likewise.
9035 * timezone/zic.c: Likewise.
9037 * sysdeps/unix/sysv/linux/kernel-features.h
9038 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9040 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9041 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9042 Remove conditional code.
9044 2014-06-25 Will Newton <will.newton@linaro.org>
9046 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9047 (_dl_arm_cap_flags): Add HWCAP2 values.
9048 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9049 (_DL_HWCAP_COUNT): Increase to 37.
9050 (_DL_HWCAP_LAST): New define.
9051 (_DL_HWCAP2_LAST): New define.
9052 (_dl_procinfo): Add support for printing
9054 (_dl_string_hwcap): Use _dl_hwcap_string.
9056 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9060 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9062 * README: Do not mention ports directory.
9064 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9066 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9067 <kernel-features.h>.
9068 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9069 conditional variable definition.
9070 (__futimes): Update comment.
9071 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9072 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9075 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9076 arguments close to 0.
9077 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9079 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9081 * math/auto-libm-test-in: Add more tests of exp10.
9082 * math/auto-libm-test-out: Regenerated.
9083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9085 * sysdeps/unix/sysv/linux/kernel-features.h
9086 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9087 * sysdeps/unix/sysv/linux/readv.c: Do not include
9088 <kernel-features.h>.
9089 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9090 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9091 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9093 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9095 * sysdeps/unix/sysv/linux/writev.c: Do not include
9096 <kernel-features.h>.
9097 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9098 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9099 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9101 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9104 2014-06-25 Will Newton <will.newton@linaro.org>
9106 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9107 comment changes throughout the file. Remove checks
9108 for HAVE_*_H definitions that are not required.
9109 (__gen_tempname): Call abort if an unknown kind value is
9112 2014-06-25 Andreas Schwab <schwab@suse.de>
9115 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9116 scalbln, scalblnf, scalblnl in libc.
9118 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9121 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9122 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9123 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9125 2014-06-24 Roland McGrath <roland@hack.frob.com>
9127 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9128 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9129 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9130 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9132 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9133 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9135 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9136 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9137 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9138 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9139 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9140 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9141 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9142 * sysdeps/x86/bits/semaphore.h: ... here.
9143 * sysdeps/x86/nptl/elide.h: Moved ...
9144 * sysdeps/x86/elide.h: ... here.
9145 * sysdeps/x86_64/nptl/Implies: File removed.
9146 * sysdeps/i386/nptl/Implies: File removed.
9148 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9151 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9152 return the argument for normal arguments with exponent below -64.
9153 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9155 * math/auto-libm-test-in: Add another test of expm1.
9156 * math/auto-libm-test-out: Regenerated.
9159 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9160 calling __erfcl for arguments at least 16.
9161 * math/auto-libm-test-in: Add more tests of erf.
9162 * math/auto-libm-test-out: Regenerated.
9164 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9165 individual architectures.
9166 * sysdeps/unix/sysv/linux/configure: Regenerated.
9167 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9168 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9169 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9170 (ldd_rewrite_script): Define variable.
9171 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9176 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9177 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9178 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9179 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9180 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9181 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9182 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9183 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9185 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9188 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9189 Rename member __data.d to __data.__elision_data.
9191 2014-06-24 Wilco <wdijkstr@arm.com>
9193 * NEWS: Add 16918 to fixed bug list.
9195 2014-06-24 Wilco <wdijkstr@arm.com>
9197 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9199 2014-06-24 Wilco <wdijkstr@arm.com>
9201 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9202 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9203 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9204 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9205 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9206 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9207 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9210 2014-06-24 Wilco <wdijkstr@arm.com>
9212 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9214 2014-06-24 Wilco <wdijkstr@arm.com>
9216 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9217 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9218 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9219 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9221 2014-06-24 Wilco <wdijkstr@arm.com>
9224 * sysdeps/arm/feupdateenv.c (feupdateenv):
9225 Rewrite to reduce FPSCR accesses and fix return value.
9227 2014-06-24 Wilco <wdijkstr@arm.com>
9229 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9230 Optimize to avoid unnecessary FPSCR writes.
9231 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9232 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9233 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9234 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9236 2014-06-24 Wilco <wdijkstr@arm.com>
9238 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9239 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9240 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9241 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9242 Call libc_fetestexcept_vfp.
9243 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9244 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9245 __SOFTFP__ ifdef so that they can be built for softfp.
9247 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9249 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9250 argument type signed char.
9252 * Makerules (check-abi): Dump diff of symlist if the test
9255 2014-06-23 Roland McGrath <roland@hack.frob.com>
9257 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9260 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9261 Remove unused variable ST.
9263 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9267 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9268 small arguments before calling __expm1.
9269 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9270 small arguments before calling __expm1f.
9271 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9272 small arguments before calling __expm1l.
9273 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9275 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9276 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9277 spurious underflow for some cosh tests.
9278 * math/auto-libm-test-out: Regenerated.
9279 * sysdeps/i386/fpu/libm-test-ulps: Update.
9282 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9283 (__ieee754_y1): Set errno if return value overflows.
9284 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9285 (__ieee754_y1f): Set errno if return value overflows.
9286 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9287 (__ieee754_y1l): Set errno if return value overflows.
9288 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9289 (__ieee754_y1l): Set errno if return value overflows.
9290 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9291 * math/auto-libm-test-out: Regenerated.
9293 * math/gen-auto-libm-tests.c: Document use of
9294 ignore-zero-inf-sign.
9295 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9296 (input_flags): Add ignore-zero-inf-sign.
9297 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9298 * math/gen-libm-test.pl (generate_testfile): Handle
9299 ignore-zero-inf-sign.
9300 * math/auto-libm-test-in: Mark some cpow tests with
9301 ignore-zero-inf-sign and some with xfail-rounding.
9302 * math/auto-libm-test-out: Regenerated.
9303 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9304 * sysdeps/i386/fpu/libm-test-ulps: Update.
9305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9308 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9309 overflowing or underflowing operations take place with sign of
9311 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9312 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9313 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9314 (__ieee754_pow): Recompute overflowing and underflowing results in
9315 original rounding mode.
9316 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9317 (__powl_helper): Allow negative argument X and scale negated value
9318 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9319 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9320 overflowing or underflowing operations take place with sign of
9322 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9324 * math/auto-libm-test-in: Add more tests of pow.
9325 * math/auto-libm-test-out: Regenerated.
9326 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9327 (pow_tonearest_test_data): Remove.
9328 (pow_test_tonearest): Likewise.
9329 (pow_towardzero_test_data): Likewise.
9330 (pow_test_towardzero): Likewise.
9331 (pow_downward_test_data): Likewise.
9332 (pow_test_downward): Likewise.
9333 (pow_upward_test_data): Likewise.
9334 (pow_test_upward): Likewise.
9335 (main): Don't call removed functions.
9336 * sysdeps/i386/fpu/libm-test-ulps: Update.
9337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9339 2014-06-23 Roland McGrath <roland@hack.frob.com>
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9515 2014-06-23 Will Newton <will.newton@linaro.org>
9516 Wilco <wdijkstr@arm.com>
9518 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9519 implementation. Include get-rounding-mode.h.
9520 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9521 [!libc_feholdsetround_noex_ctx]: Define
9522 libc_feholdsetround_noex_ctx.
9523 [!libc_feholdsetround_noexf_ctx]: Define
9524 libc_feholdsetround_noexf_ctx.
9525 [!libc_feholdsetround_noexl_ctx]: Define
9526 libc_feholdsetround_noexl_ctx.
9527 (libc_feholdsetround_ctx): New function.
9528 (libc_feresetround_ctx): New function.
9529 (libc_feholdsetround_noex_ctx): New function.
9530 (libc_feresetround_noex_ctx): New function.
9532 2014-06-23 Roland McGrath <roland@hack.frob.com>
9534 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9535 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9536 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9537 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9538 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9539 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9541 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9542 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9543 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9544 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9545 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9546 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9547 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9548 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9549 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9550 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9553 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9556 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9557 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9558 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9561 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9562 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9563 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9564 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9565 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9566 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9567 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9568 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9570 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9573 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9574 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9575 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9576 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9578 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9579 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9580 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9581 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9582 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9583 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9584 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9585 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9586 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9589 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9591 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9592 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9593 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9594 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9595 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9596 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9598 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9600 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9602 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9603 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9605 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9612 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9614 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9616 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9618 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9619 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9620 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9621 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9623 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9625 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9627 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9628 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9629 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9630 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9631 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9633 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9635 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9647 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9650 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9651 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9652 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9653 (IPV6_PMTUDISC_INTERFACE): Likewise.
9654 (IPV6_PMTUDISC_OMIT): Likewise.
9656 2014-06-23 Andreas Schwab <schwab@suse.de>
9658 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9659 Remove unused errout label.
9661 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9663 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9664 macro: hardware supports Vector Crypto instructions.
9666 2014-06-23 Will Newton <will.newton@linaro.org>
9668 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9669 rather than __builtin_expect.
9671 * elf/dl-lookup.c (undefined_msg): Remove variable.
9672 (_dl_lookup_symbol_x): Replace undefined_msg with string
9675 * elf/dl-lookup.c (do_lookup_unique): New function.
9676 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9677 to a separate function.
9679 2014-06-23 Andreas Schwab <schwab@suse.de>
9682 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9683 before reading the next line.
9685 2014-06-23 Will Newton <will.newton@linaro.org>
9687 * test-skeleton.c (signal_handler): Use printf and %m
9688 rather than perror. Use printf rather than fprintf to
9689 stderr. Use puts rather than fputs to stderr.
9692 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9694 * nscd/nscd.c (thread_info_t): Remove typedef.
9695 (thread_info): Remove variable.
9697 2014-06-21 Allan McRae <allan@archlinux.org>
9699 * NEWS: Mention CVE-2014-4043.
9701 2014-06-20 Roland McGrath <roland@hack.frob.com>
9703 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9704 * nptl/smp.h: ... here.
9706 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9708 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9709 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9710 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9711 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9713 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9714 * nptl/stack-aliasing.h: New file.
9715 * sysdeps/i386/i686/stack-aliasing.h: New file.
9716 * sysdeps/i386/i686/nptl/Makefile: File removed.
9717 * sysdeps/x86_64/stack-aliasing.h: New file.
9718 * sysdeps/x86_64/nptl/Makefile
9719 (CFLAGS-pthread_create.c): Variable removed.
9721 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9722 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9724 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9725 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9728 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9730 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9731 (__ASSUME_SIGFRAME_V2): Remove macro.
9732 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9733 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9734 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9735 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9736 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9737 Declare as function. Remove conditional macro definitions.
9738 (__default_rt_sa_restorer): Likewise.
9739 (__default_sa_restorer_v1): Remove declaration.
9740 (__default_sa_restorer_v2): Likewise.
9741 (__default_rt_sa_restorer_v1): Likewise.
9742 (__default_rt_sa_restorer_v2): Likewise.
9743 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9744 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9745 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9747 2014-06-20 Roland McGrath <roland@hack.frob.com>
9749 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9750 (libpthread-routines): Add sysdep.
9751 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9752 * sysdeps/unix/sysv/linux/sparc/Versions
9753 (libpthread: GLIBC_2.3.3): New version set.
9754 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9755 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9756 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9757 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9758 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9759 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9761 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9762 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9763 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9764 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9765 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9766 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9767 * sysdeps/sparc/nptl/sem_init.c: ... here.
9768 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9769 * sysdeps/sparc/nptl/sem_post.c: ... here.
9770 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9771 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9772 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9773 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9774 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9775 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9776 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9777 (libpthread-routines): Add cpu_relax.
9778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9780 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9781 (librt: GLIBC_2.3.3): New version set.
9782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9783 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9784 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9785 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9788 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9791 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9793 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9795 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9797 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9799 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9802 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9806 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9814 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9818 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9822 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9825 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9829 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9833 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9836 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9838 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9840 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9842 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9844 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9845 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9846 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9847 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9848 * nscd/nscd.c: Likewise.
9849 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9850 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9851 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9852 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9854 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9855 <kernel-features.h>.
9856 (init_mq_netlink): Remove conditional have_sock_cloexec
9857 definitions. Remove code conditional on have_sock_cloexec < 0.
9858 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9859 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9860 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9861 <kernel-features.h>.
9862 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9863 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9865 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9868 Add tests for memset_chk and memset.
9870 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9873 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9876 * elf/tst-dl-iter-static.c: New file.
9877 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9879 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9882 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9884 * sysdeps/unix/sysv/linux/kernel-features.h
9885 (__ASSUME_F_GETOWN_EX): Remove macro.
9886 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9887 <kernel-features.h>.
9888 (miss_F_GETOWN_EX): Remove variable or macro.
9889 (do_fcntl): Do not check miss_F_GETOWN_EX.
9890 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9895 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9896 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9898 * sysdeps/unix/sysv/linux/kernel-features.h
9899 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9900 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9901 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9902 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9904 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9907 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9908 Fix calculation of the symbol's value.
9909 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9910 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9911 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9912 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9913 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9914 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9915 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9916 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9917 (modules-names): Add `tst-armtlsdescmod',
9918 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9919 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9920 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9921 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9922 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9923 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9924 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9925 ($(objpfx)tst-armtlsdescloc): New dependency.
9926 ($(objpfx)tst-armtlsdescextnow): Likewise.
9927 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9928 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9930 * sysdeps/arm/configure: Regenerate.
9932 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9934 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9935 (__atfct_seterrno_2): Likewise.
9936 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9937 <kernel-features.h>.
9938 (__ASSUME_ATFCTS): Do not undefine and redefine.
9939 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9940 (__have_atfcts): Remove conditional definition.
9941 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9942 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9943 unreachable if [__ASSUME_ATFCTS].
9944 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9945 not undefine and redefine.
9946 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9947 <kernel-features.h>.
9948 (faccessat) [__NR_faccessat]: Make code unconditional.
9949 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9950 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9951 <kernel-features.h>.
9952 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9953 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9954 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9955 <kernel-features.h>.
9956 (fchownat) [__NR_fchownat]: Make code unconditional.
9957 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9958 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9959 <kernel-features.h>.
9960 (futimesat) [__NR_futimesat]: Make code unconditional.
9961 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9962 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9963 <kernel-features.h>.
9964 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9965 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9966 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9967 <kernel-features.h>.
9968 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9969 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9970 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9971 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9972 <kernel-features.h>.
9973 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9974 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9975 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9976 <kernel-features.h>.
9977 (linkat) [__NR_linkat]: Make code unconditional.
9978 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9979 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9980 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9981 <kernel-features.h>.
9982 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9983 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9984 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9985 <kernel-features.h>.
9986 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9987 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9988 * sysdeps/unix/sysv/linux/openat.c: Do not include
9989 <kernel-features.h>.
9990 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9991 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9992 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9993 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9994 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9995 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9996 <kernel-features.h>.
9997 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9998 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9999 result of INLINE_SYSCALL directly, not via int variable.
10000 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10001 <kernel-features.h>.
10002 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10003 (renameat) [__NR_renameat]: Make code unconditional.
10004 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10005 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10006 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10007 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10008 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10009 (__ASSUME_ATFCTS): Do not undefine and redefine.
10010 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10011 <kernel-features.h>.
10012 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10013 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10014 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10015 <kernel-features.h>.
10016 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10017 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10018 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10019 (__ASSUME_ATFCTS): Do not undefine and redefine.
10020 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10021 <kernel-features.h>.
10022 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10023 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10024 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10025 <kernel-features.h>.
10026 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10027 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10029 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10031 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10033 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10036 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10037 constructed tree before returning error.
10038 * posix/bug-regexp36.c: Expand test case.
10040 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10043 * math/libm-test.inc (scalbln_test_date):
10044 Add errno expectations.
10045 * math/w_scalblnf.c: New File.
10046 Add wrapper which checks for setting errno to ERANGE.
10047 Add weak_alias for corresponding scalbln function.
10048 * math/w_scalbln.c: Likewise.
10049 * math/w_scalblnl.c: Likewise.
10050 * math/Makefile (libm-calls): Add w_scalbln.
10051 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10052 Remove weak_alias for corresponding scalbln function.
10053 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10055 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10057 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10058 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10059 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10060 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10061 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10062 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10063 Remove long_double_symbol for scalblnl function in libm, libc.
10064 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10065 Add wrapper which checks for setting errno to ERANGE.
10066 Add long_double_symbol for scalblnl function in libm, libc.
10067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10068 Remove long_double_symbol for scalblnl in libm.
10069 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10070 Add wrapper which checks for setting errno to ERANGE.
10071 Add long_double_symbol for scalblnl function in libm.
10072 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10073 Do not use wrapper because of own implementation.
10075 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10077 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10078 3 bytes for __pad1 for x32.
10079 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10081 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10082 H.J. Lu <hongjiu.lu@intel.com>
10084 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10085 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10086 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10087 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10088 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10090 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10093 * posix/regcomp.c (parse_expression): Deallocate partially
10094 constructed tree before returning error.
10095 * posix/Makefile.c (tests): Add bug-regex36.
10096 (generated): Add bug-regex36.mtrace.
10097 (tests-special): Add $(objpfx)bug-regex36-mem.out
10098 (bug-regex36-ENV): New variable.
10099 ($(objpfx)bug-regex36-mem.out): New rule.
10100 * posix/bug-regex36.c: New file.
10102 2014-06-19 Will Newton <will.newton@linaro.org>
10104 * malloc/malloc.c (systrim): If extra is zero then return
10107 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10109 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10111 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10113 * sysdeps/aarch64/strchr.S: New file.
10115 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10118 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10119 from arguments -2 or below.
10120 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10121 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10123 2014-06-18 Andreas Schwab <schwab@suse.de>
10126 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10127 of a bracket expr not to run off the end of the string.
10128 * posix/Makefile (tests): Add tst-fnmatch3.
10129 * posix/tst-fnmatch3.c: New file.
10131 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10133 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10134 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10135 [$(cross-compiling) = no]: Likewise.
10136 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10137 [$(cross-compiling) = no]: Likewise.
10139 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10142 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10143 double, adjusted for any remainder from the high double.
10144 * math/libm-test.inc (nearbyint): Add tests.
10147 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10149 * nptl/sysdeps/powerpc/Makefile: Moved ...
10150 * sysdeps/powerpc/nptl/Makefile: ... here.
10151 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10152 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10153 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10154 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10155 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10156 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10157 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10158 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10159 * nptl/sysdeps/powerpc/tls.h: Moved ...
10160 * sysdeps/powerpc/nptl/tls.h: ... here.
10162 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10165 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10166 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10167 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10168 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10169 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10170 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10171 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10172 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10173 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10175 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10177 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10179 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10181 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10184 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10187 2014-06-16 Florian Weimer <fweimer@redhat.com>
10190 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10191 non-executed part of the test.
10193 2014-06-16 Andreas Schwab <schwab@suse.de>
10195 * string/bits/string2.h (strdup, strndup): Update feature guard.
10197 2014-06-14 David S. Miller <davem@davemloft.net>
10199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10201 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10203 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10204 that was previously under [RESET_PID].
10205 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10207 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10208 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10209 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10210 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10211 (__libc_vfork): New strong alias.
10212 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10214 2014-06-14 Andi Kleen <ak@linux.intel.com>
10216 * sysdeps/generic/elide.h: New file.
10218 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10220 * Makefile (installed-headers): Adjust path of pthread.h header.
10222 2014-06-13 Roland McGrath <roland@hack.frob.com>
10224 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10225 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10226 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10227 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10229 * nptl/sysdeps/s390/Makefile: Moved ...
10230 * sysdeps/s390/nptl/Makefile: ... here.
10231 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10232 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10233 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10234 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10235 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10236 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10237 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10238 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10239 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10240 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10241 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10242 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10243 * nptl/sysdeps/s390/tls.h: Moved ...
10244 * sysdeps/s390/nptl/tls.h: ... here.
10246 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10247 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10249 2014-06-13 David S. Miller <davem@davemloft.net>
10251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10254 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10258 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10259 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10260 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10261 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10262 Remove RESET_PID cpp guards.
10263 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10264 Remove RESET_PID cpp guards.
10265 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10267 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10269 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10272 2014-06-13 Andi Kleen <ak@linux.intel.com>
10274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10275 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10276 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10277 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10279 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10280 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10281 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10282 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10283 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10284 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10285 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10286 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10287 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10288 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10289 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10290 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10291 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10292 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10293 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10295 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10296 (pthread_rwlock_rdlock): Add elision.
10297 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10298 (pthread_rwlock_wrlock): Add elision.
10299 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10300 (pthread_rwlock_trywrlock): Add elision.
10301 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10302 (pthread_rwlock_tryrdlock): Add elision.
10303 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10304 (pthread_rwlock_tryrdlock): Add elision unlock.
10305 * nptl/sysdeps/pthread/pthread.h:
10306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10307 (PTHREAD_RWLOCK_INITIALIZER,
10308 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10309 Handle new elision field.
10310 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10311 * sysdeps/arm/nptl/bits/pthreadtypes.h
10312 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10313 * sysdeps/sh/nptl/bits/pthreadtypes.h
10314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10315 * sysdeps/tile/nptl/bits/pthreadtypes.h
10316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10317 * sysdeps/a/nptl/bits/pthreadtypes.h
10318 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10319 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10321 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10323 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10324 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10325 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10327 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10329 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10331 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10333 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10335 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10336 (elision_init): Set try_xbegin to zero when no RTM.
10337 * sysdeps/x86/nptl/bits/pthreadtypes.h
10338 (pthread_rwlock_t): Change __pad1 to __rwelision.
10339 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10341 2014-06-13 Andi Kleen <ak@linux.intel.com>
10343 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10344 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10345 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10346 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10348 2014-06-13 Meador Inge <meadori@codesourcery.com>
10351 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10352 that the cached result has been set before returning it.
10354 2014-06-12 Roland McGrath <roland@hack.frob.com>
10356 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10357 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10358 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10359 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10360 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10361 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10363 * nptl/sysdeps/sparc/Makefile: Moved ...
10364 * sysdeps/sparc/nptl/Makefile: ... here.
10365 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10366 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10367 * nptl/sysdeps/sparc/tls.h: Moved ...
10368 * sysdeps/sparc/nptl/tls.h: ... here.
10369 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10370 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10371 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10372 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10373 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10374 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10375 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10376 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10377 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10378 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10379 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10380 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10381 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10382 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10383 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10384 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10385 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10386 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10388 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10389 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10391 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10392 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10394 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10395 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10398 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10400 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10401 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10403 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10404 (struct list_links): Type removed.
10405 (struct thread_node, struct timer_node): Replace struct list_links
10406 with struct list_head.
10407 (list_unlink_ip): Likewise.
10408 * sysdeps/pthread/timer_routines.c
10409 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10410 (list_append, list_insbefore): Likewise.
10411 (list_init): Function removed.
10412 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10413 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10414 * sysdeps/pthread/Makefile: ... here, new file.
10416 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10417 * sysdeps/nptl/Implies: ... here.
10418 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10419 * nptl/sysdeps/pthread/list.h: Moved ...
10420 * include/list.h: ... here.
10421 * nptl/sysdeps/pthread/createthread.c: Moved ...
10422 * nptl/createthread.c: ... here.
10423 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10424 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10425 * nptl/pt-longjmp.c: ... here.
10426 * nptl/sysdeps/pthread/Makefile: Moved ...
10427 * sysdeps/nptl/Makefile: ... here.
10428 * nptl/sysdeps/pthread/Subdirs: Moved ...
10429 * sysdeps/nptl/Subdirs: ... here.
10430 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10431 * sysdeps/nptl/aio_misc.h: ... here.
10432 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10433 * sysdeps/nptl/bits/libc-lock.h: ... here.
10434 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10435 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10436 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10437 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10438 * nptl/sysdeps/pthread/configure: Moved ...
10439 * sysdeps/nptl/configure: ... here.
10440 * nptl/sysdeps/pthread/configure.ac: Moved ...
10441 * sysdeps/nptl/configure.ac: ... here.
10442 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10443 * sysdeps/nptl/gai_misc.h: ... here.
10444 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10445 * sysdeps/nptl/librt-cancellation.c: ... here.
10446 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10447 * sysdeps/nptl/malloc-machine.h: ... here.
10448 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10449 * sysdeps/nptl/pthread-functions.h: ... here.
10450 * nptl/sysdeps/pthread/pthread.h: Moved ...
10451 * sysdeps/nptl/pthread.h: ... here.
10452 * nptl/sysdeps/pthread/setxid.h: Moved ...
10453 * sysdeps/nptl/setxid.h: ... here.
10454 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10455 * sysdeps/nptl/sigfillset.c: ... here.
10456 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10457 * sysdeps/nptl/tcb-offsets.h: ... here.
10458 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10459 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10460 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10461 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10462 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10463 * sysdeps/pthread/allocalim.h: ... here.
10464 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10465 * sysdeps/pthread/bits/sigthread.h: ... here.
10466 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10467 * sysdeps/pthread/flockfile.c: ... here.
10468 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10469 * sysdeps/pthread/ftrylockfile.c: ... here.
10470 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10471 * sysdeps/pthread/funlockfile.c: ... here.
10472 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10473 * sysdeps/pthread/posix-timer.h: ... here.
10474 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10475 * sysdeps/pthread/timer_create.c: ... here.
10476 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10477 * sysdeps/pthread/timer_delete.c: ... here.
10478 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10479 * sysdeps/pthread/timer_getoverr.c: ... here.
10480 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10481 * sysdeps/pthread/timer_gettime.c: ... here.
10482 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10483 * sysdeps/pthread/timer_routines.c: ... here.
10484 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10485 * sysdeps/pthread/timer_settime.c: ... here.
10486 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10487 * sysdeps/pthread/tst-timer.c: ... here.
10488 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10489 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10491 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10492 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10494 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10495 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10496 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10497 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10498 Update #include target.
10499 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10500 * sysdeps/i386/i686/nptl/Makefile: ... here.
10501 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10502 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10503 Update #include target.
10504 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10505 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10506 * nptl/sysdeps/i386/Makefile: Moved ...
10507 * sysdeps/i386/nptl/Makefile: ... here.
10508 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10509 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10510 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10511 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10512 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10513 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10514 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10515 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10516 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10517 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10518 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10519 * nptl/sysdeps/i386/tls.h: Moved ...
10520 * sysdeps/i386/nptl/tls.h: ... here.
10522 * sysdeps/sh/Makefile [$(subdir) = csu]
10523 (gen-as-const-headers): Add tcb-offsets.sym.
10524 * nptl/sysdeps/sh/Makefile: File removed.
10525 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10526 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10527 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10528 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10529 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10530 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10531 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10532 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10533 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10534 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10535 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10536 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10537 * nptl/sysdeps/sh/tls.h: Moved ...
10538 * sysdeps/sh/nptl/tls.h: ... here.
10539 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10540 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10541 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10542 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10543 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10544 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10545 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10546 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10547 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10548 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10549 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10550 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10551 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10552 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10553 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10554 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10555 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10556 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10557 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10558 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10559 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10560 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10561 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10562 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10563 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10565 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10568 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10569 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10570 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10572 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10573 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10574 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10575 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10576 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10577 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10578 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10579 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10580 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10582 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10583 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10584 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10585 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10586 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10588 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10590 * posix/spawn_faction_addopen.c: Include string.h.
10592 2014-06-11 Roland McGrath <roland@hack.frob.com>
10594 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10595 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10596 * nptl/sysdeps/x86_64/Makefile: Moved ...
10597 * sysdeps/x86_64/nptl/Makefile: ... here.
10598 * nptl/sysdeps/x86_64/configure: Moved ...
10599 * sysdeps/x86_64/nptl/configure: ... here.
10600 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10601 * sysdeps/x86_64/nptl/configure.ac: ... here.
10602 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10603 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10604 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10605 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10606 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10607 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10608 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10609 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10610 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10611 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10612 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10613 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10614 * nptl/sysdeps/x86_64/tls.h: Moved ...
10615 * sysdeps/x86_64/nptl/tls.h: ... here.
10616 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10617 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10618 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10619 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10621 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10623 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10627 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10629 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10631 [POSIX] (off_t): Likewise.
10632 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10633 [POSIX] (S_ISBLK): Require macro.
10634 [POSIX] (S_ISCHR): Likewise.
10635 [POSIX] (S_ISDIR): Likewise.
10636 [POSIX] (S_ISFIFO): Likewise.
10637 [POSIX] (S_ISREG): Likewise.
10638 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10640 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10642 [POSIX] (time_t): Likewise.
10643 [POSIX] (timer_t): Likewise.
10645 2014-06-11 Florian Weimer <fweimer@redhat.com>
10648 * posix/spawn_int.h (struct __spawn_action): Make the path string
10649 non-const to support deallocation.
10650 * posix/spawn_faction_addopen.c
10651 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10652 * posix/spawn_faction_destroy.c
10653 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10654 path in all spawn_do_open actions.
10655 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10656 posix_spawn_file_actions_addopen.
10658 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10660 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10661 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10662 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10663 conditional code always true.
10664 (__libc_vfork): New alias.
10666 2014-06-11 Roland McGrath <roland@hack.frob.com>
10668 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10669 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10671 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10673 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10674 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10676 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10677 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10679 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10680 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10682 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10684 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10685 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10686 multiarch strcmp for PPC64.
10687 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10688 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10690 multiarch optimizations.
10691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10692 (__libc_ifunc_impl_list): Likewise.
10694 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10696 * benchtests/scripts/validate_benchout.py: New script.
10697 * benchtests/Makefile (bench-func): Call it.
10698 * benchtests/scripts/benchout.schema.json: New file.
10700 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10702 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10703 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10704 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10705 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10706 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10707 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10708 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10709 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10710 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10711 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10712 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10713 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10714 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10715 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10716 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10717 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10822 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10823 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10824 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10827 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10830 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10831 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10832 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10833 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10834 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10836 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10838 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10839 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10840 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10841 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10843 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10844 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10846 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10847 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10848 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10851 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10852 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10853 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10854 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10855 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10856 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10857 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10859 2014-06-10 Wilco <wdijkstr@arm.com>
10861 * math/test-fenv-return.c: New file.
10862 * math/Makefile: Add new test test-fenv-return.
10864 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10867 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10868 when x - 1 is zero.
10869 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10870 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10871 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10872 0.0L for an argument of 1.0L.
10873 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10875 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10876 value when x - 1 is zero.
10877 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10878 * sysdeps/i386/fpu/libm-test-ulps: Update.
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10884 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10886 2014-06-09 Roland McGrath <roland@hack.frob.com>
10888 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10889 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10891 2014-06-09 Roland McGrath <roland@hack.frob.com>
10893 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10894 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10896 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10897 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10899 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10900 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10902 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10903 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10905 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10906 if not already defined.
10907 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10908 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10909 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10910 (TLS_INIT_TP): Use it.
10911 (TLS_DEFINE_INIT_TP): New macro.
10912 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10914 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10916 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10918 [POSIX] (IXANY): Likewise.
10919 [POSIX] (OLCUC): Likewise.
10920 [POSIX || POSIX2008] (CBAUD): Do not allow.
10921 [POSIX || POSIX2008] (DEFECHO): Likewise.
10922 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10923 [POSIX || POSIX2008] (ECHOKE): Likewise.
10924 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10925 [POSIX || POSIX2008] (EXTA): Likewise.
10926 [POSIX || POSIX2008] (EXTB): Likewise.
10927 [POSIX || POSIX2008] (FLUSHO): Likewise.
10928 [POSIX || POSIX2008] (LOBLK): Likewise.
10929 [POSIX || POSIX2008] (PENDIN): Likewise.
10930 [POSIX || POSIX2008] (SWTCH): Likewise.
10931 [POSIX || POSIX2008] (VDISCARD): Likewise.
10932 [POSIX || POSIX2008] (VDSUSP): Likewise.
10933 [POSIX || POSIX2008] (VLNEXT): Likewise.
10934 [POSIX || POSIX2008] (VREPRINT): Likewise.
10935 [POSIX || POSIX2008] (VSTATUS): Likewise.
10936 [POSIX || POSIX2008] (VWERASE): Likewise.
10937 (B*): Change to B[0123456789]*.
10938 * conform/data/time.h-data [POSIX || UNIX98]
10939 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10940 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10941 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10942 [POSIX] (tm_*): Do not allow.
10944 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10946 * Makefile (install): Don't set LANGUAGE.
10947 * Makefile.in (install): Likewise.
10948 * assert/Makefile (test-assert-ENV): Remove variable.
10949 (test-assert-perr-ENV): Likewise.
10950 * elf/Makefile (neededtest4-ENV): Likewise.
10951 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10952 [$(cross-compiling) = no]: Don't set LANGUAGE.
10953 * io/ftwtest-sh (LANG): Remove variable.
10954 * libio/Makefile (tst-widetext-ENV): Likewise.
10955 * manual/install.texi (Running make install): Don't refer to
10956 environment settings for make install.
10957 * INSTALL: Regenerated.
10958 * nptl/tst-tls6.sh: Don't set LANG.
10959 * posix/globtest.sh (LANG): Remove variable.
10960 * string/Makefile (tester-ENV): Likewise.
10961 (inl-tester-ENV): Likewise.
10962 (noinl-tester-ENV): Likewise.
10963 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10964 [$(cross-compiling) = no]: Don't set LANGUAGE.
10965 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10966 without explicit environment settings.
10968 2014-06-06 Roland McGrath <roland@hack.frob.com>
10970 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10971 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10972 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10973 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10975 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10977 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10978 other files in the crypt directory.
10979 * crypt/crypt.c: Remove duplicate includes.
10980 * crypt/crypt-entry.c: Likewise.
10981 * crypt/crypt_util.c: Likewise.
10983 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10985 * Makeconfig (run-program-env): New variable.
10986 (run-program-prefix-before-env): Likewise.
10987 (run-program-prefix-after-env): Likewise.
10988 (run-program-prefix): Define in terms of new variables.
10989 (built-program-cmd-before-env): New variable.
10990 (built-program-cmd-after-env): Likewise.
10991 (built-program-cmd): Define in terms of new variables.
10992 (test-program-prefix-before-env): New variable.
10993 (test-program-prefix-after-env): Likewise.
10994 (test-program-prefix): Define in terms of new variables.
10995 (test-program-cmd-before-env): New variable.
10996 (test-program-cmd-after-env): Likewise.
10997 (test-program-cmd): Define in terms of new variables.
10998 * Rules (make-test-out): Use $(run-program-env).
10999 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11000 (help): Do not mention environment variables. Mention
11001 --timeoutfactor option.
11002 (timeoutfactor): New variable.
11003 (blacklist_exports): Remove function.
11004 (exports): Remove variable.
11005 (command): Do not include ${exports}.
11006 * manual/install.texi (Configuring and compiling): Do not mention
11007 test wrappers preserving environment variables. Mention that last
11008 assignment to a variable must take precedence.
11009 * INSTALL: Regenerated.
11010 * benchtests/Makefile (run-bench): Use $(run-program-env).
11011 * catgets/Makefile ($(objpfx)test1.cat): Use
11012 $(built-program-cmd-before-env), $(run-program-env) and
11013 $(built-program-cmd-after-env).
11014 ($(objpfx)test2.cat): Do not specify environment variables
11016 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11017 $(run-program-env) and $(built-program-cmd-after-env).
11018 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11019 $(run-program-env) and $(test-program-cmd-after-env).
11020 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11022 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11023 run_program_env and test_program_cmd_after_env arguments.
11024 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11025 * elf/tst-pathopt.sh: Use run_program_env argument.
11026 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11027 $(test-wrapper-env) and $(run-program-env).
11028 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11029 run_program_env arguments.
11030 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11031 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11032 $(test-program-prefix-before-env), $(run-program-env) and
11033 $(test-program-prefix-after-env).
11034 ($(objpfx)tst-gettext2.out): Likewise.
11035 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11036 run_program_env and test_program_prefix_after_env arguments.
11037 * intl/tst-gettext2.sh: Likewise.
11038 * intl/tst-gettext4.sh: Do not set environment variables
11040 * intl/tst-gettext6.sh: Likewise.
11041 * intl/tst-translit.sh: Likewise.
11042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11043 $(test-program-prefix-before-env), $(run-program-env) and
11044 $(test-program-prefix-after-env).
11045 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11046 run_program_env and test_program_prefix_after_env arguments.
11047 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11048 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11049 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11050 explicitly with each use of ${test_wrapper_env}.
11051 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11052 $(test-program-prefix-before-env), $(run-program-env) and
11053 $(test-program-prefix-after-env).
11054 * posix/tst-getconf.sh: Do not set environment variables
11056 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11057 run_program_env and test_program_prefix_after_env arguments.
11058 * stdio-common/tst-printf.sh: Do not set environment variables
11060 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11061 $(test-program-prefix-before-env), $(run-program-env) and
11062 $(test-program-prefix-after-env).
11063 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11064 run_program_env and test_program_prefix_after_env arguments.
11065 Split $test calls into $test_pre and $test.
11066 * timezone/Makefile (build-testdata): Use
11067 $(built-program-cmd-before-env), $(run-program-env) and
11068 $(built-program-cmd-after-env).
11070 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11072 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11073 strlen for non SHARED builds.
11075 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11077 * nptl/allocatestack.c (check_list): Inlined function...
11078 (__reclaim_stacks): ... here.
11080 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11083 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11086 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11088 * Rules (make-test-out): Include
11089 LOCPATH=$(common-objpfx)localedata in default environment.
11090 * debug/Makefile (tst-chk1-ENV): Remove variable.
11091 (tst-chk2-ENV): Likewise.
11092 (tst-chk3-ENV): Likewise.
11093 (tst-chk4-ENV): Likewise.
11094 (tst-chk5-ENV): Likewise.
11095 (tst-chk6-ENV): Likewise.
11096 (tst-lfschk1-ENV): Likewise.
11097 (tst-lfschk2-ENV): Likewise.
11098 (tst-lfschk3-ENV): Likewise.
11099 (tst-lfschk4-ENV): Likewise.
11100 (tst-lfschk5-ENV): Likewise.
11101 (tst-lfschk6-ENV): Likewise.
11102 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11103 (tst-iconv7-ENV): Likewise.
11104 * intl/Makefile (LOCPATH-ENV): Likewise.
11105 (tst-codeset-ENV): Likewise.
11106 (tst-gettext3-ENV): Likewise.
11107 (tst-gettext5-ENV): Likewise.
11108 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11109 (tst-fopenloc-ENV): Likewise.
11110 (tst-fgetws-ENV): Remove variable.
11111 (tst-ungetwc1-ENV): Likewise.
11112 (tst-ungetwc2-ENV): Likewise.
11113 (bug-ungetwc2-ENV): Likewise.
11114 (tst-swscanf-ENV): Likewise.
11115 (bug-ftell-ENV): Likewise.
11116 (tst-fgetwc-ENV): Likewise.
11117 (tst-fseek-ENV): Likewise.
11118 (tst-ftell-partial-wide-ENV): Likewise.
11119 (tst-ftell-active-handler-ENV): Likewise.
11120 (tst-ftell-append-ENV): Likewise.
11121 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11122 (tst-regexloc-ENV): Likewise.
11123 (bug-regex1-ENV): Likewise.
11124 (tst-regex-ENV): Likewise.
11125 (tst-regex2-ENV): Likewise.
11126 (bug-regex5-ENV): Likewise.
11127 (bug-regex6-ENV): Likewise.
11128 (bug-regex17-ENV): Likewise.
11129 (bug-regex18-ENV): Likewise.
11130 (bug-regex19-ENV): Likewise.
11131 (bug-regex20-ENV): Likewise.
11132 (bug-regex22-ENV): Likewise.
11133 (bug-regex23-ENV): Likewise.
11134 (bug-regex25-ENV): Likewise.
11135 (bug-regex26-ENV): Likewise.
11136 (bug-regex30-ENV): Likewise.
11137 (bug-regex32-ENV): Likewise.
11138 (bug-regex33-ENV): Likewise.
11139 (bug-regex34-ENV): Likewise.
11140 (bug-regex35-ENV): Likewise.
11141 (tst-rxspencer-ENV): Likewise.
11142 (tst-rxspencer-no-utf8-ENV): Likewise.
11143 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11144 (tst-sscanf-ENV): Likewise.
11145 (tst-swprintf-ENV): Likewise.
11146 (tst-swscanf-ENV): Likewise.
11147 (test-vfprintf-ENV): Likewise.
11148 (scanf13-ENV): Likewise.
11149 (bug14-ENV): Likewise.
11150 (tst-grouping-ENV): Likewise.
11151 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11152 (tst-strtod3-ENV): Likewise.
11153 (tst-strtod4-ENV): Likewise.
11154 (tst-strtod5-ENV): Likewise.
11155 (testmb2-ENV): Likewise./
11156 * string/Makefile (tst-strxfrm-ENV): Likewise.
11157 (tst-strxfrm2-ENV): Likewise.
11158 (bug-strcoll1-ENV): Likewise.
11159 (test-strcasecmp-ENV): Likewise.
11160 (test-strncasecmp-ENV): Likewise.
11161 * time/Makefile (tst-strptime-ENV): Likewise.
11162 (tst-ftime_l-ENV): Likewise.
11163 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11164 (tst-mbrtowc-ENV): Likewise.
11165 (tst-wcrtomb-ENV): Likewise.
11166 (tst-mbrtowc2-ENV): Likewise.
11167 (tst-c16c32-1-ENV): Likewise.
11168 (tst-mbsnrtowcs-ENV): Likewise.
11170 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11172 * manual/resource.texi (How to get information about the memory
11173 subsystem?): Fix typo.
11174 Reported by Peon de la Parra Ivan <peon@keba.com>
11176 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11179 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11180 (pthread_spin_lock): Branch out of spin loop to proper location.
11181 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11182 (pthread_spin_lock): Likewise.
11184 * nptl/tst-spin4.c: New test.
11185 * nptl/Makefile (tests): Add tst-spin4.
11187 2014-06-03 Andreas Schwab <schwab@suse.de>
11190 * resolv/res_send.c (send_dg): Reload file descriptor after
11193 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11195 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11197 2014-06-03 Richard Henderson <rth@redhat.com>
11199 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11200 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11201 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11202 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11203 in the SAVE_PID block.
11204 (__libc_vfork): New alias.
11205 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11207 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11208 child in registers, not on the stack. Remove RESET_PID conditionals.
11209 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11211 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11213 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11215 2014-06-03 Wilco <wdijkstr@arm.com>
11217 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11218 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11219 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11220 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11221 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11224 2014-06-03 Wilco <wdijkstr@arm.com>
11226 * sysdeps/aarch64/fpu/math_private.h
11227 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11228 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11229 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11230 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11233 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11235 * crypt/crypt-private.h: Include ufc-crypt.h.
11236 (__b64_from_24bit): Declare extern.
11237 * crypt/crypt_util.c(__b64_from_24bit): New function.
11238 (b64t): New static const variable.
11239 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11240 (b64t): Remove variable.
11241 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11242 * crypt/sha256-crypt.c: Include crypt-private.h.
11243 (b64t): Remove variable.
11244 (__sha256_crypt_r): Remove b64_from_24bit and replace
11245 with __b64_from_24bit.
11246 * crypt/sha512-crypt.c: Likewise.
11248 2014-06-02 Roland McGrath <roland@hack.frob.com>
11250 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11251 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11252 Label the code __libc_vfork rather than __vfork.
11253 [!NOT_IN_libc] (vfork): Define as weak alias.
11254 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11255 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11256 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11258 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11260 * malloc/malloc.c (malloc_info): Fix format specifier for
11263 2014-06-02 Wilco <wdijkstr@arm.com>
11265 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11268 2014-06-02 Wilco <wdijkstr@arm.com>
11271 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11272 Rewrite to reduce FPCR/FPSR accesses.
11274 2014-06-01 David S. Miller <davem@davemloft.net>
11276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11278 2014-05-31 David S. Miller <davem@davemloft.net>
11280 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11281 to occur in round to nearest mode when |x| >= 2.0
11283 2014-05-30 Richard Henderson <rth@twiddle.net>
11285 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11286 (PSEUDO_RET_NOERRNO): Remove.
11287 (ret): Don't redefine.
11288 (ret_NOERRNO): Define in terms of ret.
11289 (ret_ERRVAL): Likewise.
11291 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11292 use of PSEUDO_RET; perform the error check directly.
11294 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11296 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11299 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11301 * malloc/malloc (malloc_info): Fix formatting.
11303 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11304 Roland McGrath <roland@hack.frob.com>
11306 * malloc/malloc (malloc_info): Also print mmapped statistics.
11308 2014-05-30 Roland McGrath <roland@hack.frob.com>
11310 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11311 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11313 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11315 * malloc/malloc.c (malloc_info): Inline mi_arena.
11317 2014-05-29 Richard Henderson <rth@twiddle.net>
11319 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11320 Remove comma before expanding ASM_ARGS_##nr.
11321 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11322 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11324 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11325 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11326 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11327 (ASM_ARGS_1): Add leading comma.
11329 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11330 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11331 to __errno_location.
11332 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11333 Remove the expected plt for __errno_location.
11335 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11336 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11339 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11340 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11341 it and break it down.
11342 (DOCARGS_0, DOCARGS_1): Do nothing.
11343 (DOCARGS_2): Update to store into the new stack frame.
11344 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11345 (UNDOCARGS_1): Update to restore from the new stack frame.
11346 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11347 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11349 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11350 (SINGLE_THREAD_P): New parameter for result regno.
11351 (PSEUDO): Update to match; use cbz instead of beq.
11353 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11354 Use ENTRY to define the _nocancel entry point. Share the syscall
11355 and syscall error check paths with the cancel path.
11358 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11359 whitespace; tabs before and after asm mnemonics.
11361 2014-05-29 Eric Wong <normalperson@yhbt.net>
11364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11365 Call fstat64 or stat64 internally, depending on arguments passed.
11366 Replace stat buffer argument with file descriptor argument.
11367 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11368 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11369 Pass fd to __internal_statvfs instead of calling fstat64.
11370 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11371 Pass fd to __internal_statvfs64 instead of calling fstat64.
11372 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11373 Pass -1 to __internal_statvfs instead of calling stat64.
11374 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11375 Pass -1 to __internal_statvfs64 instead of calling stat64.
11377 2014-05-28 Roland McGrath <roland@hack.frob.com>
11379 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11380 that was previously under [RESET_PID].
11381 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11383 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11384 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11386 2014-05-27 Roland McGrath <roland@hack.frob.com>
11388 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11390 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11391 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11393 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11395 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11397 2014-05-27 Andreas Schwab <schwab@suse.de>
11399 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11401 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11402 * elf/rtld.c (init_tls, dl_main): Likewise.
11403 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11404 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11405 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11406 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11407 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11408 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11409 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11410 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11411 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11412 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11413 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11414 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11415 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11416 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11417 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11418 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11419 * sysdeps/generic/tls.h: Update description.
11421 2014-05-27 Will Newton <will.newton@linaro.org>
11424 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11425 and restore r2 rather than just restoring.
11427 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11430 * libio/tst-ftell-append.c: New test case.
11431 * libio/Makefile (tests): Add test case.
11432 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11434 * libio/wfileops.c (do_ftell_wide): Likewise.
11436 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11440 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11444 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11445 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11447 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11449 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11456 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11457 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11458 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11459 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11460 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11462 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11463 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11465 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11467 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11469 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11470 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11471 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11473 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11474 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11475 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11476 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11478 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11499 conditional [RESET_PID].
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11508 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11509 (__libc_vfork): New strong alias.
11510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11517 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11518 (__libc_vfork): New strong alias.
11519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11524 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11526 * malloc/malloc.c (mi_arena): New function.
11527 (malloc_info): Remove nested function mi_arena. Call non-nosted
11530 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11532 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11534 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11535 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11536 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11537 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11538 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11539 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11540 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11542 2014-05-26 Andreas Schwab <schwab@suse.de>
11545 * locale/programs/repertoire.c (repertoire_read): Add slash
11546 between I18NPATH element and file name.
11547 * locale/programs/locfile.c (locfile_read): Likewise.
11549 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11551 * nptl/pthread_mutexattr_settype.c
11552 (__pthread_mutexattr_settype):
11553 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11555 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11557 * nptl/tst-mutex5 (do_test):
11558 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11560 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11562 * benchtests/README: Document 'init' directive.
11563 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11565 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11566 (parse_file): Recognize 'init' directive.
11568 2014-05-26 Kyle McMartin <kyle@redhat.com>
11571 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11572 alignment of struct pthread.
11574 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11577 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11578 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11579 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11580 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11582 2014-05-25 Richard Henderson <rth@twiddle.net>
11584 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11585 (SINGLE_THREAD_P_PIC): Remove.
11586 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11587 (SINGLE_THREAD_P_PIC): Remove.
11589 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11590 branch to syscall error ...
11591 (PSEUDO): ... here.
11592 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11593 from __local_syscall_error to .Lsyscall_error.
11594 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11595 (SYSCALL_ERROR): Update label name.
11597 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11598 Do not use DOARGS/UNDOARGS.
11599 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11600 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11601 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11602 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11603 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11605 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11608 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11609 define if !NOT_IN_libc.
11610 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11611 define with non-default symbol versions.
11613 2014-05-23 Richard Henderson <rth@twiddle.net>
11615 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11616 (vfork, __vfork): Define via compat_symbol.
11618 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11619 [!HAVE_IFUNC] (vfork_compat): Remove.
11620 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11622 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11625 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11626 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11629 2014-05-23 Richard Henderson <rth@twiddle.net>
11631 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11632 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11633 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11634 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11636 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11637 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11638 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11639 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11640 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11641 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11642 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11643 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11644 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11645 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11646 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11647 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11648 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11649 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11650 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11651 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11653 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11654 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11655 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11656 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11657 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11659 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11660 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11661 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11663 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11667 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11668 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11669 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11671 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11672 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11673 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11674 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11675 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11676 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11677 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11678 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11679 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11680 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11681 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11682 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11683 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11684 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11685 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11686 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11687 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11688 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11689 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11690 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11691 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11693 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11694 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11695 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11696 before exiting on error.
11697 (__libc_vfork): New strong alias.
11698 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11699 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11701 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11702 that was previously under [RESET_PID].
11703 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11705 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11707 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11710 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11711 value when x - 1 is zero.
11712 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11713 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11714 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11715 0.0L for an argument of 1.0L.
11716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11718 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11719 value when x - 1 is zero.
11720 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11721 * sysdeps/i386/fpu/libm-test-ulps: Update.
11722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11724 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11726 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11727 alphasort and versionsort.
11729 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11731 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11733 [copysignf]: Likewise.
11735 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11737 * crypt/md5-crypt.c: Fix formatting.
11739 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11741 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11742 (b64_from_24bit): New function.
11744 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11746 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11747 libc_hidden_builtin_def to ifunc.
11748 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11749 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11751 2014-05-21 Roland McGrath <roland@hack.frob.com>
11753 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11754 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11756 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11758 * nscd/Depend (linuxthreads): Remove.
11760 * resolv/Depend (linuxthreads): Remove.
11761 * rt/Depend (linuxthreads): Remove.
11763 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11764 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11765 $(common-objpfx)elf/.
11766 (link-libc-before-gnulib): Likewise.
11767 (elfobjdir): Remove variable.
11768 * Makefile (install): Use $(elf-objpfx) instead of
11769 $(common-objpfx)elf/.
11770 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11772 (link-libc-deps): Likewise.
11773 ($(common-objpfx)libc.so): Likewise.
11774 ($(common-objpfx)linkobj/libc.so): Likewise.
11775 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11776 instead of $(common-objpfx)elf/.
11777 (symbolic-link-list): Likewise.
11778 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11779 [$(cross-compiling) = no]: Likewise.
11780 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11782 (static-gnulib-arch): Likewise.
11783 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11784 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11785 $(common-objpfx)elf/.
11787 2014-05-21 Richard Henderson <rth@redhat.com>
11789 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11790 (SINGLE_THREAD_P): Use the correct width load. Fold
11791 into the ldr offset.
11793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11794 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11796 2014-05-20 Joseph Myers <joseph@codesourcery.com>
11798 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11799 (libgcc_s_resume): Use __attribute_used__.
11800 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11803 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11805 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11806 optimization when used with float constants.
11808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11810 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11813 * locale/nl_langinfo_l.c: Make direct reference to every
11814 _nl_current_CATEGORY symbol.
11815 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11816 (tests-static): Add tst-langinfo-static.
11817 (tests-special): Add tst-langinfo-static.out.
11818 ($(objpfx)tst-langinfo.out): Redirect output.
11819 ($(objpfx)tst-langinfo-static.out): New.
11820 * localedata/tst-langinfo.sh: Send output to stdout.
11821 * localedata/tst-langinfo-static.c: New file.
11824 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11825 when the shift amount is modulo the limb size.
11827 2014-05-20 Richard Henderson <rth@redhat.com>
11830 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11831 Change type of sa_flags from unsigned int to int.
11834 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11836 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11838 2014-05-20 Will Newton <will.newton@linaro.org>
11840 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11841 Test the return value of the system call in the nocancel case.
11843 2014-05-20 Will Newton <will.newton@linaro.org>
11844 Yvan Roux <yvan.roux@linaro.org>
11846 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11847 #include of asm/ptrace.h.
11848 (PTRACE_GET_THREAD_AREA): Remove #undef.
11849 (PTRACE_GETHBPREGS): Likewise.
11850 (PTRACE_SETHBPREGS): Likewise.
11851 (struct user_regs_struct): New structure.
11852 (struct user_fpsimd_struct): New structure.
11853 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11854 #include of asm/ptrace.h and second #include of sys/user.h.
11855 (PTRACE_GET_THREAD_AREA): Remove #undef.
11856 (PTRACE_GETHBPREGS): Likewise.
11857 (PTRACE_SETHBPREGS): Likewise.
11858 (ELF_NGREG): Use new struct user_regs_struct.
11859 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11861 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11864 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11866 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11870 membar to avoid block loads/stores to overlap previous stores.
11872 2014-05-17 Richard Henderson <rth@redhat.com>
11874 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11875 Create the __##syscall_name##_nocancel entry point.
11876 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11877 Remove; let the sysdep-cancel.h code create it.
11879 2014-05-17 David S. Miller <davem@davemloft.net>
11881 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11882 Protect with __USE_GNU.
11883 (TIOCSET_TEMPT): Likewise.
11884 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11885 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11886 these are already provided in bits/ioctl-types.h
11888 2014-05-16 Roland McGrath <roland@hack.frob.com>
11890 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11891 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11893 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11894 Use wait4 regardless of [__NR_waitpid].
11896 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11899 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11900 (_FP_NANSIGN_Q): Set the quiet bit.
11902 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11904 * benchtests/Makefile
11905 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11906 not $(common-objpfx)math/libm.so.
11907 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11908 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11909 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11910 $(common-objpfx)dlfcn/libdl.so.
11911 ($(objpfx)tst-audit8): Depend on $(libm), not
11912 $(common-objpfx)math/libm.so.
11913 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11914 not $(common-objpfx)dlfcn/libdl.so.
11916 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11917 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11918 [$(build-shared) = yes].
11919 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11920 $(common-objpfx)nptl/libpthread.so.
11921 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11922 $(common-objpfx)math/libm.so$(libm.so-version) or
11923 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11924 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11925 $(common-objpfx)dlfcn/libdl.so.
11926 * setjmp/Makefile (link-libm): Remove variable.
11927 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11928 * stdio-common/Makefile (link-libm): Remove variable.
11929 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11930 * stdlib/Makefile (link-libm): Remove variable.
11931 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11932 ($(objpfx)tst-strtod-round): Likewise.
11933 ($(objpfx)tst-tininess): Likewise.
11934 ($(objpfx)tst-strtod-underflow): Likewise.
11935 ($(objpfx)tst-strtod6): Likewise.
11936 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11937 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11938 $(common-objpfx)dlfcn/libdl.so.
11940 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11942 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11943 BSD terminal modes definitions.
11945 2014-05-16 Roland McGrath <roland@hack.frob.com>
11947 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11948 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11950 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11951 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11952 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11953 Don't do #include_next.
11954 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11955 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11956 Don't do #include_next.
11957 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11958 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11959 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11960 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11962 2014-05-16 Allan McRae <allan@archlinux.org>
11964 * po/sv.po: Update Swedish translation from translation project.
11966 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11969 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11972 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11973 errno if the TIOCGPTN ioctl fails with an error different than
11975 * login/tst-ptsname.c: New file.
11976 * login/Makefile (tests): Add tst-ptsname.
11979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11982 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11986 herrno to return EAI_AGAIN.
11988 2014-05-14 Roland McGrath <roland@hack.frob.com>
11990 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11991 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11992 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11993 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11994 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11995 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11996 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11997 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11999 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12000 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12001 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12002 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12003 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12004 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12005 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12006 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12007 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12008 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12009 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12010 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12011 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12012 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12013 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12014 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12015 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12016 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12017 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12019 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12021 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12023 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12026 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12028 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12030 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12032 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12034 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12036 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12038 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12040 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12042 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12044 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12046 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12048 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12050 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12052 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12055 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12057 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12059 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12061 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12063 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12065 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12067 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12069 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12071 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12073 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12076 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12078 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12080 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12081 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12082 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12083 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12084 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12085 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12086 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12087 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12088 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12089 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12090 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12091 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12092 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12093 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12094 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12095 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12096 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12097 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12098 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12099 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12100 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12101 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12102 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12103 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12104 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12105 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12106 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12107 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12108 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12109 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12110 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12112 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12113 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12115 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12116 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12117 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12118 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12119 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12120 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12122 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12123 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12125 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12126 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12128 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12129 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12131 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12132 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12133 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12136 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12137 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12138 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12140 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12141 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12142 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12143 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12145 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12146 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12148 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12150 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12151 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12152 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12153 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12158 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12160 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12161 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12162 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12163 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12164 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12165 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12167 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12168 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12170 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12171 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12173 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12174 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12176 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12177 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12178 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12181 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12182 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12183 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12185 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12186 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12187 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12188 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12190 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12191 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12193 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12195 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12196 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12198 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12203 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12205 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12206 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12207 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12208 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12209 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12210 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12211 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12212 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12213 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12214 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12216 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12217 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12219 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12220 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12222 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12223 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12225 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12226 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12227 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12228 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12229 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12232 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12233 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12234 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12236 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12237 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12238 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12241 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12244 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12246 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12247 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12248 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12249 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12250 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12252 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12256 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12257 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12258 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12259 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12260 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12261 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12262 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12263 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12264 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12265 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12266 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12268 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12269 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12271 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12272 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12274 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12275 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12276 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12277 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12278 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12279 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12280 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12281 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12282 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12283 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12284 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12285 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12286 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12287 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12288 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12289 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12290 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12293 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12294 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12295 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12296 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12298 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12299 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12300 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12301 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12302 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12303 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12304 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12305 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12307 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12308 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12312 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12313 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12314 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12316 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12318 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12320 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12322 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12324 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12326 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12328 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12329 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12330 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12331 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12332 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12334 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12335 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12336 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12337 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12338 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12339 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12340 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12341 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12342 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12343 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12346 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12348 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12349 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12351 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12352 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12353 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12354 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12355 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12356 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12357 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12358 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12359 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12360 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12361 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12368 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12370 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12382 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12383 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12385 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12387 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12388 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12389 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12390 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12391 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12392 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12393 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12394 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12395 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12396 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12398 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12399 that was previously under [RESET_PID].
12400 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12401 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12402 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12404 * sysdeps/i386/nptl/Implies: New file.
12405 * sysdeps/x86_64/nptl/Implies: New file.
12406 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12407 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12409 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12411 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12412 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12413 (__libc_vfork): New strong alias.
12414 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12415 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12417 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12418 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12419 (__libc_vfork): New strong alias.
12420 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12421 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12423 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12424 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12425 (__libc_vfork): New strong alias.
12426 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12427 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12428 * nptl/pt-vfork.c: New file.
12429 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12430 (libpthread: GLIBC_2.20): New version set (empty).
12432 2014-05-14 Will Newton <will.newton@linaro.org>
12434 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12437 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12440 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12441 arguments with exponent 65 or above.
12442 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12443 arguments 0x1p113L or above.
12444 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12445 to arguments 0x1p107L or above.
12446 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12447 positive arguments with exponent 65 or above.
12448 * math/auto-libm-test-in: Add more tests of log1p.
12449 * math/auto-libm-test-out: Regenerated.
12452 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12453 non-finite arguments is +0.
12454 * math/s_cacosf.c (__cacosf): Likewise.
12455 * math/s_cacosl.c (__cacosl): Likewise.
12456 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12457 * sysdeps/i386/fpu/libm-test-ulps: Update.
12458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12461 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12463 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12464 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12465 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12466 for explicit high bit of mantissa when testing for argument equal
12468 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12469 * sysdeps/i386/fpu/libm-test-ulps: Update.
12470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12473 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12474 (__erf): Scale by 16 instead of 8 in potentially underflowing
12475 case. Ensure exception if result actually underflows.
12476 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12477 (__erff): Scale by 16 instead of 8 in potentially underflowing
12478 case. Ensure exception if result actually underflows.
12479 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12480 (efx8): Remove variable.
12481 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12482 case. Ensure exception if result actually underflows.
12483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12484 (efx8): Remove variable.
12485 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12486 case. Ensure exception if result actually underflows.
12487 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12488 (efx8): Remove variable.
12489 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12490 case. Ensure exception if result actually underflows.
12491 * math/auto-libm-test-in: Add more tests of erf.
12492 * math/auto-libm-test-out: Regenerated.
12494 2014-05-14 Andreas Schwab <schwab@suse.de>
12496 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12497 Remove code conditionalized on USE___THREAD.
12499 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12500 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12503 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12505 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12506 Define unconditionally.
12507 (__ASSUME_O_CLOEXEC): Likewise.
12508 (__ASSUME_SOCK_CLOEXEC): Likewise.
12509 (__ASSUME_IN_NONBLOCK): Likewise.
12510 (__ASSUME_PIPE2): Likewise.
12511 (__ASSUME_EVENTFD2): Likewise.
12512 (__ASSUME_SIGNALFD4): Likewise.
12513 (__ASSUME_DUP3): Likewise.
12514 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12515 (__ASSUME_DUP3): Do not define.
12516 (__ASSUME_EVENTFD2): Likewise.
12517 (__ASSUME_IN_NONBLOCK): Likewise.
12518 (__ASSUME_O_CLOEXEC): Likewise.
12519 (__ASSUME_PIPE2): Likewise.
12520 (__ASSUME_SIGNALFD4): Likewise.
12521 (__ASSUME_SOCK_CLOEXEC): Likewise.
12522 (__ASSUME_UTIMES): Undefine.
12523 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12524 (__ASSUME_UTIMES): Do not define.
12525 (__ASSUME_O_CLOEXEC): Likewise.
12526 (__ASSUME_SOCK_CLOEXEC): Likewise.
12527 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12528 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12530 (__ASSUME_PIPE2): Likewise.
12531 (__ASSUME_EVENTFD2): Likewise.
12532 (__ASSUME_SIGNALFD4): Likewise.
12533 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12534 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12536 (__ASSUME_EVENTFD2): Likewise.
12537 (__ASSUME_SIGNALFD4): Likewise.
12538 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12539 (__ASSUME_32BITUIDS): Likewise.
12540 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12541 (__ASSUME_IPC64): Likewise.
12542 (__ASSUME_ST_INO_64_BIT): Likewise.
12543 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12544 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12545 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12546 (__ASSUME_UTIMES): Do not define.
12547 (__ASSUME_PSELECT): Likewise.
12548 (__ASSUME_PPOLL): Likewise.
12549 (__ASSUME_O_CLOEXEC): Likewise.
12550 (__ASSUME_SOCK_CLOEXEC): Likewise.
12551 (__ASSUME_IN_NONBLOCK): Likewise.
12552 (__ASSUME_PIPE2): Likewise.
12553 (__ASSUME_EVENTFD2): Likewise.
12554 (__ASSUME_SIGNALFD4): Likewise.
12555 (__ASSUME_DUP3): Likewise.
12556 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12557 (__ASSUME_UTIMES): Likewise.
12558 (__ASSUME_O_CLOEXEC): Likewise.
12559 (__ASSUME_SOCK_CLOEXEC): Likewise.
12560 (__ASSUME_IN_NONBLOCK): Likewise.
12561 (__ASSUME_PIPE2): Likewise.
12562 (__ASSUME_EVENTFD2): Likewise.
12563 (__ASSUME_SIGNALFD4): Likewise.
12564 (__ASSUME_DUP3): Likewise.
12565 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12566 (__ASSUME_UTIMES): Likewise.
12567 (__ASSUME_O_CLOEXEC): Likewise.
12568 (__ASSUME_SOCK_CLOEXEC): Likewise.
12569 (__ASSUME_IN_NONBLOCK): Likewise.
12570 (__ASSUME_PIPE2): Likewise.
12571 (__ASSUME_EVENTFD2): Likewise.
12572 (__ASSUME_SIGNALFD4): Likewise.
12573 (__ASSUME_DUP3): Likewise.
12574 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12576 (__ASSUME_UTIMES): Likewise.
12577 (__ASSUME_EVENTFD2): Likewise.
12578 (__ASSUME_SIGNALFD4): Likewise.
12579 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12580 (__ASSUME_O_CLOEXEC): Likewise.
12581 (__ASSUME_SOCK_CLOEXEC): Likewise.
12582 (__ASSUME_IN_NONBLOCK): Likewise.
12583 (__ASSUME_PIPE2): Likewise.
12584 (__ASSUME_EVENTFD2): Likewise.
12585 (__ASSUME_SIGNALFD4): Likewise.
12586 (__ASSUME_DUP3): Likewise.
12587 (__ASSUME_UTIMES): Undefine.
12589 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12590 feclearexcept. Remove symbol versioning code.
12591 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12592 symbol versioning code.
12593 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12594 symbol versioning code.
12595 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12596 feupdateenv. Remove symbol versioning code.
12597 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12598 fegetexceptflag. Remove symbol versioning code.
12599 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12600 fesetexceptflag. Remove symbol versioning code.
12601 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12602 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12603 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12604 (__posix_fadvise64_l32): Remove prototype.
12605 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12608 2014-05-13 Roland McGrath <roland@hack.frob.com>
12610 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12611 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12612 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12613 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12615 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12617 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12618 current working directory
12620 2014-05-13 Roland McGrath <roland@hack.frob.com>
12622 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12623 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12624 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12625 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12626 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12627 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12628 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12629 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12630 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12631 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12632 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12633 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12634 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12635 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12636 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12637 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12638 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12639 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12640 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12641 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12642 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12643 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12644 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12645 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12646 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12647 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12648 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12649 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12650 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12651 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12652 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12653 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12654 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12655 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12656 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12657 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12658 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12659 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12660 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12661 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12662 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12663 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12665 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12666 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12668 * sysdeps/unix/sysv/linux/arm/Makefile
12669 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12670 Add rt-aeabi_unwind_cpp_pr1.
12671 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12672 Add nptl-aeabi_unwind_cpp_pr1.
12673 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12674 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12675 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12676 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12677 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12678 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12680 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12681 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12682 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12683 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12685 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12686 Deconditionalize the code that was previously under [RESET_PID].
12687 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12689 * sysdeps/generic/exit-thread.h: New file.
12690 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12691 * include/unistd.h (__exit_thread): Remove declaration.
12692 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12693 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12694 * csu/libc-start.c: Include <exit-thread.h>.
12695 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12696 * nptl/pthread_create.c: Include <exit-thread.h>.
12697 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12698 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12699 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12700 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12701 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12702 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12703 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12704 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12705 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12706 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12707 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12708 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12709 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12710 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12711 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12712 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12713 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12715 2014-05-13 Andreas Schwab <schwab@suse.de>
12717 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12719 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12721 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12722 (__ASSUME_UTIMES): Do not condition on kernel version.
12723 (__ASSUME_PSELECT): Define unconditionally.
12724 (__ASSUME_PPOLL): Likewise.
12725 (__ASSUME_ATFCTS): Likewise.
12726 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12727 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12728 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12729 (__ASSUME_UTIMENSAT): Define unconditionally.
12730 (__ASSUME_PRIVATE_FUTEX): Likewise.
12731 (__ASSUME_FALLOCATE): Likewise.
12732 (__ASSUME_O_CLOEXEC): Likewise.
12733 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12734 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12735 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12736 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12737 (__ASSUME_IN_NONBLOCK): Likewise.
12738 (__ASSUME_PIPE2): Likewise.
12739 (__ASSUME_EVENTFD2): Likewise.
12740 (__ASSUME_SIGNALFD4): Likewise.
12741 (__ASSUME_DUP3): Likewise.
12742 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12743 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12744 (__ASSUME_AT_RANDOM): Likewise.
12745 (__ASSUME_PREADV): Likewise.
12746 (__ASSUME_PWRITEV): Likewise.
12747 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12748 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12749 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12750 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12751 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12752 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12753 (__ASSUME_O_CLOEXEC): Define unconditionally.
12754 (__ASSUME_PSELECT): Do not undefine conditionally.
12755 (__ASSUME_PPOLL): Likewise.
12756 (__ASSUME_ATFCTS): Likewise.
12757 (__ASSUME_SET_ROBUST_LIST): Likewise.
12758 (__ASSUME_UTIMENSAT): Likewise.
12759 (__ASSUME_FDATASYNC): Define unconditionally.
12760 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12761 (__ASSUME_SIGFRAME_V2): Likewise.
12762 )__ASSUME_EVENTFD2): Likewise.
12763 (__ASSUME_SIGNALFD4): Likewise.
12764 (__ASSUME_PSELECT): Do not undefine conditionally.
12765 (__ASSUME_PPOLL): Likewise.
12766 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12767 (__ASSUME_PSELECT): Define unconditionally.
12768 (__ASSUME_PPOLL): Likewise.
12769 (__ASSUME_O_CLOEXEC): Likewise.
12770 (__ASSUME_SOCK_CLOEXEC): Likewise.
12771 (__ASSUME_IN_NONBLOCK): Likewise.
12772 (__ASSUME_PIPE2): Likewise.
12773 (__ASSUME_EVENTFD2): Likewise.
12774 (__ASSUME_SIGNALFD4): Likewise.
12775 (__ASSUME_DUP3): Likewise.
12776 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12777 (__ASSUME_O_CLOEXEC): Likewise.
12778 (__ASSUME_SOCK_CLOEXEC): Likewise.
12779 (__ASSUME_IN_NONBLOCK): Likewise.
12780 (__ASSUME_PIPE2): Likewise.
12781 (__ASSUME_EVENTFD2): Likewise.
12782 (__ASSUME_SIGNALFD4): Likewise.
12783 (__ASSUME_DUP3): Likewise.
12784 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12785 (__ASSUME_EVENTFD2): Likewise.
12786 (__ASSUME_SIGNALFD4): Likewise.
12787 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12789 2014-05-12 Andreas Schwab <schwab@suse.de>
12792 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12793 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12794 than maximum RPC packet size.
12795 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12796 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12797 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12798 (_nss_nis_getservbyport_r): Likewise.
12800 2014-05-12 Will Newton <will.newton@linaro.org>
12802 * malloc/Makefile (tests): Add tst-mallopt.
12803 * malloc/tst-mallopt.c: New file.
12805 2014-05-09 Roland McGrath <roland@hack.frob.com>
12807 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12808 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12810 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12812 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12813 (tst-tlsmod6.so): Likewise.
12815 2014-05-09 Roland McGrath <roland@hack.frob.com>
12817 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12819 2014-05-09 Joseph Myers <joseph@codesourcery.com>
12822 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12823 and <dl-procinfo.h>.
12824 (__fegetenv): Save SSE state in envp->__eip if supported.
12825 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12826 envp->__eip if supported.
12827 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12828 and <dl-procinfo.h>.
12829 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12830 __data_offset and __data_selector in environment to 0. Set SSE
12831 state if supported.
12832 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12834 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12836 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12838 2014-05-09 Will Newton <will.newton@linaro.org>
12840 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12841 and libc_relro_required for ARM.
12842 * sysdeps/arm/preconfigure: Regenerate.
12844 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12845 Stefan Liebler <stli@linux.vnet.ibm.com>
12847 * config.make.in (enable-lock-elision): New Makefile variable.
12848 * configure.ac: Likewise.
12849 * configure: Regenerate.
12850 * sysdeps/s390/configure.ac:
12851 Add check for gcc transactions support.
12852 * sysdeps/s390/configure: Regenerate.
12853 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12854 Build elision files if enabled.
12855 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12856 Add lock elision support for s390.
12857 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12858 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12859 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12860 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12861 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12862 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12863 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12865 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12867 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12869 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12871 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12872 (__lll_timedlock_elision, __lll_lock_elision)
12873 (__lll_unlock_elision, __lll_trylock_elision)
12874 (lll_timedlock_elision, lll_lock_elision)
12875 (lll_unlock_elision, lll_trylock_elision): Add.
12876 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12877 (pthread_mutex_t): Add lock elision support for s390.
12879 2014-05-14 Wilco <wdijkstr@arm.com>
12881 * sysdeps/arm/fclrexcpt.c: Cleanup.
12882 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12883 * sysdeps/arm/feenablxcpt.c: Cleanup.
12884 * sysdeps/arm/fegetenv.c: Cleanup.
12885 * sysdeps/arm/fegetexcept.c: Cleanup.
12886 * sysdeps/arm/fegetround.c: Cleanup.
12887 * sysdeps/arm/feholdexcpt.c: Cleanup.
12888 * sysdeps/arm/fesetenv.c: Cleanup.
12889 * sysdeps/arm/fesetround.c: Cleanup.
12890 * sysdeps/arm/feupdateenv.c: Cleanup.
12891 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12892 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12893 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12894 * sysdeps/arm/ftestexcept.c: Cleanup.
12895 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12896 * sysdeps/arm/setfpucw.c: Cleanup.
12898 2014-05-09 Will Newton <will.newton@linaro.org>
12900 * sysdeps/arm/armv7/strcmp.S: New file.
12901 * NEWS: Mention addition of ARMv7 optimized strcmp.
12903 2014-05-08 Roland McGrath <roland@hack.frob.com>
12905 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12906 look for %.ac rather than %.in.
12908 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12909 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12910 * sysdeps/mach/hurd/configure: Regenerated.
12911 * sysdeps/unix/sysv/linux/configure: Regenerated.
12913 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12915 2014-05-07 Steve Ellcey <sellcey@mips.com>
12918 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12922 2014-05-07 Andreas Schwab <schwab@suse.de>
12924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12925 when skipping over non-matching result from nscd.
12927 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12930 * nptl/sockperf.c (client): Check socket return value.
12933 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12934 nscd security class.
12936 2014-05-06 Roland McGrath <roland@hack.frob.com>
12938 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12939 * sysdeps/arm/unwind.h: ... here.
12941 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12944 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12947 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12949 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12950 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12951 multiarch strncpy for PPC64.
12952 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12953 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12955 multiarch optimizations.
12956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12957 (__libc_ifunc_impl_list): Likewise.
12958 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12959 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12960 multiarch stpncpy for PPC64.
12961 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12962 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12964 2014-05-06 Andreas Schwab <schwab@suse.de>
12967 * gmon/mcount.c (_MCOUNT_DECL): Use
12968 atomic_compare_and_exchange_bool_acq instead of
12969 catomic_compare_and_exchange_bool_acq.
12971 2014-05-05 Roland McGrath <roland@hack.frob.com>
12973 * elf/Makefile (others, install-bin): Remove pldd.
12974 (pldd-modules): Variable removed.
12975 ($(objpfx)pldd): Target removed.
12976 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12977 (others, install-bin): Append pldd here.
12978 ($(objpfx)pldd): New target.
12980 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12981 to 0, so the first #if test emitted later doesn't see it undefined.
12982 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12983 * sysdeps/gnu/errlist.c: Regenerated.
12985 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12988 [libc_hidden_builtin_def]: Define to empty value.
12989 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12990 [libc_hidden_builtin_def]: Likewise.
12991 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12992 [libc_hidden_builtin_def]: Likewise.
12993 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12994 [libc_hidden_builtin_def]: Likewise.
12995 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12996 __redirect_memcpy and define ifunc as default hidden symbol.
12997 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12998 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13000 2014-05-04 Adam Conrad <adconrad@0c3.net>
13002 * locale/iso-4217.def: Reintroduce XDR currency.
13004 2014-05-04 Allan McRae <allan@archlinux.org>
13006 * po/eo.po: Update Esperanto translation from translation project.
13008 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13010 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13011 and FEATURE_INDEX_MAX to 1.
13012 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13014 2014-05-01 Steve Ellcey <sellcey@mips.com>
13016 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13017 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13018 * iconvdata/big5.c (ONE_DIRECTION): Define.
13019 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13020 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13021 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13022 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13023 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13024 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13025 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13026 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13027 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13028 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13029 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13030 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13031 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13032 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13033 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13034 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13035 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13036 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13037 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13038 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13039 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13040 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13041 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13042 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13043 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13044 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13045 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13046 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13047 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13048 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13049 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13050 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13051 * iconvdata/johab.c (ONE_DIRECTION): Define.
13052 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13053 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13054 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13055 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13056 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13057 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13058 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13059 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13060 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13061 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13063 2014-05-01 Roland McGrath <roland@hack.frob.com>
13065 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13066 (_IO_JUMPS_OFFSET): Define to 0.
13068 * nptl/sysdeps/pthread/bits/libc-lock.h
13069 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13070 (__libc_lock_define_initialized_recursive): Always define using
13071 initializer. Modern compilers treat uninitialized (implicit zero) and
13072 explicit zero initializers the same (i.e. put the datum in bss).
13074 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13076 * nscd/nscd-client.h: Include <string.h>.
13078 2014-05-01 David S. Miller <davem@davemloft.net>
13081 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13082 multiple zero bytes exist at the end of a string.
13083 Reported by Aurelien Jarno <aurelien@aurel32.net>
13085 * string/test-strcmp.c (check): Add explicit test for situations where
13086 there are multiple zero bytes after the first.
13088 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13091 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13092 when compiling wprintf.
13093 * stdio-common/tstdiomisc.c (t3): New function.
13096 2014-05-01 Steve Ellcey <sellcey@mips.com>
13098 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13099 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13100 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13101 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13103 2014-05-01 Steve Ellcey <sellcey@mips.com>
13105 * stdlib/longlong.h: Updated from GCC.
13107 2014-05-01 Will Newton <will.newton@linaro.org>
13108 Bernard Ogden <bernie.ogden@linaro.org>
13110 * NEWS: Update fixed bug list.
13113 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13115 2014-04-30 David S. Miller <davem@davemloft.net>
13117 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13118 (libc_feholdexcept_setround_sparc_ctx): New function.
13119 (libc_fesetenv_sparc_ctx): Likewise.
13120 (libc_feupdateenv_sparc_ctx): Likewise.
13121 (libc_feholdsetround_sparc_ctx): Likewise.
13122 (libc_feholdexcept_setround_ctx): Define.
13123 (libc_feholdexcept_setroundf_ctx): Likewise.
13124 (libc_feholdexcept_setroundl_ctx): Likewise.
13125 (libc_fesetenv_ctx): Likewise.
13126 (libc_fesetenvf_ctx): Likewise.
13127 (libc_fesetenvl_ctx): Likewise.
13128 (libc_feupdateenv_ctx): Likewise.
13129 (libc_feupdateenvf_ctx): Likewise.
13130 (libc_feupdateenvl_ctx): Likewise.
13131 (libc_feresetround_ctx): Likewise.
13132 (libc_feresetroundf_ctx): Likewise.
13133 (libc_feresetroundl_ctx): Likewise.
13134 (libc_feholdsetround_ctx): Likewise.
13135 (libc_feholdsetroundf_ctx): Likewise.
13136 (libc_feholdsetroundl_ctx): Likewise.
13138 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13139 with __USE_GNU instead of XOPEN cpp guards.
13141 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13144 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13145 with XOPEN cpp guards.
13147 2014-04-30 Julian Brown <julian@codesourcery.com>
13150 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13153 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13156 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13158 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13159 * sysdeps/unix/sysv/linux/configure: Regenerated.
13160 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13161 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13162 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13163 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13164 * README: Update reference to required Linux kernel version.
13165 * manual/install.texi (Linux): Update reference to required Linux
13166 kernel headers version.
13167 * INSTALL: Regenerated.
13169 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13171 [POSIX] (limits.h): Likewise.
13172 [POSIX] (math.h): Likewise.
13173 [POSIX] (sys/wait.h): Likewise.
13174 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13176 [POSIX] (stddef.h): Do not allow header inclusion.
13178 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13180 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13182 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13184 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13185 Return immediately after lll_futex_wake.
13187 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13190 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13192 (datahead_init_pos): Call datahead_init_common early.
13193 (datahead_init_neg): Likewise.
13195 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13196 datahead_init_neg): New functions.
13197 * nscd/aicache.c (addhstaiX): Use them.
13198 * nscd/grpcache.c (cache_addgr): Likewise.
13199 * nscd/hstcache.c (cache_addhst): Likewise.
13200 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13201 * nscd/netgroupcache.c (do_notfound): Likewise.
13202 (addgetnetgrentX): Likewise.
13203 (addinnetgrX): Likewise.
13204 * nscd/pwdcache.c (cache_addpw): Likewise.
13205 * nscd/servicescache.c (cache_addserv): Likewise.
13207 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13208 Atsushi Onoe <atsushi@onoe.org>
13213 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13214 one response is valid.
13215 * resolv/res_send.c (send_dg): Check for validity of other
13216 response if the current response is a referral.
13218 2014-04-29 Steve Ellcey <sellcey@mips.com>
13220 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13222 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13225 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13226 Always divide by positive zero when computing -Inf result.
13227 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13228 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13230 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13232 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13233 FPSCR if value do not change.
13234 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13235 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13236 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13237 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13238 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13239 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13242 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13244 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13245 * sysdeps/unix/sysv/linux/hppa: Move directory from
13246 ports/systeps/unix/sysv/linux/hppa.
13247 * README: Update listing for hppa-*-linux-gnu.
13249 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13252 * manual/stdio.texi (Hook functions): Fix types of stream hook
13255 * socket/sys/socket.h: Fix typo in comment.
13257 2014-04-28 Wilco <wdijkstr@arm.com>
13259 * sysdeps/arm/fenv_private.h: New file.
13260 * sysdeps/arm/math_private.h: New file.
13261 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13263 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13265 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13267 (La_x86_64_retval): Likewise.
13269 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13271 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13272 fpsr if value didn't change.
13273 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13274 to fpcr if value didn't change.
13275 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13276 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13277 fpsr or fpcr if value didn't change.
13278 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13279 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13280 fpcr if value didn't change.
13281 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13282 to fpsr if value didn't change.
13284 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13286 * nptl/tst-sem3.c: Use test-skeleton.c
13287 (main): Rename to do_test. Use return instead of
13289 * nptl/tst-sem4.c: Use test-skeleton.c
13290 (main): Rename to do_test.
13292 2014-04-22 David S. Miller <davem@davemloft.net>
13294 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13295 (struct sigaction): New struct member __glibc_reserved0, change
13296 type of sa_flags to int.
13298 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13300 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13301 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13303 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13305 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13306 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13308 2014-04-22 Will Newton <will.newton@linaro.org>
13309 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13311 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13312 (__longjmp): Add longjmp and longjmp_target SystemTap
13314 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13315 (__sigsetjmp): Add setjmp SystemTap probe.
13317 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13319 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13320 match manual order.
13322 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13324 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13326 * sysdeps/powerpc/fpu/fenv_private.h
13327 (libc_feholdexcept_setroundl_ctx): Define to
13328 libc_feholdexcept_setround_ppc_ctx.
13329 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13330 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13331 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13332 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13334 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13336 * sysdeps/aarch64/math-tests.h: New file.
13338 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13340 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13343 Check and set bit_AVX2_Usable.
13344 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13346 (bit_AVX2): Likewise.
13347 (index_AVX2_Usable): Likewise.
13348 (CPUID_AVX2): Likewise.
13349 (HAS_AVX2): Likewise.
13351 2014-04-17 Will Newton <will.newton@linaro.org>
13353 * manual/setjmp.texi (System V contexts): Add note that
13354 calling setcontext on a context created by a call to a
13355 signal handler is undefined. Update text to note that
13356 setcontext from a signal handler is possible but not
13360 * stdlib/tst-setcontext.c: Include signal.h.
13361 (main): Check that the signal stack before and
13362 after swapcontext is the same.
13364 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13365 Re-implement to restore registers in user code and avoid
13366 rt_sigreturn system call.
13368 2014-04-17 Wilco <wdijkstr@arm.com>
13370 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13371 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13372 * math/test-fenv.c: Skip exception trap tests on targets which only
13373 support non-stop mode.
13375 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13376 Wilco Dijkstra <wilco.dijkstra@arm.com>
13378 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13379 (libc_feholdsetround_aarch64_ctx)
13380 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13381 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13382 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13383 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13384 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13385 (libc_feresetround_noexl_ctx): Define.
13387 2014-04-16 Richard Henderson <rth@redhat.com>
13389 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13391 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13394 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13395 const from the non-libc, non-ldso copy.
13397 * sysdeps/alpha/libm-test-ulps: Regenerate.
13399 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13400 Wilco Dijkstra <wilco.dijkstra@arm.com>
13402 * sysdeps/aarch64/fpu/math_private.h: New file.
13404 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13406 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13408 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13411 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13412 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13414 Intel MPX bound registers before _dl_profile_fixup.
13415 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13416 registers after _dl_profile_fixup. Save and restore bound
13417 registers bnd0/bnd1 when calling _dl_call_pltexit.
13418 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13419 (LR_BND_OFFSET): Likewise.
13420 (LRV_BND0_OFFSET): Likewise.
13421 (LRV_BND1_OFFSET): Likewise.
13423 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13425 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13427 * sysdeps/mach/hurd/i386/tls.h: ... here.
13428 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13429 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13432 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13434 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13436 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13438 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13440 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13443 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13444 * sysdeps/s390/configure: Regenerate.
13447 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13448 Set round-to-nearest internally to reduce error accumulation.
13450 2014-04-16 Alan Modra <amodra@gmail.com>
13454 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13455 * math/libm-test.inc (frexp_test_data): Add tests.
13456 * NEWS: Update fixed bug list.
13458 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13460 * benchtests/Makefile: Depend on libraries in build directory.
13461 (bench-math): Separate out math tests.
13462 (bench-pthread): Separate out pthread tests.
13463 (bench): Include math and pthread tests.
13465 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13468 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13469 _dl_debug_initialize.
13471 * configure.ac: Remove SELinux header check.
13472 * configure: Regenerate.
13473 * nscd/selinux.c (perms): Array of const char* to permission names.
13474 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13475 default policy. Call string_to_security_class and string_to_av_perm to
13476 translate strings. Enforce default policy and call avs_has_perm with
13477 results of translated strings.
13479 2014-04-13 David S. Miller <davem@davemloft.net>
13481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13483 2014-04-12 Allan McRae <allan@archlinux.org>
13486 * manual/string.texi (Collation Functions): Fix qsort argument
13488 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13490 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13492 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13493 Make the test a no-op if there are no exceptions defined.
13495 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13497 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13498 enable-hardcoded-path-in-tests
13500 2014-04-11 Will Newton <will.newton@linaro.org>
13502 * benchtests/Makefile (extra-objs): Add json-lib.o.
13503 (bench-func): Tidy up JSON output.
13504 * benchtests/bench-skeleton.c: Include json-lib.h.
13505 (main): Use JSON library functions to do output of
13507 * benchtests/bench-timing-type.c (main): Output the
13508 timing type simply, leaving formatting to the user.
13509 * benchtests/json-lib.c: New file.
13510 * benchtests/json-lib.h: Likewise.
13512 2014-04-11 Torvald Riegel <triegel@redhat.com>
13515 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13516 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13517 memory barriers. Add comments.
13518 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13519 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13520 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13521 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13522 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13523 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13525 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13527 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13528 * sysdeps/s390/s390-64/configure.ac: ... this ...
13529 * sysdeps/s390/configure.ac: ... to here.
13530 * sysdeps/s390/s390-32/configure: Delete file.
13531 * sysdeps/s390/s390-64/configure: Delete file.
13532 * sysdeps/s390/configure: Regenerate.
13534 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13536 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13538 2014-04-11 Will Newton <will.newton@linaro.org>
13540 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13541 to zero if it is not defined elsewhere. (mtrim): Test
13542 the value of MALLOC_DEBUG with #if rather than #ifdef.
13544 2014-04-10 Torvald Riegel <triegel@redhat.com>
13546 * benchtests/pthread_once-inputs: New file.
13547 * benchtests/pthread_once-source.c: New file.
13548 * benchtests/README: Update documentation.
13550 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13551 H.J. Lu <hongjiu.lu@intel.com>
13554 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13555 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13556 * sysdeps/x86_64/configure: Regenerated.
13557 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13559 (REGISTER_SAVE_RAX): Likewise.
13560 (REGISTER_SAVE_RCX): Likewise.
13561 (REGISTER_SAVE_RDX): Likewise.
13562 (REGISTER_SAVE_RSI): Likewise.
13563 (REGISTER_SAVE_RDI): Likewise.
13564 (REGISTER_SAVE_R8): Likewise.
13565 (REGISTER_SAVE_R9): Likewise.
13566 (REGISTER_SAVE_BND0): Likewise.
13567 (REGISTER_SAVE_BND1): Likewise.
13568 (REGISTER_SAVE_BND2): Likewise.
13569 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13570 bound registers when calling _dl_fixup.
13572 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13574 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13575 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13577 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13578 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13579 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13580 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13581 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13582 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13583 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13585 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13588 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13589 pathconf(_PC_NAME_MAX).
13591 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13593 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13594 Remove macro usage.
13595 (__PTHREAD_SPINS): Move definition to ...
13596 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13597 (__PTHREAD_SPINS): ... here.
13598 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13599 (__PTHREAD_SPIN): Likewise.
13600 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13601 (__PTHREAD_SPIN): Likewise.
13602 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13603 (__PTHREAD_SPIN): Likewise.
13604 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13605 (__PTHREAD_SPIN): Likewise.
13606 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13607 (__PTHREAD_SPIN): Likewise.
13608 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13609 (__PTHREAD_SPIN): Likewise.
13610 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13611 (__PTHREAD_SPIN): Likewise.
13612 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13613 (__PTHREAD_SPIN): Likewise.
13614 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13615 (__PTHREAD_SPIN): Likewise.
13616 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13617 (__PTHREAD_SPIN): Likewise.
13618 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13619 (__PTHREAD_SPIN): Likewise.
13620 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13621 (__PTHREAD_SPIN): Likewise.
13623 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13624 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13625 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13626 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13628 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13629 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13630 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13631 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13632 correct imply path.
13633 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13634 strlen symbol for non multi-arch builds.
13635 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13636 missing hidden_def and weak_alias.
13638 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13640 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13642 2014-04-07 Will Newton <will.newton@linaro.org>
13644 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13645 and contents. [!_LIBC] Remove #ifndef and contents.
13646 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13647 * string/memccpy.c (__memccpy): Use ANSI prototype.
13648 * string/memfrob.c (memfrob): Likewise.
13649 * string/strcoll.c (STRCOLL): Likewise.
13650 * string/strlen.c (strlen): Likewise.
13651 * string/strtok.c (STRTOK): Likewise.
13652 * string/strcat.c: Remove unused #include of memcopy.h.
13653 (strcat): Use ANSI prototype.
13654 * string/strchr.c: Remove unused #include of memcopy.h.
13655 (strchr): Use ANSI prototype.
13656 * string/strcmp.c: Remove unused #include of memcopy.h.
13657 (strcmp): Use ANSI prototype.
13658 * string/strcpy.c: Remove unused #include of memcopy.h.
13659 (strcpy): Use ANSI prototype.
13661 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13663 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13664 * config.make.in (config-extra-cppflags): Set it from
13665 libc_extra_cppflags.
13666 * configure.ac (libc_extra_cflags): Make it accumulate over
13667 configure fragments.
13668 (libc_extra_cppflags): New flag.
13669 * configure. Regenerate.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13671 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13672 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13677 result for FE_DOWNWARD rounding mode.
13678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13682 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13684 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13685 in function argument name.
13687 2014-04-03 David Svoboda <svoboda@cert.org>
13690 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13693 2014-04-03 Roland McGrath <roland@hack.frob.com>
13695 * elf/dl-unmap-segments.h: New file.
13696 * sysdeps/generic/ldsodefs.h
13697 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13698 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13699 * elf/dl-fptr.c: Likewise.
13700 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13701 * sysdeps/aarch64/tlsdesc.c: Likewise.
13702 * sysdeps/arm/tlsdesc.c: Likewise.
13703 * sysdeps/i386/tlsdesc.c: Likewise.
13704 * sysdeps/tile/dl-runtime.c: Likewise.
13705 * sysdeps/x86_64/tlsdesc.c: Likewise.
13706 * elf/dl-load.h: New file.
13707 * elf/dl-load.c: Include it.
13708 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13709 Macros moved to dl-load.h.
13710 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13711 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13712 Use _dl_unmap_segments in place of __munmap.
13713 Break out segment-mapping loop into ...
13714 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13716 2014-04-03 Will Newton <will.newton@linaro.org>
13718 * elf/dl-lookup.c (do_lookup_x): Remove comment
13719 referring to nested function and move variable
13720 declarations down to before first use.
13722 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13726 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13728 * math/s_catanf.c (__catanf): Likewise.
13729 * math/s_catanh.c (__catanh): Likewise.
13730 * math/s_catanhf.c (__catanhf): Likewise.
13731 * math/s_catanhl.c (__catanhl): Likewise.
13732 * math/s_catanl.c (__catanl): Likewise.
13733 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13734 by positive zero when computing -Inf result.
13735 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13736 (catanh_test): Likewise.
13737 * sysdeps/i386/fpu/libm-test-ulps: Update.
13738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13741 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13742 instead of using underflowing value in computing result.
13743 * math/s_clog10.c (__clog10): Likewise.
13744 * math/s_clog10f.c (__clog10f): Likewise.
13745 * math/s_clog10l.c (__clog10l): Likewise.
13746 * math/s_clogf.c (__clogf): Likewise.
13747 * math/s_clogl.c (__clogl): Likewise.
13748 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13749 (clog10_test): Likewise.
13750 * sysdeps/i386/fpu/libm-test-ulps: Update.
13751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13753 2014-04-02 Alan Modra <amodra@gmail.com>
13756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13757 output when value is near a power of two. Use int64_t for lx and
13758 remove casts. Use decimal rather than hex exponent constants.
13759 Don't use long double multiplication when double will suffice.
13760 * math/libm-test.inc (nextafter_test_data): Add tests.
13761 * NEWS: Add 16739 and 16786 to bug list.
13763 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13765 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13767 2014-04-01 Will Newton <will.newton@linaro.org>
13769 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13770 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13772 2014-04-01 Florian Weimer <fweimer@redhat.com>
13775 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13776 * nptl/tst-setuid2.c: New file.
13777 * nptl/Makefile (xtests): Add tst-setuid2.
13779 2014-04-01 Alan Modra <amodra@gmail.com>
13782 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13784 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13788 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13789 set errno as appropriate.
13790 * math/w_scalbf.c (__scalbf): Likewise.
13791 * math/w_scalbl.c (__scalbl): Likewise.
13792 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13793 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13794 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13795 Add more NaN tests.
13798 * math/w_atan2.c: Include <errno.h>.
13799 (__atan2): Set errno for result underflowing to zero.
13800 * math/w_atan2f.c: Include <errno.h>.
13801 (__atan2f): Set errno for result underflowing to zero.
13802 * math/w_atan2l.c: Include <errno.h>.
13803 (__atan2l): Set errno for result underflowing to zero.
13804 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13806 * math/auto-libm-test-out: Regenerated.
13808 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13810 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13811 Encode instruction correctly in little endian.
13812 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13814 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13816 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13818 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13821 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13824 * sysdeps/unix/sysv/linux/kernel-features.h
13825 [__sparc__ && !__arch64__ && !__sparc_v9__]
13826 (__ASSUME_SET_ROBUST_LIST): Do not define.
13827 [__sparc__ && !__arch64__ && !__sparc_v9__]
13828 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13829 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13831 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13832 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13833 (__ASSUME_REQUEUE_PI): Likewise.
13834 (__ASSUME_SET_ROBUST_LIST): Likewise.
13835 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13836 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13839 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13841 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13843 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13845 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13846 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13848 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13849 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13854 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13855 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13857 2014-03-31 Will Newton <will.newton@linaro.org>
13859 * benchtests/Makefile (bench): Add ffs and ffsll to list
13861 * benchtests/ffs-inputs: New file.
13862 * benchtests/ffsll-inputs: Likewise.
13864 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13867 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13868 too large before casting to int.
13869 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13870 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13871 * math/libm-test.inc (scalb_test_data): Add more tests.
13873 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13875 * benchtests/Makefile (DETAILED_OPT): New make option.
13876 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13878 * benchtests/bench-skeleton.c: Include stdbool.h.
13879 (main): Store and print timings per input.
13880 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13881 member to each argument value.
13882 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13883 (_print_arg_data): Initialize per-input timing to 0.
13885 * benchtests/Makefile (timing-type): New binary.
13886 (bench-clean): Also remove bench-timing-type.
13887 (bench): New target for timing-type.
13888 (bench-func): Print output in JSON format.
13889 * benchtests/bench-skeleton.c (main): Print output in JSON
13891 * benchtests/bench-timing-type.c: New file.
13892 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13893 (TIMING_PRINT_STATS): Remove.
13894 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13897 * benchtests/bench-modf.c: Remove.
13898 * benchtests/modf-inputs: New inputs file.
13900 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13903 * math/s_clog10.c (M_PI_LOG10E): New macro.
13904 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13905 imaginary parts are 0.
13906 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13907 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13908 imaginary parts are 0.
13909 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13910 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13911 imaginary parts are 0.
13912 * math/libm-test.inc (clog10_test_data): Update expected results
13913 for when real and imaginary parts are 0.
13915 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13917 * elf/dl-load.c: Finish conversion of __builtin_expect into
13918 __glibc_{un}likely.
13920 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13923 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13924 1+x for argument with exponent below -67.
13925 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13927 * math/auto-libm-test-in: Add more tests of exp.
13928 * math/auto-libm-test-out: Regenerated.
13930 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13933 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13934 (nscd_getnetgrent): Use it.
13937 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13940 2014-03-27 Andi Kleen <ak@linux.intel.com>
13942 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13943 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13944 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13945 (lll_robust_unlock): Remove out of line section. Use cfi
13947 (LLL_STUB_UNWIND_INFO*): Remove.
13948 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13949 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13950 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13951 (lll_robust_unlock): Remove out of line section. Use cfi
13953 (LLL_STUB_UNWIND_INFO*): Remove.
13955 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13958 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13961 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13963 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13965 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13968 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13970 * math/test-fenv-preserve.c: New file.
13971 * math/Makefile (tests): Add test-fenv-preserve.
13973 2014-03-26 Will Newton <will.newton@linaro.org>
13975 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13977 2014-03-25 Roland McGrath <roland@hack.frob.com>
13979 * scripts/versionlist.awk: Partition the version sets and emit all
13980 GLIBC_* (sorted) before all others (sorted).
13982 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13984 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13985 GLIBC_2.2.5 version.
13987 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13989 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13992 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13997 2014-03-25 Andreas Schwab <schwab@suse.de>
13999 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14000 label to be used after in6ailist is initialized.
14002 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14004 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14005 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14007 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14011 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14013 (fp_formats): Update initializers.
14014 (init_fp_formats): Initialize new field.
14015 (output_for_one_input_case): Allow underflow for results up to
14017 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14018 * math/auto-libm-test-in: Don't mark some underflows from asin and
14020 * math/auto-libm-test-out: Regenerated.
14021 * sysdeps/i386/fpu/libm-test-ulps: Update.
14022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024 2014-03-25 Andreas Schwab <schwab@suse.de>
14026 * libio/Makefile (tst-ftell-partial-wide-ENV)
14027 (tst-ftell-active-handler-ENV): Define.
14029 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14031 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14033 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14035 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14037 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14039 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14040 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14041 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14043 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14046 * elf/dl-load.c (open_verify): Add mode parameter.
14047 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14048 (open_path): Change from boolean 'secure' to complete flag 'mode'
14049 (_dl_map_object): Adjust.
14050 * elf/Makefile (tests): Add tst-dlopen-aout.
14051 * elf/tst-dlopen-aout.c: New test.
14053 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14056 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14057 (struct stat): Rename member pad0 to __glibc_reserved0.
14060 * sysdeps/s390/s390-32/bits/wordsize.h
14061 (__WORDSIZE32_SIZE_ULONG): New define.
14062 * sysdeps/s390/s390-64/bits/wordsize.h
14063 (__WORDSIZE32_SIZE_ULONG): Likewise.
14064 * sysdeps/generic/stdint.h (SIZE_MAX):
14065 Define as UL if __WORDSIZE32_SIZE_ULONG.
14068 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14069 (__glibc_reserved0): New variable.
14070 (sa_flags): Change type to int.
14072 * posix/Makefile (before-compile): Use += before-compile instead
14075 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14076 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14078 2014-03-20 Andreas Schwab <schwab@suse.de>
14081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14082 non-matching result from nscd.
14084 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14086 * scripts/bench.py: Moved to ...
14087 * benchtests/scripts/bench.py: ... here.
14088 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14090 2014-03-24 Andreas Schwab <schwab@suse.de>
14093 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14094 alloca_account and account alloca use for struct in6ailist.
14096 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14099 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14100 rounding mode to recompute results that overflow to infinity or
14102 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14104 * math/auto-libm-test-out: Regenerated.
14105 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14106 (ccosh_test): Likewise.
14107 (csin_test_data): Use plus_oflow.
14108 (csin_test): Use ALL_RM_TEST.
14109 (csinh_test_data): Use plus_oflow.
14110 (csinh_test): Use ALL_RM_TEST.
14111 * sysdeps/i386/fpu/libm-test-ulps: Update.
14112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14114 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14116 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14117 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14121 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14122 when x - 1 is zero.
14123 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14124 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14125 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14126 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14128 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14129 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14131 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14132 * sysdeps/i386/fpu/libm-test-ulps: Update.
14133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14135 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14137 * scripts/bench.pl: Remove file.
14138 * scripts/bench.py: New benchmark script.
14139 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14140 * benchtests/README: Mention python dependency.
14141 * scripts/pylintrc: New file.
14142 * scripts/pylint: New file.
14144 * bits/mathdef.h: Use #ifdef instead of #if.
14145 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14146 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14147 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14148 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14149 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14150 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14152 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14153 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14155 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14157 and strpbrk-ppc64 objects.
14158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14159 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14160 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14161 multiarch strpbrk for POWER7.
14162 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14163 multiarch strpbrk for PPC64.
14164 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14166 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14167 strpbrk for POWER7.
14169 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14171 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14172 (atan_test): Likewise.
14173 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14174 (atanh_test): Use ALL_RM_TEST.
14175 (atan2_test_data): Likewise.
14176 (cabs_test): Likewise.
14177 (cacosh_test): Likewise.
14178 (carg_test): Likewise.
14179 (casin_test): Likewise.
14180 (casinh_test): Likewise.
14181 (cbrt_test): Likewise.
14182 (csqrt_test): Likewise.
14183 (erf_test): Likewise.
14184 (erfc_test): Likewise.
14185 (pow10_test): Likewise.
14186 (exp2_test): Likewise.
14187 (hypot_test): Likewise.
14188 (j0_test): Likewise.
14189 (j1_test): Likewise.
14190 (lgamma_test): Likewise.
14191 (gamma_test): Likewise.
14192 (sincos_test): Likewise.
14193 (tanh_test): Likewise.
14194 (y0_test): Likewise.
14195 (y1_test): Likewise.
14196 * sysdeps/i386/fpu/libm-test-ulps: Update.
14197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14199 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14201 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14203 and strcspn-ppc64 objects.
14204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14205 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14206 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14207 multiarch strcspn for POWER7.
14208 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14209 multiarch strcspn for PPC64.
14210 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14212 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14213 strcspn for POWER7.
14215 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14217 * math/gen-libm-test.pl (generate_testfile): Expect only function
14218 name as argument to AUTO_TESTS_* and pass results for all rounding
14219 modes to parse_args.
14220 (parse_auto_input): Separate inputs of automatic tests from
14221 outputs before storing in %auto_tests.
14222 * math/libm-test.inc (acos_test_data): Update call to
14224 (acos_test): Use ALL_RM_TEST.
14225 (acos_tonearest_test_data): Remove.
14226 (acos_test_tonearest): Likewise.
14227 (acos_towardzero_test_data): Likewise.
14228 (acos_test_towardzero): Likewise.
14229 (acos_downward_test_data): Likewise.
14230 (acos_test_downward): Likewise.
14231 (acos_upward_test_data): Likewise.
14232 (acos_test_upward): Likewise.
14233 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14234 (asin_test_data): Likewise.
14235 (asin_test): Use ALL_RM_TEST.
14236 (asin_tonearest_test_data): Remove.
14237 (asin_test_tonearest): Likewise.
14238 (asin_towardzero_test_data): Likewise.
14239 (asin_test_towardzero): Likewise.
14240 (asin_downward_test_data): Likewise.
14241 (asin_test_downward): Likewise.
14242 (asin_upward_test_data): Likewise.
14243 (asin_test_upward): Likewise.
14244 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14245 (atan_test_data): Likewise.
14246 (atanh_test_data): Likewise.
14247 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14248 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14249 (carg_test_data): Likewise.
14250 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14251 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14252 (ccosh_test_data): Likewise.
14253 (cexp_test_data): Likewise.
14254 (clog_test_data): Likewise.
14255 (clog10_test_data): Likewise.
14256 (cos_test_data): Update call to AUTO_TESTS_f_f.
14257 (cos_test): Use ALL_RM_TEST.
14258 (cos_tonearest_test_data): Remove.
14259 (cos_test_tonearest): Likewise.
14260 (cos_towardzero_test_data): Likewise.
14261 (cos_test_towardzero): Likewise.
14262 (cos_downward_test_data): Likewise.
14263 (cos_test_downward): Likewise.
14264 (cos_upward_test_data): Likewise.
14265 (cos_test_upward): Likewise.
14266 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14267 (cosh_test): Use ALL_RM_TEST.
14268 (cosh_tonearest_test_data): Remove.
14269 (cosh_test_tonearest): Likewise.
14270 (cosh_towardzero_test_data): Likewise.
14271 (cosh_test_towardzero): Likewise.
14272 (cosh_downward_test_data): Likewise.
14273 (cosh_test_downward): Likewise.
14274 (cosh_upward_test_data): Likewise.
14275 (cosh_test_upward): Likewise.
14276 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14277 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14278 (ctan_test_data): Likewise.
14279 (ctan_test): Use ALL_RM_TEST.
14280 (ctan_tonearest_test_data): Remove.
14281 (ctan_test_tonearest): Likewise.
14282 (ctan_towardzero_test_data): Likewise.
14283 (ctan_test_towardzero): Likewise.
14284 (ctan_downward_test_data): Likewise.
14285 (ctan_test_downward): Likewise.
14286 (ctan_upward_test_data): Likewise.
14287 (ctan_test_upward): Likewise.
14288 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14289 (ctanh_test): Use ALL_RM_TEST.
14290 (ctanh_tonearest_test_data): Remove.
14291 (ctanh_test_tonearest): Likewise.
14292 (ctanh_towardzero_test_data): Likewise.
14293 (ctanh_test_towardzero): Likewise.
14294 (ctanh_downward_test_data): Likewise.
14295 (ctanh_test_downward): Likewise.
14296 (ctanh_upward_test_data): Likewise.
14297 (ctanh_test_upward): Likewise.
14298 (erf_test_data): Update call to AUTO_TESTS_f_f.
14299 (erfc_test_data): Likewise.
14300 (exp_test_data): Likewise.
14301 (exp_test): Use ALL_RM_TEST.
14302 (exp_tonearest_test_data): Remove.
14303 (exp_test_tonearest): Likewise.
14304 (exp_towardzero_test_data): Likewise.
14305 (exp_test_towardzero): Likewise.
14306 (exp_downward_test_data): Likewise.
14307 (exp_test_downward): Likewise.
14308 (exp_upward_test_data): Likewise.
14309 (exp_test_upward): Likewise.
14310 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14311 (exp10_test): Use ALL_RM_TEST.
14312 (exp10_tonearest_test_data): Remove.
14313 (exp10_test_tonearest): Likewise.
14314 (exp10_towardzero_test_data): Likewise.
14315 (exp10_test_towardzero): Likewise.
14316 (exp10_downward_test_data): Likewise.
14317 (exp10_test_downward): Likewise.
14318 (exp10_upward_test_data): Likewise.
14319 (exp10_test_upward): Likewise.
14320 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14321 (expm1_test_data): Likewise.
14322 (expm1_test): Use ALL_RM_TEST.
14323 (expm1_tonearest_test_data): Remove.
14324 (expm1_test_tonearest): Likewise.
14325 (expm1_towardzero_test_data): Likewise.
14326 (expm1_test_towardzero): Likewise.
14327 (expm1_downward_test_data): Likewise.
14328 (expm1_test_downward): Likewise.
14329 (expm1_upward_test_data): Likewise.
14330 (expm1_test_upward): Likewise.
14331 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14332 (fma_test): Use ALL_RM_TEST.
14333 (fma_towardzero_test_data): Remove.
14334 (fma_test_towardzero): Likewise.
14335 (fma_downward_test_data): Likewise.
14336 (fma_test_downward): Likewise.
14337 (fma_upward_test_data): Likewise.
14338 (fma_test_upward): Likewise.
14339 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14340 (j0_test_data): Update call to AUTO_TESTS_f_f.
14341 (j1_test_data): Likewise.
14342 (jn_test_data): Update call to AUTO_TESTS_if_f.
14343 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14344 (log_test_data): Update call to AUTO_TESTS_f_f.
14345 (log10_test_data): Likewise.
14346 (log1p_test_data): Likewise.
14347 (log2_test_data): Likewise.
14348 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14349 (pow_tonearest_test_data): Likewise.
14350 (sin_test_data): Update call to AUTO_TESTS_f_f.
14351 (sin_test): Use ALL_RM_TEST.
14352 (sin_tonearest_test_data): Remove.
14353 (sin_test_tonearest): Likewise.
14354 (sin_towardzero_test_data): Likewise.
14355 (sin_test_towardzero): Likewise.
14356 (sin_downward_test_data): Likewise.
14357 (sin_test_downward): Likewise.
14358 (sin_upward_test_data): Likewise.
14359 (sin_test_upward): Likewise.
14360 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14361 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14362 (sinh_test): Use ALL_RM_TEST.
14363 (sinh_tonearest_test_data): Remove.
14364 (sinh_test_tonearest): Likewise.
14365 (sinh_towardzero_test_data): Likewise.
14366 (sinh_test_towardzero): Likewise.
14367 (sinh_downward_test_data): Likewise.
14368 (sinh_test_downward): Likewise.
14369 (sinh_upward_test_data): Likewise.
14370 (sinh_test_upward): Likewise.
14371 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14372 (sqrt_test): Use ALL_RM_TEST.
14373 (sqrt_tonearest_test_data): Remove.
14374 (sqrt_test_tonearest): Likewise.
14375 (sqrt_towardzero_test_data): Likewise.
14376 (sqrt_test_towardzero): Likewise.
14377 (sqrt_downward_test_data): Likewise.
14378 (sqrt_test_downward): Likewise.
14379 (sqrt_upward_test_data): Likewise.
14380 (sqrt_test_upward): Likewise.
14381 (tan_test_data): Update call to AUTO_TESTS_f_f.
14382 (tan_test): Use ALL_RM_TEST.
14383 (tan_tonearest_test_data): Remove.
14384 (tan_test_tonearest): Likewise.
14385 (tan_towardzero_test_data): Likewise.
14386 (tan_test_towardzero): Likewise.
14387 (tan_downward_test_data): Likewise.
14388 (tan_test_downward): Likewise.
14389 (tan_upward_test_data): Likewise.
14390 (tan_test_upward): Likewise.
14391 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14392 (tgamma_test_data): Likewise.
14393 (y0_test_data): Likewise.
14394 (y1_test_data): Likewise.
14395 (yn_test_data): Update call to AUTO_TESTS_if_f.
14396 (main): Do not call removed functions.
14398 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14400 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14401 (ldexp_test_data): Remove.
14402 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14404 (scalb_test): Use ALL_RM_TEST.
14406 2014-03-19 Andreas Schwab <schwab@suse.de>
14408 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14410 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14413 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14414 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14415 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14416 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14417 (__ASSUME_PREADV): Undefine.
14418 (__ASSUME_PWRITEV): Likewise.
14420 2014-03-18 Roland McGrath <roland@hack.frob.com>
14422 * bits/mman-linux.h: Add comment about non-Linux use.
14423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14424 bits/mman-linux.h resting place.
14426 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14427 * bits/mman-linux.h: ... here.
14429 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14431 * conform/conformtest.pl: Add standard definition when calling C
14432 preprocessor on data files.
14433 (checknamespace): Remove unused variable.
14435 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14437 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14438 minus_oflow, plus_uflow and minus_uflow in expected results.
14439 * math/libm-test.inc (scalbn_test_data): Add more tests of
14440 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14442 (scalbn_test): Use ALL_RM_TEST.
14443 (scalbln_test_data): Add more tests of negative arguments. Use
14444 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14445 (scalbln_test): Use ALL_RM_TEST.
14447 2014-03-18 Roland McGrath <roland@hack.frob.com>
14449 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14451 2014-03-18 Will Newton <will.newton@linaro.org>
14453 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14454 inaccurate comment.
14456 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14458 * Makerules [!subdir] (check-abi): Exit with error status if a
14461 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14463 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14464 for rint. Include results for all rounding modes.
14465 (nearbyint_test): Use ALL_RM_TEST.
14466 (rint_test_data): Include all tests used for nearbyint.
14468 2014-03-17 Will Newton <will.newton@linaro.org>
14470 * nptl/sysdeps/pthread/pthread.h: Revert previous
14473 * sysdeps/generic/ldsodefs.h: Revert previous
14476 * libio/genops.c: Revert previous change.
14477 * libio/libioP.h: Likewise.
14478 * stdio-common/vfprintf.c: Likewise.
14480 * sysdeps/generic/math_private.h: Revert previous
14483 * sysdeps/generic/math_private.h: Check whether
14484 HAVE_RM_CTX is defined with #ifdef rather
14487 * argp/argp-fmtstream.h: Check whether
14488 __STRICT_ANSI__ is defined with #ifdef rather
14490 * argp/argp.h: Likewise.
14492 * libio/genops.c: Check whether
14493 _IO_JUMPS_OFFSET is defined with #ifdef rather
14495 * libio/libioP.h: Likewise.
14496 * stdio-common/vfprintf.c: Likewise.
14498 * sysdeps/generic/ldsodefs.h: Check whether
14499 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14502 * nptl/sysdeps/pthread/pthread.h: Check
14503 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14506 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14508 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14510 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14514 * libio/fileops.c (_IO_file_open): Seek to end of file but
14515 don't cache the offset.
14516 (get_file_offset): Remove function.
14517 (do_ftell): Use cached offset when available.
14518 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14519 don't cache the offset.
14520 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14522 (do_one_test): Call it.
14523 (do_ftell_test): Fix up expected old offset for a+ mode.
14524 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14527 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14528 up test status with function return status.
14529 (do_write_test): Likewise.
14530 (do_append_test): Likewise.
14532 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14533 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14536 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14538 * math/gen-libm-test.pl (parse_args): Handle results specified for
14539 each rounding mode separately.
14540 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14541 tests and results from lrint_tonearest_test_data,
14542 lrint_towardzero_test_data, lrint_downward_test_data and
14543 lrint_upward_test_data.
14544 (lrint_test): Use ALL_RM_TEST.
14545 (lrint_tonearest_test_data): Remove.
14546 (lrint_test_tonearest): Likewise.
14547 (lrint_towardzero_test_data): Likewise.
14548 (lrint_test_towardzero): Likewise.
14549 (lrint_downward_test_data): Likewise.
14550 (lrint_test_downward): Likewise.
14551 (lrint_upward_test_data): Likewise.
14552 (lrint_test_upward): Likewise.
14553 (llrint_test_data): Merge in per-rounding-mode tests and results
14554 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14555 llrint_downward_test_data and llrint_upward_test_data.
14556 (llrint_test): Use ALL_RM_TEST.
14557 (llrint_tonearest_test_data): Remove.
14558 (llrint_test_tonearest): Likewise.
14559 (llrint_towardzero_test_data): Likewise.
14560 (llrint_test_towardzero): Likewise.
14561 (llrint_downward_test_data): Likewise.
14562 (llrint_test_downward): Likewise.
14563 (llrint_upward_test_data): Likewise.
14564 (llrint_test_upward): Likewise.
14565 (rint_test_data): Merge in per-rounding-mode tests and results
14566 from rint_tonearest_test_data, rint_towardzero_test_data,
14567 rint_downward_test_data and rint_upward_test_data. Add
14568 per-rounding-mode results for tests not in those arrays.
14569 (rint_test): Use ALL_RM_TEST.
14570 (rint_tonearest_test_data): Remove.
14571 (rint_test_tonearest): Likewise.
14572 (rint_towardzero_test_data): Likewise.
14573 (rint_test_towardzero): Likewise.
14574 (rint_downward_test_data): Likewise.
14575 (rint_test_downward): Likewise.
14576 (rint_upward_test_data): Likewise.
14577 (rint_test_upward): Likewise.
14578 (main): Don't call removed functions.
14580 2014-03-14 Roland McGrath <roland@hack.frob.com>
14582 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14583 "Compiled on ..." crapola. It is anti-useful.
14585 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14587 * scripts/evaluate-test.sh: Handle fourth argument to determine
14588 whether test run should stop on failure.
14589 * Makeconfig (stop-on-test-failure): New variable.
14590 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14591 $(stop-on-test-failure).
14592 * Makefile (tests): Give a summary of results from testing and
14593 exit with failure status if they include an ERROR or FAIL.
14594 (xtests): Likewise.
14595 * manual/install.texi (Configuring and compiling): Mention
14596 stop-on-test-failure=y.
14597 * INSTALL: Regenerated.
14599 2014-03-14 Roland McGrath <roland@hack.frob.com>
14601 * scripts/versionlist.awk: New file.
14602 * Makerules [$(build-shared) = yes]
14603 (postclean-generated): Add Versions.def, not Versions.def.v and
14605 ($(common-objpfx)Versions.def.v.i): Target removed.
14606 ($(common-objpfx)Versions.def): New target.
14607 ($(common-objpfx)Versions.all): Depend on that rather that
14608 $(common-objpfx)Versions.def.v.
14609 * Versions.def: File removed.
14611 * Makeconfig (+gccwarn): Add -Wundef.
14612 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14613 a dl-sysdep.h breaking its contract.
14614 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14615 * include/stackinfo.h: New file.
14616 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14617 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14618 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14619 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14620 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14621 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14622 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14623 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14624 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14625 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14626 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14627 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14628 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14629 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14630 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14632 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14635 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14637 * math/libm-test.inc (round_test_data): Add more tests.
14640 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14642 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14645 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14647 * math/libm-test.inc (ceil_test_data): Add more tests.
14649 * math/libm-test.inc (trunc_test_data): Add more tests related to
14652 2014-03-14 Roland McGrath <roland@hack.frob.com>
14654 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14655 with #if rather than #ifdef.
14656 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14658 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14660 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14661 first. Disable AVX-512 GCC support if assembler doesn't support
14663 * sysdeps/x86_64/configure: Regenerated.
14665 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14667 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14668 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14669 (__old_pthread_attr_setstack): Likewise.
14670 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14671 [!_STACK_GROWS_DOWN]: Likewise.
14673 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14675 * config.make.in (have-bash2): Delete.
14676 * configure.ac (libc_cv_have_bash2): Delete.
14677 * configure: Regenerate.
14678 * elf/Makefile (common-ldd-rewrite): Rename to ...
14679 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14680 (sh-ldd-rewrite): Delete.
14681 (bash-ldd-rewrite): Delete.
14682 (have-bash2): Delete checks.
14683 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14686 * config.make.in (have-ksh): Delete.
14688 * configure.ac (libc_cv_have_ksh): Delete.
14689 * configure: Regenerate.
14691 * elf/Makefile: Delete $(have-ksh) check.
14692 ($(objpfx)sotruss): Change KSH to BASH.
14693 * elf/sotruss.ksh: Rename to ...
14694 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14695 function style to match POSIX. Drop ksh vim mode setting.
14697 * manual/time.texi (Specifying the Time Zone with TZ): Change
14698 Tuesday to Thursday.
14700 * debug/tst-longjmp_chk2.c: Update header comment.
14701 (stackoverflow_handler): Add comment. Call assert on pass value.
14703 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14706 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14707 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14708 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14709 (La_x86_64_vector): Add zmm.
14710 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14711 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14712 ($(objpfx)tst-audit10): New target.
14713 ($(objpfx)tst-audit10.out): Likewise.
14714 (tst-audit10-ENV): New.
14715 (AVX512-CFLAGS): Likewise.
14716 (CFLAGS-tst-audit10.c): Likewise.
14717 (CFLAGS-tst-auditmod10a.c): Likewise.
14718 (CFLAGS-tst-auditmod10b.c): Likewise.
14719 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14720 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14721 * sysdeps/x86_64/configure: Regenerated.
14722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14723 AVX-512 zmm register support.
14724 (_dl_x86_64_save_sse): Likewise.
14725 (_dl_x86_64_restore_sse): Likewise.
14726 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14727 size vector registers.
14728 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14729 (ZMM_SIZE): Likewise.
14730 * sysdeps/x86_64/tst-audit10.c: New file.
14731 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14732 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14734 2014-03-13 Roland McGrath <roland@hack.frob.com>
14736 * configure.ac (HAVE_EHDR_START): New check.
14737 * configure: Regenerated.
14738 * config.h.in (HAVE_EHDR_START): New #undef.
14739 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14740 assuming the lowest-addressed segment maps the start of the file.
14742 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14744 * INSTALL: Regenerated.
14746 2014-03-13 Will Newton <will.newton@linaro.org>
14748 * manual/setjmp.texi (System V contexts): Improve
14749 clarity and grammar of documentation.
14751 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14754 * elf/Makefile (tests): Add tst-pie2.
14755 (tests-pie): Add tst-pie2.
14756 * elf/tst-pie2.c: New file.
14757 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14759 * elf/rtld.c (map_doit): Load executable as lt_executable.
14760 (dl_main): Likewise.
14762 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14766 (__ASSUME_PSELECT): Undefine.
14768 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14772 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14774 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14775 selector for static builds.
14777 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14780 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14783 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14785 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14786 IFUNC selector for static builds.
14788 2014-03-11 Joseph Myers <joseph@codesourcery.com>
14790 * sysdeps/mips/math_private.h [__mips_hard_float]
14791 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14792 libc_feresetround_mips_ctx.
14793 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14794 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14795 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14798 * math/s_nextafter.c (__nextafter): Do not return value from
14799 overflowing computation.
14800 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14801 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14802 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14804 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14806 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14807 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14809 2014-03-11 Roland McGrath <roland@hack.frob.com>
14811 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14812 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14813 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14814 the new mov targetting sp.
14816 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14819 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14820 Define it for static builds as well.
14821 (NO_BZERO_IMPL): Likewise.
14823 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14825 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14826 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14827 multiarch strspn for PPC64.
14828 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14829 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14831 (__libc_ifunc_impl_list): Likewise.
14832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14833 multiarch optimizations
14834 * string/strspn.c (strspn): Using macro to redefine symbol name.
14836 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14837 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14839 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14840 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14841 multiarch strncat for PPC64.
14842 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14843 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14845 (__libc_ifunc_impl_list): Likewise.
14846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14847 multiarch optimizations
14849 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14852 * nscd/nscd.service: Make service type forking.
14854 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14856 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14857 sign in non default rounding modes.
14858 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14860 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14862 * math/libm-test.inc (ALL_RM_TEST): New macro.
14863 (ceil_test): Use ALL_RM_TEST.
14864 (cimag_test): Likewise.
14865 (conj_test): Likewise.
14866 (copysign_test): Likewise.
14867 (cproj_test): Likewise.
14868 (creal_test): Likewise.
14869 (fabs_test): Likewise.
14870 (floor_test): Likewise.
14871 (fmax_test): Likewise.
14872 (fmin_test): Likewise.
14873 (fmod_test): Likewise.
14874 (fpclassify_test): Likewise.
14875 (frexp_test): Likewise.
14876 (ilogb_test): Likewise.
14877 (isfinite_test): Likewise.
14878 (finite_test): Likewise.
14879 (isgreater_test): Likewise.
14880 (isgreaterequal_test): Likewise.
14881 (isinf_test): Likewise.
14882 (isless_test): Likewise.
14883 (islessequal_test): Likewise.
14884 (islessgreater_test): Likewise.
14885 (isnan_test): Likewise.
14886 (isnormal_test): Likewise.
14887 (issignaling_test): Likewise.
14888 (isunordered_test): Likewise.
14889 (logb_test): Likewise.
14890 (logb_downward_test_data): Remove.
14891 (logb_test_downward): Likewise.
14892 (lround_test): Use ALL_RM_TEST.
14893 (llround_test): Likewise.
14894 (modf_test): Likewise.
14895 (nexttoward_test): Likewise.
14896 (remainder_test): Likewise.
14897 (drem_test): Likewise.
14898 (remainder_tonearest_test_data): Likewise.
14899 (remainder_test_tonearest): Likewise.
14900 (drem_test_tonearest): Likewise.
14901 (remainder_towardzero_test_data): Likewise.
14902 (remainder_test_towardzero): Likewise.
14903 (drem_test_towardzero): Likewise.
14904 (remainder_downward_test_data): Likewise.
14905 (remainder_test_downward): Likewise.
14906 (drem_test_downward): Likewise.
14907 (remainder_upward_test_data): Likewise.
14908 (remainder_test_upward): Likewise.
14909 (drem_test_upward): Likewise.
14910 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14911 (round_test): Use ALL_RM_TEST.
14912 (signbit_test): Likewise.
14913 (trunc_test): Likewise.
14914 (significand_test): Likewise.
14915 (main): Don't call removed functions.
14917 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14920 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14921 || __USE_XOPEN2K8].
14922 (ILL_ILLOPN): Likewise.
14923 (ILL_ILLADR): Likewise.
14924 (ILL_ILLTRP): Likewise.
14925 (ILL_PRVOPC): Likewise.
14926 (ILL_PRVREG): Likewise.
14927 (ILL_COPROC): Likewise.
14928 (ILL_BADSTK): Likewise.
14929 (FPE_INTDIV): Likewise.
14930 (FPE_INTOVF): Likewise.
14931 (FPE_FLTDIV): Likewise.
14932 (FPE_FLTOVF): Likewise.
14933 (FPE_FLTUND): Likewise.
14934 (FPE_FLTRES): Likewise.
14935 (FPE_FLTINV): Likewise.
14936 (FPE_FLTSUB): Likewise.
14937 (SEGV_MAPERR): Likewise.
14938 (SEGV_ACCERR): Likewise.
14939 (BUS_ADRALN): Likewise.
14940 (BUS_ADRERR): Likewise.
14941 (BUS_OBJERR): Likewise.
14942 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14943 (TRAP_TRACE): Likewise.
14944 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14946 (CLD_KILLED): Likewise.
14947 (CLD_DUMPED): Likewise.
14948 (CLD_TRAPPED): Likewise.
14949 (CLD_STOPPED): Likewise.
14950 (CLD_CONTINUED): Likewise.
14951 (POLL_IN): Likewise.
14952 (POLL_OUT): Likewise.
14953 (POLL_MSG): Likewise.
14954 (POLL_ERR): Likewise.
14955 (POLL_PRI): Likewise.
14956 (POLL_HUP): Likewise.
14957 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14959 (ILL_ILLOPN): Likewise.
14960 (ILL_ILLADR): Likewise.
14961 (ILL_ILLTRP): Likewise.
14962 (ILL_PRVOPC): Likewise.
14963 (ILL_PRVREG): Likewise.
14964 (ILL_COPROC): Likewise.
14965 (ILL_BADSTK): Likewise.
14966 (FPE_INTDIV): Likewise.
14967 (FPE_INTOVF): Likewise.
14968 (FPE_FLTDIV): Likewise.
14969 (FPE_FLTOVF): Likewise.
14970 (FPE_FLTUND): Likewise.
14971 (FPE_FLTRES): Likewise.
14972 (FPE_FLTINV): Likewise.
14973 (FPE_FLTSUB): Likewise.
14974 (SEGV_MAPERR): Likewise.
14975 (SEGV_ACCERR): Likewise.
14976 (BUS_ADRALN): Likewise.
14977 (BUS_ADRERR): Likewise.
14978 (BUS_OBJERR): Likewise.
14979 (BUS_MCEERR_AR): Likewise.
14980 (BUS_MCEERR_AO): Likewise.
14981 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14982 (TRAP_TRACE): Likewise.
14983 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14985 (CLD_KILLED): Likewise.
14986 (CLD_DUMPED): Likewise.
14987 (CLD_TRAPPED): Likewise.
14988 (CLD_STOPPED): Likewise.
14989 (CLD_CONTINUED): Likewise.
14990 (POLL_IN): Likewise.
14991 (POLL_OUT): Likewise.
14992 (POLL_MSG): Likewise.
14993 (POLL_ERR): Likewise.
14994 (POLL_PRI): Likewise.
14995 (POLL_HUP): Likewise.
14996 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14997 (ILL_ILLOPN): Likewise.
14998 (ILL_ILLADR): Likewise.
14999 (ILL_ILLTRP): Likewise.
15000 (ILL_PRVOPC): Likewise.
15001 (ILL_PRVREG): Likewise.
15002 (ILL_COPROC): Likewise.
15003 (ILL_BADSTK): Likewise.
15004 (FPE_INTDIV): Likewise.
15005 (FPE_INTOVF): Likewise.
15006 (FPE_FLTDIV): Likewise.
15007 (FPE_FLTOVF): Likewise.
15008 (FPE_FLTUND): Likewise.
15009 (FPE_FLTRES): Likewise.
15010 (FPE_FLTINV): Likewise.
15011 (FPE_FLTSUB): Likewise.
15012 (SEGV_MAPERR): Likewise.
15013 (SEGV_ACCERR): Likewise.
15014 (BUS_ADRALN): Likewise.
15015 (BUS_ADRERR): Likewise.
15016 (BUS_OBJERR): Likewise.
15017 (BUS_MCEERR_AR): Likewise.
15018 (BUS_MCEERR_AO): Likewise.
15019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15020 (TRAP_TRACE): Likewise.
15021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15023 (CLD_KILLED): Likewise.
15024 (CLD_DUMPED): Likewise.
15025 (CLD_TRAPPED): Likewise.
15026 (CLD_STOPPED): Likewise.
15027 (CLD_CONTINUED): Likewise.
15028 (POLL_IN): Likewise.
15029 (POLL_OUT): Likewise.
15030 (POLL_MSG): Likewise.
15031 (POLL_ERR): Likewise.
15032 (POLL_PRI): Likewise.
15033 (POLL_HUP): Likewise.
15034 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15036 (ILL_ILLOPN): Likewise.
15037 (ILL_ILLADR): Likewise.
15038 (ILL_ILLTRP): Likewise.
15039 (ILL_PRVOPC): Likewise.
15040 (ILL_PRVREG): Likewise.
15041 (ILL_COPROC): Likewise.
15042 (ILL_BADSTK): Likewise.
15043 (ILL_BADIADDR): Likewise.
15044 (ILL_BREAK): Likewise.
15045 (FPE_INTDIV): Likewise.
15046 (FPE_INTOVF): Likewise.
15047 (FPE_FLTDIV): Likewise.
15048 (FPE_FLTOVF): Likewise.
15049 (FPE_FLTUND): Likewise.
15050 (FPE_FLTRES): Likewise.
15051 (FPE_FLTINV): Likewise.
15052 (FPE_FLTSUB): Likewise.
15053 (FPE_DECOVF): Likewise.
15054 (FPE_DECDIV): Likewise.
15055 (FPE_DECERR): Likewise.
15056 (FPE_INVASC): Likewise.
15057 (FPE_INVDEC): Likewise.
15058 (SEGV_MAPERR): Likewise.
15059 (SEGV_ACCERR): Likewise.
15060 (SEGV_PSTKOVF): Likewise.
15061 (BUS_ADRALN): Likewise.
15062 (BUS_ADRERR): Likewise.
15063 (BUS_OBJERR): Likewise.
15064 (BUS_MCEERR_AR): Likewise.
15065 (BUS_MCEERR_AO): Likewise.
15066 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15067 (TRAP_TRACE): Likewise.
15068 (TRAP_BRANCH): Likewise.
15069 (TRAP_HWBKPT): Likewise.
15070 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15072 (CLD_KILLED): Likewise.
15073 (CLD_DUMPED): Likewise.
15074 (CLD_TRAPPED): Likewise.
15075 (CLD_STOPPED): Likewise.
15076 (CLD_CONTINUED): Likewise.
15077 (POLL_IN): Likewise.
15078 (POLL_OUT): Likewise.
15079 (POLL_MSG): Likewise.
15080 (POLL_ERR): Likewise.
15081 (POLL_PRI): Likewise.
15082 (POLL_HUP): Likewise.
15083 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15084 (ILL_ILLOPN): Likewise.
15085 (ILL_ILLADR): Likewise.
15086 (ILL_ILLTRP): Likewise.
15087 (ILL_PRVOPC): Likewise.
15088 (ILL_PRVREG): Likewise.
15089 (ILL_COPROC): Likewise.
15090 (ILL_BADSTK): Likewise.
15091 (FPE_INTDIV): Likewise.
15092 (FPE_INTOVF): Likewise.
15093 (FPE_FLTDIV): Likewise.
15094 (FPE_FLTOVF): Likewise.
15095 (FPE_FLTUND): Likewise.
15096 (FPE_FLTRES): Likewise.
15097 (FPE_FLTINV): Likewise.
15098 (FPE_FLTSUB): Likewise.
15099 (SEGV_MAPERR): Likewise.
15100 (SEGV_ACCERR): Likewise.
15101 (BUS_ADRALN): Likewise.
15102 (BUS_ADRERR): Likewise.
15103 (BUS_OBJERR): Likewise.
15104 (BUS_MCEERR_AR): Likewise.
15105 (BUS_MCEERR_AO): Likewise.
15106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15107 (TRAP_TRACE): Likewise.
15108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15110 (CLD_KILLED): Likewise.
15111 (CLD_DUMPED): Likewise.
15112 (CLD_TRAPPED): Likewise.
15113 (CLD_STOPPED): Likewise.
15114 (CLD_CONTINUED): Likewise.
15115 (POLL_IN): Likewise.
15116 (POLL_OUT): Likewise.
15117 (POLL_MSG): Likewise.
15118 (POLL_ERR): Likewise.
15119 (POLL_PRI): Likewise.
15120 (POLL_HUP): Likewise.
15121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15122 (ILL_ILLOPN): Likewise.
15123 (ILL_ILLADR): Likewise.
15124 (ILL_ILLTRP): Likewise.
15125 (ILL_PRVOPC): Likewise.
15126 (ILL_PRVREG): Likewise.
15127 (ILL_COPROC): Likewise.
15128 (ILL_BADSTK): Likewise.
15129 (FPE_INTDIV): Likewise.
15130 (FPE_INTOVF): Likewise.
15131 (FPE_FLTDIV): Likewise.
15132 (FPE_FLTOVF): Likewise.
15133 (FPE_FLTUND): Likewise.
15134 (FPE_FLTRES): Likewise.
15135 (FPE_FLTINV): Likewise.
15136 (FPE_FLTSUB): Likewise.
15137 (SEGV_MAPERR): Likewise.
15138 (SEGV_ACCERR): Likewise.
15139 (BUS_ADRALN): Likewise.
15140 (BUS_ADRERR): Likewise.
15141 (BUS_OBJERR): Likewise.
15142 (BUS_MCEERR_AR): Likewise.
15143 (BUS_MCEERR_AO): Likewise.
15144 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15145 (TRAP_TRACE): Likewise.
15146 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15148 (CLD_KILLED): Likewise.
15149 (CLD_DUMPED): Likewise.
15150 (CLD_TRAPPED): Likewise.
15151 (CLD_STOPPED): Likewise.
15152 (CLD_CONTINUED): Likewise.
15153 (POLL_IN): Likewise.
15154 (POLL_OUT): Likewise.
15155 (POLL_MSG): Likewise.
15156 (POLL_ERR): Likewise.
15157 (POLL_PRI): Likewise.
15158 (POLL_HUP): Likewise.
15159 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15160 (ILL_ILLOPN): Likewise.
15161 (ILL_ILLADR): Likewise.
15162 (ILL_ILLTRP): Likewise.
15163 (ILL_PRVOPC): Likewise.
15164 (ILL_PRVREG): Likewise.
15165 (ILL_COPROC): Likewise.
15166 (ILL_BADSTK): Likewise.
15167 (FPE_INTDIV): Likewise.
15168 (FPE_INTOVF): Likewise.
15169 (FPE_FLTDIV): Likewise.
15170 (FPE_FLTOVF): Likewise.
15171 (FPE_FLTUND): Likewise.
15172 (FPE_FLTRES): Likewise.
15173 (FPE_FLTINV): Likewise.
15174 (FPE_FLTSUB): Likewise.
15175 (SEGV_MAPERR): Likewise.
15176 (SEGV_ACCERR): Likewise.
15177 (BUS_ADRALN): Likewise.
15178 (BUS_ADRERR): Likewise.
15179 (BUS_OBJERR): Likewise.
15180 (BUS_MCEERR_AR): Likewise.
15181 (BUS_MCEERR_AO): Likewise.
15182 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15183 (TRAP_TRACE): Likewise.
15184 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15186 (CLD_KILLED): Likewise.
15187 (CLD_DUMPED): Likewise.
15188 (CLD_TRAPPED): Likewise.
15189 (CLD_STOPPED): Likewise.
15190 (CLD_CONTINUED): Likewise.
15191 (POLL_IN): Likewise.
15192 (POLL_OUT): Likewise.
15193 (POLL_MSG): Likewise.
15194 (POLL_ERR): Likewise.
15195 (POLL_PRI): Likewise.
15196 (POLL_HUP): Likewise.
15197 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15198 (ILL_ILLOPN): Likewise.
15199 (ILL_ILLADR): Likewise.
15200 (ILL_ILLTRP): Likewise.
15201 (ILL_PRVOPC): Likewise.
15202 (ILL_PRVREG): Likewise.
15203 (ILL_COPROC): Likewise.
15204 (ILL_BADSTK): Likewise.
15205 (ILL_DBLFLT): Likewise.
15206 (ILL_HARDWALL): Likewise.
15207 (FPE_INTDIV): Likewise.
15208 (FPE_INTOVF): Likewise.
15209 (FPE_FLTDIV): Likewise.
15210 (FPE_FLTOVF): Likewise.
15211 (FPE_FLTUND): Likewise.
15212 (FPE_FLTRES): Likewise.
15213 (FPE_FLTINV): Likewise.
15214 (FPE_FLTSUB): Likewise.
15215 (SEGV_MAPERR): Likewise.
15216 (SEGV_ACCERR): Likewise.
15217 (BUS_ADRALN): Likewise.
15218 (BUS_ADRERR): Likewise.
15219 (BUS_OBJERR): Likewise.
15220 (BUS_MCEERR_AR): Likewise.
15221 (BUS_MCEERR_AO): Likewise.
15222 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15223 (TRAP_TRACE): Likewise.
15224 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15226 (CLD_KILLED): Likewise.
15227 (CLD_DUMPED): Likewise.
15228 (CLD_TRAPPED): Likewise.
15229 (CLD_STOPPED): Likewise.
15230 (CLD_CONTINUED): Likewise.
15231 (POLL_IN): Likewise.
15232 (POLL_OUT): Likewise.
15233 (POLL_MSG): Likewise.
15234 (POLL_ERR): Likewise.
15235 (POLL_PRI): Likewise.
15236 (POLL_HUP): Likewise.
15237 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15238 (ILL_ILLOPN): Likewise.
15239 (ILL_ILLADR): Likewise.
15240 (ILL_ILLTRP): Likewise.
15241 (ILL_PRVOPC): Likewise.
15242 (ILL_PRVREG): Likewise.
15243 (ILL_COPROC): Likewise.
15244 (ILL_BADSTK): Likewise.
15245 (FPE_INTDIV): Likewise.
15246 (FPE_INTOVF): Likewise.
15247 (FPE_FLTDIV): Likewise.
15248 (FPE_FLTOVF): Likewise.
15249 (FPE_FLTUND): Likewise.
15250 (FPE_FLTRES): Likewise.
15251 (FPE_FLTINV): Likewise.
15252 (FPE_FLTSUB): Likewise.
15253 (SEGV_MAPERR): Likewise.
15254 (SEGV_ACCERR): Likewise.
15255 (BUS_ADRALN): Likewise.
15256 (BUS_ADRERR): Likewise.
15257 (BUS_OBJERR): Likewise.
15258 (BUS_MCEERR_AR): Likewise.
15259 (BUS_MCEERR_AO): Likewise.
15260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15261 (TRAP_TRACE): Likewise.
15262 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15264 (CLD_KILLED): Likewise.
15265 (CLD_DUMPED): Likewise.
15266 (CLD_TRAPPED): Likewise.
15267 (CLD_STOPPED): Likewise.
15268 (CLD_CONTINUED): Likewise.
15269 (POLL_IN): Likewise.
15270 (POLL_OUT): Likewise.
15271 (POLL_MSG): Likewise.
15272 (POLL_ERR): Likewise.
15273 (POLL_PRI): Likewise.
15274 (POLL_HUP): Likewise.
15275 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15276 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15279 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15280 before #include of <time.h>.
15281 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15282 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15283 (test-xfail-UNIX98/sched.h/conform): Likewise.
15285 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15287 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15288 error absence of trapping exception support.
15289 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15291 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15293 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15294 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15295 * timezone/Makefile (testdata): Move definition above include of
15297 (test-zones): New variable.
15298 (tests-special): Add zone files.
15299 (build-testdata): Use $(evaluate-test).
15301 * elf/Makefile (tests-special): Rename tests to end with .out.
15302 ($(objpfx)noload-mem): Likewise.
15303 ($(objpfx)tst-leaks1-mem): Likewise.
15304 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15305 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15306 $(objpfx)test-iconvconfig.out.
15307 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15308 set -e inside subshell and redirect output to file.
15309 * iconvdata/Makefile (generated): Rename tests to end with .out.
15311 (tests-special): Rename tests to end with .out.
15312 ($(objpfx)mtrace-tst-loading): Likewise.
15313 * intl/Makefile (generated): Likewise.
15314 (tests-special): Likewise.
15315 ($(objpfx)mtrace-tst-gettext): Likewise.
15316 * misc/Makefile (generated): Likewise.
15317 (tests-special): Likewise.
15318 ($(objpfx)tst-error1-mem): Likewise.
15319 * nptl/Makefile (tests-special): Likewise.
15320 ($(objpfx)tst-stack3-mem): Likewise.
15321 (generated): Likewise.
15322 * posix/Makefile (generated): Likewise.
15323 (tests-special): Likewise.
15324 (xtests-special): Likewise.
15325 ($(objpfx)tst-fnmatch-mem): Likewise.
15326 ($(objpfx)bug-regex2-mem): Likewise.
15327 ($(objpfx)bug-regex14-mem): Likewise.
15328 ($(objpfx)bug-regex21-mem): Likewise.
15329 ($(objpfx)bug-regex31-mem): Likewise.
15330 ($(objpfx)tst-vfork3-mem): Likewise.
15331 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15332 ($(objpfx)tst-pcre-mem): Likewise.
15333 ($(objpfx)tst-boost-mem): Likewise.
15334 ($(objpfx)bug-ga2-mem): Likewise.
15335 ($(objpfx)bug-glob2-mem): Likewise.
15336 * resolv/Makefile (generate): Likewise.
15337 (tests-special): Likewise.
15338 (xtests-special): Likewise.
15339 (generated): Likewise.
15340 ($(objpfx)mtrace-tst-leaks): Likewise.
15341 ($(objpfx)mtrace-tst-leaks2): Likewise.
15343 * scripts/merge-test-results.sh: New file.
15344 * Makefile (tests-special-notdir): New variable.
15345 (tests): Run merge-test-results.sh.
15346 (xtests): Likewise.
15347 * Rules (tests-special-notdir): New variable.
15348 (xtests-special-notdir): Likewise.
15349 (tests): Run merge-test-results.sh
15350 (xtests): Likewise.
15352 * Makeconfig (test-xfail-name): New variable.
15353 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15354 compute variable name for expected failures.
15355 * conform/Makefile (conformtest-headers-data): New variable.
15356 (conformtest-standards): Likewise.
15357 (conformtest-headers-ISO): Likewise.
15358 (conformtest-headers-ISO99): Likewise.
15359 (conformtest-headers-ISO11): Likewise.
15360 (conformtest-headers-POSIX): Likewise.
15361 (conformtest-headers-XPG3): Likewise.
15362 (conformtest-headers-XPG4): Likewise.
15363 (conformtest-headers-UNIX98): Likewise.
15364 (conformtest-headers-XOPEN2K): Likewise.
15365 (conformtest-headers-POSIX2008): Likewise.
15366 (conformtest-headers-XOPEN2K8): Likewise.
15367 (conformtest-header-list-base): Likewise.
15368 (conformtest-header-list-tests): Likewise.
15369 (conformtest-header-base): Likewise.
15370 (conformtest-header-tests): Likewise.
15371 (tests-special): Add $(conformtest-header-list-tests). If
15372 [$(fast-check) && !$(cross-compiling)], add
15373 $(conformtest-header-tests) instead of
15374 $(objpfx)run-conformtest.out.
15375 (generated): Add $(conformtest-header-list-base). If
15376 [$(fast-check) && !$(cross-compiling)], add
15377 $(conformtest-header-base). Remove previous setting.
15378 ($(conformtest-header-list-tests)): New target.
15379 (test-xfail-run-conformtest): Remove variable.
15380 ($(objpfx)run-conformtest.out): Remove target.
15381 (test-xfail-ISO11/complex.h/conform): New variable.
15382 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15383 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15384 (test-xfail-XPG3/varargs.h/conform): Likewise.
15385 (test-xfail-XPG4/varargs.h/conform): Likewise.
15386 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15387 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15388 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15389 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15390 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15391 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15392 (test-xfail-XPG3/ftw.h/conform): Likewise.
15393 (test-xfail-XPG3/grp.h/conform): Likewise.
15394 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15395 (test-xfail-XPG3/limits.h/conform): Likewise.
15396 (test-xfail-XPG3/pwd.h/conform): Likewise.
15397 (test-xfail-XPG3/search.h/conform): Likewise.
15398 (test-xfail-XPG3/signal.h/conform): Likewise.
15399 (test-xfail-XPG3/stdio.h/conform): Likewise.
15400 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15401 (test-xfail-XPG3/string.h/conform): Likewise.
15402 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15403 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15404 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15405 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15406 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15407 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15408 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15409 (test-xfail-XPG3/termios.h/conform): Likewise.
15410 (test-xfail-XPG3/time.h/conform): Likewise.
15411 (test-xfail-XPG3/unistd.h/conform): Likewise.
15412 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15413 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15414 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15415 (test-xfail-XPG4/netdb.h/conform): Likewise.
15416 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15417 (test-xfail-XPG4/signal.h/conform): Likewise.
15418 (test-xfail-XPG4/stdio.h/conform): Likewise.
15419 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15420 (test-xfail-XPG4/stropts.h/conform): Likewise.
15421 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15422 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15423 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15424 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15425 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15426 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15427 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15428 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15429 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15430 (test-xfail-XPG4/termios.h/conform): Likewise.
15431 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15432 (test-xfail-XPG4/unistd.h/conform): Likewise.
15433 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15434 (test-xfail-POSIX/sched.h/conform): Likewise.
15435 (test-xfail-POSIX/signal.h/conform): Likewise.
15436 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15437 (test-xfail-POSIX/tar.h/conform): Likewise.
15438 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15439 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15440 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15441 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15442 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15443 (test-xfail-UNIX98/sched.h/conform): Likewise.
15444 (test-xfail-UNIX98/signal.h/conform): Likewise.
15445 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15446 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15447 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15448 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15449 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15450 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15451 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15452 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15453 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15454 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15455 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15456 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15457 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15458 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15459 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15460 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15461 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15462 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15463 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15464 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15465 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15466 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15467 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15468 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15469 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15470 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15471 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15472 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15473 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15474 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15475 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15476 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15477 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15478 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15479 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15480 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15481 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15482 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15483 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15484 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15485 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15486 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15487 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15488 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15489 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15490 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15491 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15492 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15493 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15494 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15495 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15496 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15497 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15498 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15499 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15500 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15501 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15502 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15503 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15504 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15505 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15506 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15507 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15508 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15509 (conformtest-cc-flags): Likewise.
15510 ($(conformtest-header-tests): New target.
15511 * conform/check-header-lists.sh: New file.
15512 * conform/run-conformtest.sh: Remove.
15514 * conform/conformtest.pl: Allow ' and \ in values given for
15516 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15518 [POSIX] (sys/types.h): Likewise.
15519 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15521 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15523 * conform/data/signal.h-data (SIGIO): Remove expectation.
15524 [XPG3] (SIGBUS): Do not expect.
15525 [POSIX || XPG3] (SIGPOLL): Likewise.
15526 [POSIX || XPG3] (SIGPROF): Likewise.
15527 [POSIX || XPG3] (SIGSYS): Likewise.
15528 [XPG3] (SIGTRAP): Likewise.
15529 [POSIX || XPG3] (SIGURG): Likewise.
15530 [POSIX || XPG3] (SIGVTALRM): Likewise.
15531 [POSIX || XPG3] (SIGXCPU): Likewise.
15532 [POSIX || XPG3] (SIGXFSZ): Likewise.
15533 [POSIX] (SA_SIGINFO): Expect.
15534 [XPG3] (siginfo_t): Do not expect type or contents.
15535 [POSIX] (si_pid): Do not expect element.
15536 [POSIX] (si_uid): Likewise.
15537 [POSIX] (si_addr): Likewise.
15538 [POSIX] (si_status): Likewise.
15539 [POSIX] (si_band): Likewise.
15540 [XPG4] (si_value): Likewise.
15541 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15542 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15543 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15544 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15545 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15546 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15547 [POSIX || XPG3] (ILL_COPROC): Likewise.
15548 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15549 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15550 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15551 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15552 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15553 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15554 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15555 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15556 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15557 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15558 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15559 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15560 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15561 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15562 [POSIX || XPG3] (CLD_EXITED): Likewise.
15563 [POSIX || XPG3] (CLD_KILLED): Likewise.
15564 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15565 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15566 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15567 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15568 [POSIX || XPG3] (POLL_IN): Likewise.
15569 [POSIX || XPG3] (POLL_OUT): Likewise.
15570 [POSIX || XPG3] (POLL_MSG): Likewise.
15571 [POSIX || XPG3] (POLL_ERR): Likewise.
15572 [POSIX || XPG3] (POLL_PRI): Likewise.
15573 [POSIX || XPG3] (POLL_HUP): Likewise.
15574 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15575 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15576 (SIG*): Do not allow.
15577 [XPG3] (si_*): Likewise.
15578 [XPG3] (SI_*): Likewise.
15579 [XPG3 || XPG4] (sigev_*): Likewise.
15580 [XPG3 || XPG4] (SIGEV_*): Likewise.
15581 [XPG3 || XPG4] (sival_*): Likewise.
15582 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15583 [POSIX || XPG3] (BUS_*): Likewise.
15584 [POSIX || XPG3] (CLD_*): Likewise.
15585 [POSIX || XPG3] (FPE_*): Likewise.
15586 [POSIX || XPG3] (ILL_*): Likewise.
15587 [POSIX || XPG3] (POLL_*): Likewise.
15588 [POSIX || XPG3] (SEGV_*): Likewise.
15589 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15590 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15591 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15592 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15593 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15594 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15595 Specify type and value.
15596 (TVERSLEN): Likewise.
15597 (REGTYPE): Likewise.
15598 (AREGTYPE): Likewise.
15599 (LNKTYPE): Likewise.
15600 (SYMTYPE): Likewise.
15601 (CHRTYPE): Likewise.
15602 (BLKTYPE): Likewise.
15603 (DIRTYPE): Likewise.
15604 (FIFOTYPE): Likewise.
15605 (CONTTYPE): Likewise.
15609 (TUREAD): Likewise.
15610 (TUWRITE): Likewise.
15611 (TUEXEC): Likewise.
15612 (TGREAD): Likewise.
15613 (TGWRITE): Likewise.
15614 (TGEXEC): Likewise.
15615 (TOREAD): Likewise.
15616 (TOWRITE): Likewise.
15617 (TOEXEC): Likewise.
15618 [POSIX] (TSVTX): Expect constant.
15620 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15622 * Makefile (tests): Change dependencies to ....
15623 (tests-special): ... additions to this variable.
15624 (tests): Depend on $(tests-special).
15625 * Makerules (check-abi-list): New variable.
15626 (check-abi): Depend on $(check-abi-list).
15627 [$(subdir) = elf] (tests-special): Add
15628 $(objpfx)check-abi-libc.out.
15629 [$(build-shared) = yes && subdir] (tests-special): Add
15631 [$(build-shared) = yes && subdir] (tests): Do not depend on
15633 * Rules (tests): Depend on $(tests-special).
15634 (xtests): Depend on $(xtests-special).
15635 * catgets/Makefile (tests): Change dependencies to ....
15636 (tests-special): ... additions to this variable.
15637 * conform/Makefile (tests): Change dependencies to ....
15638 (tests-special): ... additions to this variable.
15639 * elf/Makefile (tests): Change dependencies to ....
15640 (tests-special): ... additions to this variable.
15641 * grp/Makefile (tests): Change dependencies to ....
15642 (tests-special): ... additions to this variable.
15643 * iconv/Makefile (xtests): Change dependencies to ....
15644 (xtests-special): ... additions to this variable.
15645 * iconvdata/Makefile (tests): Change dependencies to ....
15646 (tests-special): ... additions to this variable.
15647 * intl/Makefile (tests): Change dependencies to ....
15648 (tests-special): ... additions to this variable. Also add
15649 $(objpfx)tst-gettext.out.
15650 * io/Makefile (tests): Change dependencies to ....
15651 (tests-special): ... additions to this variable.
15652 * libio/Makefile (tests): Change dependencies to ....
15653 (tests-special): ... additions to this variable.
15654 * malloc/Makefile (tests): Change dependencies to ....
15655 (tests-special): ... additions to this variable.
15656 * misc/Makefile (tests): Change dependencies to ....
15657 (tests-special): ... additions to this variable.
15658 * nptl/Makefile (tests): Change dependencies to ....
15659 (tests-special): ... additions to this variable.
15660 * nptl_db/Makefile (tests): Change dependencies to ....
15661 (tests-special): ... additions to this variable.
15662 * posix/Makefile (tests): Change dependencies to ....
15663 (tests-special): ... additions to this variable.
15664 (xtests): Change dependencies to ....
15665 (xtests-special): ... additions to this variable.
15666 * resolv/Makefile (tests): Change dependencies to ....
15667 (tests-special): ... additions to this variable.
15668 (xtests): Change dependencies to ....
15669 (xtests-special): ... additions to this variable.
15670 * stdio-common/Makefile (tests): Change dependencies to ....
15671 (tests-special): ... additions to this variable.
15672 (do-tst-unbputc): Remove target.
15673 (do-tst-printf): Likewise.
15674 * stdlib/Makefile (tests): Change dependencies to ....
15675 (tests-special): ... additions to this variable.
15676 * string/Makefile (tests): Change dependencies to ....
15677 (tests-special): ... additions to this variable.
15678 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15679 (tests-special): ... additions to this variable.
15681 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15683 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15685 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15686 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15688 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15689 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15690 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15691 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15692 * conform/data/libgen.h-data [XPG3]: Likewise.
15693 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15694 * conform/data/ndbm.h-data [XPG3]: Likewise.
15695 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15696 * conform/data/netdb.h-data [XPG3]: Likewise.
15697 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15698 * conform/data/poll.h-data [XPG3]: Likewise.
15699 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15700 * conform/data/strings.h-data [XPG3]: Likewise.
15701 * conform/data/stropts.h-data [XPG3]: Likewise.
15702 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15703 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15704 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15706 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15707 * conform/data/sys/time.h-data [XPG3]: Likewise.
15708 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15709 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15710 * conform/data/sys/un.h-data [XPG3]: Likewise.
15711 * conform/data/syslog.h-data [XPG3]: Likewise.
15712 * conform/data/ucontext.h-data [XPG3]: Likewise.
15713 * conform/data/utmpx.h-data [XPG3]: Likewise.
15714 * conform/data/varargs.h-data [UNIX98]: Enable file.
15716 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15718 * math/libm-test.inc (struct test_f_f_data): Move expected results
15719 into structure for each rounding mode.
15720 (struct test_ff_f_data): Likewise.
15721 (struct test_ff_f_data_nexttoward): Likewise.
15722 (struct test_fi_f_data): Likewise.
15723 (struct test_fl_f_data): Likewise.
15724 (struct test_if_f_data): Likewise.
15725 (struct test_fff_f_data): Likewise.
15726 (struct test_c_f_data): Likewise.
15727 (struct test_f_f1_data): Likewise.
15728 (struct test_fF_f1_data): Likewise.
15729 (struct test_ffI_f1_data): Likewise.
15730 (struct test_c_c_data): Likewise.
15731 (struct test_cc_c_data): Likewise.
15732 (struct test_f_i_data): Likewise.
15733 (struct test_ff_i_data): Likewise.
15734 (struct test_f_l_data): Likewise.
15735 (struct test_f_L_data): Likewise.
15736 (struct test_fFF_11_data): Likewise.
15738 (RM_FE_DOWNWARD): Likewise.
15739 (RM_FE_TONEAREST): Likewise.
15740 (RM_FE_TOWARDZERO): Likewise.
15741 (RM_FE_UPWARD): Likewise.
15742 (RUN_TEST_LOOP_f_f): Update references to expected results.
15743 (RUN_TEST_LOOP_2_f): Likewise.
15744 (RUN_TEST_LOOP_fff_f): Likewise.
15745 (RUN_TEST_LOOP_c_f): Likewise.
15746 (RUN_TEST_LOOP_f_f1): Likewise.
15747 (RUN_TEST_LOOP_fF_f1): Likewise.
15748 (RUN_TEST_LOOP_fI_f1): Likewise.
15749 (RUN_TEST_LOOP_ffI_f1): Likewise.
15750 (RUN_TEST_LOOP_c_c): Likewise.
15751 (RUN_TEST_LOOP_cc_c): Likewise.
15752 (RUN_TEST_LOOP_f_i): Likewise.
15753 (RUN_TEST_LOOP_f_i_tg): Likewise.
15754 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15755 (RUN_TEST_LOOP_f_b): Likewise.
15756 (RUN_TEST_LOOP_f_b_tg): Likewise.
15757 (RUN_TEST_LOOP_f_l): Likewise.
15758 (RUN_TEST_LOOP_f_L): Likewise.
15759 (RUN_TEST_LOOP_fFF_11): Likewise.
15760 * math/gen-libm-test.pl (parse_args): Output four copies of
15761 expected results for each test.
15763 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15764 (__ASSUME_UTIMES): Remove.
15765 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15766 (__ASSUME_UTIMES): Likewise.
15768 * math/gen-auto-libm-tests.c: Update comment on output format.
15769 (output_for_one_input_case): Generate before-rounding and
15770 after-rounding information as conditions on output flags not
15771 floating-point format.
15772 * math/auto-libm-test-out: Regenerated.
15773 * math/gen-libm-test.pl (cond_value): New function.
15774 (or_cond_value): Use cond_value.
15775 (generate_testfile): Handle conditional exceptions.
15777 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15779 * math/libm-test.inc (max_valid_error): New variable.
15780 (init_max_error): Take new argument specifying whether function
15781 results are exactly determined. Set max_valid_error and bound
15782 other variables for errors based on this argument.
15783 (set_max_error): Do not record results above max_valid_error.
15784 (check_float_internal): Only accept errors of up to 0.5ulps if
15785 also at most max_valid_error.
15786 (START): Take new argument EXACT and pass it to init_max_error.
15787 (acos_test): Update call to START.
15788 (acos_test_tonearest): Likewise.
15789 (acos_test_towardzero): Likewise.
15790 (acos_test_downward): Likewise.
15791 (acos_test_upward): Likewise.
15792 (acosh_test): Likewise.
15793 (asin_test): Likewise.
15794 (asin_test_tonearest): Likewise.
15795 (asin_test_towardzero): Likewise.
15796 (asin_test_downward): Likewise.
15797 (asin_test_upward): Likewise.
15798 (asinh_test): Likewise.
15799 (atan_test): Likewise.
15800 (atanh_test): Likewise.
15801 (atan2_test): Likewise.
15802 (cabs_test): Likewise.
15803 (cacos_test): Likewise.
15804 (cacosh_test): Likewise.
15805 (carg_test): Likewise.
15806 (casin_test): Likewise.
15807 (casinh_test): Likewise.
15808 (catan_test): Likewise.
15809 (catanh_test): Likewise.
15810 (cbrt_test): Likewise.
15811 (ccos_test): Likewise.
15812 (ccosh_test): Likewise.
15813 (ceil_test): Likewise.
15814 (cexp_test): Likewise.
15815 (cimag_test): Likewise.
15816 (clog_test): Likewise.
15817 (clog10_test): Likewise.
15818 (conj_test): Likewise.
15819 (copysign_test): Likewise.
15820 (cos_test): Likewise.
15821 (cos_test_tonearest): Likewise.
15822 (cos_test_towardzero): Likewise.
15823 (cos_test_downward): Likewise.
15824 (cos_test_upward): Likewise.
15825 (cosh_test): Likewise.
15826 (cosh_test_tonearest): Likewise.
15827 (cosh_test_towardzero): Likewise.
15828 (cosh_test_downward): Likewise.
15829 (cosh_test_upward): Likewise.
15830 (cpow_test): Likewise.
15831 (cproj_test): Likewise.
15832 (creal_test): Likewise.
15833 (csin_test): Likewise.
15834 (csinh_test): Likewise.
15835 (csqrt_test): Likewise.
15836 (ctan_test): Likewise.
15837 (ctan_test_tonearest): Likewise.
15838 (ctan_test_towardzero): Likewise.
15839 (ctan_test_downward): Likewise.
15840 (ctan_test_upward): Likewise.
15841 (ctanh_test): Likewise.
15842 (ctanh_test_tonearest): Likewise.
15843 (ctanh_test_towardzero): Likewise.
15844 (ctanh_test_downward): Likewise.
15845 (ctanh_test_upward): Likewise.
15846 (erf_test): Likewise.
15847 (erfc_test): Likewise.
15848 (exp_test): Likewise.
15849 (exp_test_tonearest): Likewise.
15850 (exp_test_towardzero): Likewise.
15851 (exp_test_downward): Likewise.
15852 (exp_test_upward): Likewise.
15853 (exp10_test): Likewise.
15854 (exp10_test_tonearest): Likewise.
15855 (exp10_test_towardzero): Likewise.
15856 (exp10_test_downward): Likewise.
15857 (exp10_test_upward): Likewise.
15858 (pow10_test): Likewise.
15859 (exp2_test): Likewise.
15860 (expm1_test): Likewise.
15861 (expm1_test_tonearest): Likewise.
15862 (expm1_test_towardzero): Likewise.
15863 (expm1_test_downward): Likewise.
15864 (expm1_test_upward): Likewise.
15865 (fabs_test): Likewise.
15866 (fdim_test): Likewise.
15867 (floor_test): Likewise.
15868 (fma_test): Likewise.
15869 (fma_test_towardzero): Likewise.
15870 (fma_test_downward): Likewise.
15871 (fma_test_upward): Likewise.
15872 (fmax_test): Likewise.
15873 (fmin_test): Likewise.
15874 (fmod_test): Likewise.
15875 (fpclassify_test): Likewise.
15876 (frexp_test): Likewise.
15877 (hypot_test): Likewise.
15878 (ilogb_test): Likewise.
15879 (isfinite_test): Likewise.
15880 (finite_test): Likewise.
15881 (isgreater_test): Likewise.
15882 (isgreaterequal_test): Likewise.
15883 (isinf_test): Likewise.
15884 (isless_test): Likewise.
15885 (islessequal_test): Likewise.
15886 (islessgreater_test): Likewise.
15887 (isnan_test): Likewise.
15888 (isnormal_test): Likewise.
15889 (issignaling_test): Likewise.
15890 (isunordered_test): Likewise.
15891 (j0_test): Likewise.
15892 (j1_test): Likewise.
15893 (jn_test): Likewise.
15894 (ldexp_test): Likewise.
15895 (lgamma_test): Likewise.
15896 (gamma_test): Likewise.
15897 (lrint_test): Likewise.
15898 (lrint_test_tonearest): Likewise.
15899 (lrint_test_towardzero): Likewise.
15900 (lrint_test_downward): Likewise.
15901 (lrint_test_upward): Likewise.
15902 (llrint_test): Likewise.
15903 (llrint_test_tonearest): Likewise.
15904 (llrint_test_towardzero): Likewise.
15905 (llrint_test_downward): Likewise.
15906 (llrint_test_upward): Likewise.
15907 (log_test): Likewise.
15908 (log10_test): Likewise.
15909 (log1p_test): Likewise.
15910 (log2_test): Likewise.
15911 (logb_test): Likewise.
15912 (logb_test_downward): Likewise.
15913 (lround_test): Likewise.
15914 (llround_test): Likewise.
15915 (modf_test): Likewise.
15916 (nearbyint_test): Likewise.
15917 (nextafter_test): Likewise.
15918 (nexttoward_test): Likewise.
15919 (pow_test): Likewise.
15920 (pow_test_tonearest): Likewise.
15921 (pow_test_towardzero): Likewise.
15922 (pow_test_downward): Likewise.
15923 (pow_test_upward): Likewise.
15924 (remainder_test): Likewise.
15925 (drem_test): Likewise.
15926 (remainder_test_tonearest): Likewise.
15927 (drem_test_tonearest): Likewise.
15928 (remainder_test_towardzero): Likewise.
15929 (drem_test_towardzero): Likewise.
15930 (remainder_test_downward): Likewise.
15931 (drem_test_downward): Likewise.
15932 (remainder_test_upward): Likewise.
15933 (drem_test_upward): Likewise.
15934 (remquo_test): Likewise.
15935 (rint_test): Likewise.
15936 (rint_test_tonearest): Likewise.
15937 (rint_test_towardzero): Likewise.
15938 (rint_test_downward): Likewise.
15939 (rint_test_upward): Likewise.
15940 (round_test): Likewise.
15941 (scalb_test): Likewise.
15942 (scalbn_test): Likewise.
15943 (scalbln_test): Likewise.
15944 (signbit_test): Likewise.
15945 (sin_test): Likewise.
15946 (sin_test_tonearest): Likewise.
15947 (sin_test_towardzero): Likewise.
15948 (sin_test_downward): Likewise.
15949 (sin_test_upward): Likewise.
15950 (sincos_test): Likewise.
15951 (sinh_test): Likewise.
15952 (sinh_test_tonearest): Likewise.
15953 (sinh_test_towardzero): Likewise.
15954 (sinh_test_downward): Likewise.
15955 (sinh_test_upward): Likewise.
15956 (sqrt_test): Likewise.
15957 (sqrt_test_tonearest): Likewise.
15958 (sqrt_test_towardzero): Likewise.
15959 (sqrt_test_downward): Likewise.
15960 (sqrt_test_upward): Likewise.
15961 (tan_test): Likewise.
15962 (tan_test_tonearest): Likewise.
15963 (tan_test_towardzero): Likewise.
15964 (tan_test_downward): Likewise.
15965 (tan_test_upward): Likewise.
15966 (tanh_test): Likewise.
15967 (tgamma_test): Likewise.
15968 (trunc_test): Likewise.
15969 (y0_test): Likewise.
15970 (y1_test): Likewise.
15971 (yn_test): Likewise.
15972 (significand_test): Likewise.
15974 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15975 individual tests in comment.
15976 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15977 (prev_max_error): New variable.
15978 (prev_real_max_error): Likewise.
15979 (prev_imag_max_error): Likewise.
15980 (compare_ulp_data): Don't refer to test names in comment.
15981 (find_test_ulps): Remove function.
15982 (find_function_ulps): Likewise.
15983 (find_complex_function_ulps): Likewise.
15984 (init_max_error): Take function name as argument. Look up ulps
15986 (print_ulps): Remove function.
15987 (print_max_error): Use prev_max_error instead of calling
15988 find_function_ulps.
15989 (print_complex_max_error): Use prev_real_max_error and
15990 prev_imag_max_error instead of calling find_complex_function_ulps.
15991 (check_float_internal): Take max_ulp parameter instead of calling
15992 find_test_ulps. Don't call print_ulps.
15993 (check_float): Update call to check_float_internal.
15994 (check_complex): Update calls to check_float_internal.
15995 (START): Pass argument to init_max_error.
15996 * math/gen-libm-test.pl (%results): Don't include "kind"
15998 (parse_ulps): Don't handle ulps of individual tests.
15999 (print_ulps_file): Likewise.
16000 (output_ulps): Likewise.
16001 * math/README.libm-test: Update.
16002 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16004 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16005 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16006 * sysdeps/arm/libm-test-ulps: Likewise.
16007 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16008 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16009 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16010 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16011 * sysdeps/microblaze/libm-test-ulps: Likewise.
16012 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16013 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16014 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16015 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16016 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16017 * sysdeps/sh/libm-test-ulps: Likewise.
16018 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16019 * sysdeps/tile/libm-test-ulps: Likewise.
16020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16022 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16024 * math/libm-test.inc (print_complex_max_error): Check separately
16025 whether real and imaginary errors are within allowed range and
16026 pass 0 to print_complex_function_ulps instead of value within
16029 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16031 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16033 (get_handles_fopen): Likewise.
16034 (do_write_test): Likewise.
16036 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16038 * libio/fileops.c (do_ftell): Use cached offset when
16040 * libio/iofwide.c (do_ftell_wide): Likewise.
16041 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16043 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16046 * libio/libioP.h (get_file_offset): New function.
16047 * libio/fileops.c (get_file_offset): Likewise.
16048 (do_ftell): Likewise.
16049 (_IO_new_file_seekoff): Split out ftell logic.
16050 * libio/wfileops.c (do_ftell_wide): Likewise.
16051 (_IO_wfile_seekoff): Split out ftell logic.
16052 * libio/tst-ftell-active-handler.c: New test case.
16053 * libio/Makefile (tests): Add it.
16055 2014-03-03 Roland McGrath <roland@hack.frob.com>
16057 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16058 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16060 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16063 * nscd/connections.c (nscd_init): Call do_exit.
16064 (start_threads): Call do_exit and notify_parent.
16065 (begin_drop_privileges): Call do_exit.
16066 (finish_drop_privileges): Likewise.
16067 * nscd/selinux.c (preserve_capabilities): Likewise.
16068 (install_real_capabilities): Likewise.
16069 (nscd_selinux_enabled): Likewise.
16070 (avc_create_thread): Likewise.
16071 (avc_alloc_lock): Likewise.
16072 (nscd_avc_init): Likewise.
16073 * nscd/nscd.c (parent_fd): New static variable.
16074 (main): Create a pipe between parent and child processes.
16075 Skip closing parent_fd.
16076 (monitor_child): New function.
16077 (do_exit): Likewise.
16078 (notify_parent): Likewise.
16079 * nscd/nscd.h (notify_parent): Likewise.
16080 (do_exit): Likewise.
16082 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16084 * malloc/malloc.c (__libc_calloc): Revert last change.
16086 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16090 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16092 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16096 (__libc_ifunc_impl_list): Likewise.
16097 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16098 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16099 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16100 * string/strrchr.c: Define STRRCHR.
16102 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16104 * benchtest/bench-strtok.c (simple_strtok): Delete.
16105 (strtok_string): Use as benchmark.
16106 * string/strtok (STRTOK): New macro.
16108 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16110 * manual/threads.texi: Add header and standard comments to all
16113 * elf/dl-lookup.c (check_match): New function.
16114 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16115 (do_lookup_x): Remove nested function check_match. Use non-nested
16116 function check_match.
16118 2014-02-28 Roland McGrath <roland@hack.frob.com>
16120 * csu/Makefile (generated, before-compile): Use += rather than =.
16121 * catgets/Makefile (generated, generated-dirs): Likewise.
16122 * debug/Makefile (generated): Likewise.
16123 * dlfcn/Makefile (generated): Likewise.
16124 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16125 * iconvdata/Makefile (before-compile, generated): Likewise.
16126 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16127 * libio/Makefile (generated): Likewise.
16128 * malloc/Makefile (generated): Likewise.
16129 * manual/Makefile (generated, generated-dirs): Likewise.
16130 * misc/Makefile (generated): Likewise.
16131 * posix/Makefile (generated): Likewise.
16132 * resolv/Makefile (generated): Likewise.
16133 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16134 * timezone/Makefile (generated, generated-dirs): Likewise.
16136 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16138 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16141 power8 implementation.
16142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16143 file: POWER8 llround ifunc implementation.
16144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16145 (__lllround): Add POWER8 implementation.
16146 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16147 POWER8 llround implementation.
16149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16150 power8 implementation.
16151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16152 file: POWER8 llrint ifunc implementation.
16153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16154 Add POWER8 implementation.
16155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16156 POWER8 llrint implementation.
16158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16159 power8 implementation.
16160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16161 file: POWER8 finite ifunc implementation.
16162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16163 Add POWER8 implementation.
16164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16166 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16167 POWER8 finite implementation.
16168 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16171 power8 implementation.
16172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16173 file: POWER8 isinf ifunc implementation.
16174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16175 POWER8 implementation.
16176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16178 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16179 isinf implementation.
16180 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16182 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16183 (INIT_ARCH): Add hwcap2 initialization.
16184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16185 power8 implementation.
16186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16187 file: POWER8 isnan ifunc implementation.
16188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16189 POWER8 implementation.
16190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16192 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16193 isnan implementation.
16194 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16196 2014-02-27 Joey Ye <joey.ye@arm.com>
16198 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16199 (_FP_NANFRAC_Q): Set to zero.
16201 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16204 * math/auto-libm-test-in: New test inputs.
16205 * math/auto-libm-test-out: Regenerate.
16206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16209 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16211 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16213 * scripts/evaluate-test.sh: Take new argument indicating whether
16214 failure is expected.
16215 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16216 indicating whether failure is expected.
16217 * conform/Makefile (test-xfail-run-conformtest): New variable.
16218 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16220 * posix/Makefile (test-xfail-annexc): New variable.
16221 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16223 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16225 * argp/Makefile: Include Makeconfig immediately after defining
16227 * assert/Makefile: Likewise.
16228 * benchtests/Makefile: Likewise.
16229 * catgets/Makefile: Likewise.
16230 * conform/Makefile: Likewise.
16231 * crypt/Makefile: Likewise.
16232 * csu/Makefile: Likewise.
16233 (all): Remove target.
16234 * ctype/Makefile: Include Makeconfig immediately after defining
16236 * debug/Makefile: Likewise.
16237 * dirent/Makefile: Likewise.
16238 * dlfcn/Makefile: Likewise.
16239 * gmon/Makefile: Likewise.
16240 * gnulib/Makefile: Likewise.
16241 * grp/Makefile: Likewise.
16242 * gshadow/Makefile: Likewise.
16243 * hesiod/Makefile: Likewise.
16244 * hurd/Makefile: Likewise.
16245 (all): Remove target.
16246 * iconvdata/Makefile: Include Makeconfig immediately after
16248 * inet/Makefile: Likewise.
16249 * intl/Makefile: Likewise.
16250 * io/Makefile: Likewise.
16251 * libio/Makefile: Likewise.
16252 (all): Remove target.
16253 * locale/Makefile: Include Makeconfig immediately after defining
16255 * login/Makefile: Likewise.
16256 * mach/Makefile: Likewise.
16257 (all): Remove target.
16258 * malloc/Makefile: Include Makeconfig immediately after defining
16260 (all): Remove target.
16261 * manual/Makefile: Include Makeconfig immediately after defining
16263 * math/Makefile: Likewise.
16264 * misc/Makefile: Likewise.
16265 * nis/Makefile: Likewise.
16266 * nss/Makefile: Likewise.
16267 * po/Makefile: Likewise.
16268 (all): Remove target.
16269 * posix/Makefile: Include Makeconfig immediately after defining
16271 * pwd/Makefile: Likewise.
16272 * resolv/Makefile: Likewise.
16273 * resource/Makefile: Likewise.
16274 * rt/Makefile: Likewise.
16275 * setjmp/Makefile: Likewise.
16276 * shadow/Makefile: Likewise.
16277 * signal/Makefile: Likewise.
16278 * socket/Makefile: Likewise.
16279 * soft-fp/Makefile: Likewise.
16280 * stdio-common/Makefile: Likewise.
16281 * stdlib/Makefile: Likewise.
16282 * streams/Makefile: Likewise.
16283 * string/Makefile: Likewise.
16284 * sunrpc/Makefile: Likewise.
16285 (all): Remove target.
16286 * sysvipc/Makefile: Include Makeconfig immediately after defining
16288 * termios/Makefile: Likewise.
16289 * time/Makefile: Likewise.
16290 * timezone/Makefile: Likewise.
16291 (all): Remove target.
16292 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16294 * wctype/Makefile: Likewise.
16296 2014-02-26 Steve Ellcey <sellcey@mips.com>
16298 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16299 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16300 (libc_feholdexcept_setround_mips): Ditto.
16301 (libc_feholdsetround): New.
16302 (libc_feholdsetroundf): New.
16303 (libc_feholdsetroundl): New.
16304 (libc_feupdateenv_test_mips): New.
16305 (libc_feupdateenv_test): New.
16306 (libc_feupdateenv_testf): New.
16307 (libc_feupdateenv_testl): New.
16308 (libc_feresetround): New.
16309 (libc_feresetroundf): New.
16310 (libc_feresetroundl): New.
16311 (libc_fetestexcept_mips): New.
16312 (libc_fetestexcept): New.
16313 (libc_fetestexceptf): New.
16314 (libc_fetestexceptl): New.
16315 (HAVE_RM_CTX): New.
16316 (libc_feholdexcept_setround_mips_ctx): New.
16317 (libc_feholdexcept_setround_ctx): New.
16318 (libc_feholdexcept_setroundf_ctx): New.
16319 (libc_feholdexcept_setroundl_ctx): New.
16320 (libc_fesetenv_mips_ctx): New.
16321 (libc_fesetenv_ctx): New.
16322 (libc_fesetenv_ctxf): New.
16323 (libc_fesetenv_ctxl): New.
16324 (libc_feupdateenv_mips_ctx): New.
16325 (libc_feupdateenv_ctx): New.
16326 (libc_feupdateenvf_ctx): New.
16327 (libc_feupdateenvl_ctx): New.
16328 (libc_feholdsetround_mips_ctx): New.
16329 (libc_feholdsetround_ctx): New.
16330 (libc_feholdsetroundf_ctx): New.
16331 (libc_feholdsetroundl_ctx): New.
16332 (libc_feresetround_mips_ctx): New.
16333 (libc_feresetround_ctx): New.
16334 (libc_feresetroundf_ctx): New.
16335 (libc_feresetroundl_ctx): New.
16337 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16339 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16341 * manual/ipc.texi: New file.
16342 * manual/Makefile (chapters): Add ipc.
16343 * manual/job.texi: Add "Inter-Process Communication" to next.
16344 * manual/process.texi: Add "Inter-Process Communication" to prev.
16346 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16350 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16352 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16354 * manual/arith.texi: Fix spaces after sentences.
16355 * manual/charset.texi: Likewise.
16356 * manual/errno.texi: Likewise.
16357 * manual/install.texi: Likewise.
16358 * manual/llio.texi: Likewise.
16359 * manual/locale.texi: Likewise.
16360 * manual/maint.texi: Likewise.
16361 * manual/math.texi: Likewise.
16362 * manual/memory.texi: Likewise.
16363 * manual/message.texi: Likewise.
16364 * manual/probes.texi: Likewise.
16365 * manual/resource.texi: Likewise.
16366 * manual/signal.texi: Likewise.
16367 * manual/socket.texi: Likewise.
16368 * manual/stdio.texi: Likewise.
16369 * manual/string.texi: Likewise.
16370 * manual/time.texi: Likewise.
16371 * manual/users.texi: Likewise.
16373 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16376 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16377 _DEFAULT_SOURCE is defined.
16379 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16380 Carlos O'Donell <carlos@redhat.com>
16383 * elf/dl-tls.c (_dl_count_modids): New function.
16384 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16385 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16386 audit library and increment generation counter.
16387 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16388 * elf/tst-audit9.c: New file.
16389 * elf/tst-auditmod9a.c: New file.
16390 * elf/tst-auditmod9b.c: New file.
16391 * elf/Makefile: Add rules to build and run tst-audit9.
16393 2014-02-25 Florian Weimer <fweimer@redhat.com>
16396 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16398 2014-02-25 Will Newton <will.newton@linaro.org>
16400 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16401 (__longjmp): Restore sp and lr before restoring callee
16402 saved registers. Add longjmp and longjmp_target
16403 SystemTap probe point.
16404 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16405 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16406 Define to zero to match jmpbuf layout.
16407 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16408 (__sigsetjmp): Save sp and lr before saving callee
16409 saved registers. Add setjmp SystemTap probe point.
16411 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16413 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16415 2014-02-24 Andreas Schwab <schwab@suse.de>
16418 * elf/pldd.c (wait_for_ptrace_stop): New function.
16419 (main): Call it after attaching.
16421 2014-02-22 Roland McGrath <roland@hack.frob.com>
16423 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16424 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16425 Versions files is now verboten.
16426 * hurd/Versions (libc: GLIBC_2.0):
16427 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16428 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16429 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16430 * mach/Versions: Likewise.
16432 * csu/Versions: Remove unused %include.
16433 * resolv/Versions: Likewise.
16435 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16437 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16438 ($(objpfx)check-local-headers.out): Likewise.
16439 ($(objpfx)begin-end-check.out): Likewise.
16440 * Makerules (check-abi-%.out): Likewise.
16441 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16442 ($(objpfx)test2.cat): Likewise.
16443 ($(objpfx)de/libc.cat): Likewise.
16444 ($(objpfx)test-gencat.out): Likewise.
16445 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16446 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16447 ($(objpfx)noload-mem): Likewise.
16448 ($(objpfx)tst-pathopt.out): Likewise.
16449 ($(objpfx)tst-rtld-load-self.out): Likewise.
16450 ($(objpfx)tst-array1-cmp.out): Likewise.
16451 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16452 ($(objpfx)tst-array2-cmp.out): Likewise.
16453 ($(objpfx)tst-array3-cmp.out): Likewise.
16454 ($(objpfx)tst-array4-cmp.out): Likewise.
16455 ($(objpfx)tst-array5-cmp.out): Likewise.
16456 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16457 ($(objpfx)check-textrel.out): Likewise.
16458 ($(objpfx)check-execstack.out): Likewise.
16459 ($(objpfx)check-localplt.out): Likewise.
16460 ($(objpfx)order2-cmp.out): Likewise.
16461 ($(objpfx)tst-leaks1-mem): Likewise.
16462 ($(objpfx)tst-leaks1-static-mem): Likewise.
16463 ($(objpfx)tst-initorder-cmp.out): Likewise.
16464 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16465 ($(objpfx)tst-unused-dep.out): Likewise.
16466 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16467 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16468 * iconv/Makefile (test-iconvconfig): Likewise.
16469 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16470 ($(objpfx)iconv-test.out): Likewise.
16471 ($(objpfx)tst-tables.out): Likewise.
16472 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16473 ($(objpfx)tst-gettext.out): Likewise.
16474 ($(objpfx)tst-translit.out): Likewise.
16475 ($(objpfx)tst-gettext2.out): Likewise.
16476 ($(objpfx)tst-gettext4.out): Likewise.
16477 ($(objpfx)tst-gettext6.out): Likewise.
16478 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16479 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16480 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16481 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16483 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16484 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16485 ($(objpfx)wordexp-tst.out): Likewise.
16486 ($(objpfx)annexc.out): Likewise.
16487 ($(objpfx)tst-fnmatch-mem): Likewise.
16488 ($(objpfx)bug-regex2-mem): Likewise.
16489 ($(objpfx)bug-regex14-mem): Likewise.
16490 ($(objpfx)bug-regex21-mem): Likewise.
16491 ($(objpfx)bug-regex31-mem): Likewise.
16492 ($(objpfx)tst-vfork3-mem): Likewise.
16493 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16494 ($(objpfx)tst-pcre-mem): Likewise.
16495 ($(objpfx)tst-boost-mem): Likewise.
16496 ($(objpfx)tst-getconf.out): Likewise.
16497 ($(objpfx)bug-ga2-mem): Likewise.
16498 ($(objpfx)bug-glob2-mem): Likewise.
16499 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16500 ($(objpfx)mtrace-tst-leaks2): Likewise.
16501 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16502 ($(objpfx)tst-printf.out): Likewise.
16503 ($(objpfx)tst-setvbuf1.out): Likewise.
16504 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16505 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16506 ($(objpfx)tst-fmtmsg.out): Likewise.
16507 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16508 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16510 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16511 * bits/sigaction.h [__USE_MISC]: Likewise.
16512 * bits/waitstatus.h: Update #endif comments.
16513 * ctype/ctype.h: Likewise.
16514 * dirent/dirent.h: Likewise.
16515 [__USE_MISC]: Remove redundant conditionals.
16516 * grp/grp.h: Update #endif comments.
16517 [__USE_GNU]: Remove redundant conditionals.
16518 [__USE_MISC]: Likewise.
16519 * inet/netinet/in.h [__USE_GNU]: Likewise.
16520 * io/sys/stat.h [__USE_MISC]: Likewise.
16521 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16522 * libio/bits/stdio.h: Update #endif comments.
16523 [__USE_MISC]: Remove redundant conditionals.
16524 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16525 * libio/stdio.h: Update #endif comments.
16526 [__USE_MISC]: Remove redundant conditionals.
16527 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16528 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16529 * math/math.h: Update #else and #endif comments.
16530 [__USE_MISC]: Remove redundant conditionals.
16531 * misc/sys/uio.h: Update #endif comments.
16532 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16533 * posix/glob.h [__USE_MISC]: Likewise.
16534 * posix/sys/types.h: Update #endif comments.
16535 [__USE_MISC]: Remove redundant conditionals.
16536 * posix/sys/wait.h: Update #endif comments.
16537 [__USE_MISC]: Remove redundant conditionals.
16538 * posix/unistd.h: Update #endif comments.
16539 [__USE_MISC]: Remove redundant conditionals.
16540 * pwd/pwd.h [__USE_GNU]: Likewise.
16541 [__USE_MISC]: Likewise.
16542 * resolv/netdb.h [__USE_GNU]: Likewise.
16543 * signal/signal.h: Update #endif comments.
16544 [__USE_MISC]: Remove redundant conditionals.
16545 * stdlib/stdlib.h: Update #else and #endif comments.
16546 [__USE_MISC]: Remove redundant conditionals.
16547 [__USE_GNU]: Likewise.
16548 * string/bits/string2.h [__USE_MISC]: Likewise.
16549 * string/string.h: Update #endif comments.
16550 [__USE_MISC]: Remove redundant conditionals.
16551 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16553 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16554 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16555 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16557 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16559 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16561 [__USE_MISC]: Remove redundant conditionals.
16562 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16563 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16564 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16565 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16566 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16568 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16569 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16571 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16572 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16574 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16576 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16577 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16579 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16581 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16582 * sysdeps/x86/bits/string.h: Update #endif comments.
16583 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16585 * time/sys/time.h: Update #endif comments.
16586 * time/time.h: Likewise.
16587 [__USE_MISC]: Remove redundant conditionals.
16589 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16592 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16594 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16596 * Versions.def (librt): Add GLIBC_2.17.
16598 2014-02-21 Adam Conrad <adconrad@0c3.net>
16600 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16601 synonym for _SYS_AUXV_H to allow direct inclusion.
16602 * sysdeps/sparc/bits/hwcap.h: Likewise.
16603 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16604 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16605 * sysdeps/sparc/sysdep.h: Likewise.
16607 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16609 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16611 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16613 * benchtests/bench-strrchr.c: Print length instead of position.
16615 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16618 * sysdeps/unix/sysv/linux/kernel-features.h
16619 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16620 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16621 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16622 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16624 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16625 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16626 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16627 (__ASSUME_SENDMMSG): Define instead of using previous
16628 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16629 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16630 (__ASSUME_SENDMMSG_SYSCALL): Define.
16631 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16632 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16634 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16635 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16637 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16638 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16640 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16641 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16642 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16643 [__ASSUME_SENDMMSG]: Change conditionals to
16644 [__ASSUME_SENDMMSG_SOCKETCALL].
16645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16646 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16648 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16649 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16651 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16652 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16653 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16654 [!__ASSUME_SENDMMSG]: Change conditional to
16655 [!__ASSUME_SENDMMSG_SOCKETCALL].
16656 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16657 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16661 * sysdeps/unix/sysv/linux/kernel-features.h
16662 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16663 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16664 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16665 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16666 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16667 [__i386__ || __sparc__]
16668 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16669 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16670 (__ASSUME_RECVMMSG): Define instead of using previous
16671 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16672 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16673 (__ASSUME_RECVMMSG_SYSCALL): Define.
16674 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16675 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16677 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16678 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16680 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16681 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16683 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16684 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16685 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16686 [__ASSUME_RECVMMSG]: Change condition to
16687 [__ASSUME_RECVMMSG_SOCKETCALL].
16688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16689 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16691 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16692 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16693 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16695 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16696 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16697 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16698 [!__ASSUME_RECVMMSG]: Change condition to
16699 [!__ASSUME_RECVMMSG_SOCKETCALL].
16700 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16701 (__ASSUME_RECVMMSG_SYSCALL): Define.
16704 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16705 __powerpc__ || __s390__ || __sh__ || __sparc__]
16706 (__ASSUME_SOCKETCALL): Define.
16707 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16708 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16709 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16710 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16711 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16712 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16713 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16714 (__ASSUME_ACCEPT4): Define instead of using previous
16715 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16716 __powerpc__ || __sparc__ || __s390__)] condition.
16717 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16718 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16719 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16720 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16721 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16722 [!__ASSUME_ACCEPT4]: Change condition to
16723 [!__ASSUME_ACCEPT4_SOCKETCALL].
16724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16725 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16726 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16727 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16728 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16729 __ASSUME_ACCEPT4_SYSCALL.
16730 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16731 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16732 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16733 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16734 __ASSUME_ACCEPT4_SYSCALL.
16735 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16736 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16737 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16738 [__ASSUME_ACCEPT4]: Change condition to
16739 [__ASSUME_ACCEPT4_SOCKETCALL].
16740 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16741 (__ASSUME_SOCKETCALL): Define.
16742 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16744 (__ASSUME_SOCKETCALL): Define.
16745 (__ASSUME_ACCEPT4): Remove.
16746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16748 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16749 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16751 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16752 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16754 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16756 (HWCAP_ARM_LPAE): Likewise.
16757 (HWCAP_ARM_EVTSTRM): Likewise.
16758 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16759 Add vpfd32, lpae and evtstrm.
16760 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16763 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16765 * math/auto-libm-test-in: Add tests of clog10.
16766 * math/auto-libm-test-out: Regenerated.
16767 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16768 * sysdeps/i386/fpu/libm-test-ulps: Update.
16769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16771 2014-02-18 Andreas Schwab <schwab@suse.de>
16774 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16775 Store non-zero if the second buffer was newly allocated.
16776 (send_dg): Likewise.
16777 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16778 to send_vc and send_dg.
16779 (res_nsend): Pass NULL for ansp2_malloced.
16780 * resolv/res_query.c (__libc_res_nquery): Add parameter
16781 answerp2_malloced and pass it down to __libc_res_nsend.
16782 (res_nquery): Pass additional NULL to __libc_res_nquery.
16783 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16784 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16785 second answer buffer if answerp2_malloced was set.
16786 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16787 (__libc_res_nquerydomain): Add parameter
16788 answerp2_malloced and pass it down to __libc_res_nquery.
16789 (res_nquerydomain): Pass additional NULL to
16790 __libc_res_nquerydomain.
16791 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16792 additional NULL to __libc_res_nsend and __libc_res_nquery.
16793 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16794 additional NULL to __libc_res_nsearch.
16795 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16796 parameter of __libc_res_nsearch to check for separately allocated
16798 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16800 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16801 additional NULL to __libc_res_nquery.
16802 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16803 __libc_res_nsearch.
16804 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16805 * include/resolv.h: Update prototypes of __libc_res_nquery,
16806 __libc_res_nsearch, __libc_res_nsend.
16808 2014-02-18 Joseph Myers <joseph@codesourcery.com>
16810 * math/auto-libm-test-in: Add tests of fma.
16811 * math/auto-libm-test-out: Regenerated.
16812 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16813 (fma_towardzero_test_data): Likewise.
16814 (fma_downward_test_data): Likewise.
16815 (fma_upward_test_data): Likewise.
16816 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16818 (rounding_modes): Add values for new field.
16819 (func_calc_method): Add value mpfr_fff_f.
16820 (func_calc_desc): Add mpfr_fff_f union field.
16821 (test_function): Add field exact_args.
16822 (FUNC): Add macro argument EXACT_ARGS.
16823 (FUNC_mpfr_f_f): Update call to FUNC.
16824 (FUNC_mpfr_f_f): Likewise.
16825 (FUNC_mpfr_ff_f): Likewise.
16826 (FUNC_mpfr_if_f): Likewise.
16827 (FUNC_mpc_c_f): Likewise.
16828 (FUNC_mpc_c_c): Likewise.
16829 (test_functions): Add fma. Update calls to FUNC.
16830 (handle_input_arg): Add argument exact_args.
16831 (add_test): Update call to handle_input_arg.
16832 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16833 (output_for_one_input_case): Update call to calc_generic_results.
16834 Recalculate exact zero results in each rounding mode.
16836 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16837 non-negative before setting low bit.
16838 * math/auto-libm-test-in: Mark one asin test possibly having
16839 spurious underflow.
16840 * math/auto-libm-test-out: Regenerated.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16844 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16846 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16847 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16848 ports/sysdeps/unix/sysv/linux/microblaze.
16849 * README: Add missing listing for microblaze*-*-linux-gnu.
16851 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16853 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16856 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16858 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16859 * sysdeps/unix/sysv/linux/ia64: Move directory from
16860 ports/sysdeps/unix/sysv/linux/ia64.
16861 * README: Update listing for ia64-*-linux-gnu.
16863 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16864 Joseph Myers <joseph@codesourcery.com>
16866 * Makeconfig (test-name): New variable.
16867 (evaluate-test): Likewise.
16868 * Makerules (do-test-clean): Remove .test-result files.
16869 (common-mostlyclean): Likewise.
16870 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16871 * scripts/evaluate-test.sh: New file.
16873 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16875 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16876 separate $(objpfx)tst-fopenloc-cmp.out and
16877 $(objpfx)tst-fopenloc-mem.out targets.
16878 (tests): Update dependencies.
16879 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16880 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16881 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16882 (tst-rxspencer-no-utf8-ARGS): New variable.
16883 (tst-rxspencer-no-utf8-ENV): Likewise.
16884 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16885 instead of $(objpfx)tst-rxspencer-mem.
16886 ($(objpfx)tst-rxspencer-mem): Change target to
16887 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16888 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16889 * posix/tst-rxspencer-no-utf8.c: New file.
16891 * elf/Makefile ($(objpfx)order.out): Remove rule.
16892 [$(run-built-tests) = yes] (tests): Depend on
16893 $(objpfx)order-cmp.out.
16894 ($(objpfx)order-cmp.out): New rule.
16895 [$(run-built-tests) = yes] (tests): Depend on
16896 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16897 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16898 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16899 $(objpfx)tst-array5-static-cmp.out.
16900 ($(objpfx)tst-array1.out): Remove rule.
16901 ($(objpfx)tst-array1-cmp.out): New rule.
16902 ($(objpfx)tst-array1-static.out): Remove rule.
16903 ($(objpfx)tst-array1-static-cmp.out): New rule.
16904 ($(objpfx)tst-array2.out): Remove rule.
16905 ($(objpfx)tst-array2-cmp.out): New rule.
16906 ($(objpfx)tst-array3.out): Remove rule.
16907 ($(objpfx)tst-array3-cmp.out): New rule.
16908 ($(objpfx)tst-array4.out): Remove rule.
16909 ($(objpfx)tst-array4-cmp.out): New rule.
16910 ($(objpfx)tst-array5.out): Remove rule.
16911 ($(objpfx)tst-array5-cmp.out): New rule.
16912 ($(objpfx)tst-array5-static.out): Remove rule.
16913 ($(objpfx)tst-array5-static-cmp.out): New rule.
16914 [$(run-built-tests) = yes] (tests): Depend on
16915 $(objpfx)order2-cmp.out.
16916 ($(objpfx)order2.out): Remove rule.
16917 ($(objpfx)order2-cmp.out): New rule.
16918 ($(objpfx)tst-initorder.out): Remove rule.
16919 [$(run-built-tests) = yes] (tests): Depend on
16920 $(objpfx)tst-initorder-cmp.out.
16921 ($(objpfx)tst-initorder-cmp.out): New rule.
16922 ($(objpfx)tst-initorder2.out): Remove rule.
16923 [$(run-built-tests) = yes] (tests): Depend on
16924 $(objpfx)tst-initorder2-cmp.out.
16925 ($(objpfx)tst-initorder2-cmp.out): New rule.
16926 [$(run-built-tests) = yes] (tests): Depend on
16927 $(objpfx)tst-unused-dep-cmp.out.
16928 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16929 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16930 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16931 on $(objpfx)tst-setvbuf1-cmp.out.
16932 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16933 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16934 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16935 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16936 ($(objpfx)tst-svc.out): Remove rule.
16937 ($(objpfx)tst-svc-cmp.out): New rule.
16939 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16941 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16942 * ctype/ctype.h [__USE_MISC]: Likewise.
16943 * dirent/dirent.h [__USE_MISC]: Likewise.
16944 * grp/grp.h [__USE_MISC]: Likewise.
16945 * io/fcntl.h [__USE_MISC]: Likewise.
16946 * io/sys/stat.h [__USE_MISC]: Likewise.
16947 * libio/stdio.h [__USE_MISC]: Likewise.
16948 * posix/unistd.h [__USE_MISC]: Likewise.
16949 * pwd/pwd.h [__USE_MISC]: Likewise.
16950 * stdlib.h [__USE_MISC]: Likewise.
16951 * string/bits/string2.h [__USE_MISC]: Likewise.
16952 * string/string.h [__USE_MISC]: Likewise.
16953 * time/time.h [__USE_MISC]: Likewise.
16955 2014-02-13 Andreas Schwab <schwab@suse.de>
16958 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16959 second answer buffer if it was separately allocated.
16961 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16963 * sysdeps/mips/math-tests.h: Include <features.h>.
16964 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16965 (ROUNDING_TESTS_long_double): Do not define.
16966 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16967 (EXCEPTION_TESTS_long_double): Likewise.
16968 * sysdeps/mips/mips64/libm-test-ulps: Update.
16970 * include/features.h (__USE_BSD): Remove macro definitions.
16971 (__USE_SVID): Likewise.
16972 (_BSD_SOURCE): Likewise.
16973 (_SVID_SOURCE): Likewise.
16974 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16975 from definition of _DEFAULT_SOURCE.
16976 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16978 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16979 * bits/mman.h [__USE_BSD]: Likewise.
16980 * bits/termios.h [__USE_BSD]: Likewise.
16981 * bits/waitstatus.h [__USE_BSD]: Likewise.
16982 * ctype/ctype.h [__USE_SVID]: Likewise.
16983 * dirent/dirent.h [__USE_BSD]: Likewise.
16984 * grp/grp.h [__USE_SVID]: Likewise.
16985 [__USE_BSD]: Likewise.
16986 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16987 * io/fcntl.h [__USE_BSD]: Likewise.
16988 * io/ftw.h [__USE_BSD]: Likewise.
16989 * io/sys/stat.h [__USE_BSD]: Likewise.
16990 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16991 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16992 * libio/stdio.h [__USE_SVID]: Likewise.
16993 [__USE_BSD]: Likewise.
16994 * math/math.h [__USE_SVID]: Likewise.
16995 [__USE_BSD]: Likewise.
16996 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16997 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16998 * misc/search.h [__USE_SVID]: Likewise.
16999 * misc/sys/mman.h [__USE_BSD]: Likewise.
17000 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17001 * misc/sys/uio.h [__USE_BSD]: Likewise.
17002 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17003 * posix/glob.h [__USE_BSD]: Likewise.
17004 * posix/regex.h [__USE_BSD]: Likewise.
17005 * posix/sys/types.h [__USE_BSD]: Likewise.
17006 [__USE_SVID]: Likewise.
17007 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17008 * posix/sys/wait.h [__USE_BSD]: Likewise.
17009 [__USE_SVID]: Likewise.
17010 * posix/unistd.h [__USE_BSD]: Likewise.
17011 [__USE_SVID]: Likewise.
17012 * pwd/pwd.h [__USE_SVID]: Likewise.
17013 * resolv/netdb.h [__USE_BSD]: Likewise.
17014 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17015 * signal/signal.h [__USE_BSD]: Likewise.
17016 [__USE_SVID]: Likewise.
17017 * socket/sys/socket.h [__USE_BSD]: Likewise.
17018 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17019 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17020 [__USE_SVID]: Likewise.
17021 * string/bits/string2.h [__USE_BSD]: Likewise.
17022 [__USE_SVID]: Likewise.
17023 * string/bits/string3.h [__USE_BSD]: Likewise.
17024 * string/endian.h [__USE_BSD]: Likewise.
17025 * string/string.h [__USE_SVID]: Likewise.
17026 [__USE_BSD]: Likewise.
17027 * string/strings.h [__USE_BSD]: Likewise.
17028 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17029 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17030 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17031 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17032 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17033 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17037 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17038 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17040 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17041 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17043 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17045 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17046 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17049 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17051 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17052 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17053 * termios/termios.h [__USE_BSD]: Likewise.
17054 * time/sys/time.h [__USE_BSD]: Likewise.
17055 * time/time.h [__USE_BSD]: Likewise.
17056 [__USE_SVID]: Likewise.
17058 * Makefile (subdir_targets): Remove subdir_lint.out.
17060 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17061 (do-tst-printf): Likewise.
17062 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17063 $(objpfx)tst-printf.out.
17065 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17067 * Makerules (check-abi-%): Change target to
17068 $(objpfx)check-abi-%.out.
17069 (check-abi target): Update dependencies.
17070 (check-abi-pattern variable): Redirect output of diff to $@.
17071 (check-abi variable): Likewise.
17072 * elf/Makefile (check-abi): Update dependencies.
17074 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17076 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17077 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17079 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17080 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17081 value has largest subnormal exponent.
17082 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17083 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17084 * sysdeps/aarch64/soft-fp/sfp-machine.h
17085 (_FP_TININESS_AFTER_ROUNDING): New macro.
17086 * sysdeps/alpha/soft-fp/sfp-machine.h
17087 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17088 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17090 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17091 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17092 * sysdeps/mips/soft-fp/sfp-machine.h
17093 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17094 * sysdeps/powerpc/soft-fp/sfp-machine.h
17095 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17096 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17098 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17099 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17100 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17101 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17102 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17105 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17108 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17111 2014-02-12 Richard Henderson <rth@redhat.com>
17113 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17114 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17115 * sysdeps/unix/sysv/linux/alpha: Move directory from
17116 ports/sysdeps/unix/sysv/linux/alpha.
17117 * README: Update listing for alpha-*-linux-gnu.
17119 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17121 * include/features.h: Update comment documenting feature test
17123 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17125 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17126 (_SVID_SOURCE): Likewise.
17127 (_DEFAULT_SOURCE): Update description of default features.
17128 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17130 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17131 (S_ISVTX): Likewise.
17132 * manual/math.texi (Mathematical Constants): Likewise.
17133 * manual/signal.texi (Interrupted Primitives): Likewise.
17134 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17135 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17136 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17137 Don't refer to _SVID_SOURCE in warning text.
17139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17141 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17143 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17144 * sysdeps/mips/dl-lookup.c: Remove.
17145 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17147 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17150 * math/auto-libm-test-in: Add testcase for expl.
17151 * math/auto-libm-test-out: Regenerate.
17152 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17153 calculation of unsafe.
17154 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17156 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17158 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17159 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17160 ports/sysdeps/unix/sysv/linux/aarch64.
17161 * README: Update listing for aarch64*-*-linux-gnu.
17163 2014-02-11 Will Newton <will.newton@linaro.org>
17165 * manual/probes.texi (Mathematical Function Probes): Use
17166 "triggered" instead of "hit".
17168 * manual/probes.texi (Internal Probes): Add documentation
17169 of setjmp, longjmp and longjmp_target probes.
17171 * include/stap-probe.h: Add comment about probe argument
17174 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17175 definition. (tr_where, tr_freehook, tr_mallochook,
17176 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17178 2014-02-11 David S. Miller <davem@davemloft.net>
17180 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17181 processing int_tests.
17183 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17185 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17186 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17187 * sysdeps/unix/sysv/linux/mips: Move directory from
17188 ports/sysdeps/unix/sysv/linux/mips.
17189 * README: Update listing for mips-*-linux-gnu and
17190 mips64-*-linux-gnu.
17192 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17194 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17195 * sysdeps/unix/sysv/linux/m68k: Move directory from
17196 ports/sysdeps/unix/sysv/linux/m68k.
17197 * README: Update listing for m68k-*-linux-gnu.
17199 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17201 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17202 * sysdeps/unix/sysv/linux/generic: Move directory from
17203 ports/sysdeps/unix/sysv/linux/generic.
17204 * sysdeps/unix/sysv/linux/tile: Move directory from
17205 ports/sysdeps/unix/sysv/linux/tile.
17206 * README: Update listing for tile*-*-linux-gnu.
17208 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17210 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17212 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17213 * catgets/open_catalog.c (__open_catalog): Likewise.
17214 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17215 * debug/confstr_chk.c: Likewise.
17216 * debug/fread_chk.c (__fread_chk): Likewise.
17217 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17218 * debug/getgroups_chk.c: Likewise.
17219 * debug/mbsnrtowcs_chk.c: Likewise.
17220 * debug/mbsrtowcs_chk.c: Likewise.
17221 * debug/mbstowcs_chk.c: Likewise.
17222 * debug/memcpy_chk.c: Likewise.
17223 * debug/memmove_chk.c: Likewise.
17224 * debug/mempcpy_chk.c: Likewise.
17225 * debug/memset_chk.c: Likewise.
17226 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17227 * debug/strcat_chk.c (__strcat_chk): Likewise.
17228 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17229 * debug/strncat_chk.c (__strncat_chk): Likewise.
17230 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17231 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17232 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17233 * debug/wcpncpy_chk.c: Likewise.
17234 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17235 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17236 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17237 * debug/wcsncpy_chk.c: Likewise.
17238 * debug/wcsnrtombs_chk.c: Likewise.
17239 * debug/wcsrtombs_chk.c: Likewise.
17240 * debug/wcstombs_chk.c: Likewise.
17241 * debug/wmemcpy_chk.c: Likewise.
17242 * debug/wmemmove_chk.c: Likewise.
17243 * debug/wmempcpy_chk.c: Likewise.
17244 * debug/wmemset_chk.c: Likewise.
17245 * dirent/scandirat.c (SCANDIRAT): Likewise.
17246 * dlfcn/dladdr1.c (dladdr1): Likewise.
17247 * dlfcn/dladdr.c (dladdr): Likewise.
17248 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17249 * dlfcn/dlerror.c (__dlerror): Likewise.
17250 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17251 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17252 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17253 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17254 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17255 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17256 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17257 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17259 * elf/dl-conflict.c: Likewise.
17260 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17261 * elf/dl-dst.h: Likewise.
17262 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17263 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17264 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17265 * elf/dl-init.c (call_init, _dl_init): Likewise.
17266 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17267 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17268 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17270 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17272 * elf/dl-minimal.c (__libc_memalign): Likewise.
17273 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17274 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17275 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17276 * elf/dl-sym.c (do_sym): Likewise.
17277 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17278 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17279 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17280 * elf/dl-writev.h (_dl_writev): Likewise.
17281 * elf/ldconfig.c (search_dir): Likewise.
17282 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17283 (dl_main): Likewise.
17284 * elf/setup-vdso.h (setup_vdso): Likewise.
17285 * grp/compat-initgroups.c (compat_call): Likewise.
17286 * grp/fgetgrent.c (fgetgrent): Likewise.
17287 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17288 * grp/putgrent.c (putgrent): Likewise.
17289 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17291 * hurd/hurdinit.c: Likewise.
17292 * iconvdata/8bit-gap.c (struct): Likewise.
17293 * iconvdata/ansi_x3.110.c : Likewise.
17294 * iconvdata/big5.c : Likewise.
17295 * iconvdata/big5hkscs.c : Likewise.
17296 * iconvdata/cp1255.c: Likewise.
17297 * iconvdata/cp1258.c : Likewise.
17298 * iconvdata/cp932.c : Likewise.
17299 * iconvdata/euc-cn.c: Likewise.
17300 * iconvdata/euc-jisx0213.c : Likewise.
17301 * iconvdata/euc-jp.c: Likewise.
17302 * iconvdata/euc-jp-ms.c : Likewise.
17303 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17304 * iconvdata/gb18030.c : Likewise.
17305 * iconvdata/gbbig5.c (const): Likewise.
17306 * iconvdata/gbgbk.c: Likewise.
17307 * iconvdata/gbk.c : Likewise.
17308 * iconvdata/ibm1364.c : Likewise.
17309 * iconvdata/ibm930.c : Likewise.
17310 * iconvdata/ibm932.c: Likewise.
17311 * iconvdata/ibm933.c : Likewise.
17312 * iconvdata/ibm935.c : Likewise.
17313 * iconvdata/ibm937.c : Likewise.
17314 * iconvdata/ibm939.c : Likewise.
17315 * iconvdata/ibm943.c: Likewise.
17316 * iconvdata/iso_11548-1.c: Likewise.
17317 * iconvdata/iso-2022-cn.c : Likewise.
17318 * iconvdata/iso-2022-cn-ext.c : Likewise.
17319 * iconvdata/iso-2022-jp-3.c: Likewise.
17320 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17321 * iconvdata/iso-2022-kr.c : Likewise.
17322 * iconvdata/iso646.c (gconv_end): Likewise.
17323 * iconvdata/iso_6937-2.c : Likewise.
17324 * iconvdata/iso_6937.c : Likewise.
17325 * iconvdata/iso8859-1.c: Likewise.
17326 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17327 * iconvdata/shift_jisx0213.c : Likewise.
17328 * iconvdata/sjis.c : Likewise.
17329 * iconvdata/t.61.c : Likewise.
17330 * iconvdata/tcvn5712-1.c : Likewise.
17331 * iconvdata/tscii.c: Likewise.
17332 * iconvdata/uhc.c : Likewise.
17333 * iconvdata/unicode.c (gconv_end): Likewise.
17334 * iconvdata/utf-16.c (gconv_end): Likewise.
17335 * iconvdata/utf-32.c (gconv_end): Likewise.
17336 * iconvdata/utf-7.c (base64): Likewise.
17337 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17338 * iconv/gconv_close.c (__gconv_close): Likewise.
17339 * iconv/gconv_open.c (__gconv_open): Likewise.
17340 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17341 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17342 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17343 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17344 (ucs4le_internal_loop_single): Likewise.
17345 * iconv/iconv.c (iconv): Likewise.
17346 * iconv/iconv_close.c: Likewise.
17347 * iconv/loop.c (SINGLE): Likewise.
17348 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17349 * include/atomic.h: Likewise.
17350 * inet/inet6_option.c (option_alloc): Likewise.
17351 * intl/bindtextdom.c (set_binding_values): Likewise.
17352 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17353 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17354 * intl/localealias.c (read_alias_file): Likewise.
17355 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17356 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17357 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17358 * libio/fmemopen.c (fmemopen): Likewise.
17359 * libio/iofgets.c (_IO_fgets): Likewise.
17360 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17361 * libio/iofgetws.c (fgetws): Likewise.
17362 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17363 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17364 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17365 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17366 * locale/findlocale.c (_nl_find_locale): Likewise.
17367 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17368 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17370 * locale/setlocale.c (setlocale): Likewise.
17371 * login/programs/pt_chown.c (main): Likewise.
17372 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17373 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17374 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17375 (mmap, mmap64, mremap, munmap): Likewise.
17376 * math/e_exp2l.c: Likewise.
17377 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17378 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17379 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17380 * math/s_catan.c (__catan): Likewise.
17381 * math/s_catanf.c (__catanf): Likewise.
17382 * math/s_catanh.c (__catanh): Likewise.
17383 * math/s_catanhf.c (__catanhf): Likewise.
17384 * math/s_catanhl.c (__catanhl): Likewise.
17385 * math/s_catanl.c (__catanl): Likewise.
17386 * math/s_ccosh.c (__ccosh): Likewise.
17387 * math/s_ccoshf.c (__ccoshf): Likewise.
17388 * math/s_ccoshl.c (__ccoshl): Likewise.
17389 * math/s_cexp.c (__cexp): Likewise.
17390 * math/s_cexpf.c (__cexpf): Likewise.
17391 * math/s_cexpl.c (__cexpl): Likewise.
17392 * math/s_clog10.c (__clog10): Likewise.
17393 * math/s_clog10f.c (__clog10f): Likewise.
17394 * math/s_clog10l.c (__clog10l): Likewise.
17395 * math/s_clog.c (__clog): Likewise.
17396 * math/s_clogf.c (__clogf): Likewise.
17397 * math/s_clogl.c (__clogl): Likewise.
17398 * math/s_csin.c (__csin): Likewise.
17399 * math/s_csinf.c (__csinf): Likewise.
17400 * math/s_csinh.c (__csinh): Likewise.
17401 * math/s_csinhf.c (__csinhf): Likewise.
17402 * math/s_csinhl.c (__csinhl): Likewise.
17403 * math/s_csinl.c (__csinl): Likewise.
17404 * math/s_csqrt.c (__csqrt): Likewise.
17405 * math/s_csqrtf.c (__csqrtf): Likewise.
17406 * math/s_csqrtl.c (__csqrtl): Likewise.
17407 * math/s_ctan.c (__ctan): Likewise.
17408 * math/s_ctanf.c (__ctanf): Likewise.
17409 * math/s_ctanh.c (__ctanh): Likewise.
17410 * math/s_ctanhf.c (__ctanhf): Likewise.
17411 * math/s_ctanhl.c (__ctanhl): Likewise.
17412 * math/s_ctanl.c (__ctanl): Likewise.
17413 * math/w_pow.c: Likewise.
17414 * math/w_powf.c: Likewise.
17415 * math/w_powl.c: Likewise.
17416 * math/w_scalb.c (sysv_scalb): Likewise.
17417 * math/w_scalbf.c (sysv_scalbf): Likewise.
17418 * math/w_scalbl.c (sysv_scalbl): Likewise.
17419 * misc/error.c (error_tail): Likewise.
17420 * misc/pselect.c (__pselect): Likewise.
17421 * nis/nis_callback.c (__nis_create_callback): Likewise.
17422 * nis/nis_call.c (__nisfind_server): Likewise.
17423 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17424 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17425 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17426 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17427 * nis/nis_lookup.c (nis_lookup): Likewise.
17428 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17429 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17430 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17431 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17432 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17433 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17434 * nis/nss_compat/compat-initgroups.c (add_group)
17435 (internal_getgrent_r): Likewise.
17436 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17437 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17438 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17439 (internal_getspnam_r): Likewise.
17440 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17441 (_nss_nis_getaliasbyname_r): Likewise.
17442 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17443 (_nss_nis_getntohost_r): Likewise.
17444 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17445 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17446 (_nss_nis_getgrgid_r): Likewise.
17447 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17448 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17449 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17450 (_nss_nis_gethostbyname4_r): Likewise.
17451 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17452 (initgroups_netid): Likewise.
17453 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17454 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17455 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17456 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17457 (_nss_nis_getprotobynumber_r): Likewise.
17458 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17459 (_nss_nis_getsecretkey): Likewise.
17460 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17461 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17462 (_nss_nis_getpwuid_r): Likewise.
17463 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17464 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17465 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17466 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17467 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17468 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17469 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17471 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17472 (_nss_nisplus_getntohost_r): Likewise.
17473 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17474 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17475 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17476 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17478 * nis/nss_nisplus/nisplus-initgroups.c
17479 (_nss_nisplus_initgroups_dyn): Likewise.
17480 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17481 (_nss_nisplus_getnetbyaddr_r): Likewise.
17482 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17483 (_nss_nisplus_getprotobynumber_r): Likewise.
17484 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17485 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17486 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17488 * nis/nss_nisplus/nisplus-service.c
17489 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17490 (_nss_nisplus_getservbyport_r): Likewise.
17491 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17492 (_nss_nisplus_getspnam_r): Likewise.
17493 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17495 * nscd/aicache.c (addhstaiX): Likewise.
17496 * nscd/cache.c (cache_search, prune_cache): Likewise.
17497 * nscd/connections.c (register_traced_file, send_ro_fd)
17498 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17499 (main_loop_epoll): Likewise.
17500 * nscd/grpcache.c (addgrbyX): Likewise.
17501 * nscd/hstcache.c (addhstbyX): Likewise.
17502 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17503 * nscd/mem.c (gc, mempool_alloc): Likewise.
17504 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17505 (addinnetgrX): Likewise.
17506 * nscd/nscd-client.h (__nscd_acquire_maplock)
17507 (__nscd_drop_map_ref): Likewise.
17508 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17509 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17512 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17514 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17515 (__nscd_get_map_ref): Likewise.
17516 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17517 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17519 * nscd/pwdcache.c (addpwbyX): Likewise.
17520 * nscd/selinux.c (preserve_capabilities): Likewise.
17521 * nscd/servicescache.c (addservbyX): Likewise.
17522 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17523 * posix/fnmatch.c (fnmatch): Likewise.
17524 * posix/getopt.c (_getopt_internal_r): Likewise.
17525 * posix/glob.c (glob, glob_in_dir): Likewise.
17526 * posix/wordexp.c (exec_comm_child): Likewise.
17527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17528 (getanswer_r, gaih_getanswer_slice): Likewise.
17529 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17530 * resolv/res_init.c: Likewise.
17531 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17532 * resolv/res_query.c (__libc_res_nquery): Likewise.
17533 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17535 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17536 * stdio-common/perror.c (perror): Likewise.
17537 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17538 * stdio-common/tmpnam.c (tmpnam): Likewise.
17539 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17540 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17541 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17543 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17544 * stdlib/putenv.c (putenv): Likewise.
17545 * stdlib/setenv.c (__add_to_environ): Likewise.
17546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17547 * stdlib/strtol_l.c (INTERNAL): Likewise.
17548 * string/memmem.c (memmem): Likewise.
17549 * string/strerror.c (strerror): Likewise.
17550 * string/strnlen.c (__strnlen): Likewise.
17551 * string/test-memmem.c (simple_memmem): Likewise.
17552 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17553 * sunrpc/pm_getport.c (__get_socket): Likewise.
17554 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17555 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17556 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17557 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17559 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17561 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17562 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17563 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17564 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17566 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17568 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17569 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17570 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17571 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17572 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17574 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17575 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17576 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17577 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17578 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17579 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17581 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17583 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17585 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17586 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17587 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17588 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17589 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17590 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17591 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17600 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17602 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17604 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17606 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17610 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17612 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17613 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17614 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17615 * sysdeps/posix/sleep.c: Likewise.
17616 * sysdeps/posix/tempname.c: Likewise.
17617 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17618 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17620 * sysdeps/powerpc/powerpc32/dl-machine.h
17621 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17622 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17624 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17625 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17627 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17628 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17629 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17630 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17631 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17632 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17633 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17634 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17635 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17636 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17638 (elf_machine_lazy_rel): Likewise.
17639 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17641 (elf_machine_lazy_rel): Likewise.
17642 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17643 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17644 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17645 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17646 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17647 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17648 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17651 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17652 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17653 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17654 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17655 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17656 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17657 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17658 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17659 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17660 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17661 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17663 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17664 (__posix_fallocate64_l64): Likewise.
17665 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17666 (posix_fallocate): Likewise.
17667 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17670 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17671 (getifaddrs_internal): Likewise.
17672 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17673 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17674 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17675 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17676 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17677 (__posix_fallocate64_l64): Likewise.
17678 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17680 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17681 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17682 (__get_clockfreq): Likewise.
17683 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17684 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17685 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17688 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17689 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17690 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17692 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17693 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17694 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17695 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17696 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17697 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17698 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17700 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17701 (posix_fallocate): Likewise.
17702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17703 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17704 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17705 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17706 (elf_machine_rela, elf_machine_rela_relative)
17707 (elf_machine_lazy_rel): Likewise.
17708 * time/asctime.c (asctime_internal): Likewise.
17709 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17710 * time/tzset.c (__tzset_parse_tz): Likewise.
17711 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17712 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17713 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17714 * wcsmbs/wcsmbsload.h: Likewise.
17717 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17719 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17720 (arena_get2): Remove THREAD_STATS conditionals.
17721 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17722 (__malloc_stats, int): Likewise.
17724 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17726 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17727 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17729 * manual/setjmp.texi: Fix typos/grammar errors.
17731 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17732 Only return early when n is <= 0. Delete unused return statement.
17734 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17735 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17736 * debug/tst-longjmp_chk3.c: New file.
17738 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17739 (test_main): Replace code with set_fortify_handler call.
17740 * debug/test-strcpy_chk.c: Likewise.
17741 * debug/tst-chk1.c: Likewise.
17742 * debug/tst-longjmp_chk.c: Likewise.
17743 * test-skeleton.c: Include fcntl.h & paths.h
17744 (set_fortify_handler): Define.
17746 * debug/tst-longjmp_chk.c: Add header comment and include
17747 ../test-skeleton.c.
17748 (do_test): Mark static.
17749 (TEST_FUNCTION): Define.
17751 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17752 (IP_PMTUDISC_INTERFACE): Likewise.
17753 (IP_MULTICAST_IF): Likewise.
17754 (IP_MULTICAST_TTL): Likewise.
17755 (IP_MULTICAST_LOOP): Likewise.
17756 (IP_ADD_MEMBERSHIP): Likewise.
17757 (IP_DROP_MEMBERSHIP): Likewise.
17758 (IP_UNBLOCK_SOURCE): Likewise.
17759 (IP_BLOCK_SOURCE): Likewise.
17760 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17761 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17762 (IP_MSFILTER): Likewise.
17763 (MCAST_JOIN_GROUP): Likewise.
17764 (MCAST_BLOCK_SOURCE): Likewise.
17765 (MCAST_UNBLOCK_SOURCE): Likewise.
17766 (MCAST_LEAVE_GROUP): Likewise.
17767 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17768 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17769 (MCAST_MSFILTER): Likewise.
17770 (IP_MULTICAST_ALL): Likewise.
17771 (IP_UNICAST_IF): Likewise.
17773 * timezone/Makefile: Delete $(have-ksh) check.
17774 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17775 * timezone/tzselect.ksh: Add +x mode bits.
17777 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17778 (ANON_INODE_FS_MAGIC): Likewise.
17779 (BDEVFS_MAGIC): Likewise.
17780 (BINFMTFS_MAGIC): Likewise.
17781 (BTRFS_TEST_MAGIC): Likewise.
17782 (CRAMFS_MAGIC_WEND): Likewise.
17783 (DEBUGFS_MAGIC): Likewise.
17784 (ECRYPTFS_SUPER_MAGIC): Likewise.
17785 (EXT3_SUPER_MAGIC): Likewise.
17786 (EXT4_SUPER_MAGIC): Likewise.
17787 (FUTEXFS_SUPER_MAGIC): Likewise.
17788 (HOSTFS_SUPER_MAGIC): Likewise.
17789 (HUGETLBFS_MAGIC): Likewise.
17790 (MINIX3_SUPER_MAGIC): Likewise.
17791 (MTD_INODE_FS_MAGIC): Likewise.
17792 (NILFS_SUPER_MAGIC): Likewise.
17793 (OPENPROM_SUPER_MAGIC): Likewise.
17794 (PIPEFS_MAGIC): Likewise.
17795 (PSTOREFS_MAGIC): Likewise.
17796 (QNX6_SUPER_MAGIC): Likewise.
17797 (RAMFS_MAGIC): Likewise.
17798 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17799 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17800 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17801 (SECURITYFS_MAGIC): Likewise.
17802 (SELINUX_MAGIC): Likewise.
17803 (SMACK_MAGIC): Likewise.
17804 (SOCKFS_MAGIC): Likewise.
17805 (SQUASHFS_MAGIC): Likewise.
17806 (STACK_END_MAGIC): Likewise.
17807 (TMPFS_MAGIC): Likewise.
17808 (USBDEVICE_SUPER_MAGIC): Likewise.
17809 (V9FS_MAGIC): Likewise.
17810 (XENFS_SUPER_MAGIC): Likewise.
17811 (CRAMFS_MAGIC): Fix typo in comment.
17812 (EXT2_SUPER_MAGIC): Update comment.
17813 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17815 2014-02-08 Joseph Myers <joseph@codesourcery.com>
17817 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17818 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17819 * sysdeps/unix/sysv/linux/arm: Move directory from
17820 ports/sysdeps/unix/sysv/linux/arm.
17821 * README: Update listing for arm-*-linux-gnueabi.
17823 * README: Remove mention of am33.
17825 2014-02-07 Roland McGrath <roland@hack.frob.com>
17827 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17828 than the comma operator, to avoid "rhs of comma has no effect"
17830 (__sigfillset, __sigandset, __sigorset): Likewise.
17831 * include/signal.h (__sigemptyset): Likewise.
17832 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17834 2014-02-07 Allan McRae <allan@archlinux.org>
17836 * version.h (RELEASE): Set to "development".
17837 (VERSION): Set to "2.19.90"
17838 * NEWS: Add 2.20 section.
17840 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17843 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17845 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17847 * manual/contrib.texi: Update entry for Carlos O'Donell,
17848 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17850 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17852 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17854 * sysdeps/unix/sysv/linux/kernel-features.h
17855 [__LINUX_KERNEL_VERSION >= 0x020621]
17856 (__ASSUME_PROC_PID_TASK_COMM): Define.
17858 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17861 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17862 conversion when destination buffer does not have enough space.
17863 * libio/tst-ftell-partial-wide.c: New test case.
17864 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17866 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17867 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17868 Leonard and Allan McRae.
17870 2014-02-04 David S. Miller <davem@davemloft.net>
17872 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17875 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17904 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17906 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17907 * shlib-versions: Likewise.
17909 2014-02-04 Roland McGrath <roland@hack.frob.com>
17910 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17912 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17913 (abilist-pattern): New variable, set to %-le.abilist.
17915 * Makerules (abilist-pattern): New variable.
17916 (vpath): Use $(abilist-pattern) in place of %.abilist.
17917 (check-abi-% pattern rule): Likewise.
17918 (check-abi, update-abi): Likewise.
17920 2014-02-04 Eric Wong <normalperson@yhbt.net>
17922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17924 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17926 * manual/startup.texi: Add next, previous, and top entries for
17927 the `Program Arguments' and `Environment Variables' nodes.
17929 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17931 * manual/macros.texi: Add comments before MTASC-safety macros.
17933 * manual/users.texi: Document MTASC-safety properties.
17935 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17936 (pthread_getspecific, pthread_setspecific): Format with
17937 @deftypefun, and add @safety note.
17938 * manual/signal.texi: Move comments that analyze the above
17939 functions to their home place.
17941 2014-02-03 Allan McRae <allan@archlinux.org>
17943 * po/sl.po: Update Slovenian translation from translation project.
17945 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17947 * manual/time.texi (timegm): Add missing blank after @c.
17948 Reported by Joseph Myers <joseph@codesourcery.com>.
17950 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17952 * manual/check-safety.sh: New.
17953 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17955 * manual/terminal.texi: Document MTASC-safety properties.
17957 * manual/filesys.texi: Document MTASC-safety properties.
17959 * manual/errno.texi: Document MTASC-safety properties.
17961 * manual/intro.texi: Document safety identifiers and
17964 * manual/string.texi (wcstok): Fix prototype.
17965 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17967 * manual/time.texi: Document MTASC-safety properties.
17969 * manual/string.texi: Document MTASC-safety properties.
17971 * manual/threads.texi: Document MTASC-safety properties.
17973 * manual/stdio.texi: Document MTASC-safety properties.
17975 * manual/syslog.texi: Document MTASC-safety properties.
17977 * manual/sysinfo.texi: Document MTASC-safety properties.
17979 * manual/startup.texi: Document MTASC-safety properties.
17981 * manual/socket.texi: Document MTASC-safety properties.
17983 * manual/signal.texi: Document MTASC-safety properties.
17985 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17987 * manual/setjmp.texi: Document MTASC-safety properties.
17989 * manual/search.texi: Document MTASC-safety properties.
17991 * manual/resource.texi: Document MTASC-safety properties.
17993 * manual/process.texi: Document MTASC-safety properties.
17995 * manual/platform.texi: Document MTASC-safety properties.
17997 * manual/pipe.texi: Document MTASC-safety properties.
17999 * manual/pattern.texi: Document MTASC-safety properties.
18001 * manual/message.texi: Document MTASC-safety properties.
18004 * manual/memory.texi: Document MTASC-safety properties.
18006 * manual/math.texi: Document MTASC-safety properties.
18008 * manual/locale.texi: Document MTASC-safety properties.
18010 * manual/llio.texi: Document MTASC-safety properties.
18012 * manual/libdl.texi: New.
18014 * manual/lang.texi: Document MTASC-safety properties.
18016 * manual/job.texi: Document MTASC-safety properties.
18018 * manual/getopt.texi: Document MTASC-safety properties.
18020 * manual/ctype.texi: Document MTASC-safety properties.
18022 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18025 * csu/libc-tls.c (static_map): Remove variable.
18026 (__libc_setup_tls): Use main executable's link map for TLS data.
18027 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18028 casing for LM_ID_BASE and GL(dl_nns).
18029 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18030 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18031 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18032 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18033 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18035 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18038 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18040 * manual/debug.texi: Document MTASC-safety properties.
18042 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18045 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18046 of __x86_64__ when disabling x87 inline functions.
18048 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18050 * manual/charset.texi: Document MTASC-safety properties.
18052 * manual/crypt.texi: Document MTASC-safety properties.
18054 * manual/conf.texi: Document MTASC-safety properties.
18056 * manual/arith.texi: Document MTASC-safety properties.
18058 * manual/argp.texi: Document MTASC-safety properties.
18060 * manual/macros.texi: Introduce macros to document multi
18061 thread, asynchronous signal and asynchronous cancellation
18063 * manual/intro.texi: Introduce the properties themselves.
18065 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18067 * sysdeps/sh/sh4/Makefile: New file.
18069 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18071 * math/gen-libm-test.pl ($srcdir): New variable.
18072 ($auto_input): Use it.
18074 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18077 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18078 access beyond array bounds when parsing netgroups file.
18080 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18081 the old buffer before realloc.
18083 2014-01-27 Allan McRae <allan@archlinux.org>
18085 * po/fr.po: Update French translation from translation project.
18087 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18089 * sysdeps/sh/libm-test-ulps: Regenerate.
18091 2014-01-24 David S. Miller <davem@davemloft.net>
18093 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18095 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18097 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18098 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18100 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18103 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18104 string pointers after reallocation.
18106 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18108 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18109 __SH4A__ instead of __SH_FPU_ANY__.
18111 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18113 * sysdeps/sh/fpu_control.h: New file.
18114 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18115 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18116 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18117 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18118 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18119 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18120 * sysdeps/sh/sys/ucontext.h: Remove.
18121 * sysdeps/sh/sys: Remove directory.
18123 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18125 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18126 s390/sys/ucontext.h.
18127 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18128 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18130 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18133 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18135 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18138 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18139 Adjust the vDSO correctly for internal calls.
18140 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18142 2014-01-20 Allan McRae <allan@archlinux.org>
18144 * po/ca.po: Update Catalan translation from translation project.
18146 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18148 * sysdeps/s390/sotruss-lib.c: New file.
18150 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18153 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18154 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18155 local calls issues by not having a PLT stub required for IFUNC calls.
18156 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18158 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18160 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18161 * math/test-fpucw-static.c: Likewise.
18163 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18166 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18168 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18170 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18171 implementation for powerpc.
18173 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18176 * sysdeps/posix/system.c (__libc_system): Do not enable
18177 asynchronous cancellation.
18179 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18182 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18183 handling only for numbers special also in the IEEE case.
18185 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18187 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18189 2014-01-11 Allan McRae <allan@archlinux.org>
18191 * po/bg.po: Update Bulgarian translation from translation project.
18193 * po/de.po: Update German translation from translation project.
18195 2014-01-10 Roland McGrath <roland@hack.frob.com>
18197 * sysdeps/generic/gcc-compat.h: New file.
18199 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18201 * benchtests/asin-inputs: Correct slow inputs.
18202 * benchtests/acos-inputs: Likewise.
18204 2014-01-10 Allan McRae <allan@archlinux.org>
18206 * po:sv.po: Update Swedish translation from translation project.
18208 * po/vi.po: Update Vietnamese translation from translation project.
18210 * po/eo.po: Update Esperanto translation from translation project.
18212 * po/cs.po: Update Czech translation from translation project.
18214 * po/nl.po: Update Dutch translation from translation project.
18216 * po/pl.po: Update Polish translation from translation project.
18218 * po/ru.po: Update Russian translation from translation project.
18220 * po/uk.po: Update Ukrainian translation from translation project.
18222 2014-01-08 Brooks Moses <bmoses@google.com>
18224 * elf/dl-load.c: Fix comment typo.
18226 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18228 * po/header.pot: Rename to...
18229 * po/pot.header: ... this.
18230 * po/Makefile: Use pot.header.
18232 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18233 Maxim Kuvyrkov <maxim@kugelworks.com>
18236 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18237 SRC and DEST against LEN.
18239 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18242 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18244 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18246 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18250 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18253 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18254 for large positive arguments.
18256 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18258 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18260 * math/auto-libm-test-in: Mark various tests with
18261 xfail-rounding:ldbl-128ibm.
18262 * math/auto-libm-test-out: Regenerated.
18265 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18266 Increase overflow threshold.
18268 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18271 * stdio-common/vfprintf.c: Check for integer overflow.
18273 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18275 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18276 the first argument and return value of __tls_get_addr_internal.
18278 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18280 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18281 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18283 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18285 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18286 * sysdeps/s390/rtld-global-offsets.sym: New file.
18287 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18289 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18290 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18293 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18294 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18300 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18301 halfs of GPRs for high_gprs contexts.
18302 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18303 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18305 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18307 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18309 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18310 for high GPRs (uc_high_gprs) and for future extensions
18312 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18313 for future extensions (__reserved).
18314 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18316 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18317 SC_HIGHGPRS offset definition.
18318 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18319 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18321 * Versions.def: Add GLIBC_2.19 for libpthread.
18322 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18323 siglongjmp for libpthread with GLIBC_2.19 symver.
18324 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18325 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18326 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18327 * sysdeps/s390/__longjmp.c: New file.
18328 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18329 * sysdeps/s390/longjmp.c: New file.
18330 * sysdeps/s390/setjmp.S: New file.
18331 * sysdeps/s390/sigjmp.S: New file.
18332 * sysdeps/s390/v1-longjmp.c: New file.
18333 * sysdeps/s390/v1-setjmp.h: New file.
18334 * sysdeps/s390/v1-sigjmp.c: New file.
18335 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18336 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18337 GLIBC_2.19 version.
18338 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18339 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18340 versioned symbols for ____longjmp_chk.
18341 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18351 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18352 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18353 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18354 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18355 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18356 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18357 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18358 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18359 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18360 * sysdeps/s390/rtld-__longjmp.c: New file.
18361 * sysdeps/s390/rtld-setjmp.S: New file.
18363 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18366 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18367 Return -__logl (x) for small positive arguments without evaluating
18370 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18372 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18374 (__ptrace_peeksiginfo_args): ... this.
18375 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18377 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18379 2014-01-06 Allan McRae <allan@archlinux.org>
18381 * inet/netinet/in.h: Fix typo in comment.
18383 2014-01-05 Andreas Jaeger <aj@suse.de>
18385 * sysdeps/i386/fpu/libm-test-ulps: Update.
18387 2014-01-05 Allan McRae <allan@archlinux.org>
18389 * po/libc.pot: Regenerated.
18391 * malloc/memusagestat.c: Fix gettext call formatting.
18393 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18395 * nscd/nscd.c: Improve usage() output.
18397 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18399 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18400 * sysdeps/unix/sysv/linux/configure: Regenerated.
18401 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18402 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18404 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18407 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18408 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18410 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18412 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18413 extra tokens at end of #undef directive.
18414 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18415 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18416 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18418 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18420 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18422 * math/auto-libm-test-in: Mark various tests with
18423 xfail-rounding:ldbl-128ibm.
18424 * math/auto-libm-test-out: Regenerated.
18426 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18429 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18430 numbers with subnormal high part when calculating exponent.
18433 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18439 (__ieee754_acoshl): Use __log1pl not __log1p.
18441 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18443 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18444 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18445 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18446 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18447 (reused_arena, arena_get2): Convert to GNU style.
18448 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18449 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18450 (memalign_check, __malloc_set_state): Likewise.
18451 * malloc/mallocbug.c (main): Likewise.
18452 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18453 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18454 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18455 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18456 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18457 (__posix_memalign, malloc_info): Likewise.
18458 * malloc/malloc.h: Likewise.
18459 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18460 (mallochook, memalignhook, reallochook, mabort): Likewise.
18461 * malloc/mcheck.h: Likewise.
18462 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18463 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18464 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18465 * malloc/morecore.c (__default_morecore): Likewise.
18466 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18467 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18468 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18469 (print_and_abort): Likewise.
18470 * malloc/obstack.h: Likewise.
18471 * malloc/set-freeres.c (__libc_freeres): Likewise.
18472 * malloc/tst-mallocstate.c (main): Likewise.
18473 * malloc/tst-mtrace.c (main): Likewise.
18474 * malloc/tst-realloc.c (do_test): Likewise.
18476 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18479 * nscd/netgroupcache.c (do_notfound): New function.
18480 (addgetnetgrentX): Use it.
18483 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18484 NSS_STATUS_NOTFOUND.
18486 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18488 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18491 2014-01-01 Allan McRae <allan@archlinux.org>
18493 * scripts/update-copyrights: Update configure input file suffix.
18495 * NEWS: Update copyright year.
18496 * catgets/gencat.c: Likewise.
18497 * csu/version.c: Likewise.
18498 * debug/catchsegv.sh: Likewise.
18499 * debug/pcprofiledump.c: Likewise.
18500 * debug/xtrace.sh: Likewise.
18501 * elf/ldconfig.c: Likewise.
18502 * elf/ldd.bash.in: Likewise.
18503 * elf/pldd.c: Likewise.
18504 * elf/sotruss.ksh: Likewise.
18505 * elf/sprof.c: Likewise.
18506 * iconv/iconv_prog.c: Likewise.
18507 * iconv/iconvconfig.c: Likewise.
18508 * locale/programs/locale.c: Likewise.
18509 * locale/programs/localedef.c: Likewise.
18510 * login/programs/pt_chown.c: Likewise.
18511 * malloc/memusage.sh: Likewise.
18512 * malloc/memusagestat.c: Likewise.
18513 * malloc/mtrace.pl: Likewise.
18514 * manual/libc.texinfo: Likewise.
18515 * nscd/nscd.c: Likewise.
18516 * nss/getent.c: Likewise.
18517 * nss/makedb.c: Likewise.
18518 * posix/getconf.c: Likewise.
18519 * scripts/test-installation.pl: Likewise.
18521 * All files with FSF copyright notices: Update copyright dates
18522 using scripts/update-copyrights.
18523 * intl/plural.c: Regenerated.
18524 * locale/programs/charmap-kw.h: Likewise.
18525 * locale/programs/locfile-kw.h: Likewise.
18527 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18529 * sysdeps/unix/sysv/linux/configure: Regenerated.
18530 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18531 the linux/fanotify.h header.
18532 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18533 HAVE_LINUX_FANOTIFY_H is defined.
18535 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18537 * benchtests/cos-inputs: New inputs.
18538 * benchtests/sin-inputs: Likewise.
18540 * benchtests/atan-inputs: New inputs. Fix name of multiple
18541 precision fallback inputs.
18543 * benchtests/atanh-inputs: New inputs.
18544 * benchtests/tanh-inputs: Likewise.
18546 * benchtests/acosh-inputs: New inputs.
18547 * benchtests/asinh-inputs: Likewise.
18549 * benchtests/cosh-inputs: New inputs.
18550 * benchtests/sinh-inputs: Likewise.
18552 * benchtests/acos-inputs: Add more inputs.
18553 * benchtests/asin-inputs: Likewise.
18555 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18558 * manual/arith.texi: Fix spelling.
18559 * manual/charset.texi: Likewise.
18560 * manual/errno.texi: Likewise.
18561 * manual/filesys.texi: Likewise.
18562 * manual/lang.texi: Likewise.
18563 * manual/llio.texi: Likewise.
18564 * manual/locale.texi: Likewise.
18565 * manual/message.texi: Likewise.
18566 * manual/resource.texi: Likewise.
18567 * manual/search.texi: Likewise.
18568 * manual/setjmp.texi: Likewise.
18569 * manual/stdio.texi: Likewise.
18570 * manual/string.texi: Likewise.
18571 * manual/sysinfo.texi: Likewise.
18572 * manual/time.texi: Likewise.
18574 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18576 * po/sl.po: New file.
18578 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18580 * .gitignore: Add core/.gdbinit/.gdb_history.
18582 2013-12-27 Allan McRae <allan@archlinux.org>
18585 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18586 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18588 2013-12-24 Brooks Moses <bmoses@google.com>
18590 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18591 all compilers that claim C++98 compliance, not just GCC.
18592 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18595 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18597 * NEWS: Restore accidentally deleted bug-fix entries.
18599 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18600 Ondřej Bílka <neleai@seznam.cz>
18603 * malloc/malloc.c (_int_free): Perform sanity check only if we
18606 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18609 * manual/stdio.texi (String Input Conversions): Clarify that character
18610 classes are not supported.
18612 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18616 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18619 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18620 Calculate results for small negative arguments directly rather
18621 than using reflection formula with special underflow handling.
18623 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18624 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18625 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18626 (fchflags): Likewise.
18627 (revoke): Likewise.
18628 (setlogin): Likewise.
18629 (sigaltstack): Likewise.
18631 (sigblock): Remove.
18632 (sigsetmask): Likewise.
18634 (waitpid): Likewise.
18635 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18636 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18638 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18639 * sysdeps/unix/bsd/Makefile: ... here.
18640 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18641 * sysdeps/unix/bsd/Versions: ... here.
18642 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18643 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18644 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18645 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18646 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18647 * sysdeps/unix/bsd/sigblock.c: ... here.
18648 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18649 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18650 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18651 * sysdeps/unix/bsd/sigvec.c: ... here.
18652 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18653 * sysdeps/unix/bsd/tcdrain.c: ... here.
18654 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18655 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18656 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18657 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18658 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18659 * sysdeps/unix/bsd/wait.c: ... here.
18660 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18661 * sysdeps/unix/bsd/wait3.c: ... here.
18662 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18663 * sysdeps/unix/bsd/waitpid.c: ... here.
18665 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18669 round-to-nearest for [!USE_AS_EXPM1L].
18670 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18671 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18672 more tests of exp and exp10. Expect some exp10 tests to miss
18673 exceptions or fail in directed rounding modes.
18674 * math/auto-libm-test-out: Regenerated.
18675 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18676 (exp10_test_tonearest): New function.
18677 (exp10_towardzero_test_data): New array.
18678 (exp10_test_towardzero): New function.
18679 (exp10_downward_test_data): New array.
18680 (exp10_test_downward): New function.
18681 (exp10_upward_test_data): New array.
18682 (exp10_test_upward): New function.
18683 (main): Call the new functions.
18684 * sysdeps/i386/fpu/libm-test-ulps: Update.
18685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18689 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18690 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18691 * math/auto-libm-test-out: Regenerated.
18692 * math/libm-test.inc (acosh_test_data): Add more tests.
18693 (atanh_test_data): Likewise.
18694 (ceil_test_data): Likewise.
18695 (copysign_test_data): Likewise.
18696 * sysdeps/i386/fpu/libm-test-ulps: Update.
18697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18699 * timezone/checktab.awk: Update from tzcode 2013i.
18700 * timezone/private.h: Likewise.
18701 * timezone/scheck.c: Likewise.
18702 * timezone/tzfile.h: Likewise.
18703 * timezone/tzselect.ksh: Likewise.
18704 * timezone/zdump.c: Likewise.
18705 * timezone/zic.c: Likewise.
18707 * math/auto-libm-test-in: Add tests of cpow.
18708 * math/auto-libm-test-out: Regenerated.
18709 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18710 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18712 (func_calc_desc): Add mpc_cc_c union field.
18713 (test_functions): Add cpow.
18714 (special_fill_2pi): New function.
18715 (special_real_inputs): Add 2pi.
18716 (calc_generic_results): Handle mpc_cc_c.
18717 * sysdeps/i386/fpu/libm-test-ulps: Update.
18718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18720 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18721 csqrt, ctan and ctanh.
18722 * math/auto-libm-test-out: Regenerated.
18723 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18724 (TEST_COND_x86): Likewise.
18725 (ccos_test_data): Use AUTO_TESTS_c_c.
18726 (ccosh_test_data): Likewise.
18727 (cexp_test_data): Likewise.
18728 (clog_test_data): Likewise.
18729 (csqrt_test_data): Likewise.
18730 (ctan_test_data): Likewise.
18731 (ctan_tonearest_test_data): Likewise.
18732 (ctan_towardzero_test_data): Likewise.
18733 (ctan_downward_test_data): Likewise.
18734 (ctan_upward_test_data): Likewise.
18735 (ctanh_test_data): Likewise.
18736 (ctanh_tonearest_test_data): Likewise.
18737 (ctanh_towardzero_test_data): Likewise.
18738 (ctanh_downward_test_data): Likewise.
18739 (ctanh_upward_test_data): Likewise.
18740 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18742 (func_calc_desc): Add mpc_c_c union field.
18743 (FUNC_mpc_c_c): New macro.
18744 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18745 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18747 (special_fill_min_subnorm_p120): New function.
18748 (special_real_inputs): Add min_subnorm_p120.
18749 (calc_generic_results): Handle mpc_c_c.
18750 * sysdeps/i386/fpu/libm-test-ulps: Update.
18751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18753 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18755 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18756 (do_sin_slow): New functions.
18757 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18758 (cslow2, csloww1, csloww2): Use the new functions.
18760 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18761 Use M to change sign of result instead of X. Assume X is
18763 (csloww1): Likewise.
18767 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18768 arguments A and DA.
18772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18774 (sloww1): Don't adjust sign of DX.
18775 (csloww1): Likewise.
18776 (sloww2): Use X directly and don't adjust sign of DX.
18777 (csloww2): Likewise.
18779 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18781 * math/auto-libm-test-in: Add tests of cabs and carg.
18782 * math/auto-libm-test-out: Regenerated.
18783 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18784 (carg_test_data): Likewise.
18785 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18787 (func_calc_desc): Add mpc_c_f union field.
18788 (test_functions): Add cabs and carg.
18789 (calc_generic_results): Handle mpc_c_f.
18791 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18792 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18793 as a macro and a compat symbol.
18794 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18795 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18796 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18797 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18798 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18799 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18801 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18803 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18805 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18807 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18809 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18811 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18812 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18815 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18819 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18821 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18822 trailing whitespace removed.
18823 * scripts/config.guess: Update to version 2013-11-29.
18824 * scripts/config.sub: Update to version 2013-10-01.
18826 * math/auto-libm-test-in: Add tests of sincos.
18827 * math/auto-libm-test-out: Regenerated.
18828 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18829 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18831 (func_calc_desc): Add mpfr_f_11 union field.
18832 (test_functions): Add sincos.
18833 (calc_generic_results): Handle mpfr_f_11.
18834 * sysdeps/i386/fpu/libm-test-ulps: Update.
18835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18837 2013-12-19 Andreas Schwab <schwab@suse.de>
18839 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18842 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18843 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18845 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18847 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18848 * sysdeps/i386/fpu/libm-test-ulps: Update.
18849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18852 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18853 round-to-nearest mode when using frndint.
18854 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18855 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18856 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18858 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18860 * math/auto-libm-test-out: Regenerated.
18861 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18862 (TEST_COND_x86): Likewise.
18863 (expm1_tonearest_test_data): New array.
18864 (expm1_test_tonearest): New function.
18865 (expm1_towardzero_test_data): New array.
18866 (expm1_test_towardzero): New function.
18867 (expm1_downward_test_data): New array.
18868 (expm1_test_downward): New function.
18869 (expm1_upward_test_data): New array.
18870 (expm1_test_upward): New function.
18871 (main): Run the new test functions.
18872 * sysdeps/i386/fpu/libm-test-ulps: Update.
18873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18875 * include/features.h: Update comment documenting feature test
18876 macros. Mention _DEFAULT_SOURCE in comment.
18877 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18878 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18879 _BSD_SOURCE and _SVID_SOURCE.
18880 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18881 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18882 !_SVID_SOURCE]: Likewise.
18883 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18884 (__USE_POSIX_IMPLICITLY): Define.
18885 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18886 (_POSIX_SOURCE): Undefine and redefine.
18887 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18888 (_POSIX_C_SOURCE): Likewise.
18889 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18890 (Feature Test Macros): Update documentation of default features.
18892 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18894 * benchtests/Makefile: Add bench-strtok.
18895 * benchtests/bench-strtok.c: New file: strtok benchtest.
18897 2013-12-19 Allan McRae <allan@archlinux.org>
18899 * manual/install.texi: Suppress menu for plain text output.
18900 * INSTALL: Regenerated.
18902 2013-12-18 Brooks Moses <bmoses@google.com>
18905 * misc/getauxval.c: Include errno.h.
18906 (__getauxval): Set errno to ENOENT if the requested type is not
18908 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18909 don't declare with __attribute_const__.
18910 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18911 * manual/startup.texi: Document that getauxval sets errno.
18913 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18915 * math/auto-libm-test-in: Add tests of jn and yn.
18916 * math/auto-libm-test-out: Regenerated.
18917 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18918 (yn_test_data): Likewise.
18919 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18921 (func_calc_desc): Add mpfr_if_f union field.
18922 (FUNC_mpfr_if_f): New macro.
18923 (test_functions): Add jn and yn.
18924 (calc_generic_results): Assert type of second input for
18925 mpfr_ff_f. Handle mpfr_if_f.
18926 (output_for_one_input_case): Disable all checking for arguments
18927 fitting floating-point types in case of an integer argument.
18928 * sysdeps/i386/fpu/libm-test-ulps: Update.
18929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18932 Don't expect fegetround reference in libm.so.
18934 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18936 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18937 $(config-cflags-nofma).
18939 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18941 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18942 * math/auto-libm-test-out: Regenerated.
18945 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18946 to determine exponent and adjust argument to have exponent of -1.
18947 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18949 * math/auto-libm-test-out: Regenerated.
18950 * sysdeps/i386/fpu/libm-test-ulps: Update.
18951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18953 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18955 * manual/probes.texi: Remove cases when per-thread arenas are
18958 2013-12-18 Andreas Schwab <schwab@suse.de>
18960 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18961 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18962 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18963 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18964 * sysdeps/i386/i686/multiarch/Makefile: Update.
18965 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18967 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18969 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18970 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18972 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18975 Support TZ transition times < 00:00:00.
18976 This is needed for version-3 tz-format files; it supports time
18977 stamps past 2037 for America/Godthab (the only entry in the tz
18978 database for which this change is relevant).
18979 * manual/time.texi (TZ Variable): Document transition times
18980 from -167:59:59 through -00:00:01.
18981 * time/tzset.c (tz_rule): Time of day is now signed.
18982 (__tzset_parse_tz): Parse negative time of day.
18984 Document TZ transition times >= 25:00:00.
18985 * manual/time.texi (TZ Variable): Document transition times from
18986 25:00:00 through 167:59:59. These are already supported, and this
18987 support will help with version-3 tz-format files.
18989 * manual/time.texi (TZ Variable): Modernize North America example
18990 to reflect current (i.e., 2007-and-later) daylight saving rules.
18992 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18994 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18996 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18997 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19000 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19001 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19002 * sysdeps/unix/bsd/clock.c: Likewise.
19003 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19004 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19005 * sysdeps/unix/bsd/init-posix.c: Likewise.
19006 * sysdeps/unix/bsd/poll.c: Likewise.
19007 * sysdeps/unix/bsd/ptsname.c: Likewise.
19008 * sysdeps/unix/bsd/seekdir.c: Likewise.
19009 * sysdeps/unix/bsd/setegid.c: Likewise.
19010 * sysdeps/unix/bsd/seteuid.c: Likewise.
19011 * sysdeps/unix/bsd/setgid.c: Likewise.
19012 * sysdeps/unix/bsd/setrgid.c: Likewise.
19013 * sysdeps/unix/bsd/setruid.c: Likewise.
19014 * sysdeps/unix/bsd/setsid.c: Likewise.
19015 * sysdeps/unix/bsd/setuid.c: Likewise.
19016 * sysdeps/unix/bsd/sigaction.c: Likewise.
19017 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19018 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19019 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19020 * sysdeps/unix/bsd/telldir.c: Likewise.
19021 * sysdeps/unix/bsd/times.c: Likewise.
19022 * sysdeps/unix/bsd/usleep.c: Likewise.
19024 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19025 ($(objpfx)libbsd-compat.a): Remove rule.
19027 * include/features.h (__FAVOR_BSD): Do not define.
19028 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19029 features conflicting with POSIX.
19030 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19031 (_BSD_SOURCE): Remove description of not being a subset of other
19032 feature test macros.
19033 * manual/job.texi (getpgrp): Do not document BSD version.
19034 (getpgid): Do not document by reference to BSD getpgrp.
19035 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19036 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19037 * signal/signal.h [__FAVOR_BSD]: Likewise.
19038 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19039 instead of making contents conditional on [__FAVOR_BSD].
19040 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19042 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19046 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19049 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19050 values below 2**-450, not 2**-500.
19051 * math/auto-libm-test-in: Don't allow spurious underflow from
19053 * math/auto-libm-test-out: Regenerated.
19057 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19058 values of ha and hb and sort them after adjusting subnormal
19060 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19062 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19063 values of ea and eb and sort them after adjusting subnormal
19065 * math/auto-libm-test-in: Do not expect some hypot tests of
19066 subnormals to fail. Add more hypot tests.
19067 * math/auto-libm-test-out: Regenerated.
19069 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19072 * sysdeps/sh/s_fma.c: New file.
19073 * sysdeps/sh/s_fmaf.c: New file.
19074 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19076 * sysdeps/sh/Implies: Add sh/soft-fp.
19078 2013-12-16 Roland McGrath <roland@hack.frob.com>
19080 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19081 level of indirection to members `objname', `errstring', `malloced'.
19082 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19083 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19084 it as the __longjmp argument (just pass 1 instead).
19085 (_dl_catch_error): Initialize C with argument pointers and address of
19086 volatile local ERRCODE rather than copying values out of C at return.
19088 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19090 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19091 * math/auto-libm-test-out: Regenerated.
19092 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19093 (hypot_test_data): Likewise.
19094 (pow_test_data): Likewise.
19095 (pow_tonearest_test_data): Likewise.
19096 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19098 (func_calc_desc): Add mpfr_ff_f union field.
19099 (FUNC_mpfr_ff_f): New macro.
19100 (test_functions): Add atan2, hypot and pow.
19101 (special_fill_min): New function.
19102 (special_fill_minus_min): Likewise.
19103 (special_fill_min_subnorm): Likewise.
19104 (special_fill_minus_min_subnorm): Likewise.
19105 (special_real_inputs): Add min, -min, min_subnorm and
19107 (calc_generic_results): Handle mpfr_ff_f.
19108 * sysdeps/i386/fpu/libm-test-ulps: Update.
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19111 2013-12-16 Will Newton <will.newton@linaro.org>
19113 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19114 (Aligned Memory Blocks): Add documentation for aligned_alloc
19115 and suggest it as an alternative to posix_memalign.
19116 (Hooks for Malloc): Document __memalign_hook is also called
19117 for aligned_alloc. (Summary of Malloc): Add summary for
19118 aligned alloc. Document __memalign_hook is also called
19121 2013-12-16 Will Newton <will.newton@linaro.org>
19123 * manual/memory.texi (Malloc Examples): Clarify default
19124 alignment documentation. Suggest posix_memalign rather
19125 than memalign or valloc.
19126 (Aligned Memory Blocks): Remove suggestion to use memalign
19127 or valloc. Remove obsolete comment about BSD.
19128 Document memalign errno values and mark the function obsolete.
19129 Document posix_memalign returned error codes. Mark valloc
19130 as obsolete. (Hooks for Malloc): __memalign_hook is also
19131 called for posix_memalign and valloc.
19132 (Summary of Malloc): Add posix_memalign to function summary.
19133 __memalign_hook is also called for posix_memalign and valloc.
19135 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19137 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19141 (sloww): Use mynumber union. Expand ternary operator into
19142 if-else statements.
19143 (cslow): use mynumber union.
19145 2013-12-16 Allan McRae <allan@archlinux.org>
19147 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19148 * configure: Regenerated.
19150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19153 * configure.ac: Added --enable-maintainer-mode. Check for
19154 autoconf when enabled.
19155 * configure: Regenerated.
19157 * nscd/nscd.service: New file.
19158 * nscd/nscd.tmpfiles: New file.
19160 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19163 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19164 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19165 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19166 (strstr): Add __strstr_sse2_unaligned ifunc.
19167 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19168 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19169 (strcasestr): Remove __strcasestr_sse42 ifunc.
19170 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19174 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19176 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19177 * sysdeps/sh/bits/fenv.h: ... here.
19178 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19180 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19182 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19185 hypotf multiarch implementations.
19186 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19187 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19188 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19189 multiarch hypot for PPC64.
19190 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19191 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19193 multiarch hypotf for PPC64.
19195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19196 modff multiarch implementations.
19197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19200 multiarch modf for PPC64.
19201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19204 multiarch modff for PPC64.
19206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19207 and logl multiarch implementations.
19208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19211 multiarch logb for PPC64.
19212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19215 multiarch logb for PPC64.
19216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19219 multiarch logb for PPC64.
19221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19222 isinff multiarch implementation.
19223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19227 multiarch isinf for PPC64.
19228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19231 multiarch isinff for PPC64.
19233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19234 finitef multiarch implementation.
19235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19239 multiarch finite for PPC64.
19240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19243 multiarch finitef for PPC64.
19245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19246 lrint multiarch implementation.
19247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19251 multiarch llrint for PPC64.
19252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19253 multiarch lrint for PPC64.
19255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19256 copysignf multiarch implementation.
19257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19262 multiarch copysign for PPC64.
19263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19264 multiarch copysignf for PPC64.
19266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19267 multiarch implementation.
19268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19276 multiarch llround for PPC64.
19277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19278 multiarch trunc for PPC64.
19279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19280 multiarch truncf for PPC64.
19282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19283 multiarch implementation.
19284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19292 multiarch llround for PPC64.
19293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19294 multiarch round for PPC64.
19295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19296 multiarch roundf for PPC64.
19298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19299 multiarch implementation.
19300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19308 multiarch llround for PPC64.
19309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19310 multiarch floor for PPC64.
19311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19312 multiarch floorf for PPC64.
19314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19315 multiarch implementation.
19316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19324 multiarch llround for PPC64.
19325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19326 multiarch ceil for PPC64.
19327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19328 multiarch ceilf for PPC64.
19330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19331 multiarch implementation.
19332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19339 multiarch llround for PPC64.
19340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19341 multiarch lround for PPC64.
19343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19344 multiarch implementation.
19345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19352 multiarch isnan for PPC64.
19353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19354 multiarch isnanf for PPC64.
19356 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19357 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19358 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19359 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19360 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19363 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19364 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19365 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19369 multiarch implementations.
19370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19371 (__libc_ifunc_impl_list): Likewise.
19372 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19373 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19374 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19375 multiarch stpcpy for PPC64.
19377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19378 multiarch implementations.
19379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19380 (__libc_ifunc_impl_list): Likewise.
19381 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19382 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19383 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19384 multiarch strcpy for PPC64.
19386 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19387 redefine function name.
19388 (_wordcopy_fwd_dest_aligned): Likewise.
19389 (_wordcopy_bwd_aligned): Likewise.
19390 (_wordcopy_bwd_dest_aligned): Likewise.
19391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19392 multiarch implementations.
19393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19394 (__libc_ifunc_impl_list): Likewise.
19395 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19396 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19397 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19398 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19399 multiarch wcscpy for PPC64.
19401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19402 multiarch implementations.
19403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19404 (__libc_ifunc_impl_list): Likewise.
19405 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19406 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19407 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19408 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19409 multiarch wcscpy for PPC64.
19411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19412 multiarch implementations.
19413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19414 (__libc_ifunc_impl_list): Likewise.
19415 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19416 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19417 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19418 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19419 multiarch wcsrchr for PPC64.
19421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19422 multiarch implementations.
19423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19424 (__libc_ifunc_impl_list): Likewise.
19425 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19426 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19427 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19428 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19429 multiarch wcschr for PPC64.
19431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19432 multiarch implementations.
19433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19434 (__libc_ifunc_impl_list): Likewise.
19435 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19436 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19437 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19438 multiarch strchrnul for PPC64.
19440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19443 (__libc_ifunc_impl_list): Likewise.
19444 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19445 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19446 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19447 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19453 (__libc_ifunc_impl_list): Likewise.
19454 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19455 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19456 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19457 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19461 multiarch implementations.
19462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19463 (__libc_ifunc_impl_list): Likewise.
19464 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19465 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19466 strncasecmp for PPC64.
19467 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19468 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19469 multiarch strncasecmp_l for PPC64.
19471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19472 multiarch implementations.
19473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19474 (__libc_ifunc_impl_list): Likewise.
19475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19476 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19477 multiarch strcasecmp for PPC64.
19478 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19480 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19481 multiarch strcasecmp_l for PPC64.
19483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19486 (__libc_ifunc_impl_list): Likewise.
19487 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19488 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19489 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19495 (__libc_ifunc_impl_list): Likewise.
19496 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19497 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19498 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19504 (__libc_ifunc_impl_list): Likewise.
19505 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19506 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19507 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19508 rawmemrchr for PPC64.
19510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19513 (__libc_ifunc_impl_list): Likewise.
19514 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19515 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19516 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19522 (__libc_ifunc_impl_list): Likewise.
19523 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19524 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19525 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19531 (__libc_ifunc_impl_list): Likewise.
19532 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19533 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19534 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19537 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19538 avoid cretion of __bzero symbol.
19539 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19541 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19543 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19546 multiarch implementations.
19547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19548 (__libc_ifunc_impl_list): Likewise.
19549 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19550 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19551 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19552 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19554 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19555 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19556 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19557 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19558 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19560 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19562 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19566 (__libc_ifunc_impl_list): Likewise.
19567 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19568 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19569 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19570 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19574 multiarch for POWER/PPC64.
19575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19576 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19577 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19578 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19579 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19580 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19581 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19582 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19583 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19586 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19587 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19588 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19589 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19590 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19591 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19592 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19593 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19594 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19595 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19596 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19597 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19598 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19599 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19600 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19609 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19611 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19613 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19615 * benchtests/Makefile (bench): Add exp2 and log2.
19616 (LDLIBS-bench-exp2): Add -lm.
19617 (LDLIBS-bench-log2): Likewise.
19618 * benchtests/exp2-inputs: New inputs file.
19619 * benchtests/log2-inputs: New inputs file.
19620 * benchtests/log-inputs: Add new inputs.
19621 * benchtests/tan-inputs: Likewise.
19623 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19625 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19627 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19628 (csloww2): ... from here.
19630 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19631 instead of structures.
19632 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19633 (POLYNOMIAL): Likewise.
19634 (TAYLOR_SLOW): Likewise.
19640 (sloww1); Likewise.
19641 (sloww2): Likewise.
19642 (bsloww1): Likewise.
19643 (bsloww2): Likewise.
19644 (cslow2): Likewise.
19645 (csloww): Likewise.
19646 (csloww1): Likewise.
19647 (csloww2): Likewise.
19649 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19651 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19652 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19653 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19654 * malloc/hooks.c (realloc_check): Likewise.
19656 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19657 * malloc/arena.c: Remove PER_THREAD conditional.
19658 [!PER_THREAD]: Remove code.
19659 (ptmalloc_unlock_all2): Likewise.
19660 (ptmalloc_init): Likewise.
19661 (_int_new_arena): Likewise.
19662 (arena_get2): Likewise.
19663 * malloc/hooks.c (__malloc_get_state): Likewise.
19664 (__malloc_set_state): Likewise.
19665 * malloc/malloc.c: Likewise.
19666 (struct malloc_state): Likewise.
19667 (struct malloc_par): Likewise.
19668 (__libc_realloc): Likewise.
19669 (__libc_mallopt): Likewise.
19671 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19673 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19675 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19677 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19678 macro to a function. Check for zero perturb_byte.
19679 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19681 * malloc/malloc.c: (force_reg): Remove.
19682 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19683 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19684 force_reg by atomic_forced_read.
19685 * malloc/arena.c (ptmalloc_init): Likewise.
19686 * malloc/hooks.c (top_check): Likewise.
19688 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19692 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19696 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19698 * math/auto-libm-test-in: Add tests of lgamma.
19699 * math/auto-libm-test-out: Regenerated.
19700 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19701 (M_LOG_2_SQRT_PIl): Likewise.
19702 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19703 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19705 (func_calc_desc): Add mpfr_f_f1 union field.
19706 (ARGS1): New macro.
19714 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19715 (test_functions): Add lgamma.
19716 (calc_generic_results): Handle mpfr_f_f1.
19717 * sysdeps/i386/fpu/libm-test-ulps: Update.
19718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19720 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19722 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19723 __mpn_add_n for PowerPC64/POWER7.
19724 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19725 __mpn_sub_n for PowerPC64/POWER7.
19727 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19728 __mpn_addmul_1 for PowerPC64.
19729 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19730 __mpn_submul_1 for PowerPC64.
19731 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19733 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19736 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19739 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19741 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19743 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19745 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19746 add multiarch folders.
19747 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19748 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19749 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19750 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19751 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19752 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19753 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19754 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19755 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19756 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19757 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19766 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19772 multiarch __ieee754_hypot for PowerPC32.
19773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19778 multiarch __ieee754_hypotf for PowerPC32.
19780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19781 long_double_symbol only if __logbl is defined.
19782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19783 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19784 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19785 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19787 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19788 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19789 path for implementation.
19790 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19793 logb, and logbl multiarch implementations for PowerPC32.
19794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19799 multiarch logb for PowerPC32.
19800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19805 multiarch logbf for PowerPC32.
19806 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19810 multiarch logbl implementation for PowerPC32.
19812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19813 and modff multiarch implementations.
19814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19819 multiarch modf for PowerPC32.
19820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19825 multiarch modff for PowerPC32.
19827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19828 and lrintf multiarch implementations.
19829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19834 multiarch lrint for PowerPC32.
19835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19836 file: multiarch lrintf for PowerPC32.
19838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19839 and lroundf multiarch implementations.
19840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19847 multiarch lround for PowerPC32.
19848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19849 file: multiarch lroundf for PowerPC32.
19851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19852 copysign and copysignf multiarch implementations.
19853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19858 file: multiarch copysign for PowerPC32.
19859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19860 file: multiarch copysignf for PowerPC32.
19862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19863 and truncf multiarch implementations.
19864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19869 multiarch trunc for PowerPC32.
19870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19875 multiarch truncf for PowerPC32.
19877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19878 and roundf multiarch implementations.
19879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19884 multiarch round for PowerPC32.
19885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19890 multiarch roundf for PowerPC32.
19892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19893 and floorf multiarch implementations.
19894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19899 multiarch floor for PowerPC32.
19900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19905 multiarch floorf for PowerPC32.
19907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19908 and ceilf multiarch implementations.
19909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19914 multiarch ceil for PowerPC32.
19915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19920 multiarch ceilf for PowerPC32.
19922 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19924 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19925 FINITEF is defined.
19926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19927 and finitef multiarch implementations.
19928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19933 multiarch finite for PowerPC32.
19934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19937 file: multiarch finitef for PowerPC32.
19939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19940 and isinff multiarch implementations.
19941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19946 multiarch isinf for PowerPC32.
19947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19950 multiarch isinff for PowerPC32.
19952 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19953 alias when __isnan is defined.
19954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19955 and isnanf multiarch implementations.
19956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19965 multiarch isnan for PowerPC32.
19966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19971 multiarch isnanf for PowerPC32.
19973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19974 and sqrtf multiarch implementations.
19975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19980 multiarch sqrt for PowerPC32.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19986 multiarch sqrtf for PowerPC32.
19988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19989 and llroundf multiarch implementations.
19990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19997 file: multiarch llround for PowerPC32.
19998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19999 file: multiarch llroundf for PowerPC32.
20001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20002 multiarch PowerPC32 fpu implementations.
20003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20008 multiarch llrint for PowerPC32.
20009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20018 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20020 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20022 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20024 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20025 multiarch wordcopy for PPC32.
20026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20029 (__libc_ifunc_impl_list): Likewise.
20030 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20031 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20032 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20033 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20035 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20037 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20045 multiarch wcscpy for PPC32.
20046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20049 (__libc_ifunc_impl_list): Likewise.
20050 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20051 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20052 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20053 sysdeps/powerpc/power6/wcscpy.c.
20055 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20063 multiarch wcsrchr for PPC32.
20064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20067 (__libc_ifunc_impl_list): Likewise.
20068 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20069 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20070 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20071 sysdeps/powerpc/power6/wcsrchr.c.
20073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20079 multiarch wcschr for PPc32.
20080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20083 (__libc_ifunc_impl_list): Likewise.
20084 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20085 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20086 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20087 sysdeps/powerpc/power6/wcschr.c.
20089 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20090 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20092 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20093 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20094 file: multiarch strchr for PPC32.
20095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20098 (__libc_ifunc_impl_list): Likewise.
20100 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20102 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20104 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20106 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20107 multiarch strchrnul for PPC32.
20108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20111 (__libc_ifunc_impl_list): Likewise.
20113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20116 multiarch strncasecmp for PPC32.
20117 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20119 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20120 multiarch strncasecmp_l for PPC32.
20121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20122 strncasecmp multiarch objects.
20123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20124 (__libc_ifunc_impl_list): Likewise.
20126 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20128 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20129 multiarch strncasecmp for PPC32.
20130 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20132 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20133 multiarch strcasecmp_l for PPC32.
20134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20137 (__libc_ifunc_impl_list): Likewise.
20139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20141 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20143 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20144 multiarch strncmp for PPC32.
20145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20148 (__libc_ifunc_impl_list): Likewise.
20150 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20151 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20153 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20154 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20158 (__libc_ifunc_impl_list): Likewise.
20160 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20162 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20164 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20168 (__libc_ifunc_impl_list): Likewise.
20170 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20172 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20174 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20175 multiarch rawmemchr for PPC32.
20176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20179 (__libc_ifunc_impl_list): Likewise.
20181 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20183 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20185 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20186 file: memrchr multiarch for PPC32.
20187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20190 (__libc_ifunc_impl_list): Likewise.
20192 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20193 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20195 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20196 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20197 multiarch memchr for PPC32.
20198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20201 (__libc_ifunc_impl_list): Likewise.
20203 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20204 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20206 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20208 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20209 file: multiarch mempcpy for PPC32.
20210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20213 (__libc_ifunc_impl_list): Likewise.
20215 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20216 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20217 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20218 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20219 multiarch bzero for PPC32.
20220 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20222 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20224 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20225 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20226 file: multiarch memset for PPC32.
20227 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20229 memset multiarch objects.
20230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20231 (__libc_ifunc_impl_list): Likewise.
20233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20235 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20236 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20238 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20242 (__libc_ifunc_impl_list): Likewise.
20244 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20248 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20250 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20253 multiarch memcpy for PPC32.
20254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20257 (__libc_ifunc_impl_list): Likewise.
20259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20260 support multiarch for POWER/PPC32.
20261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20263 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20265 Implies file to make multiarch folder appers before the fpu and
20266 default folder for power4 configuration.
20268 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20270 * scripts/bench.pl: Append volatile keyword to type.
20272 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20274 * sysdeps/sh/sotruss-lib.c: New file.
20275 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20277 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20281 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20284 * math/w_tgamma.c: Include <errno.h>.
20285 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20286 * math/w_tgammaf.c: Include <errno.h>.
20287 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20288 * math/w_tgammal.c: Include <errno.h>.
20289 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20290 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20291 underflow. Add more tgamma tests.
20292 * math/auto-libm-test-out: Regenerated.
20293 * sysdeps/i386/fpu/libm-test-ulps: Update.
20294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20297 sin, sinh, tan, tanh, tgamma, y0 and y1.
20298 * math/auto-libm-test-out: Regenerated.
20299 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20300 (TEST_COND_x86): Likewise.
20301 (M_E2l): Remove macro.
20303 (M_2_SQRT_PIl): Likewise.
20304 (M_SQRT_PIl): Likewise.
20305 (M_1_DIV_El): Likewise.
20306 (log_test_data): Use AUTO_TESTS_f_f.
20307 (log10_test_data): Likewise.
20308 (log1p_test_data): Likewise.
20309 (log2_test_data): Likewise.
20310 (sin_test_data): Likewise.
20311 (sin_tonearest_test_data): Likewise.
20312 (sin_towardzero_test_data): Likewise.
20313 (sin_downward_test_data): Likewise.
20314 (sin_upward_test_data): Likewise.
20315 (sinh_test_data): Likewise.
20316 (sinh_tonearest_test_data): Likewise.
20317 (sinh_towardzero_test_data): Likewise.
20318 (sinh_downward_test_data): Likewise.
20319 (sinh_upward_test_data): Likewise.
20320 (tan_test_data): Likewise.
20321 (tan_tonearest_test_data): Likewise.
20322 (tan_towardzero_test_data): Likewise.
20323 (tan_downward_test_data): Likewise.
20324 (tan_upward_test_data): Likewise.
20325 (tanh_test_data): Likewise.
20326 (tgamma_test_data): Likewise.
20327 (y0_test_data): Likewise.
20328 (y1_test_data): Likewise.
20329 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20330 (special_real_inputs): Add pi/4.
20331 * sysdeps/i386/fpu/libm-test-ulps: Update.
20332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20336 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20337 "longjmp_target" static probes.
20338 (__longjmp): Rename to __longjmp_symbol.
20339 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20340 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20341 on which longjmp to generate.
20342 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20343 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20345 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20346 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20347 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20348 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20349 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20350 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20352 __longjmp_symbol based on which __longjmp to generate.
20353 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20355 (setjmp): Rename to setjmp_symbol.
20356 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20357 (_setjmp): Rename to _setjmp_symbol.
20358 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20359 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20360 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20361 which setjmp to generate.
20362 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20363 "longjmp_target" static probes.
20365 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20367 * benchtests/README: Add note about output arguments.
20368 * benchtests/bench-sincos.c: Remove file.
20369 * benchtests/sincos-inputs: New file.
20370 * scripts/bench.pl: Identify output arguments and define
20371 static variables for them.
20373 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20376 * Makefile (INSTALL): Add install-plain.texi as the primary
20378 * manual/install-plain.texi: New file.
20379 * manual/install.texi: Include node directive only for
20380 non-plaintext output.
20382 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20384 * stdlib/longlong.h: Update from GCC.
20388 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20389 * math/w_j0f.c (y0f): Likewise.
20390 * math/w_j0l.c (__y0l): Likewise.
20391 * math/w_j1.c (y1): Likewise.
20392 * math/w_j1f.c (y1f): Likewise.
20393 * math/w_j1l.c (__y1l): Likewise
20394 * math/w_jn.c (yn): Likewise.
20395 * math/w_jnf.c (ynf): Likewise.
20396 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20397 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20398 value for Bessel function domain errors outside _SVID_ mode.
20399 Adjust sign of return value for yn (negative integer, 0).
20400 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20401 by zero in return for negative x and set sign appropriately for
20403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20404 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20405 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20406 expectations in error cases.
20407 (y1_test_data): Likewise.
20408 (yn_test_data): Likewise.
20409 * sysdeps/i386/fpu/libm-test-ulps: Update.
20410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20412 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20414 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20415 "64" to "64-v1". Add "64-v2".
20416 (abi-64-options): Rename to ...
20417 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20418 (abi-64-condition): Rename to ...
20419 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20420 (abi-64-ld-soname): Rename to ...
20421 (abi-64-v1-ld-soname): ... this.
20422 (abi-64-v2-options): Define.
20423 (abi-64-v2-condition): Likewise.
20424 (abi-64-v2-ld-soname): Likewise.
20425 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20426 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20431 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20432 Alan Modra <amodra@gmail.com>
20434 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20435 New versions for use with the ELFv2 ABI.
20436 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20437 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20439 (struct La_ppc64v2_retval): Likewise.
20440 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20441 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20442 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20443 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20444 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20445 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20446 Do not save or restore CR.
20447 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20448 (_dl_profile_resolve): Do no save or restore CR. Support extended
20449 return values for ELFv2 ABI. Fix location of FPR return registers.
20450 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20451 updated values for _CALL_ELF == 2.
20452 (La_regs, La_retval, int_retval): Likewise.
20454 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20456 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20457 (FRAME_MIN_SIZE_PARM): Likewise.
20458 (FRAME_BACKCHAIN): Likewise.
20459 (FRAME_CR_SAVE): Likewise.
20460 (FRAME_LR_SAVE): Likewise.
20461 (FRAME_TOC_SAVE): Likewise.
20462 (FRAME_PARM_SAVE): Likewise.
20463 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20464 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20465 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20466 (call_mcount_parm_offset): New macro.
20467 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20468 (PROF): Use symbolic stack frame offsets.
20469 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20470 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20471 Redefine in terms of FRAME_MIN_SIZE.
20472 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20473 (_dl_profile_resolve): Likewise. Update comment.
20474 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20475 symbols stack frame offsets.
20476 (__sigsetjmp): Likewise.
20477 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20478 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20479 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20480 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20483 (FRAME_BACKCHAIN): Remove.
20484 (FRAME_CR_SAVE): Likewise.
20485 (FRAME_LR_SAVE): Likewise.
20486 (FRAME_COMPILER_DW): Likewise.
20487 (FRAME_LINKER_DW): Likewise.
20488 (FRAME_TOC_SAVE): Likewise.
20489 (FRAME_PARM_SAVE): Likewise.
20490 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20491 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20492 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20494 (CHECK_SP): Use symbolic stack frame offsets.
20495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20496 zone" instead of caller's parameter save area for temp storage.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20498 Likewise. Also, use symbolic stack frame offsets.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20500 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20501 our own stack frame instead of the caller's.
20502 (__socket): Use symbolic stack frame offsets.
20504 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20505 Alan Modra <amodra@gmail.com>
20507 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20509 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20510 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20511 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20513 (elf_machine_fixup_plt): Call it.
20514 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20516 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20517 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20518 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20519 r2 before calling target.
20521 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20522 Alan Modra <amodra@gmail.com>
20524 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20525 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20526 versions of macros to support ELFv2 ABI.
20527 (LOCALENTRY): New macro.
20528 (ENTRY, EALIGN): Use it.
20529 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20530 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20531 fall through into ENTRY entry point.
20532 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20533 Only define if _CALL_ELF != 2.
20535 (elf_machine_matches_host): Verify ABI version matches.
20536 (RTLD_START): Use LOCALENTRY.
20537 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20538 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20539 (PLT_ENTRY_WORDS): New macro.
20540 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20541 (elf_machine_runtime_setup): Support ELFv2 ABI.
20542 (elf_machine_fixup_plt): Likewise.
20543 (elf_machine_plt_conflict): Likewise.
20544 (resolve_ifunc): Likewise.
20545 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20546 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20549 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20551 (makecontext): Support ELFv2 ABI.
20552 * elf/elf.h (EF_PPC64_ABI): Define.
20554 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20556 * sysdeps/powerpc/powerpc64/sysdep.h
20557 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20558 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20559 (ENTRY) [ASSEMBLER]: ... but instead here ...
20560 (EALIGN) [ASSEMBLER]: ... and here.
20561 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20562 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20563 (ENTRY_2) [!ASSEMBLER]: Use it.
20564 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20565 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20566 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20567 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20568 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20570 Use PPC64_LOAD_FUNCPTR.
20572 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20574 2013-12-04 Alan Modra <amodra@gmail.com>
20576 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20577 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20578 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20579 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20582 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20583 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20584 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20585 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20586 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20588 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20591 (__makecontext): Fix incorrect CFI when backtracing out of
20592 context created via makecontext.
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20594 (__setcontext): Fix incorrect CFI during switch to new context.
20595 (__novec_setcontext): Likewise.
20597 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20600 * time/strptime_l.c (__strptime_internal): Allow modifiers
20602 * time/tst-strptime.c (day_tests): Add testcase.
20604 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20606 * scripts/bench.pl: Skip over blank lines.
20608 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20611 * manual/time.texi (Calendar Time): Clarify what timezone functions
20614 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20618 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20620 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20622 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20623 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20624 * debug/memset_chk.c (__memset_chk): Likewise.
20625 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20626 * debug/strncpy_chk.c: Likewise.
20628 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20632 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20633 (__ieee754_exp): For possibly underflowing results, check size of
20634 result and force underflow exception if required.
20635 * math/auto-libm-test-in: Add more tests of exp.
20636 * math/auto-libm-test-out: Regenerated.
20637 * sysdeps/i386/fpu/libm-test-ulps: Update.
20638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20641 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20642 * math/w_exp2f.c (__exp2f): Likewise.
20643 * math/w_exp2l.c (__exp2l): Likewise.
20644 * math/auto-libm-test-in: Do not allow missing errno on exp2
20646 * math/auto-libm-test-out: Regenerated.
20648 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20651 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20652 handle filename validation.
20653 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20656 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20659 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20660 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20661 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20663 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20665 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20667 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20668 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20669 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20670 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20671 Add more erfc tests.
20672 * math/auto-libm-test-out: Regenerated.
20673 * sysdeps/i386/fpu/libm-test-ulps: Update.
20674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20676 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20677 exp2, expm1, j0 and j1.
20678 * math/auto-libm-test-out: Regenerated.
20679 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20680 (erfc_test_data): Likewise.
20681 (exp_test_data): Likewise.
20682 (exp_tonearest_test_data): Likewise.
20683 (exp_towardzero_test_data): Likewise.
20684 (exp_downward_test_data): Likewise.
20685 (exp_upward_test_data): Likewise.
20686 (exp10_test_data): Likewise.
20687 (exp2_test_data): Likewise.
20688 (expm1_test_data): Likewise.
20689 (j0_test_data): Likewise.
20690 (j1_test_data): Likewise.
20691 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20692 (input_flag_type): Add flag_xfail_rounding.
20693 (input_flags): Add xfail-rounding.
20694 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20695 (output_for_one_input_case): Handle flag_xfail_rounding.
20696 * sysdeps/i386/fpu/libm-test-ulps: Update.
20697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20699 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20702 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20705 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20708 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20709 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20710 (STAP_PROBE0): New macro.
20711 (STAP_PROBE1): Likewise.
20712 (STAP_PROBE2): Likewise.
20713 (STAP_PROBE3): Likewise.
20714 (STAP_PROBE4): Likewise.
20716 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20718 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20720 2013-12-02 Steve Ellcey <sellcey@mips.com>
20722 * benchtests/Makefile (bench): Add sqrt.
20723 (LDLIBS-bench-sqrt): New.
20724 * benchtests/sqrt-input: New.
20726 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20728 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20729 (GAIH_EAI): Likewise.
20730 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20731 (gaih_inet): Likewise.
20732 (getaddrinfo): Don't use GAIH_EAI.
20734 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20735 (struct gaih): Remove definition.
20737 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20739 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20740 Use HERRNOP directly.
20742 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20746 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20748 * math/gen-auto-libm-tests.c (test_functions): Add more
20749 single-argument functions.
20750 (special_fill_pi_2): New function.
20751 (special_fill_minus_pi_2): Likewise.
20752 (special_fill_pi_6): Likewise.
20753 (special_fill_minus_pi_6): Likewise.
20754 (special_fill_pi_3): Likewise.
20755 (special_fill_2pi_3): Likewise.
20756 (special_fill_e): Likewise.
20757 (special_fill_1_e): Likewise.
20758 (special_fill_e_minus_1): Likewise.
20759 (special_real_inputs): Add more special inputs.
20760 (output_for_one_input_case): Do not require ERANGE on underflow to
20761 zero if round-to-nearest result does not underflow to zero, unless
20762 exact results required.
20763 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20764 atan, atanh, cbrt, cos and cosh.
20765 * math/auto-libm-test-out: Regenerated.
20766 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20767 (acos_tonearest_test_data): Likewise.
20768 (acos_towardzero_test_data): Likewise.
20769 (acos_downward_test_data): Likewise.
20770 (acos_upward_test_data): Likewise.
20771 (acosh_test_data): Likewise.
20772 (asin_test_data): Likewise.
20773 (asin_tonearest_test_data): Likewise.
20774 (asin_towardzero_test_data): Likewise.
20775 (asin_upward_test_data): Likewise.
20776 (asinh_test_data): Likewise.
20777 (atan_test_data): Likewise.
20778 (atanh_test_data): Likewise.
20779 (cbrt_test_data): Likewise.
20780 (cos_test_data): Likewise.
20781 (cos_tonearest_test_data): Likewise.
20782 (cos_towardzero_test_data): Likewise.
20783 (cos_downward_test_data): Likewise.
20784 (cos_upward_test_data): Likewise.
20785 (cosh_test_data): Likewise.
20786 (cosh_tonearest_test_data): Likewise.
20787 (cosh_towardzero_test_data): Likewise.
20788 (cosh_downward_test_data): Likewise.
20789 (cosh_upward_test_data): Likewise.
20790 * sysdeps/i386/fpu/libm-test-ulps: Update.
20791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20793 2013-11-29 Joseph Myers <joseph@codesourcery.com>
20796 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20797 * math/w_exp10f.c (__exp10f): Likewise.
20798 * math/w_exp10l.c (__exp10l): Likewise.
20799 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20800 errno settings in existing tests.
20803 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20804 precision control set to double precision.
20805 * sysdeps/i386/fpu/w_sqrt.c: New file.
20806 * math/auto-libm-test-in: Add more tests.
20807 * math/auto-libm-test-out: Update.
20809 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20810 (sqrt_test_tonearest): New function.
20811 (sqrt_towardzero_test_data): New variable.
20812 (sqrt_test_towardzero): New function.
20813 (sqrt_downward_test_data): New variable.
20814 (sqrt_test_downward): New function.
20815 (sqrt_upward_test_data): New variable.
20816 (sqrt_test_upward): New function.
20817 (main): Call the new functions.
20819 * math/gen-auto-libm-tests.c: New file.
20820 * math/auto-libm-test-in: Likewise.
20821 * math/auto-libm-test-out: New generated file.
20822 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20824 (%beautify): Add generated representations of zero.
20825 (top level): Set $auto_input and call parse_auto_input.
20826 (beautify): Remove trailing "f" from hex float constants.
20827 (parse_args): Handle XFAIL_TEST.
20828 (convert_condition): New function.
20829 (or_value): Likewise.
20830 (or_cond_value): Likewise.
20831 (generate_testfile): Handle AUTO_TESTS_* lines.
20832 (parse_auto_input): New function.
20833 * math/libm-test.inc (XFAIL_TEST): New macro.
20834 (ERRNO_UNCHANGED): Update value.
20835 (ERRNO_EDOM): Likewise.
20836 (ERRNO_ERANGE): Likewise.
20837 (IGNORE_RESULT): Likewise.
20838 (TEST_COND_flt_32): New macro.
20839 (TEST_COND_dbl_64): Likewise.
20840 (TEST_COND_ldbl_96_intel): Likewise.
20841 (TEST_COND_ldbl_96_m68k): Likewise.
20842 (TEST_COND_ldbl_128): Likewise.
20843 (TEST_COND_ldbl_128ibm): Likewise.
20844 (TEST_COND_long32): Likewise.
20845 (TEST_COND_long64): Likewise.
20846 (TEST_COND_before_rounding): Likewise.
20847 (TEST_COND_after_rounding): Likewise.
20848 (enable_test): Handle XFAIL_TEST flag.
20849 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20850 with finite results.
20851 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20852 auto-libm-test-out.
20854 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20855 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20858 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20859 __tls_get_addr_internal instead of __tls_get_offset in order to
20860 avoid GOT pointer dependency. Make rtld export
20861 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20862 __tls_get_addr since we are a __tls_get_offset platform.
20863 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20864 GOT pointer being set up before.
20865 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20867 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20869 * manual/math.texi (Errors in Math Functions): Document accuracy
20873 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20874 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20875 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20876 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20877 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20878 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20879 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20880 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20881 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20882 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20883 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20884 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20886 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20887 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20888 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20890 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20891 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20892 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20893 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20894 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20896 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20898 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20900 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20901 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20902 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20903 atomic-feupdateenv and flt-rounds.
20904 * sysdeps/powerpc/nofpu/Versions (libc): Add
20905 __atomic_feholdexcept, __atomic_feclearexcept,
20906 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20907 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20908 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20909 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20910 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20915 * manual/arith.texi (FP Exceptions): Document that exceptions may
20916 not be raised when matherr is used.
20917 (Math Error Reporting): Document overflow in directed rounding
20918 modes. Document that errno may not be set when finite values are
20919 returned on overflow. Document intent to set errno on underflow
20920 only for underflow to zero.
20923 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20924 round-to-nearest then adjust result for other rounding modes.
20925 * include/fenv.h (fegetround): Use libm_hidden_proto.
20926 * math/fegetround.c (fegetround): Use libm_hidden_def.
20927 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20928 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20929 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20930 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20932 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20933 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20934 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20935 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20937 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20940 * nss/Versions (libnss_files): Add
20941 _nss_files_gethostbyname3_r.
20942 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20944 (HOST_DB_LOOKUP): Remove macro.
20945 (_nss_files_gethostbyname_r): Implement function without the
20946 HOST_DB_LOOKUP macro.
20947 (_nss_files_gethostbyname2_r): Likewise.
20949 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20951 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20953 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20955 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20956 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20959 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20961 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20962 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20963 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20964 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20965 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20966 __fe_nomask_env_priv and attribute_hidden.
20967 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20968 (libc_feupdateenv_test_ppc): Likewise.
20969 (libc_feresetround_ppc): Likewise.
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20971 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20972 compat_symbol macro.
20973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20974 (__fe_nomask_env): Likewise.
20975 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20977 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20979 * string/Makefile: Remove ifunc tests.
20980 * string/test-string.h: Define TEST_IFUNC.
20981 * string/test-bcopy-ifunc.c: Remove.
20982 * string/test-bzero-ifunc.c: Likewise.
20983 * string/test-memccpy-ifunc.c: Likewise.
20984 * string/test-memchr-ifunc.c: Likewise.
20985 * string/test-memcmp-ifunc.c: Likewise.
20986 * string/test-memcpy-ifunc.c: Likewise.
20987 * string/test-memmem-ifunc.c: Likewise.
20988 * string/test-memmove-ifunc.c: Likewise.
20989 * string/test-mempcpy-ifunc.c: Likewise.
20990 * string/test-memrchr-ifunc.c: Likewise.
20991 * string/test-memset-ifunc.c: Likewise.
20992 * string/test-rawmemchr-ifunc.c: Likewise.
20993 * string/test-stpcpy-ifunc.c: Likewise.
20994 * string/test-stpncpy-ifunc.c: Likewise.
20995 * string/test-strcasecmp-ifunc.c: Likewise.
20996 * string/test-strcasestr-ifunc.c: Likewise.
20997 * string/test-strcat-ifunc.c: Likewise.
20998 * string/test-strchr-ifunc.c: Likewise.
20999 * string/test-strchrnul-ifunc.c: Likewise.
21000 * string/test-strcmp-ifunc.c: Likewise.
21001 * string/test-strcpy-ifunc.c: Likewise.
21002 * string/test-strcspn-ifunc.c: Likewise.
21003 * string/test-strlen-ifunc.c: Likewise.
21004 * string/test-strncasecmp-ifunc.c: Likewise.
21005 * string/test-strncat-ifunc.c: Likewise.
21006 * string/test-strncmp-ifunc.c: Likewise.
21007 * string/test-strncpy-ifunc.c: Likewise.
21008 * string/test-strnlen-ifunc.c: Likewise.
21009 * string/test-strpbrk-ifunc.c: Likewise.
21010 * string/test-strrchr-ifunc.c: Likewise.
21011 * string/test-strspn-ifunc.c: Likewise.
21012 * string/test-strstr-ifunc.c: Likewise.
21014 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21016 * benchtests/Makefile: Remove ifunc tests.
21017 * benchtests/bench-string.h: Define TEST_IFUNC.
21018 * benchtests/bench-bcopy-ifunc.c: Remove.
21019 * benchtests/bench-bzero-ifunc.c: Likewise.
21020 * benchtests/bench-memccpy-ifunc.c: Likewise.
21021 * benchtests/bench-memchr-ifunc.c: Likewise.
21022 * benchtests/bench-memcmp-ifunc.c: Likewise.
21023 * benchtests/bench-memcpy-ifunc.c: Likewise.
21024 * benchtests/bench-memmem-ifunc.c: Likewise.
21025 * benchtests/bench-memmove-ifunc.c: Likewise.
21026 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21027 * benchtests/bench-memrchr-ifunc.c: Likewise.
21028 * benchtests/bench-memset-ifunc.c: Likewise.
21029 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21030 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21031 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21032 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21033 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21034 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21035 * benchtests/bench-strcat-ifunc.c: Likewise.
21036 * benchtests/bench-strchr-ifunc.c: Likewise.
21037 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21038 * benchtests/bench-strcmp-ifunc.c: Likewise.
21039 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21040 * benchtests/bench-strcpy-ifunc.c: Likewise.
21041 * benchtests/bench-strcspn-ifunc.c: Likewise.
21042 * benchtests/bench-strlen-ifunc.c: Likewise.
21043 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21044 * benchtests/bench-strncat-ifunc.c: Likewise.
21045 * benchtests/bench-strncmp-ifunc.c: Likewise.
21046 * benchtests/bench-strncpy-ifunc.c: Likewise.
21047 * benchtests/bench-strnlen-ifunc.c: Likewise.
21048 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21049 * benchtests/bench-strrchr-ifunc.c: Likewise.
21050 * benchtests/bench-strsep-ifunc.c: Likewise.
21051 * benchtests/bench-strspn-ifunc.c: Likewise.
21052 * benchtests/bench-strstr-ifunc.c: Likewise.
21054 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21056 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21058 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21060 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21061 * rt/aio.h: Likewise.
21062 * sysdeps/gnu/bits/utmp.h: Likewise.
21063 * sysdeps/gnu/bits/utmpx.h: Likewise.
21064 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21065 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21066 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21067 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21068 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21069 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21070 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21071 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21072 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21073 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21074 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21075 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21076 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21078 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21079 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21080 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21081 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21082 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21083 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21084 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21085 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21086 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21087 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21088 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21090 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21091 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21092 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21093 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21094 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21095 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21096 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21097 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21098 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21099 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21100 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21101 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21102 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21103 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21104 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21105 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21107 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21110 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21111 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21113 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21115 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21116 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21119 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21122 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21123 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21124 (__fesetround): Remove define.
21125 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21126 rounding and exceptions handling.
21127 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21128 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21129 (__fe_nomask_env): Likewise.
21130 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21131 __fegetround instead of fegetround.
21132 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21135 2013-11-21 Roland McGrath <roland@hack.frob.com>
21137 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21140 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21142 2013-11-21 Meador Inge <meadori@codesourcery.com>
21145 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21146 (encrypt_r): Likewise.
21147 * malloc/obstack.h (obstack_free): Likewise.
21148 * posix/unistd.h (encrypt): Likewise.
21150 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21152 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21153 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21154 DL_CALL_DT_FINI() that call the functions directly.
21155 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21156 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21157 * elf/dl-fini.c: Likewise.
21159 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21161 * malloc/hooks.c (memalign_check): Add alignment rounding.
21162 * malloc/malloc.c (_mid_memalign): New function.
21163 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21164 Implement by calling _mid_memalign.
21165 * manual/probes.texi (Memory Allocation Probes): Remove
21166 memory_valloc_retry and memory_pvalloc_retry.
21168 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21170 * locale/programs/locarchive.c (open_archive): Add const
21171 qualifier to ARCHIVEFNAME and copy default fname to
21175 * libio/tst-widetext.input: Rename Oriya to Odia.
21176 * locale/iso-639.def: Likewise.
21178 * manual/probes.texi (Mathematical Function Probes): Add
21179 documentation for sin, cos, asin and acos probes.
21180 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21181 (__sin32): Add slowasin probe.
21182 (__cos32): Add slowacos probe.
21183 (__mpsin): Add slowsin probe.
21184 (__mpcos): Add slowcos probe.
21186 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21189 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21190 thread-local __sim_exceptions_thread and global
21191 __sim_exceptions_global.
21192 (__sim_disabled_exceptions): Change to thread-local
21193 __sim_disabled_exceptions_thread and global
21194 __sim_disabled_exceptions_global.
21195 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21196 and global __sim_round_mode_global.
21197 (__simulate_exceptions): Use thread-local floating-point state and
21198 set global state from it as needed.
21199 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21200 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21201 __sim_round_mode_thread.
21202 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21203 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21204 and global __sim_exceptions_global.
21205 (__sim_disabled_exceptions): Change to thread-local
21206 __sim_disabled_exceptions_thread and global
21207 __sim_disabled_exceptions_global.
21208 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21209 and global __sim_round_mode_global.
21210 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21211 (SIM_SET_GLOBAL): Likewise.
21212 * sysdeps/powerpc/soft-fp/sfp-machine.h
21213 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21214 __sim_round_mode_thread.
21215 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21216 __sim_disabled_exceptions_thread.
21217 (__sim_exceptions): Change to __sim_exceptions_thread.
21218 (__sim_disabled_exceptions): Change to
21219 __sim_disabled_exceptions_thread.
21220 (__sim_round_mode): Change to __sim_round_mode_thread.
21221 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21222 thread-local floating-point state and set global state from it as
21224 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21225 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21226 (__sim_disabled_exceptions): Remove extern declaration.
21227 (feenableexcept): Use thread-local floating-point state and set
21228 global state from it as needed.
21229 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21230 extern declaration.
21231 (__sim_disabled_exceptions): Likewise.
21232 (__sim_round_mode): Likewise.
21233 (__fegetenv): Use thread-local floating-point state.
21234 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21235 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21236 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21237 floating-point state and set global state from it as needed.
21238 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21239 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21240 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21242 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21243 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21245 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21246 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21247 Use __sim_round_mode_thread.
21248 * math/test-fenv-tls.c: New file.
21249 * math/Makefile (tests): Add test-fenv-tls.
21250 ($(objpfx)test-fenv-tls): Depend on
21251 $(common-objpfx)nptl/libpthread.so.
21253 2013-11-19 Andreas Schwab <schwab@suse.de>
21255 * locale/programs/locale.c (show_info): Decode wordarray elements.
21256 * locale/categories.def (LC_MONETARY): Add element for
21257 _NL_MONETARY_CRNCYSTR.
21258 * locale/C-monetary.c (conversion_rate): New variable.
21259 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21262 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21264 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21265 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21267 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21269 * elf/Makefile (tst-auxv): New test.
21270 * elf/tst-auxv.c: New
21271 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21273 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21275 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21276 (hidden_proto): Caller changed.
21277 (hidden_tls_proto): New macro.
21278 (libc_hidden_tls_proto): Likewise.
21279 (rtld_hidden_tls_proto): Likewise.
21280 (libm_hidden_tls_proto): Likewise.
21281 (libresolv_hidden_tls_proto): Likewise.
21282 (librt_hidden_tls_proto): Likewise.
21283 (libdl_hidden_tls_proto): Likewise.
21284 (libnss_files_hidden_tls_proto): Likewise.
21285 (libnsl_hidden_tls_proto): Likewise.
21286 (libnss_nisplus_hidden_tls_proto): Likewise.
21287 (libutil_hidden_tls_proto): Likewise.
21289 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21292 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21293 (decompose_rpath): Defer expansion to fillin_rpath.
21294 (_dl_init_paths): Pass linkmap to fillin_rpath.
21296 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21298 * benchtests/Makefile: Add strsep.
21299 * benchtests/bench-strsep.c: New file: strsep benchtest.
21300 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21302 2013-11-18 Andreas Schwab <schwab@suse.de>
21304 * locale/programs/locale.c (show_info) [case byte]: Check for
21305 '\377' instead of '\177'.
21306 * locale/C-monetary.c (not_available): Always use "\377".
21307 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21308 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21309 detect unavailable sign_posn locale elements.
21310 * locale/localeconv.c (__localeconv): For grouping and
21311 mon_grouping handle "\177" and "\377" like no grouping.
21312 (INT_ELEM): New macro. Use it to set all numeric members.
21313 * locale/programs/ld-monetary.c (monetary_read)
21314 <tok_mon_grouping>: Normalize single -1 to the empty string.
21315 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21318 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21321 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21322 when we match (nil).
21323 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21325 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21327 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21328 (NO_TEST_INLINE): Update value.
21329 (ERRNO_UNCHANGED): Likewise.
21330 (ERRNO_EDOM): Likewise.
21331 (ERRNO_ERANGE): Likewise.
21332 (IGNORE_RESULT): Likewise.
21333 (check_float_internal): Check signs of NaN results if
21334 TEST_NAN_SIGN used.
21335 (check_complex): Pass TEST_NAN_SIGN flag through to second
21336 check_float_internal call.
21337 (copysign_test_data): Add tests with quiet NaNs as second
21338 argument. Use TEST_NAN_SIGN.
21339 (fabs_test_data): Add test of negative quiet NaN argument. Use
21341 (signbit_test_data): Add tests of quiet NaN argument.
21342 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21344 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21346 (parse_args): Handle function results specified as IGNORE.
21347 * math/libm-test.inc (IGNORE_RESULT): New macro.
21348 (check_float_internal): Do not check numerical result if flag
21350 (check_complex): Pass through IGNORE_RESULT to second
21351 check_float_internal call.
21352 (check_int): Do not check numerical result if flag IGNORE_RESULT
21354 (check_long): Likewise.
21355 (check_bool): Likewise.
21356 (check_longlong): Likewise.
21357 (lrint_test_data): Add tests of infinite and NaN arguments.
21358 (lrint_tonearest_test_data): Likewise.
21359 (lrint_towardzero_test_data): Likewise.
21360 (lrint_downward_test_data): Likewise.
21361 (lrint_upward_test_data): Likewise.
21362 (llrint_test_data): Likewise.
21363 (llrint_tonearest_test_data): Likewise.
21364 (llrint_towardzero_test_data): Likewise.
21365 (llrint_downward_test_data): Likewise.
21366 (llrint_upward_test_data): Likewise.
21367 (lround_test_data): Likewise.
21368 (llround_test_data): Likewise.
21370 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21371 (ERRNO_UNCHANGED): Update value.
21372 (ERRNO_EDOM): Likewise.
21373 (ERRNO_ERANGE): Likewise.
21374 (NO_TEST_INLINE_FLOAT): New macro.
21375 (NO_TEST_INLINE_DOUBLE): Likewise.
21376 (enable_test): New function.
21377 (RUN_TEST_f_f): Check enable_test before running test.
21378 (RUN_TEST_2_f): Likewise.
21379 (RUN_TEST_fff_f): Likewise.
21380 (RUN_TEST_c_f): Likewise.
21381 (RUN_TEST_f_f1): Likewise.
21382 (RUN_TEST_fF_f1): Likewise.
21383 (RUN_TEST_fI_f1): Likewise.
21384 (RUN_TEST_ffI_f1): Likewise.
21385 (RUN_TEST_c_c): Likewise.
21386 (RUN_TEST_cc_c): Likewise.
21387 (RUN_TEST_f_i): Likewise.
21388 (RUN_TEST_f_i_tg): Likewise.
21389 (RUN_TEST_ff_i_tg): Likewise.
21390 (RUN_TEST_f_b): Likewise.
21391 (RUN_TEST_f_b_tg): Likewise.
21392 (RUN_TEST_f_l): Likewise.
21393 (RUN_TEST_f_L): Likewise.
21394 (RUN_TEST_fFF_11): Likewise.
21395 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21397 (cosh_test_data): Likewise.
21398 (exp_test_data): Likewise.
21399 (expm1_test_data): Likewise.
21400 (hypot_test_data): Likewise.
21401 (pow_test_data): Likewise.
21402 (sinh_test_data): Likewise.
21403 (tanh_test_data): Likewise.
21404 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21407 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21408 tests with quiet NaN input and output.
21409 (acosh_test_data): Likewise.
21410 (asin_test_data): Likewise.
21411 (asinh_test_data): Likewise.
21412 (atan_test_data): Likewise.
21413 (atanh_test_data): Likewise.
21414 (atan2_test_data): Likewise.
21415 (cbrt_test_data): Likewise.
21416 (cos_test_data): Likewise.
21417 (cosh_test_data): Likewise.
21418 (erf_test_data): Likewise.
21419 (erfc_test_data): Likewise.
21420 (exp_test_data): Likewise.
21421 (exp10_test_data): Likewise.
21422 (exp2_test_data): Likewise.
21423 (expm1_test_data): Likewise.
21424 (hypot_test_data): Likewise.
21425 (j0_test_data): Likewise.
21426 (j1_test_data): Likewise.
21427 (jn_test_data): Likewise.
21428 (lgamma_test_data): Likewise.
21429 (log_test_data): Likewise.
21430 (log10_test_data): Likewise.
21431 (log1p_test_data): Likewise.
21432 (log2_test_data): Likewise.
21433 (pow_test_data): Likewise.
21434 (scalb_test_data): Likewise.
21435 (sin_test_data): Likewise.
21436 (sincos_test_data): Likewise.
21437 (sinh_test_data): Likewise.
21438 (tan_test_data): Likewise.
21439 (tanh_test_data): Likewise.
21440 (tgamma_test_data): Likewise.
21441 (y0_test_data): Likewise.
21442 (y1_test_data): Likewise.
21443 (yn_test_data): Likewise.
21446 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21447 argument being NaN and avoid computations with second argument in
21449 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21450 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21451 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21453 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21455 * locale/iso-639.def: Add Chitwani Tharu (the).
21457 2013-11-14 Andreas Schwab <schwab@suse.de>
21459 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21460 word instead of empty string.
21462 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21465 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21467 (__fe_nomask_env): Likewise.
21469 2013-11-13 Steve Ellcey <sellcey@mips.com>
21471 * benchtests/bench-timing.h: Include time.h.
21473 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21476 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21478 * sysdeps/unix/sysv/linux/configure: Regenerated.
21480 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21483 * stdlib/strtod_l.c (round_and_return): Do not consider
21484 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21485 exponent one less than half the least subnormal exponent.
21486 * stdlib/test-strtod-round-data: Add more tests.
21487 * stdlib/tst-strtod-round.c (tests): Regenerated.
21489 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21492 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21493 (__fe_mask_env): Likewise.
21494 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21495 libm_hidden_proto and add function prototype.
21496 (__fe_mask_env): Add function prototype.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21498 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21500 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21502 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21504 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21506 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21507 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21509 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21511 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21512 of htab_find_slot().
21514 2013-11-11 David S. Miller <davem@davemloft.net>
21517 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21518 symbol in the non-vis3 case in static builds.
21519 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21520 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21521 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21522 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21524 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21527 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21530 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21532 * benchtests/Makefile: Add bench-strtod.
21533 * benchtests/bench-strtod.c: New file: strtod benchtest
21535 2013-11-11 Andreas Schwab <schwab@suse.de>
21538 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21539 terminating NUL in key length.
21541 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21543 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21544 Add artificial ODP entry for vDSO symbol for PPC64.
21545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21546 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21548 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21551 * nss/getent.c (services_keys): Recognize services starting with digit.
21553 2013-11-06 David S. Miller <davem@davemloft.net>
21556 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21557 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21559 2013-11-06 Will Newton <will.newton@linaro.org>
21561 * manual/memory.texi (Malloc Examples): Remove register
21562 keyword from examples.
21564 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21566 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21568 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21571 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21572 depending on [__GCC_IEC_559 > 0].
21573 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21574 depending on [__GCC_IEC_559_COMPLEX > 0].
21576 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21578 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21581 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21583 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21585 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21588 * malloc/malloc (malloc_info): Do not handle first bin as
21591 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21593 * locale/iso-639.def: Add Central Nahuatl (nhn).
21595 2013-11-01 Bruno Haible <bruno@clisp.org>
21598 * manual/math.texi (BSD Random): Specify range upper bound as
21601 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21603 * locale/iso-639.def: Add Meadow Mari (mhr).
21605 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21607 [BZ #14752], [BZ #15763]
21608 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21610 * rt/tst_shm.c: Add test for escaping directory.
21612 2013-10-31 Andreas Schwab <schwab@suse.de>
21615 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21616 followed by 'x' as part of digit sequence.
21617 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21619 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21622 * configure.ac: allow GNU Make 4.0 and greater.
21623 * configure: Regenerated.
21625 2013-10-30 Will Newton <will.newton@linaro.org>
21628 * malloc/hooks.c (memalign_check): Limit alignment to the
21629 maximum representable power of two.
21630 * malloc/malloc.c (__libc_memalign): Likewise.
21631 * malloc/tst-memalign.c (do_test): Add test for very
21632 large alignment values.
21633 * malloc/tst-posix_memalign.c (do_test): Likewise.
21635 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21638 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21639 (munmap_chunk): Likewise.
21640 (mremap_chunk): Likewise.
21642 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21645 * stdlib/div.c (div): Remove obsolete code.
21646 * stdlib/ldiv.c (ldiv): Likewise.
21647 * stdlib/lldiv.c (lldiv): Likewise.
21649 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21652 * nss/nss_files/files-XXX.c (get_contents_ret): New
21654 (get_contents): New function.
21655 (internal_getent): Use it. Expand size of LINEBUFLEN.
21657 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21659 * configure.in: Moved to ...
21660 * configure.ac: ... here. Change reference to configure.in
21662 * sysdeps/arm/preconfigure.ac: ... here.
21663 configure.in to configure.ac.
21664 * sysdeps/gnu/configure.in: Moved to ...
21665 * sysdeps/gnu/configure.ac: ... here.
21666 * sysdeps/i386/configure.in: Moved to ...
21667 * sysdeps/i386/configure.ac: ... here.
21668 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21669 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21670 * sysdeps/mach/configure.in: Moved to ...
21671 * sysdeps/mach/configure.ac: ... here.
21672 * sysdeps/mach/hurd/configure.in: Moved to ...
21673 * sysdeps/mach/hurd/configure.ac: ... here.
21674 * sysdeps/powerpc/configure.in: Moved to ...
21675 * sysdeps/powerpc/configure.ac: ... here.
21676 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21677 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21678 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21679 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21680 * sysdeps/s390/s390-32/configure.in: Moved to ...
21681 * sysdeps/s390/s390-32/configure.ac: ... here.
21682 * sysdeps/s390/s390-64/configure.in: Moved to ...
21683 * sysdeps/s390/s390-64/configure.ac: ... here.
21684 * sysdeps/sh/configure.in: Moved to ...
21685 * sysdeps/sh/configure.ac: ... here.
21686 * sysdeps/sparc/configure.in: Moved to ...
21687 * sysdeps/sparc/configure.ac: ... here.
21688 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21689 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21690 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21691 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21692 * sysdeps/x86_64/configure.in: Moved to ...
21693 * sysdeps/x86_64/configure.ac: ... here.
21694 * sysdeps/x86_64/preconfigure.in: Moved to ...
21695 * sysdeps/x86_64/preconfigure.ac: ... here.
21696 * aclocal.m4: Change reference to configure.in to configure.ac.
21697 * config.h.in: Likewise.
21698 * manual/install.texi: Likewise.
21699 * manual/maint.texi: Likewise.
21700 * Makefile: Likewise.
21701 * malloc/Makefile: Likewise.
21702 * nscd/Makefile: Likewise.
21703 * Makeconfig: Change reference to configure.in and
21704 preconfigure.in to configure.ac and preconfigure.ac
21706 * INSTALL: Regenerated.
21707 * configure: Likewise.
21708 * sysdeps/gnu/configure: Likewise.
21709 * sysdeps/i386/configure: Likewise.
21710 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21711 * sysdeps/mach/configure: Likewise.
21712 * sysdeps/mach/hurd/configure: Likewise.
21713 * sysdeps/powerpc/configure: Likewise.
21714 * sysdeps/powerpc/powerpc32/configure: Likewise.
21715 * sysdeps/powerpc/powerpc64/configure: Likewise.
21716 * sysdeps/s390/s390-32/configure: Likewise.
21717 * sysdeps/s390/s390-64/configure: Likewise.
21718 * sysdeps/sh/configure: Likewise.
21719 * sysdeps/sparc/configure: Likewise.
21720 * sysdeps/unix/sysv/linux/configure: Likewise.
21721 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21722 * sysdeps/x86_64/configure: Likewise.
21723 * sysdeps/x86_64/preconfigure: Likewise.
21725 2013-10-29 Andreas Schwab <schwab@suse.de>
21727 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21729 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21731 * benchtests/pow-inputs: Add new inputs.
21733 * benchtests/exp-inputs: Add new inputs.
21735 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21736 conditional check for return value.
21737 (__cos32): Likewise.
21739 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21741 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21742 to provide a boost for large inputs with word alignment.
21743 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21744 implementation based on optimized PPC64 strcpy.
21745 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21746 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21747 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21748 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21750 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21753 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21755 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21758 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21759 * time/tst-strptime.c (day_tests): Add testcase.
21761 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21764 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21766 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21769 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21770 MAP_FAILED on error.
21772 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21775 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21776 heap for large requests.
21778 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21781 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21782 result if the result has no associated interface.
21783 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21784 interface for all 127.X.Y.Z addresses.
21786 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
21788 * locale/iso-639.def: Add Ligurian (lij)
21790 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
21793 * sunrpc/rpc_main.c: Document rpcgen -5.
21795 2013-10-19 Michael Stahl <mstahl@redhat.com>
21797 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21799 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21802 * posix/glob.c: Match only directories when trailing slash is present.
21803 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21804 (main): Add testcase.
21806 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21809 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21811 2013-10-18 Carlos O'Donell <carlos@redhat.com>
21813 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21814 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21815 AUTH_DES and cindex for FIPS 140-2.
21816 (DES Encryption): Add cindex FIPS 46-3.
21818 * locale/locarchive.h (struct locarhandle): Add fname.
21819 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21820 if an optional argument was specified to --list-archive,
21822 * locale/programs/locarchive.c (show_archive_content): Take new
21823 argument fname and pass it via ah.fname to open_archive.
21824 * locale/programs/localedef.h: Update decl.
21825 (open_archive): If AH->fname is non-null, open that file
21826 rather than the default file name, and don't ignore ENOENT.
21827 (create_archive): Set AH.fname to NULL.
21828 (delete_locales_from_archive): Likewise.
21829 (add_locales_to_archive): Likewise.
21830 * locale/programs/locfile.c (write_all_categories): Likewise.
21832 2013-10-18 Joseph Myers <joseph@codesourcery.com>
21833 Aldy Hernandez <aldyh@redhat.com>
21835 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21836 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21837 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21838 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21839 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21840 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21841 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21842 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21843 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21844 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21845 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21846 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21847 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21848 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21849 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21851 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21853 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21855 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21857 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21858 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21860 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21861 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21862 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21863 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21865 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21866 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21867 * sysdeps/powerpc/preconfigure: Likewise.
21868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21870 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21871 Replace contents of file by #include of <fenv_libc.h>.
21872 * sysdeps/powerpc/soft-fp/sfp-machine.h
21873 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21875 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21876 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21877 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21879 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21883 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21884 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21885 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21888 Allow copysignl PLT reference to be missing.
21890 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21891 Joseph Myers <joseph@codesourcery.com
21894 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21896 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21898 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21900 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21901 * elf/tst-tls1.c: Likewise.
21902 * elf/tst-tls10.h: Likewise.
21903 * elf/tst-tls14.c: Likewise.
21904 * elf/tst-tls2.c: Likewise.
21905 * elf/tst-tls3.c: Likewise.
21906 * elf/tst-tls4.c: Likewise.
21907 * elf/tst-tls5.c: Likewise.
21908 * elf/tst-tls6.c: Likewise.
21909 * elf/tst-tls7.c: Likewise.
21910 * elf/tst-tls8.c: Likewise.
21911 * elf/tst-tls9.c: Likewise.
21912 * elf/tst-tlsmod1.c: Likewise.
21913 * elf/tst-tlsmod13.c: Likewise.
21914 * elf/tst-tlsmod13a.c: Likewise.
21915 * elf/tst-tlsmod14a.c: Likewise.
21916 * elf/tst-tlsmod16a.c: Likewise.
21917 * elf/tst-tlsmod16b.c: Likewise.
21918 * elf/tst-tlsmod2.c: Likewise.
21919 * elf/tst-tlsmod3.c: Likewise.
21920 * elf/tst-tlsmod4.c: Likewise.
21921 * elf/tst-tlsmod5.c: Likewise.
21922 * elf/tst-tlsmod6.c: Likewise.
21924 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21927 * malloc/malloc.c: remove checks for statistics.
21929 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21932 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21933 * inet/tst-network.c: Add testcase.
21935 2013-10-17 Andreas Schwab <schwab@suse.de>
21938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21939 to determine canonical name.
21941 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21943 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21944 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21948 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21949 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21950 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21953 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21954 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21956 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21958 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21967 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21968 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21969 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21973 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21979 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21980 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21982 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22002 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22005 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22006 make result into a quiet NaN.
22008 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22010 * soft-fp/adddf3.c: Fix horizontal whitespace.
22011 * soft-fp/addsf3.c: Likewise.
22012 * soft-fp/addtf3.c: Likewise.
22013 * soft-fp/divdf3.c: Likewise.
22014 * soft-fp/divsf3.c: Likewise.
22015 * soft-fp/divtf3.c: Likewise.
22016 * soft-fp/double.h: Likewise.
22017 * soft-fp/eqdf2.c: Likewise.
22018 * soft-fp/eqsf2.c: Likewise.
22019 * soft-fp/eqtf2.c: Likewise.
22020 * soft-fp/extenddftf2.c: Likewise.
22021 * soft-fp/extended.h: Likewise.
22022 * soft-fp/extendsfdf2.c: Likewise.
22023 * soft-fp/extendsftf2.c: Likewise.
22024 * soft-fp/extendxftf2.c: Likewise.
22025 * soft-fp/fixdfdi.c: Likewise.
22026 * soft-fp/fixdfsi.c: Likewise.
22027 * soft-fp/fixdfti.c: Likewise.
22028 * soft-fp/fixsfdi.c: Likewise.
22029 * soft-fp/fixsfsi.c: Likewise.
22030 * soft-fp/fixsfti.c: Likewise.
22031 * soft-fp/fixtfdi.c: Likewise.
22032 * soft-fp/fixtfsi.c: Likewise.
22033 * soft-fp/fixtfti.c: Likewise.
22034 * soft-fp/fixunsdfdi.c: Likewise.
22035 * soft-fp/fixunsdfsi.c: Likewise.
22036 * soft-fp/fixunsdfti.c: Likewise.
22037 * soft-fp/fixunssfdi.c: Likewise.
22038 * soft-fp/fixunssfsi.c: Likewise.
22039 * soft-fp/fixunssfti.c: Likewise.
22040 * soft-fp/fixunstfdi.c: Likewise.
22041 * soft-fp/fixunstfsi.c: Likewise.
22042 * soft-fp/fixunstfti.c: Likewise.
22043 * soft-fp/floatdidf.c: Likewise.
22044 * soft-fp/floatdisf.c: Likewise.
22045 * soft-fp/floatditf.c: Likewise.
22046 * soft-fp/floatsidf.c: Likewise.
22047 * soft-fp/floatsisf.c: Likewise.
22048 * soft-fp/floatsitf.c: Likewise.
22049 * soft-fp/floattidf.c: Likewise.
22050 * soft-fp/floattisf.c: Likewise.
22051 * soft-fp/floattitf.c: Likewise.
22052 * soft-fp/floatundidf.c: Likewise.
22053 * soft-fp/floatundisf.c: Likewise.
22054 * soft-fp/floatunditf.c: Likewise.
22055 * soft-fp/floatunsidf.c: Likewise.
22056 * soft-fp/floatunsisf.c: Likewise.
22057 * soft-fp/floatunsitf.c: Likewise.
22058 * soft-fp/floatuntidf.c: Likewise.
22059 * soft-fp/floatuntisf.c: Likewise.
22060 * soft-fp/floatuntitf.c: Likewise.
22061 * soft-fp/fmadf4.c: Likewise.
22062 * soft-fp/fmasf4.c: Likewise.
22063 * soft-fp/fmatf4.c: Likewise.
22064 * soft-fp/gedf2.c: Likewise.
22065 * soft-fp/gesf2.c: Likewise.
22066 * soft-fp/getf2.c: Likewise.
22067 * soft-fp/ledf2.c: Likewise.
22068 * soft-fp/lesf2.c: Likewise.
22069 * soft-fp/letf2.c: Likewise.
22070 * soft-fp/muldf3.c: Likewise.
22071 * soft-fp/mulsf3.c: Likewise.
22072 * soft-fp/multf3.c: Likewise.
22073 * soft-fp/negdf2.c: Likewise.
22074 * soft-fp/negsf2.c: Likewise.
22075 * soft-fp/negtf2.c: Likewise.
22076 * soft-fp/op-1.h: Likewise.
22077 * soft-fp/op-2.h: Likewise.
22078 * soft-fp/op-4.h: Likewise.
22079 * soft-fp/op-8.h: Likewise.
22080 * soft-fp/op-common.h: Likewise.
22081 * soft-fp/quad.h: Likewise.
22082 * soft-fp/single.h: Likewise.
22083 * soft-fp/soft-fp.h: Likewise.
22084 * soft-fp/sqrtdf2.c: Likewise.
22085 * soft-fp/sqrtsf2.c: Likewise.
22086 * soft-fp/sqrttf2.c: Likewise.
22087 * soft-fp/subdf3.c: Likewise.
22088 * soft-fp/subsf3.c: Likewise.
22089 * soft-fp/subtf3.c: Likewise.
22090 * soft-fp/truncdfsf2.c: Likewise.
22091 * soft-fp/trunctfdf2.c: Likewise.
22092 * soft-fp/trunctfsf2.c: Likewise.
22093 * soft-fp/trunctfxf2.c: Likewise.
22094 * soft-fp/unorddf2.c: Likewise.
22095 * soft-fp/unordsf2.c: Likewise.
22096 * soft-fp/unordtf2.c: Likewise.
22098 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22100 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22101 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22103 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22105 * elf/dl-libc.c: Clear initfini list after freeing.
22107 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22109 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22110 * soft-fp/addsf3.c: Likewise.
22111 * soft-fp/addtf3.c: Likewise.
22112 * soft-fp/divdf3.c: Likewise.
22113 * soft-fp/divsf3.c: Likewise.
22114 * soft-fp/divtf3.c: Likewise.
22115 * soft-fp/double.h: Likewise.
22116 * soft-fp/eqdf2.c: Likewise.
22117 * soft-fp/eqsf2.c: Likewise.
22118 * soft-fp/eqtf2.c: Likewise.
22119 * soft-fp/extenddftf2.c: Likewise.
22120 * soft-fp/extended.h: Likewise.
22121 * soft-fp/extendsfdf2.c: Likewise.
22122 * soft-fp/extendsftf2.c: Likewise.
22123 * soft-fp/extendxftf2.c: Likewise.
22124 * soft-fp/fixdfdi.c: Likewise.
22125 * soft-fp/fixdfsi.c: Likewise.
22126 * soft-fp/fixdfti.c: Likewise.
22127 * soft-fp/fixsfdi.c: Likewise.
22128 * soft-fp/fixsfsi.c: Likewise.
22129 * soft-fp/fixsfti.c: Likewise.
22130 * soft-fp/fixtfdi.c: Likewise.
22131 * soft-fp/fixtfsi.c: Likewise.
22132 * soft-fp/fixtfti.c: Likewise.
22133 * soft-fp/fixunsdfdi.c: Likewise.
22134 * soft-fp/fixunsdfsi.c: Likewise.
22135 * soft-fp/fixunsdfti.c: Likewise.
22136 * soft-fp/fixunssfdi.c: Likewise.
22137 * soft-fp/fixunssfsi.c: Likewise.
22138 * soft-fp/fixunssfti.c: Likewise.
22139 * soft-fp/fixunstfdi.c: Likewise.
22140 * soft-fp/fixunstfsi.c: Likewise.
22141 * soft-fp/fixunstfti.c: Likewise.
22142 * soft-fp/floatdidf.c: Likewise.
22143 * soft-fp/floatdisf.c: Likewise.
22144 * soft-fp/floatditf.c: Likewise.
22145 * soft-fp/floatsidf.c: Likewise.
22146 * soft-fp/floatsisf.c: Likewise.
22147 * soft-fp/floatsitf.c: Likewise.
22148 * soft-fp/floattidf.c: Likewise.
22149 * soft-fp/floattisf.c: Likewise.
22150 * soft-fp/floattitf.c: Likewise.
22151 * soft-fp/floatundidf.c: Likewise.
22152 * soft-fp/floatundisf.c: Likewise.
22153 * soft-fp/floatunsidf.c: Likewise.
22154 * soft-fp/floatunsisf.c: Likewise.
22155 * soft-fp/floatuntidf.c: Likewise.
22156 * soft-fp/floatuntisf.c: Likewise.
22157 * soft-fp/floatuntitf.c: Likewise.
22158 * soft-fp/fmadf4.c: Likewise.
22159 * soft-fp/fmasf4.c: Likewise.
22160 * soft-fp/fmatf4.c: Likewise.
22161 * soft-fp/gedf2.c: Likewise.
22162 * soft-fp/gesf2.c: Likewise.
22163 * soft-fp/getf2.c: Likewise.
22164 * soft-fp/ledf2.c: Likewise.
22165 * soft-fp/lesf2.c: Likewise.
22166 * soft-fp/letf2.c: Likewise.
22167 * soft-fp/muldf3.c: Likewise.
22168 * soft-fp/mulsf3.c: Likewise.
22169 * soft-fp/multf3.c: Likewise.
22170 * soft-fp/negdf2.c: Likewise.
22171 * soft-fp/negsf2.c: Likewise.
22172 * soft-fp/negtf2.c: Likewise.
22173 * soft-fp/op-1.h: Likewise.
22174 * soft-fp/op-2.h: Likewise.
22175 * soft-fp/op-4.h: Likewise.
22176 * soft-fp/op-8.h: Likewise.
22177 * soft-fp/op-common.h: Likewise.
22178 * soft-fp/quad.h: Likewise.
22179 * soft-fp/single.h: Likewise.
22180 * soft-fp/soft-fp.h: Likewise.
22181 * soft-fp/sqrtdf2.c: Likewise.
22182 * soft-fp/sqrtsf2.c: Likewise.
22183 * soft-fp/sqrttf2.c: Likewise.
22184 * soft-fp/subdf3.c: Likewise.
22185 * soft-fp/subsf3.c: Likewise.
22186 * soft-fp/subtf3.c: Likewise.
22187 * soft-fp/truncdfsf2.c: Likewise.
22188 * soft-fp/trunctfdf2.c: Likewise.
22189 * soft-fp/trunctfsf2.c: Likewise.
22190 * soft-fp/trunctfxf2.c: Likewise.
22191 * soft-fp/unorddf2.c: Likewise.
22192 * soft-fp/unordsf2.c: Likewise.
22193 * soft-fp/unordtf2.c: Likewise.
22195 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22198 * misc/error.c (error_tail): Fix possible buffer overflow.
22200 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22203 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22206 2013-10-14 P. J. McDermott <pj@pehjota.net>
22209 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22210 testing pipefail option.
22212 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22214 * soft-fp/double.h: Indent preprocessor directives inside #if.
22215 * soft-fp/extended.h: Likewise.
22216 * soft-fp/op-2.h: Likewise.
22217 * soft-fp/op-4.h: Likewise.
22218 * soft-fp/op-common.h: Likewise.
22219 * soft-fp/quad.h: Likewise.
22220 * soft-fp/single.h: Likewise.
22221 * soft-fp/soft-fp.h: Likewise.
22223 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22225 * iconv/iconv_prog.c: Fix typos.
22226 * stdio-common/psiginfo-data.h: Likewise.
22228 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22231 * locale/setlocale.c: Fix typo.
22233 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22236 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22237 signaling NaN arguments.
22238 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22239 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22242 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22243 unordered operands.
22244 * soft-fp/gesf2.c (__gesf2): Likewise.
22245 * soft-fp/getf2.c (__getf2): Likewise.
22246 * soft-fp/ledf2.c (__ledf2): Likewise.
22247 * soft-fp/lesf2.c (__lesf2): Likewise.
22248 * soft-fp/letf2.c (__letf2): Likewise.
22250 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22251 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22252 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22253 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22254 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22255 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22256 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22257 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22258 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22259 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22260 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22261 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22262 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22263 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22264 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22265 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22266 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22267 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22268 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22269 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22270 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22271 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22272 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22273 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22274 * soft-fp/floattidf.c (__floattidf): Likewise.
22275 * soft-fp/floattisf.c (__floattisf): Likewise.
22276 * soft-fp/floattitf.c (__floattitf): Likewise.
22277 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22278 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22279 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22280 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22281 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22282 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22283 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22284 * soft-fp/gesf2.c (__gesf2): Likewise.
22285 * soft-fp/getf2.c (__getf2): Likewise.
22286 * soft-fp/ledf2.c (__ledf2): Likewise.
22287 * soft-fp/lesf2.c (__lesf2): Likewise.
22288 * soft-fp/letf2.c (__letf2): Likewise.
22290 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22291 Undefine and redefine.
22292 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22293 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22294 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22295 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22296 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22297 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22298 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22299 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22300 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22301 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22302 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22303 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22304 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22305 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22306 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22309 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22310 without decrementing exponent if mantissa >= that for the
22311 denominator, not >.
22312 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22313 denominator, not >. Decrement exponent in < case instead of
22314 incrementing in >= case.
22315 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22316 without decrementing exponent if mantissa >= that for the
22317 denominator, not >.
22319 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22320 computing saturated result for unsigned overflow.
22322 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22323 Jeff Law <law@redhat.com>
22325 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22326 (atan2Mp): Add systemtap probe marker.
22327 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22328 (__ieee754_log): Add systemtap probe marker.
22329 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22330 (atanMp): Add systemtap probe marker.
22331 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22332 (tanMp): Add systemtap probe marker.
22333 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22334 (__slowexp): Add systemtap probe marker.
22335 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22336 (__slowpow): Add systemtap probe marker.
22337 * manual/probes.texi: Document probes.
22339 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22342 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22344 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22346 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22347 written to buffer but not flushed.
22348 * libio/iofwrite_u.c: Likewise.
22349 * libio/iopadn.c: Return bytes returned even if EOF was
22351 * libio/iowpadn.c: Likewise.
22352 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22353 if _IO_padn does not write the whole buffer.
22354 [!COMPILE_WPRINTF] (PAD): Likewise.
22356 2013-10-10 David S. Miller <davem@davemloft.net>
22358 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22361 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22363 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22364 instead of FSF address.
22365 * soft-fp/fixdfti.c: Likewise.
22366 * soft-fp/fixsfti.c: Likewise.
22367 * soft-fp/fixtfti.c: Likewise.
22368 * soft-fp/fixunsdfti.c: Likewise.
22369 * soft-fp/fixunssfti.c: Likewise.
22370 * soft-fp/fixunstfti.c: Likewise.
22371 * soft-fp/floattidf.c: Likewise.
22372 * soft-fp/floattisf.c: Likewise.
22373 * soft-fp/floattitf.c: Likewise.
22374 * soft-fp/floatuntidf.c: Likewise.
22375 * soft-fp/floatuntisf.c: Likewise.
22376 * soft-fp/floatuntitf.c: Likewise.
22377 * soft-fp/trunctfxf2.c: Likewise.
22379 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22380 * soft-fp/fixdfti.c: Likewise.
22381 * soft-fp/fixsfti.c: Likewise.
22382 * soft-fp/fixtfti.c: Likewise.
22383 * soft-fp/fixunsdfti.c: Likewise.
22384 * soft-fp/fixunssfti.c: Likewise.
22385 * soft-fp/fixunstfti.c: Likewise.
22386 * soft-fp/floattidf.c: Likewise.
22387 * soft-fp/floattisf.c: Likewise.
22388 * soft-fp/floattitf.c: Likewise.
22389 * soft-fp/floatuntidf.c: Likewise.
22390 * soft-fp/floatuntisf.c: Likewise.
22391 * soft-fp/floatuntitf.c: Likewise.
22392 * soft-fp/trunctfxf2.c: Likewise.
22394 2013-10-10 David S. Miller <davem@davemloft.net>
22396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22398 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22400 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22401 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22402 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22403 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22404 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22405 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22406 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22408 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22409 for NaNs before doing comparisons on argument.
22410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22413 2013-10-10 Will Newton <will.newton@linaro.org>
22415 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22416 passed to _int_memalign does not overflow.
22418 2013-10-10 Torvald Riegel <triegel@redhat.com>
22420 * scripts/bench.pl: Add include-sources directive.
22421 * benchtests/README: Update documentation.
22423 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22425 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22426 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22427 instead of FP_INIT_ROUNDMODE.
22428 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22429 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22432 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22433 copy class of input value.
22434 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22435 not handle exceptions.
22436 * soft-fp/negsf2.c (__negsf2): Likewise.
22437 * soft-fp/negtf2.c (__negtf2): Likewise.
22438 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22440 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22442 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22443 semicolon. From Linux kernel.
22445 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22447 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22449 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22452 * manual/socket.texi: Added statement about buffer
22453 for gethostbyname2_r.
22455 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22457 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22458 Use .p2align directive instead, throughout.
22459 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22460 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22461 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22464 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22465 * sysdeps/x86_64/strchr.S: Likewise.
22466 * sysdeps/x86_64/strrchr.S: Likewise.
22468 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22470 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22472 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22474 * sysdeps/generic/math_private.h (__mpsin1): Remove
22476 (__mpcos1): Likewise.
22477 (__mpsin): New argument __range_reduce.
22478 (__mpcos): Likewise.
22479 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22480 (slow): Use __mpsin and __mpcos.
22484 (sloww1): Likewise.
22485 (sloww2): Likewise.
22486 (bsloww): Likewise.
22487 (bsloww1): Likewise.
22488 (bsloww2): Likewise.
22489 (cslow2): Likewise.
22490 (csloww): Likewise.
22491 (csloww1): Likewise.
22492 (csloww2): Likewise.
22493 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22494 range_reduce. Merge in __mpsin1.
22495 (__mpcos): Likewise.
22496 (__mpsin1): Remove.
22497 (__mpcos1): Likewise.
22499 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22501 * locale/loadlocale.c (_nl_intern_locale_data): Use
22503 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22504 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22505 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22506 obstack data is appropriately aligned.
22507 (obstack_int32_grow_fast): Likewise.
22508 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22509 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22510 (add_locale_uint32_array): Likewise.
22512 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22514 * benchtests/Makefile: Remove ARGLIST and RET variables.
22515 ($(objpfx)bench-%.c): Pass only function name to the script.
22516 * benchtests/README: Update documentation.
22517 * benchtests/acos-inputs: Add new directives.
22518 * benchtests/acosh-inputs: Likewise.
22519 * benchtests/asin-inputs: Likewise.
22520 * benchtests/asinh-inputs: Likewise.
22521 * benchtests/atan-inputs: Likewise.
22522 * benchtests/atanh-inputs: Likewise.
22523 * benchtests/cos-inputs: Likewise.
22524 * benchtests/cosh-inputs: Likewise.
22525 * benchtests/exp-inputs: Likewise.
22526 * benchtests/log-inputs: Likewise.
22527 * benchtests/pow-inputs: Likewise.
22528 * benchtests/rint-inputs: Likewise.
22529 * benchtests/sin-inputs: Likewise.
22530 * benchtests/sinh-inputs: Likewise.
22531 * benchtests/tan-inputs: Likewise.
22532 * benchtests/tanh-inputs: Likewise.
22533 * scripts/bench.pl: Add support for new directives.
22535 2013-10-07 Alan Modra <amodra@gmail.com>
22537 * README: Fix careless merge.
22539 2013-10-05 Alan Modra <amodra@gmail.com>
22541 * NEWS: Mention powerpc64le support and bugs fixed.
22542 * README: Both big-endian and little-endian powerpc64 supported.
22544 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22546 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22547 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22548 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22549 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22551 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22553 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22556 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22558 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22559 Move -mhard-float appending from
22560 ports/sysdeps/powerpc/powerpc32/Makefile.
22561 [$(with-fp) = yes] (ASFLAGS): Likewise.
22562 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22563 * sysdeps/powerpc/nofpu: Move directory from
22564 ports/sysdeps/powerpc/nofpu.
22565 * sysdeps/powerpc/soft-fp: Move directory from
22566 ports/sysdeps/powerpc/soft-fp.
22567 * sysdeps/powerpc/powerpc32/405: Move directory from
22568 ports/sysdeps/powerpc/powerpc32/405.
22569 * sysdeps/powerpc/powerpc32/440: Move directory from
22570 ports/sysdeps/powerpc/powerpc32/440.
22571 * sysdeps/powerpc/powerpc32/464: Move directory from
22572 ports/sysdeps/powerpc/powerpc32/464.
22573 * sysdeps/powerpc/powerpc32/476: Move directory from
22574 ports/sysdeps/powerpc/powerpc32/476.
22575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22576 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22578 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22580 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22582 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22584 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22585 * README: Update for powerpc-*-linux-gnu software floating point
22588 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22589 case to powerpc/powerpc32*.
22590 * sysdeps/unix/sysv/linux/configure: Regenerated.
22592 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22593 (_FPU_MASK_OM): Define as 0x04.
22594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22602 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22605 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22608 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22609 and setcontext_e500.
22611 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22613 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22615 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22617 * manual/threads.texi (Default Thread Attributes): Fix typo.
22619 2013-10-04 Will Newton <will.newton@linaro.org>
22621 * malloc/Makefile: Add tst-memalign.
22622 * malloc/tst-memalign.c: New file.
22624 * malloc/tst-posix_memalign.c: Add comments.
22625 (do_test): Add comments and call free on all potentially
22626 allocated pointers. Add space after cast.
22628 * malloc/tst-pvalloc.c: Add comments.
22629 (do_test): Add comments and call free on all potentially
22630 allocated pointers. Remove duplicate check for NULL pointer.
22631 Add space after cast.
22633 * malloc/tst-valloc.c: Add comments.
22634 (do_test): Add comments and call free on all potentially
22635 allocated pointers. Remove duplicate check for NULL pointer.
22636 Add space after cast.
22638 2013-10-04 Alan Modra <amodra@gmail.com>
22640 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22641 Use stdint types in rather than __attribute__((mode())).
22642 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22644 2013-10-04 Alan Modra <amodra@gmail.com>
22646 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22647 Correct handling of unaligned relocs for little-endian.
22648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22650 2013-10-04 Alan Modra <amodra@gmail.com>
22652 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22653 * configure: Regenerate.
22654 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22655 * shlib-versions: Likewise.
22657 2013-10-04 Alan Modra <amodra@gmail.com>
22659 * string/tester.c (test_memrchr): Increment reported test cycle.
22661 2013-10-04 Alan Modra <amodra@gmail.com>
22663 * string/test-memcpy.c (do_one_test): When reporting errors, print
22664 string address and don't overrun end of string.
22666 2013-10-04 Alan Modra <amodra@gmail.com>
22668 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22669 insrdi. Make better use of reg selection to speed exit slightly.
22670 Schedule entry path a little better. Remove useless "are we done"
22671 checks on entry to main loop. Handle wrapping around zero address.
22672 Correct main loop count. Handle single left-over word from main
22673 loop inline rather than by using loop_small. Remove extra word
22674 case in loop_small caused by wrong loop count. Add little-endian
22676 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22677 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22679 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22680 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22681 support. Avoid rlwimi.
22682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22684 2013-10-04 Alan Modra <amodra@gmail.com>
22686 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22687 insrdi. Formatting.
22688 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22689 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22690 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22691 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22692 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22693 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22695 2013-10-04 Alan Modra <amodra@gmail.com>
22697 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22699 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22700 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22701 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22702 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22705 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22706 use of regs. Use power7 mtocrf. Tidy function tails.
22708 2013-10-04 Alan Modra <amodra@gmail.com>
22710 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22711 Formatting. Consistently use rXXX register defines or rN defines.
22712 Use early exit labels that avoid restoring unused non-volatile regs.
22713 Make cr field use more consistent with rWORDn compares. Rename
22714 regs used as shift registers for unaligned loop, using rN defines
22715 for short lifetime/multiple use regs.
22716 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22717 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22718 addi 1,1,64 to pop stack frame. Simplify return value code.
22719 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22721 2013-10-04 Alan Modra <amodra@gmail.com>
22723 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22724 support. Correct typos, formatting. Optimize tail. Use insrdi
22725 rather than rlwimi.
22726 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22727 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22728 little-endian support. Correct typos.
22729 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22730 rather than rlwimi.
22731 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22732 in loop and entry code to keep "and." results.
22733 (strchr): Add little-endian support. Comment. Move cntlzd
22735 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22737 2013-10-04 Alan Modra <amodra@gmail.com>
22739 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22740 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22742 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22744 2013-10-04 Alan Modra <amodra@gmail.com>
22746 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22747 (rTMP): Define as r11.
22748 (strcmp): Add little-endian support. Optimise tail.
22749 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22750 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22751 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22752 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22753 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22754 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22757 2013-10-04 Alan Modra <amodra@gmail.com>
22759 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22760 little-endian support. Remove unnecessary "are we done" tests.
22761 Handle "s" wrapping around zero and extremely large "size".
22762 Correct main loop count. Handle single left-over word from main
22763 loop inline rather than by using small_loop. Correct comments.
22764 Delete "zero" tail, use "end_max" instead.
22765 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22767 2013-10-04 Alan Modra <amodra@gmail.com>
22769 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22770 support. Don't branch over align.
22771 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22772 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22773 support. Rearrange tmp reg use to suit. Comment.
22774 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22776 2013-10-04 Alan Modra <amodra@gmail.com>
22778 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22780 2013-10-04 Alan Modra <amodra@gmail.com>
22782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22783 conditional form of branch and link when obtaining pc.
22784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22786 2013-10-04 Alan Modra <amodra@gmail.com>
22788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22793 2013-10-04 Alan Modra <amodra@gmail.com>
22795 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22796 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22797 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22798 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22799 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22800 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22801 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22802 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22803 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22804 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22806 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22807 Alistair Popple <alistair@ozlabs.au.ibm.com>
22808 Alan Modra <amodra@gmail.com>
22811 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22812 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22813 _dl_hwcap access for little-endian.
22814 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22815 destroy vmx regs when saving unaligned.
22816 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22817 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22818 destroy vmx regs when saving unaligned.
22820 2013-10-04 Alan Modra <amodra@gmail.com>
22822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22823 Don't use a union to pack hi/low value.
22825 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22827 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22829 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22830 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22831 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22832 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22833 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22835 2013-10-04 Alan Modra <amodra@gmail.com>
22837 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22838 constants to usual value for .cst8 section, and remove redundant
22840 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22841 constant for 0x1p52. Load little-endian words of double from
22842 correct stack offsets.
22844 2013-10-04 Alan Modra <amodra@gmail.com>
22846 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22847 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22848 words of double from correct stack offsets.
22849 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22850 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22851 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22853 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22856 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22857 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22858 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22859 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22860 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22861 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22862 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22863 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22864 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22865 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22867 2013-10-04 Alan Modra <amodra@gmail.com>
22869 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22870 64-bit int/double union.
22871 (_FPU_SETCW): Likewise.
22872 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22873 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22875 2013-10-04 Alan Modra <amodra@gmail.com>
22877 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22878 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22880 2013-10-04 Alan Modra <amodra@gmail.com>
22882 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22883 use vector int constants.
22884 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22886 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22888 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22889 array with long long.
22890 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22891 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22892 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22893 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22894 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22895 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22896 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22897 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22898 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22899 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22900 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22901 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22902 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22904 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22906 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22907 (__signbit): Likewise. Correct for little-endian.
22908 (__signbitl): Call __signbit.
22909 (lrint): Correct for little-endian.
22910 (lrintf): Call lrint.
22912 2013-10-04 Alan Modra <amodra@gmail.com>
22914 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22915 union 32-bit int array member with 64-bit int array.
22916 (t515, tm256): Double rather than long double.
22917 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22919 2013-10-04 Alan Modra <amodra@gmail.com>
22921 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22923 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22924 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22925 version of math_ldbl.h.
22927 2013-10-04 Alan Modra <amodra@gmail.com>
22929 [BZ #15734], [BZ #15735]
22930 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22931 all uses of ieee875 long double macros and unions. Simplify test
22932 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22933 ldbl_extract_mantissa value for ix,iy exponents. Properly
22934 normalize after ldbl_extract_mantissa, and don't add hidden bit
22935 already handled. Don't treat low word of ieee854 mantissa like
22936 low word of IBM long double and mask off bit when testing for
22938 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22939 all uses of ieee875 long double macros and unions. Simplify tests
22940 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22941 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22942 two1022, instead use their values. Recognise that tests for large
22943 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22944 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22945 Rewrite all uses of ieee875 long double macros and unions. Simplify
22946 test for 0.0L and nan. Correct negation.
22947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22948 ieee875 long double macros and unions. Correct output for large
22949 magnitude x. Correct absolute value calculation.
22950 (__erfcl): Likewise.
22951 * math/libm-test.inc: Add tests for errors discovered in IBM long
22952 double versions of fmodl, remainderl, erfl and erfcl.
22954 2013-10-04 Alan Modra <amodra@gmail.com>
22956 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22957 all uses of ieee854 long double macros and unions. Simplify tests
22958 for long doubles that are fully specified by the high double.
22959 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22961 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22962 Remove dead code too.
22963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22964 (__ieee754_ynl): Likewise.
22965 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22966 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22967 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22968 Remove dead code too.
22969 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22970 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22971 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22972 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22974 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22976 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22977 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22978 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22979 Comment on variable precision.
22980 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22981 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22983 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22984 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22985 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22986 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22987 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22989 2013-10-04 Alan Modra <amodra@gmail.com>
22991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22992 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22993 all uses of ieee854 long double macros and unions.
22994 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22995 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22996 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22997 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22998 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22999 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23001 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23002 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23003 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23004 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23005 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23006 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23007 Simplify sign and nan test too.
23008 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23009 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23010 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23011 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23013 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23014 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23017 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23023 2013-10-04 Alan Modra <amodra@gmail.com>
23025 * stdio-common/printf_size.c (__printf_size): Don't use
23026 union ieee854_long_double in fpnum union.
23027 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23028 signbit macro to retrieve sign from long double.
23029 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23030 retrieve sign from long double.
23031 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23032 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23033 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23034 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23035 * math/test-misc.c (main): Don't use union ieee854_long_double.
23037 2013-10-04 Alan Modra <amodra@gmail.com>
23040 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23041 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23042 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23043 calculation. Remove unnecessary test for denormal exponent.
23044 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23045 Correct handling of denormals. Avoid undefined shift behaviour.
23046 Correct normalisation of low mantissa when low double is denormal.
23047 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23048 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23049 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23050 Correct normalisation of low mantissa. Test for overflow of high
23051 mantissa and normalise.
23052 (ldbl_nearbyint): Use more readable constant for two52.
23053 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23054 (__mpn_construct_long_double): Fix test for overflow of high
23055 mantissa and correct normalisation. Avoid undefined shift.
23057 2013-10-04 Alan Modra <amodra@gmail.com>
23059 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23060 (union ibm_extended_long_double): Define as an array of ieee754_double.
23061 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23062 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23063 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23064 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23065 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23066 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23068 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23071 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23073 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23075 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23076 page size instead of calling getpagesize.
23078 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23079 (LOCFILE_ALIGN_MASK): Likewise.
23080 (LOCFILE_ALIGN_UP): Likewise.
23081 (LOCFILE_ALIGNED_P): Likewise.
23082 * locale/programs/ld-collate.c (collate_output): Use the new
23083 macros instead of __alignof__ (int32_t).
23084 * locale/weight.h (findidx): Likewise.
23086 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23089 * manual/string.texi: Fix strncat and wcsncat.
23091 2013-10-03 Brooks Moses <bmoses@google.com>
23094 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23095 * Makerules: ...here, and adjust associated comments.
23097 2013-10-02 Will Newton <will.newton@linaro.org>
23099 * malloc/Makefile: Add tst-pvalloc.
23100 * malloc/tst-pvalloc.c: New file.
23102 2013-10-02 Will Newton <will.newton@linaro.org>
23104 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23105 improve test coverage.
23107 2013-10-02 Will Newton <will.newton@linaro.org>
23109 * malloc/Makefile: Add tst-posix_memalign.
23110 * malloc/tst-posix_memalign.c: New file.
23112 2013-10-01 Eric Blake <eblake@redhat.com>
23114 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23115 Use __THROWNL rather than __THROW on static functions.
23117 2013-09-30 Petr Machata <pmachata@redhat.com>
23119 * elf/elf.h (R_AARCH64_ABS16): New macro.
23120 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23121 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23122 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23123 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23124 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23125 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23126 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23127 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23128 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23129 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23130 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23131 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23132 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23133 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23134 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23135 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23136 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23137 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23138 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23139 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23140 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23141 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23142 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23143 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23144 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23145 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23146 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23147 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23148 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23149 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23150 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23151 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23152 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23153 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23154 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23155 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23156 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23157 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23158 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23159 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23160 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23161 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23162 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23163 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23164 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23165 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23166 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23167 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23168 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23169 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23170 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23171 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23172 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23173 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23174 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23175 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23176 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23177 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23178 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23179 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23180 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23181 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23182 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23183 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23184 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23185 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23186 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23187 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23188 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23189 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23190 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23191 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23192 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23193 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23194 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23195 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23196 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23197 (R_AARCH64_TLSDESC_LDR): Likewise.
23198 (R_AARCH64_TLSDESC_ADD): Likewise.
23199 (R_AARCH64_TLSDESC_CALL): Likewise.
23201 2013-09-30 Andreas Schwab <schwab@suse.de>
23204 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23205 the nss database lookup.
23206 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23209 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23211 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23213 2013-09-28 P. J. McDermott <pj@pehjota.net>
23215 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23216 ${Bash-specific parameter/pattern/string} parameter expansion.
23217 * sysdeps/unix/make-syscalls.sh: Likewise.
23219 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23221 * sysdeps/sh/stackguard-macros.h: New file.
23223 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23227 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23228 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23229 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23230 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23232 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23234 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23235 Fix thread ID register.
23237 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23239 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23240 [POSIX || UNIX98]: Require rather than permitting all symbols from
23242 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23243 element of struct sched_param.
23244 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23245 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23246 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23247 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23250 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23252 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23253 argument calculation.
23255 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23257 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23259 [POSIX] (pthread_attr_t): Do not require type.
23260 [POSIX] (pthread_cond_t): Likewise.
23261 [POSIX] (pthread_condattr_t): Likewise.
23262 [POSIX] (pthread_key_t): Likewise.
23263 [POSIX] (pthread_mutex_t): Likewise.
23264 [POSIX] (pthread_mutexattr_t): Likewise.
23265 [POSIX] (pthread_once_t): Likewise.
23266 [POSIX] (pthread_t): Likewise.
23267 [POSIX-based standards] (pthread_atfork): Expect function.
23269 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23270 Richard Sandiford <richard@codesourcery.com>
23272 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23273 (swap_endianness_p): New extern variable.
23274 (set_big_endian): New inline function.
23275 (maybe_swap_uint32): Likewise.
23276 (maybe_swap_uint32_array): Likewise.
23277 (maybe_swap_uint32_obstack): Likewise.
23278 * locale/programs/locfile.c: Include <stdbool.h>.
23279 (swap_endianness_p): New variable.
23280 (add_locale_uint32): Call maybe_swap_uint32.
23281 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23282 (write_locale_data): Call maybe_swap_uint32_array.
23283 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23285 (obstack_int32_grow_fast): Likewise.
23286 (output_weightwc): Call maybe_swap_uint32_obstack.
23287 (collate_output): Likewise.
23288 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23289 (OPT_LITTLE_ENDIAN): Likewise.
23290 (options): Add --little-endian and --big-endian options.
23291 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23292 * locale/programs/locarchive.c: Include "locfile.h".
23296 (create_archive): Use the new macros to access fields of
23297 structures directly mapped from or written to locale archives.
23298 (oldlocrecentcmp): Likewise.
23299 (enlarge_archive): Likewise.
23300 (insert_name): Likewise.
23301 (add_alias): Likewise.
23302 (add_locale): Likewise.
23303 (delete_locales_from_archive): Likewise.
23304 (show_archive_content): Likewise.
23305 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23308 2013-09-24 Roland McGrath <roland@hack.frob.com>
23310 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23311 http://www.gnu.org/doc/freemanuals.texi.
23312 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23314 2013-09-24 Will Newton <will.newton@linaro.org>
23316 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23319 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23321 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23324 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23326 * manual/threads.texi (POSIX Threads): Fix a typo.
23328 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23331 * string/tst-strcoll-overflow.c: New test case.
23332 * string/Makefile (xtests): Add tst-strcoll-overflow.
23333 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23334 cache if string sizes may cause integer overflow.
23337 * string/strcoll_l.c (coll_seq): New members rule, idx,
23338 save_idx and back_us.
23339 (get_next_seq_nocache): New function.
23340 (do_compare_nocache): New function.
23341 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23344 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23347 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23348 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23349 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23352 * elf/Makefile (tests): Add tst-ptrguard1.
23353 (tests-static): Add tst-ptrguard1-static.
23354 (tst-ptrguard1-ARGS): Define.
23355 (tst-ptrguard1-static-ARGS): Define.
23356 * elf/tst-ptrguard1.c: New file.
23357 * elf/tst-ptrguard1-static.c: New file.
23358 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23359 * sysdeps/i386/stackguard-macros.h: Likewise.
23360 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23361 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23362 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23363 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23364 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23365 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23367 2013-09-23 Hector Marco <hecmargi@upv.es>
23368 Ismael Ripoll <iripoll@disca.upv.es>
23369 Carlos O'Donell <carlos@redhat.com>
23372 * sysdeps/generic/stackguard-macros.h: Define
23373 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23374 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23375 Define __pointer_chk_guard_local.
23376 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23377 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23379 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23382 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23384 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23386 * include/string.h (__ffs): Declare as hidden.
23387 * string/ffs.c (__ffs): Define as hidden.
23388 * sysdeps/i386/ffs.c (__ffs): Likewise.
23389 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23390 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23391 * sysdeps/s390/ffs.c (__ffs): Likewise.
23392 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23394 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23396 * NEWS: Mention malloc probes.
23398 * malloc/arena.c (new_heap): New memory_heap_new probe.
23399 (grow_heap): New memory_heap_more probe.
23400 (shrink_heap): New memory_heap_less probe.
23401 (heap_trim): New memory_heap_free probe.
23402 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23403 (systrim): New memory_sbrk_less probe.
23404 * manual/probes.texi: Document them.
23406 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23407 * manual/probes.texi: Document it.
23409 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23410 (__libc_realloc): Add memory_realloc_retry probe.
23411 (__libc_memalign): Add memory_memalign_retry probe.
23412 (__libc_valloc): Add memory_valloc_retry probe.
23413 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23414 (__libc_calloc): Add memory_calloc_retry probe.
23415 * manual/probes.texi: Document them.
23417 * malloc/arena.c (get_free_list): Add probe
23418 memory_arena_reuse_free_list.
23419 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23420 and memory_arena_reuse.
23421 (arena_get2) [!PER_THREAD]: Likewise.
23422 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23423 memory_arena_reuse_realloc.
23424 * manual/probes.texi: Document them.
23426 * malloc/malloc.c (__libc_free): Add
23427 memory_mallopt_free_dyn_thresholds probe.
23428 (__libc_mallopt): Add multiple memory_mallopt probes.
23429 * manual/probes.texi: Document them.
23431 * malloc/malloc.c: Include stap-probe.h.
23432 (__libc_mallopt): Add memory_mallopt probe.
23433 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23434 * manual/probes.texi: New.
23435 * manual/Makefile (chapters): Add probes.
23436 * manual/threads.texi: Set next node.
23438 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23440 [BZ #15963, #13985]
23441 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23442 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23443 Add `Chinese' to `nan' entry name.
23445 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23447 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23448 (POLYNOMIAL): Likewise.
23449 (TAYLOR_SINCOS): Likewise.
23450 (TAYLOR_SLOW): Likewise.
23451 (__sin): Use TAYLOR_SINCOS.
23453 (slow): Use TAYLOR_SLOW.
23455 (bsloww): Likewise.
23456 (csloww): Likewise.
23458 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23460 * stdlib/strtod_l.c: Fix buffer overrun.
23462 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23464 * benchtests/Makefile (bench): Add sincos.
23465 * benchtests/bench-sincos.c: New file.
23467 * math/libm-test.inc (cos_test_data): New test inputs.
23468 (sin_test_data): Likewise.
23470 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23476 (sloww1): Likewise.
23477 (sloww2): Likewise.
23478 (bsloww1): Likewise.
23479 (bsloww2): Likewise.
23480 (cslow2): Likewise.
23481 (csloww1): Likewise.
23482 (csloww2): Likewise.
23484 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23493 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23495 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23496 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23497 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23498 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23499 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23500 * elf/cache.c (print_entry): Handle the new cache flags.
23502 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23503 Aldy Hernandez <aldyh@redhat.com>
23505 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23506 Change condition to [_SOFT_FLOAT].
23507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23519 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23522 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23525 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23527 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23528 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23529 (__longjmp): Use LOAD_GP to load saved GPRs.
23530 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23531 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23532 (__sigsetjmp): Use SAVE_GP to save GPRs.
23534 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23535 Do not append -msoft-float.
23536 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23538 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23540 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23542 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23545 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23546 (_FPU_GETCW): Use initial "__" on variable and field names but not
23547 on macro parameter name.
23548 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23549 parentheses around reference to macro parameter.
23551 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23553 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23555 (ctype_startup): Use uint32_t in cast and sizeof for
23558 2013-09-11 Jia Liu <proljc@gmail.com>
23560 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23562 [__FreeBSD__]: Likewise.
23564 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23567 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23568 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23569 (strchr): Remove __strchr_sse42 ifunc selection.
23570 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23571 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23573 2013-09-11 Will Newton <will.newton@linaro.org>
23575 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23576 parameter to RES. Remove hardcoded 1000 value.
23577 * benchtests/bench-skeleton.c (main): Pass RES parameter
23578 to TIMING_INIT and multiply result by 1000.
23580 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23584 2013-09-11 Andreas Schwab <schwab@suse.de>
23586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23588 (O_TMPFILE) [__USE_GNU]: Define.
23589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23592 2013-09-11 Will Newton <will.newton@linaro.org>
23595 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23598 2013-09-11 Will Newton <will.newton@linaro.org>
23601 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23604 2013-09-11 Will Newton <will.newton@linaro.org>
23607 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23610 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23612 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23614 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23615 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23616 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23618 2013-09-10 Allan McRae <allan@archlinux.org>
23621 * manual/arith.texi (Parsing of Floats): Clarify
23625 * manual/install.texi (Running make install): Mention
23627 * INSTALL: Regenerated.
23629 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23631 * csu/init-first.c (_init): Remove the !SHARED condition around
23632 FPU control word initialization.
23633 * elf/dl-support.c (_dl_fpu_control): New variable.
23634 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23635 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23636 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23637 * math/test-fpucw-static.c: New file.
23638 * math/test-fpucw-ieee.c: New file.
23639 * math/test-fpucw-ieee-static.c: New file.
23640 * math/Makefile (tests): Add `test-fpucw-ieee' and
23642 (tests-static): New variable.
23643 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23645 [($(build-shared),yes)]
23646 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23648 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23651 2013-09-09 Allan McRae <allan@archlinux.org>
23654 * manual/string.texi (Collation Functions): Fix typo in
23656 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23659 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23662 * libio/memstream.c (open_memstream): Fix memory leak.
23663 * libio/wmemstream.c (open_wmemstream): Likewise.
23666 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23668 2013-09-09 Will Newton <will.newton@linaro.org>
23670 * malloc/Makefile: Add tst-realloc to tests.
23671 * malloc/tst-realloc.c: New file.
23673 2013-09-09 Allan McRae <allan@archlinux.org>
23676 * COPYING: Update from GNU website to fix FSF address.
23677 * COPYING.LIB: Likewise.
23679 2013-09-06 David S. Miller <davem@davemloft.net>
23681 * po/zh_TW.po: Update Chinese (traditional) translation from
23682 translation project.
23684 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23685 Joseph Myers <joseph@codesourcery.com>
23687 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23689 (obstack_chunk_alloc): New macro.
23690 (obstack_chunk_free): Likewise.
23691 (record_offset): New function.
23692 (init_locale_data): Likewise.
23693 (align_locale_data): Likewise.
23694 (add_locale_empty): Likewise.
23695 (add_locale_raw_data): Likewise.
23696 (add_locale_raw_obstack): Likewise.
23697 (add_locale_string): Likewise.
23698 (add_locale_wstring): Likewise.
23699 (add_locale_uint32): Likewise.
23700 (add_locale_uint32_array): Likewise.
23701 (add_locale_char): Likewise.
23702 (start_locale_structure): Likewise.
23703 (end_locale_structure): Likewise.
23704 (start_locale_prelude): Likewise.
23705 (end_locale_prelude): Likewise.
23706 (write_locale_data): Take locale_file structure rather than an
23708 * locale/programs/locfile.h: Include "obstack.h".
23709 (struct locale_file): Change to store locale file contents instead
23711 (init_locale_data): New prototype.
23712 (align_locale_data): Likewise.
23713 (add_locale_empty): Likewise.
23714 (add_locale_raw_data): Likewise.
23715 (add_locale_raw_obstack): Likewise.
23716 (add_locale_string): Likewise.
23717 (add_locale_wstring): Likewise.
23718 (add_locale_uint32): Likewise.
23719 (add_locale_uint32_array): Likewise.
23720 (add_locale_char): Likewise.
23721 (start_locale_structure): Likewise.
23722 (end_locale_structure): Likewise.
23723 (start_locale_prelude): Likewise.
23724 (end_locale_prelude): Likewise.
23725 (write_locale_data): Update prototype.
23726 * locale/programs/3level.h (struct TABLE): Remove result field.
23727 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23728 Use new locale_file interface.
23729 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23730 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23731 * locale/programs/ld-address.c (address_output): Use new
23732 locale_file interface.
23733 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23735 (collate_finish): Don't call collseq_table_finalize.
23736 (collate_output): Use new locale_file interface.
23737 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23739 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23740 (TABLE): Move defines earlier in file.
23741 (ELEMENT): Likewise.
23742 (DEFAULT): Likewise.
23743 (wctrans_table_add): Move macro and inline function earlier in
23745 (struct wctype_table): Move type earlier in file.
23746 (add_locale_wctype_table): New static prototype.
23747 (struct locale_ctype_t): Use logical types instead of struct iovec
23748 pointers for members.
23749 (ctype_output): Use new locale_file interface.
23750 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23751 new locale_file interface.
23752 (allocate_arrays): Update for use of new locale_file interface.
23753 * locale/programs/ld-identification.c (identification_output): Use
23754 new locale_file interface.
23755 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23756 * locale/programs/ld-messages.c (messages_output): Likewise.
23757 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23758 * locale/programs/ld-name.c (name_output): Likewise.
23759 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23760 * locale/programs/ld-paper.c (paper_output): Likewise.
23761 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23762 * locale/programs/ld-time.c (time_output): Likewise.
23764 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23766 * benchtests/Makefile: Add memrchr benchmark.
23767 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23768 benchmark as memrchr.
23769 * benchtests/bench-memrchr-ifunc.c: New file.
23770 * benchtests/bench-memrchr.c: New file.
23772 2013-09-06 Will Newton <will.newton@linaro.org>
23774 * benchtests/Makefile (string-bench): Add memcpy.
23776 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23777 Cong Wang <amwang@redhat.com>
23780 * sysdeps/unix/sysv/linux/bits/in.h
23781 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23782 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23783 before __USE_KERNEL_IPV6_DEFS uses.
23784 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23786 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23787 sockaddr_in6, or ipv6_mreq.
23789 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23791 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23792 memory access for final bytes in some large inputs.
23793 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23795 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23797 * string/test-memrchr.c: New file.
23798 * string/test-memrchr-ifunc.c: New file.
23799 * string/Makefile: Add new memrchr testcase.
23801 2013-09-05 Mike Frysinger <vapier@gentoo.org>
23803 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23804 fanotify_init returns EPERM.
23806 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23808 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23810 (top level): Treat second token from macro or constant entries for
23811 allowed headers as allowed.
23812 * include/complex.h: Condition internal declarations on
23814 * include/fenv.h: Condition include of <stdbool.h> and internal
23815 declarations on [!_ISOMAC].
23817 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23820 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23822 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23824 * configure.in (--enable-versioning): Remove configure option.
23825 (libc_cv_asm_symver_directive): Remove configure test.
23826 (libc_cv_ld_version_script_option): Likewise.
23827 (VERSIONING): Remove variable and AC_SUBST.
23828 (DO_VERSIONING): Remove AC_DEFINE.
23829 * configure: Regenerated.
23830 * config.h.in (DO_VERSIONING): Remove macro.
23831 * Makerules [$(versioning) = yes]: Change conditionals to
23832 [$(build-shared) = yes].
23833 * config.make.in (versioning): Remove variable.
23834 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23835 [$(build-shared) = yes].
23836 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23837 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23838 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23839 [$(build-shared) = yes].
23840 * extra-lib.mk [$(versioning) = yes]: Likewise.
23841 * hurd/Makefile [$(versioning) = yes]: Likewise.
23842 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23844 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23846 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23847 [SHARED && !NO_HIDDEN].
23848 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23850 [SHARED && DO_VERSIONING]: Likewise..
23851 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23852 [$(build-shared) = yes].
23853 * manual/install.texi (--disable-versioning): Remove
23855 * INSTALL: Regenerated.
23856 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23858 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23859 [$(build-shared) = yes].
23860 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23861 * sysdeps/i386/i686/multiarch/strstr-c.c
23862 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23863 [SHARED && !NO_HIDDEN].
23864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23865 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23866 * sysdeps/powerpc/powerpc32/dl-machine.c
23867 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23868 * sysdeps/powerpc/powerpc32/sysdep.h
23869 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23870 to [SHARED && PIC && !NO_HIDDEN].
23871 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23872 conditional to [SHARED].
23874 2013-09-04 Will Newton <will.newton@linaro.org>
23876 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23877 * benchtests/bench-string.h: Include bench-timing.h instead
23878 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23879 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23880 call to HP_TIMING_DIFF_INIT.
23881 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23882 instead of hp-timing.h macros.
23883 * benchtests/bench-memchr.c: Likewise.
23884 * benchtests/bench-memcmp.c: Likewise.
23885 * benchtests/bench-memcpy.c: Likewise.
23886 * benchtests/bench-memmem.c: Likewise.
23887 * benchtests/bench-memmove.c: Likewise.
23888 * benchtests/bench-memset.c: Likewise.
23889 * benchtests/bench-rawmemchr.c: Likewise.
23890 * benchtests/bench-strcasecmp.c: Likewise.
23891 * benchtests/bench-strcasestr.c: Likewise.
23892 * benchtests/bench-strcat.c: Likewise.
23893 * benchtests/bench-strchr.c: Likewise.
23894 * benchtests/bench-strcmp.c: Likewise.
23895 * benchtests/bench-strcpy.c: Likewise.
23896 * benchtests/bench-strcpy_chk.c: Likewise.
23897 * benchtests/bench-strlen.c: Likewise.
23898 * benchtests/bench-strncasecmp.c: Likewise.
23899 * benchtests/bench-strncat.c: Likewise.
23900 * benchtests/bench-strncmp.c: Likewise.
23901 * benchtests/bench-strncpy.c: Likewise.
23902 * benchtests/bench-strnlen.c: Likewise.
23903 * benchtests/bench-strpbrk.c: Likewise.
23904 * benchtests/bench-strrchr.c: Likewise.
23905 * benchtests/bench-strspn.c: Likewise.
23906 * benchtests/bench-strstr.c: Likewise.
23908 2013-09-04 Will Newton <will.newton@linaro.org>
23910 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23912 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23916 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23917 * math/libm-test.inc (lgamma_test_data): Add more tests.
23918 * sysdeps/i386/fpu/libm-test-ulps: Update.
23919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23921 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23923 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23927 Add strcmp-sse2-unaligned
23928 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23930 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23932 * Versions.def (libc): Add GLIBC_2.19.
23934 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23936 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23937 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23939 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23942 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23943 intermediate calculations in recurrence.
23944 (__ieee754_ynf): Likewise.
23945 * math/libm-test.inc (jn_test_data): Do not allow spurious
23946 underflow exception. Add more tests.
23947 (yn_test_data): Add more tests.
23948 * sysdeps/i386/fpu/libm-test-ulps: Update.
23949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23951 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23953 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23955 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23957 * csu/init-first.c: Fix then/than typos.
23958 * locale/programs/ld-collate.c: Likewise.
23959 * locale/programs/linereader.h: Likewise.
23960 * manual/charset.texi: Likewise.
23961 * manual/filesys.texi: Likewise.
23962 * manual/stdio.texi: Likewise.
23963 * manual/string.texi: Likewise.
23964 * stdlib/fmtmsg.c: Likewise.
23965 * sysdeps/i386/stpncpy.S: Likewise.
23966 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23967 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23971 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23973 * elf/dl-open.c: Fix typos.
23974 * iconvdata/gbbig5.c: Likewise.
23975 * iconvdata/iso-2022-jp.c: Likewise.
23976 * iconv/gconv_int.h: Likewise.
23977 * iconv/loop.c: Likewise.
23978 * nis/rpcsvc/nis.h: Likewise.
23979 * resolv/ns_name.c: Likewise.
23980 * stdio-common/vfscanf.c: Likewise.
23981 * streams/stropts.h: Likewise.
23982 * sunrpc/rpc_thread.c: Likewise.
23983 * sysdeps/i386/strpbrk.S: Likewise.
23984 * sysdeps/ieee754/k_standard.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23987 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23988 * sysdeps/mach/hurd/profil.c: Likewise.
23989 * sysdeps/s390/dl-procinfo.h: Likewise.
23990 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23991 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23992 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23993 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23994 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23996 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23998 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24001 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24003 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24004 aix specific files.
24005 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24006 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24007 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24008 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24009 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24010 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24011 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24012 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24014 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24015 Roland McGrath <roland@hack.frob.com>
24017 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24018 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24020 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24022 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24023 __executable_start symbol instead of _start.
24025 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24027 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24028 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24030 * sysdeps/gnu/ldsodefs.h: ... this new file.
24032 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24033 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24034 instead of ELFOSABI_LINUX.
24036 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24037 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24038 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24039 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24041 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24042 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24043 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24045 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24046 (ibm_extended_long_double): Add ieee_nan member.
24047 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24048 (do_test): New function.
24050 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24052 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24053 functions, renamed from truncdfsf_test, trunctfsf_test,
24055 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24057 (do_test): Run all these.
24059 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24061 * argp/argp-help.c: Fix typos.
24062 * argp/argp-parse.c: Likewise.
24063 * debug/backtracesyms.c: Likewise.
24064 * elf/elf.h: Likewise.
24065 * malloc/malloc.c: Likewise.
24066 * nis/nis_print.c: Likewise.
24067 * resolv/res_comp.c: Likewise.
24068 * stdlib/stdlib.h: Likewise.
24069 * sunrpc/clnt_tcp.c: Likewise.
24070 * sunrpc/clnt_udp.c: Likewise.
24071 * sunrpc/clnt_unix.c: Likewise.
24072 * sysdeps/unix/bsd/ptsname.c: Likewise.
24073 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24074 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24081 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24083 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24085 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24088 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24091 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24092 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24093 ($(objpfx)bug-dl-leaf): New rule.
24094 ($(objpfx)bug-dl-leaf.so): Likewise.
24095 ($(objpfx)bug-dl-leaf.out): Likewise.
24096 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24097 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24098 * dlfcn/bug-dl-leaf.c: New test.
24099 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24100 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24101 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24102 (dlclose): Likewise.
24103 (dlmopen): Likewise.
24105 2013-08-27 Roland McGrath <roland@hack.frob.com>
24107 * include/netdb.h [!_ISOMAC]:
24108 Don't include <tls.h>.
24109 (h_errno, __libc_h_errno): Move declaration and macros out of
24112 * include/resolv.h [_RESOLV_H_]:
24113 Don't include <tls.h>.
24114 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24115 * resolv/res_libc.c: Don't include <tls.h>.
24116 (_res): Use __attribute__ ((nocommon)) in place of
24117 __attribute__ ((section (".bss"))).
24119 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24120 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24122 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24124 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24125 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24127 * resolv/res_mkquery.c: Include <sys/time.h>.
24129 * inet/ifreq.c: Moved to ...
24130 * sysdeps/unix/ifreq.c: ... here.
24131 * inet/ifreq.c: New file, true stub version.
24133 * socket/sa_len.c: New file.
24134 * socket/Makefile (aux): Add it.
24135 * sysdeps/unix/sysv/linux/Makefile
24136 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24137 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24138 and #include <socket/sa_len.c>.
24139 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24140 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24142 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24143 * bits/socket.h: ... here.
24145 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24146 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24147 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24149 2013-08-27 Andreas Schwab <schwab@suse.de>
24152 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24153 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24154 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24155 * string/test-strcasecmp.c (test_main): Run tests in several
24157 * string/test-strncasecmp.c (test_main): Likewise.
24159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24160 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24161 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24163 (__strncasecmp_ssse3) [PIC]: Likewise.
24165 2013-08-26 Roland McGrath <roland@hack.frob.com>
24167 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24169 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24170 instead of explicitly declaring xdecrypt.
24171 * nis/nss_nis/nis-publickey.c: Likewise.
24173 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24176 * nscd/aicache.c: Include res_hconf.h.
24177 (addhstaiX): Initialize res_hconf.
24179 2013-08-26 Andreas Schwab <schwab@suse.de>
24181 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24182 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24184 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24186 * nscd/aicache.c (addhstaiX): Fix indentation.
24188 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24190 * configure.ac: Quote $build_pt_chown test.
24191 * configure: Regenerated.
24193 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24196 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24197 * math/s_cexpf.c (__cexpf): Likewise.
24198 * math/s_cexpl.c (__cexpl): Likewise.
24199 * math/libm-test.inc (cexp_test_data): Correct expected return
24200 value for NaN + i0. Add another test.
24202 2013-08-22 David S. Miller <davem@davemloft.net>
24204 * po/ca.po: Update Catalan translation from translation project.
24205 * po/uk.po: Add Ukrainian translations from translation project.
24207 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24210 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24211 is infinite, not alongside NaN test.
24212 * math/s_fdimf.c (__fdimf): Likewise.
24213 * math/s_fdiml.c (__fdiml): Likewise.
24214 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24215 errno is unchanged.
24217 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24219 * argp/argp-help.c: Fix typos.
24220 * crypt/speeds.c: Likewise.
24221 * csu/check_fds.c: Likewise.
24222 * elf/dl-load.c: Likewise.
24223 * elf/dl-open.c: Likewise.
24224 * elf/reldep3.c: Likewise.
24225 * elf/reldep.c: Likewise.
24226 * elf/sprof.c: Likewise.
24227 * iconv/iconv_charmap.c: Likewise.
24228 * iconv/skeleton.c: Likewise.
24229 * iconv/strtab.c: Likewise.
24230 * io/lockf64.c: Likewise.
24231 * libio/libioP.h: Likewise.
24232 * resolv/gai_notify.c: Likewise.
24233 * resolv/ns_name.c: Likewise.
24234 * resolv/ns_samedomain.c: Likewise.
24235 * resolv/res_send.c: Likewise.
24236 * stdlib/random.c: Likewise.
24237 * sunrpc/rpc/xdr.h: Likewise.
24238 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24239 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24240 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24241 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24242 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24243 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24246 * sysdeps/mach/hurd/check_fds.c: Likewise.
24247 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24248 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24250 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24251 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24252 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24253 * sysdeps/pthread/aio_notify.c: Likewise.
24254 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24255 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24256 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24257 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24258 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24260 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24262 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24263 version if bit_Slow_SSE4_2 is set.
24264 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24265 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24267 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24270 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24271 trampoline stack frame information.
24272 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24274 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24275 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24276 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24277 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24278 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24279 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24281 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24282 interrupting a syscall and set with option SA_SIGINFO.
24284 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24287 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24288 argument is infinite.
24289 * math/s_cprojf.c (__cprojf): Likewise.
24290 * math/s_cprojl.c (__cprojl): Likewise.
24291 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24292 * math/libm-test.inc (cproj_test_data): Add more tests.
24294 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24296 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24297 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24298 size. Use __ffs to determine corresponding shift.
24300 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24301 Roland McGrath <roland@hack.frob.com>
24303 * Makefile (INSTALL): Remove trailing blank lines from output of
24306 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24308 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24309 Align 32 bit compat elf_greg to 8 bytes.
24311 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24313 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24315 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24317 * string/strcoll_l.c (coll_seq): New structure.
24318 (get_next_seq_cached): New function.
24319 (get_next_seq): New function.
24320 (do_compare): New function.
24321 (STRCOLL): Use GNU style definition. Simplify implementation
24322 by using get_next_seq, get_next_seq_cached and do_compare.
24324 2013-08-16 Florian Weimer <fweimer@redhat.com>
24328 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24330 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24332 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24333 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24334 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24336 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24337 GETDENTS_64BIT_ALIGNED.
24338 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24339 * manual/filesys.texi (Reading/Closing Directory): Document
24340 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24342 * manual/conf.texi (Limits for Files): Add portability note to
24343 NAME_MAX, PATH_MAX.
24344 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24346 2013-08-13 Andreas Schwab <schwab@suse.de>
24349 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24351 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24352 LDBL_MAX_EXP >= 16384]: Add tests for it.
24354 2013-08-12 David S. Miller <davem@davemloft.net>
24356 * version.h (RELEASE): Set to "development".
24357 (VERSION): Set to "2.18.90".
24358 * NEWS: Add 2.19 section.
24360 2013-08-03 David S. Miller <davem@davemloft.net>
24362 * po/ko.po: Update Korean translation from translation project.
24364 2013-08-01 David S. Miller <davem@davemloft.net>
24366 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24367 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24370 2013-07-30 David S. Miller <davem@davemloft.net>
24372 * po/fr.po: Update French translation from translation project.
24374 2013-07-28 David S. Miller <davem@davemloft.net>
24376 * po/cs.po: Update Czech translation from translation project.
24378 * po/sv.po: Update Swedish translation from translation project.
24380 2013-07-27 David S. Miller <davem@davemloft.net>
24382 * po/eo.po: Update Esperanto translation from translation project.
24384 * po/vi.po: Update Vietnamese translation from translation project.
24386 * po/de.po: Update German translation from translation project.
24388 2013-07-26 David S. Miller <davem@davemloft.net>
24390 * po/bg.po: Update Bulgarian translation from translation project.
24392 * po/nl.po: Update Dutch translation from translation project.
24393 * po/pl.po: Update Polish translation from translation project.
24394 * po/ru.po: Update Russian translation from translation project.
24396 2013-07-24 David S. Miller <davem@davemloft.net>
24398 * po/libc.pot: Update.
24400 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24402 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24403 variable page size.
24404 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24405 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24406 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24408 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24410 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24412 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24413 Andreas Schwab <schwab@suse.de>
24414 Roland McGrath <roland@hack.frob.com>
24415 Joseph Myers <joseph@codesourcery.com>
24416 Carlos O'Donell <carlos@redhat.com>
24419 * config.h.in: Define HAVE_PT_CHOWN.
24420 * config.make.in (build-pt-chown): New variable.
24421 * configure.in (--enable-pt_chown): New configure option.
24422 * configure: Regenerate.
24423 * login/Makefile: Include Makeconfig. Build pt_chown only if
24424 build-pt-chown is enabled.
24425 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24426 pt_chown to fix pty ownership.
24427 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24429 * manual/install.texi (Configuring and compiling): Mention
24430 --enable-pt_chown. Add @findex for grantpt.
24431 * INSTALL: Regenerate.
24433 2013-07-20 David S. Miller <davem@davemloft.net>
24435 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24436 difference between 32-bit and 64-bit.
24438 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24441 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24442 Avoid system header dependency with -ffreestanding.
24443 ($(objpfx)bits/syscall%d): Likewise.
24445 2013-07-13 David S. Miller <davem@davemloft.net>
24447 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24448 underflows from atanl/atan2l due to bug 15319.
24449 (casinh_test_data): Likewise.
24451 2013-07-07 David S. Miller <davem@davemloft.net>
24453 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24455 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24457 * sysdeps/i386/fpu/libm-test-ulps: Update.
24458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24460 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24462 * configure.in (--enable-lock-elision): Fix message text.
24463 * INSTALL: Regenerate.
24464 * configure: Regenerate.
24466 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24470 2013-07-03 Andreas Jaeger <aj@suse.de>
24472 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24474 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24475 (ptrace_peeksiginfo_args): Add.
24476 (__ptrace_peeksiginfo_flags): Add.
24477 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24481 2013-07-03 Allan McRae <allan@archlinux.org>
24483 * sysdeps/i386/fpu/libm-test-ulps: Update.
24485 2013-07-02 David S. Miller <davem@davemloft.net>
24487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24489 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24493 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24495 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24498 2013-07-02 Andi Kleen <ak@linux.intel.com>
24500 * config.h.in (ENABLE_LOCK_ELISION): Add.
24501 * configure.in (--enable-lock-elision): Add option.
24502 * manual/install.texi: Document --enable lock elision.
24503 * configure: Regenerate
24504 * INSTALL: Regenerate.
24506 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24508 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24509 SSE4.2 strcasecmp for libc.a.
24510 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24512 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24515 * soft-fp/op-common.h (_FP_FMA): New macro.
24516 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24517 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24518 (_FP_MUL_MEAT_1_imm): ... here.
24519 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24520 (_FP_MUL_MEAT_1_wide): ... here.
24521 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24522 (_FP_MUL_MEAT_1_hard): ... here.
24523 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24524 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24525 (_FP_MUL_MEAT_2_wide): ... here.
24526 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24527 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24528 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24529 (_FP_MUL_MEAT_2_gmp): ... here.
24530 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24531 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24532 (_FP_MUL_MEAT_4_wide): ... here.
24533 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24534 (_FP_MUL_MEAT_4_gmp): ... here.
24535 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24536 (_FP_WFRACBITS_DW_S): Likewise.
24537 (_FP_WFRACXBITS_DW_S): Likewise.
24538 (_FP_HIGHBIT_DW_S): Likewise.
24539 (FP_FMA_S): Likewise.
24540 (_FP_FRAC_HIGH_DW_S): Likewise.
24541 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24542 (_FP_WFRACBITS_DW_D): Likewise.
24543 (_FP_WFRACXBITS_DW_D): Likewise.
24544 (_FP_HIGHBIT_DW_D): Likewise.
24545 (FP_FMA_D): Likewise.
24546 (_FP_FRAC_HIGH_DW_D): Likewise.
24547 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24548 (_FP_WFRACBITS_DW_E): Likewise.
24549 (_FP_WFRACXBITS_DW_E): Likewise.
24550 (_FP_HIGHBIT_DW_E): Likewise.
24551 (FP_FMA_E): Likewise.
24552 (_FP_FRAC_HIGH_DW_E): Likewise.
24553 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24554 (_FP_WFRACBITS_DW_Q): Likewise.
24555 (_FP_WFRACXBITS_DW_Q): Likewise.
24556 (_FP_HIGHBIT_DW_Q): Likewise.
24557 (FP_FMA_Q): Likewise.
24558 (_FP_FRAC_HIGH_DW_Q): Likewise.
24559 * soft-fp/fmasf4.c: New file.
24560 * soft-fp/fmadf4.c: Likewise.
24561 * soft-fp/fmatf4.c: Likewise.
24563 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24566 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24570 (index_Slow_SSE4_2): Likewise.
24571 (index_Prefer_PMINUB_for_stringop): Likewise.
24572 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24573 bit_Slow_SSE4_2 is set.
24574 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24575 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24577 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24579 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24580 rtld_global._dl_hwcap2.
24581 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24583 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24584 POWER8 feature descriptions defined in _dl_hwcap2.
24585 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24586 string handling for POWER8 feature bits.
24587 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24588 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24589 _dl_powerpc_cap_flags.
24590 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24591 * sysdeps/powerpc/rtld-global-offsets.sym
24592 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24593 _dl_hwcap2 in the rtld_global_ro structure.
24595 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24597 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24598 hardware capabilities in support of AT_HWCAP2.
24599 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24600 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24602 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24603 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24604 explicitly the unknown a_type display mechanism is used.
24605 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24606 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24608 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24609 to macro prototype for AT_HWCAP2 support.
24610 * sysdeps/i386/dl-procinfo.h: Likewise.
24611 * sysdeps/s390/dl-procinfo.h: Likewise.
24612 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24613 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24614 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24615 return -1 for unknown a_type display fallback.
24616 * sysdeps/sparc/dl-procinfo.h: Likewise.
24617 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24618 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24620 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24622 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24623 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24625 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24628 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24629 mprotect making __stack_prot writable.
24631 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24632 Joseph Myers <joseph@codesourcery.com>
24634 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24635 as being properly aligned.
24637 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24639 * dlfcn/modstatic5.c: New file.
24640 * dlfcn/tststatic5.c: New file.
24641 * dlfcn/Makefile (tests): Add tststatic5.
24642 (tests-static): Likewise.
24643 (modules-names): Add modstatic5.
24644 (tststatic5-ENV): New variable.
24645 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24648 * elf/dl-support.c (_dl_main_map): New variable.
24649 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24650 (_dl_nns, _dl_load_adds): Set to 1.
24651 (_dl_initial_searchlist): Refer to _dl_main_map.
24652 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24653 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24654 call to _dl_get_origin.
24655 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24657 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24658 * dlfcn/modstatic3.c: New file.
24659 * dlfcn/tststatic3.c: New file.
24660 * dlfcn/tststatic4.c: New file.
24661 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24662 (tests-static): Likewise.
24663 (modules-names): Add modstatic3.
24664 (tststatic3-ENV, tststatic4-ENV): New variables.
24665 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24666 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24668 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24670 * configure.in (CC): Require GCC version 4.4 or later.
24671 * configure: Regenerated.
24672 * manual/install.texi (Tools for Compilation): Update GCC version
24674 * INSTALL: Regenerated.
24676 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24679 * string/test-memcmp.c (check2): New.
24680 (main): Call check2.
24682 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24684 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24687 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24689 (dl_open_worker) [!SHARED]: ... here.
24691 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24693 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24695 2013-06-25 Richard Henderson <rth@redhat.com>
24697 * locale/programs/locarchive.c: Include <libc-internal.h>
24699 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24701 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24702 trailing whitespace removed.
24704 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24707 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24708 * locale/programs/locarchive.c: Include libc-mmap.h.
24709 (prepare_address_space): Take two new outputs (the mmap base and len).
24710 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24712 (create_archive): Declare new mmap base and len values for
24713 prepare_address_space, and store the result in ah.
24714 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24715 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24716 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24717 Declare new mmap base and len values for
24718 prepare_address_space, and store the result in new_ah.
24719 (open_archive): Declare new mmap base and len values for
24720 prepare_address_space, and store the result in ah.
24721 (close_archive): If ah->mmap_base is not NULL, use that and
24722 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24723 * sysdeps/generic/libc-mmap.h: New file.
24725 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24727 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24728 (ALIGN_UP): Likewise.
24729 (PTR_ALIGN_DOWN): Likewise.
24730 (PTR_ALIGN_UP): Likewise.
24732 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24734 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24735 entry mapped to PPC_PLATFORM_POWER8.
24736 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24738 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24739 (_dl_string_platform): Add case for exporting platform position for
24741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24742 search path to sysdeps/powerpc/powerpc32/power8 directory.
24743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24744 search path to sysdeps/powerpc/powerpc64/power8 directory.
24745 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24746 power7 directories.
24747 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24748 power7 directories.
24750 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24752 * INSTALL: Regenerate.
24754 * nscd/connections.c (nscd_init): Fix comment.
24756 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24758 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24761 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24762 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24764 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24766 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24768 (DL_DST_REQ_STATIC): Remove macro.
24770 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24773 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24774 with a shift of 0 bits.
24776 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24778 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24781 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24784 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24786 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24788 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24789 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24790 accepts -fno-tree-loop-distribute-patterns.
24791 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24792 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24794 * string/memset.c (memset): Likewise.
24795 * string/test-memmove.c (simple_memmove): Disable loop transformation
24797 * string/test-memset.c (simple_memset): Likewise.
24798 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24799 * benchtests/bench-memset.c (simple_memset): Likewise.
24800 * configure: Regenerated.
24802 2013-06-20 Joseph Myers <joseph@codesourcery.com>
24804 * math/test-misc.c (main): Ignore fesetround failure when failures
24805 of subsequent rounding tests would be ignored.
24808 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24809 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24810 * math/fegetenv.c (__fegetenv): Return 0.
24811 * math/fegetexcept.c (fegetexcept): Return 0.
24812 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24814 * math/feholdexcpt.c (feholdexcept): Return 0.
24815 * math/fesetenv.c (__fesetenv): Return 0.
24816 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24817 argument FE_TONEAREST.
24818 * math/feupdateenv.c (__feupdateenv): Return 0.
24819 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24821 2013-06-18 Roland McGrath <roland@hack.frob.com>
24823 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24824 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24825 ($(objpfx)rtld-%.os rules): Use them.
24827 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24829 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24832 2013-06-17 Roland McGrath <roland@hack.frob.com>
24834 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24835 length of target pattern, then descending length of dependency pattern.
24836 * configure.in (AWK): Require gawk 3.1.2 or newer.
24837 * manual/install.texi (Tools for Compilation): Say that we do.
24838 * configure: Regenerated.
24840 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24841 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24842 * scripts/sysd-rules.awk: ... this new script.
24843 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24844 than a glob-style pattern.
24846 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24848 * math/test-misc.c (main): Do not treat incorrectly rounded
24849 conversions as failure unless ROUNDING_TESTS passes.
24851 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24854 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24855 restore exception state around main square root computation, then
24856 check for inexactness explicitly.
24858 * math/libm-test.inc (fma_test_data): Add another test.
24860 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24862 * manual/threads.texi (Non-POSIX Extensions): New document
24863 node. Document pthread_getattr_default_np and
24864 pthread_setattr_default_np.
24866 * Versions.def (libpthread): Add GLIBC_2.18.
24867 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24876 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24887 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24890 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24892 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24893 H.J. Lu <hjl.tools@gmail.com>
24896 * sysdeps/x86_64/rtld-memset.c: Remove file.
24897 * sysdeps/x86_64/rtld-memset.S: New file.
24899 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24901 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24902 (test_in_one_mode): Take arguments for whether the rounding mode
24903 is supported for each floating-point type.
24904 (do_test): Pass new arguments to test_in_one_mode using
24907 2013-06-13 Roland McGrath <roland@hack.frob.com>
24909 * posix/tst-waitid.c (do_test): Distinguish different instances of
24910 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24911 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24912 before entering the kernel for waitpid.
24914 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24916 * NEWS: Fix note on clock function precision. Text by Roland
24919 2013-06-13 Roland McGrath <roland@hack.frob.com>
24921 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24922 it into place only when and if the sanity check passes.
24924 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24926 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24927 output for whether conversion result is exact. Take argument
24928 indicating whether type is IBM long double.
24929 (round_for_all): Change need_exact field to ibm_ld.
24930 * stdlib/tst-strtod-round.c (struct exactness): New type.
24931 (struct test): Change bool ld_ok field to struct exactness exact.
24932 (TEST): Update all definitions for change to field.
24933 (tests): Regenerate array contents.
24934 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24935 field value. Check for IBM long double here.
24936 (do_test): Update calls to test_in_one_mode.
24938 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24941 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24942 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24944 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24947 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24948 generated by the compiler on loop optimizations.
24949 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24950 general definitions.
24952 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24954 * math/bug-nextafter.c: Include <math-tests.h>.
24955 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24957 * math/bug-nexttoward.c: Include <math-tests.h>.
24958 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24960 * math/test-misc.c: Include <math-tests.h>.
24961 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24964 2013-06-12 Andreas Jaeger <aj@suse.de>
24966 * po/ia.po: Update Interlingua translation from translation
24969 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24971 * include/fenv.h: Include stdbool.h.
24972 (struct rm_ctx): New structure.
24973 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24975 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24976 (SET_RESTORE_ROUNDF): Likewise.
24977 (SET_RESTORE_ROUNDL): Likewise.
24978 (SET_RESTORE_ROUND_NOEX): Likewise.
24979 (SET_RESTORE_ROUND_NOEXF): Likewise.
24980 (SET_RESTORE_ROUND_NOEXL): Likewise.
24981 (SET_RESTORE_ROUND_53BIT): Likewise.
24982 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24983 (libc_feresetround_noexf_ctx): Likewise.
24984 (libc_feresetround_noexl_ctx): Likewise.
24985 (libc_feholdsetround_53bit_ctx): Likewise.
24986 (libc_feresetround_53bit_ctx): Likewise.
24987 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24988 (libc_feholdexcept_setround_sse_ctx): New function.
24989 (libc_fesetenv_sse_ctx): Likewise.
24990 (libc_feupdateenv_sse_ctx): Likewise.
24991 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24992 (libc_feholdexcept_setround_387_ctx): Likewise.
24993 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24994 (libc_feholdsetround_387_prec_ctx): Likewise.
24995 (libc_feholdsetround_387_ctx): Likewise.
24996 (libc_feholdsetround_387_53bit_ctx): Likewise.
24997 (libc_feholdsetround_sse_ctx): Likewise.
24998 (libc_feresetround_sse_ctx): Likewise.
24999 (libc_feresetround_387_ctx): Likewise.
25000 (libc_feupdateenv_387_ctx): Likewise.
25001 (libc_feholdexcept_setroundf_ctx): Define macro.
25002 (libc_fesetenvf_ctx): Likewise.
25003 (libc_feupdateenvf_ctx): Likewise.
25004 (libc_feholdsetroundf_ctx): Likewise.
25005 (libc_feresetroundf_ctx): Likewise.
25006 (libc_feholdexcept_setround_ctx): Likewise.
25007 (libc_fesetenv_ctx): Likewise.
25008 (libc_feupdateenv_ctx): Likewise.
25009 (libc_feholdsetround_ctx): Likewise.
25010 (libc_feresetround_ctx): Likewise.
25011 (libc_feholdexcept_setroundl_ctx): Likewise.
25012 (libc_feupdateenvl_ctx): Likewise.
25013 (libc_feholdsetroundl_ctx): Likewise.
25014 (libc_feresetroundl_ctx): Likewise.
25015 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25016 (libc_feresetround_53bit_ctx): Likewise.
25018 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25020 * locale/iso-639.def: Convert to UTF-8.
25022 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25024 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25025 (EXCEPTION_TESTS_double): Likewise.
25026 (EXCEPTION_TESTS_long_double): Likewise.
25027 (EXCEPTION_TESTS): Likewise.
25028 * math/libm-test.inc (test_exceptions): Only test exceptions if
25029 EXCEPTION_TESTS (FLOAT).
25031 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25033 * benchtests/Makefile (string-bench): Add strcpy_chk and
25035 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25036 * benchtests/bench-stpcpy_chk.c: New file.
25037 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25038 * benchtests/bench-strcpy_chk.c: New file.
25039 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25041 (do_test): Likewise.
25043 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25045 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25046 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25047 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25048 with tabs where appropriate.
25049 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25051 [PPC_PLATFORM_PPC440]: Likewise.
25052 [PPC_PLATFORM_PPC464]: Likewise.
25053 [PPC_PLATFORM_PPC476]: Likewise.
25054 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25055 ppc464, and ppc476 platform strings merging from ports/
25058 2013-06-11 Andreas Schwab <schwab@suse.de>
25061 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25062 (from_ucs4_idx): Regenerate.
25063 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25064 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25065 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25066 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25067 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25068 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25069 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25070 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25071 from FROM_LOOP and TO_LOOP specific macros.
25072 (BODY): Handle combining characters.
25073 * iconvdata/BIG5HKSCS.irreversible: Update.
25074 * iconvdata/BIG5HKSCS.precomposed: New file.
25075 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25077 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25079 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25081 * include/sys/time.h: Fix indentation and add copyright header.
25083 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25084 (do_test): Likewise.
25085 * string/test-memchr.c (do_one_test): Likewise.
25086 (do_test): Likewise.
25087 * string/test-memcmp.c (do_one_test): Likewise.
25088 (do_test): Likewise.
25089 * string/test-memcpy.c (do_one_test): Likewise.
25090 (do_test): Likewise.
25091 * string/test-memmem.c (do_one_test): Likewise.
25092 (do_test): Likewise.
25093 (do_random_tests): Likewise.
25094 * string/test-memmove.c (do_one_test): Likewise.
25095 (do_test): Likewise.
25096 * string/test-memset.c (do_one_test): Likewise.
25097 (do_test): Likewise.
25098 * string/test-rawmemchr.c (do_one_test): Likewise.
25099 (do_test): Likewise.
25100 * string/test-strcasecmp.c (do_one_test): Likewise.
25101 (do_test): Likewise.
25102 * string/test-strcasestr.c (do_one_test): Likewise.
25103 (do_test): Likewise.
25104 * string/test-strcat.c (do_one_test): Likewise.
25105 (do_test): Likewise.
25106 * string/test-strchr.c (do_one_test): Likewise.
25107 (do_test): Likewise.
25108 * string/test-strcmp.c (do_one_test): Likewise.
25109 (do_test): Likewise.
25110 * string/test-strcpy.c (do_one_test): Likewise.
25111 (do_test): Likewise.
25112 * string/test-string.h: Likewise.
25113 (test_init): Likewise.
25114 * string/test-strlen.c (do_one_test): Likewise.
25115 (do_test): Likewise.
25116 * string/test-strncasecmp.c (do_one_test): Likewise.
25117 (do_test): Likewise.
25118 * string/test-strncat.c (do_one_test): Likewise.
25119 (do_test): Likewise.
25120 * string/test-strncmp.c (do_one_test): Likewise.
25121 (do_test_limit): Likewise.
25122 (do_test): Likewise.
25123 * string/test-strncpy.c (do_one_test): Likewise.
25124 (do_test): Likewise.
25125 * string/test-strnlen.c (do_one_test): Likewise.
25126 (do_test): Likewise.
25127 * string/test-strpbrk.c (do_one_test): Likewise.
25128 (do_test): Likewise.
25129 * string/test-strrchr.c (do_one_test): Likewise.
25130 (do_test): Likewise.
25131 * string/test-strspn.c (do_one_test): Likewise.
25132 (do_test): Likewise.
25133 * string/test-strstr.c (do_one_test): Likewise.
25134 (do_test): Likewise.
25136 * benchtests/Makefile (string-bench): Add string benchmarks.
25137 * benchtests/bench-bcopy-ifunc.c: New file.
25138 * benchtests/bench-bcopy.c: New file.
25139 * benchtests/bench-bzero-ifunc.c: New file.
25140 * benchtests/bench-bzero.c: New file.
25141 * benchtests/bench-memccpy-ifunc.c: New file.
25142 * benchtests/bench-memccpy.c: New file.
25143 * benchtests/bench-memchr-ifunc.c: New file.
25144 * benchtests/bench-memchr.c: New file.
25145 * benchtests/bench-memcmp-ifunc.c: New file.
25146 * benchtests/bench-memcmp.c: New file.
25147 * benchtests/bench-memmem-ifunc.c: New file.
25148 * benchtests/bench-memmem.c: New file.
25149 * benchtests/bench-memmove-ifunc.c: New file.
25150 * benchtests/bench-memmove.c: New file.
25151 * benchtests/bench-mempcpy-ifunc.c: New file.
25152 * benchtests/bench-mempcpy.c: New file.
25153 * benchtests/bench-memset-ifunc.c: New file.
25154 * benchtests/bench-memset.c: New file.
25155 * benchtests/bench-rawmemchr-ifunc.c: New file.
25156 * benchtests/bench-rawmemchr.c: New file.
25157 * benchtests/bench-stpcpy-ifunc.c: New file.
25158 * benchtests/bench-stpcpy.c: New file.
25159 * benchtests/bench-stpncpy-ifunc.c: New file.
25160 * benchtests/bench-stpncpy.c: New file.
25161 * benchtests/bench-strcasecmp-ifunc.c: New file.
25162 * benchtests/bench-strcasecmp.c: New file.
25163 * benchtests/bench-strcasestr-ifunc.c: New file.
25164 * benchtests/bench-strcasestr.c: New file.
25165 * benchtests/bench-strcat-ifunc.c: New file.
25166 * benchtests/bench-strcat.c: New file.
25167 * benchtests/bench-strchr-ifunc.c: New file.
25168 * benchtests/bench-strchr.c: New file.
25169 * benchtests/bench-strchrnul-ifunc.c: New file.
25170 * benchtests/bench-strchrnul.c: New file.
25171 * benchtests/bench-strcmp-ifunc.c: New file.
25172 * benchtests/bench-strcmp.c: New file.
25173 * benchtests/bench-strcpy-ifunc.c: New file.
25174 * benchtests/bench-strcpy.c: New file.
25175 * benchtests/bench-strcspn-ifunc.c: New file.
25176 * benchtests/bench-strcspn.c: New file.
25177 * benchtests/bench-strlen-ifunc.c: New file.
25178 * benchtests/bench-strlen.c: New file.
25179 * benchtests/bench-strncasecmp-ifunc.c: New file.
25180 * benchtests/bench-strncasecmp.c: New file.
25181 * benchtests/bench-strncat-ifunc.c: New file.
25182 * benchtests/bench-strncat.c: New file.
25183 * benchtests/bench-strncmp-ifunc.c: New file.
25184 * benchtests/bench-strncmp.c: New file.
25185 * benchtests/bench-strncpy-ifunc.c: New file.
25186 * benchtests/bench-strncpy.c: New file.
25187 * benchtests/bench-strnlen-ifunc.c: New file.
25188 * benchtests/bench-strnlen.c: New file.
25189 * benchtests/bench-strpbrk-ifunc.c: New file.
25190 * benchtests/bench-strpbrk.c: New file.
25191 * benchtests/bench-strrchr-ifunc.c: New file.
25192 * benchtests/bench-strrchr.c: New file.
25193 * benchtests/bench-strspn-ifunc.c: New file.
25194 * benchtests/bench-strspn.c: New file.
25195 * benchtests/bench-strstr-ifunc.c: New file.
25196 * benchtests/bench-strstr.c: New file.
25198 * benchtests/Makefile: Disable parallel execution of targets.
25199 (string-bench): Add memcpy.
25200 (benchset): New variable to store a list of benchmark sets.
25201 (bench-func): Renamed from bench.
25202 (bench-set): New target.
25203 (bench): Depend on bench-func and bench-set.
25204 * benchtests/README: Add section on benchmark sets.
25205 * benchtests/bench-memcpy-ifunc.c: New file.
25206 * benchtests/bench-memcpy.c: New file.
25207 * benchtests/bench-string.h: New file.
25209 2013-06-11 Andreas Schwab <schwab@suse.de>
25212 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25213 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25214 values in the triple.
25215 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25216 terminator in the group key.
25218 2013-06-11 Andreas Jaeger <aj@suse.de>
25220 * po/zh_TW.po: Update Chinese (traditional) translation from
25221 translation project.
25223 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25225 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25226 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25227 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25229 (clock_getcpuclockid): Likewise.
25230 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25231 Add weak_alias and libc_hidden_def.
25232 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25233 * rt/clock_gettime.c (clock_gettime): Rename to
25234 __clock_gettime. Add weak_alias and libc_hidden_def.
25235 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25236 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25237 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25238 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25239 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25241 * rt/clock_settime.c (clock_settime): Rename to
25242 __clock_settime. Add weak_alias and libc_hidden_def.
25243 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25245 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25247 * mach/err_boot.sub: Remove trailing whitespace.
25248 * mach/err_ipc.sub: Likewise.
25249 * mach/err_mach.sub: Likewise.
25251 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25252 (ROUNDING_TESTS_double): Likewise.
25253 (ROUNDING_TESTS_long_double): Likewise.
25254 (ROUNDING_TESTS): Likewise.
25255 * math/libm-test.inc: Include <math-tests.h>.
25256 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25257 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25258 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25259 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25261 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25263 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25266 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25268 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25269 otherwise empty TRANS lines.
25270 * sysdeps/gnu/errlist.c: Regenerated.
25272 * catgets/gencat.c (error_print): Use (void) in function
25274 * crypt/crypt_util.c (__init_des): Likewise.
25275 * crypt/speeds.c (Stop): Likewise.
25277 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25278 * inet/ruserpass.c (token): Likewise.
25279 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25280 * intl/localealias.c (extend_alias_table): Likewise.
25281 * intl/plural-exp.c (init_germanic_plural): Likewise.
25282 * libio/fcloseall.c (__fcloseall): Likewise.
25283 * libio/genops.c (_IO_flush_all): Likewise.
25284 (_IO_flush_all_linebuffered): Likewise.
25285 (_IO_cleanup): Likewise.
25286 (_IO_iter_begin): Likewise.
25287 (_IO_iter_end): Likewise.
25288 (_IO_list_lock): Likewise.
25289 (_IO_list_unlock): Likewise.
25290 (_IO_list_resetlock): Likewise.
25291 * libio/getchar.c (getchar): Likewise.
25292 * libio/getchar_u.c (getchar_unlocked): Likewise.
25293 * libio/getwchar.c (getwchar): Likewise.
25294 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25295 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25296 * login/getpt.c (__getpt): Likewise.
25297 * login/tst-utmp.c (main): Likewise.
25298 * malloc/hooks.c (__malloc_check_init): Likewise.
25299 * malloc/malloc.c (__malloc_stats): Likewise.
25300 * malloc/mtrace.c (tr_break): Likewise.
25301 (mtrace): Likewise.
25302 (muntrace): Likewise.
25303 * misc/fstab.c (endfsent): Likewise.
25304 * misc/getclktck.c (__getclktck): Likewise.
25305 * misc/getdtsz.c (__getdtablesize): Likewise.
25306 * misc/gethostid.c (gethostid): Likewise.
25307 * misc/getpagesize.c (__getpagesize): Likewise.
25308 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25309 (__get_nprocs): Likewise.
25310 (__get_phys_pages): Likewise.
25311 (__get_avphys_pages): Likewise.
25312 * misc/getttyent.c (getttyent): Likewise.
25313 (setttyent): Likewise.
25314 (endttyent): Likewise.
25315 * misc/getusershell.c (getusershell): Likewise.
25316 (endusershell): Likewise.
25317 (setusershell): Likewise.
25318 (initshells): Likewise.
25319 * misc/hsearch.c (__hdestroy): Likewise.
25320 * misc/sync.c (sync): Likewise.
25321 * misc/syslog.c (closelog_internal): Likewise.
25322 (closelog): Likewise.
25323 * misc/ttyslot.c (ttyslot): Likewise.
25324 * misc/vhangup.c (vhangup): Likewise.
25325 * posix/fork.c (__fork): Likewise.
25326 * posix/getegid.c (__getegid): Likewise.
25327 * posix/geteuid.c (__geteuid): Likewise.
25328 * posix/getgid.c (__getgid): Likewise.
25329 * posix/getpid.c (__getpid): Likewise.
25330 * posix/getppid.c (__getppid): Likewise.
25331 * posix/getuid.c (__getuid): Likewise.
25332 * posix/pause.c (pause): Likewise.
25333 * posix/setpgrp.c (setpgrp): Likewise.
25334 * posix/setsid.c (__setsid): Likewise.
25335 * posix/test-vfork.c (noop): Likewise.
25336 * resolv/gethnamaddr.c (_endhtent): Likewise.
25337 (_gethtent): Likewise.
25338 (ht_endhostent): Likewise.
25339 (gethostent): Likewise.
25340 (dns_service): Likewise.
25341 * stdlib/drand48.c (drand48): Likewise.
25342 * stdlib/lrand48.c (lrand48): Likewise.
25343 * stdlib/mrand48.c (mrand48): Likewise.
25344 * stdlib/rand.c (rand): Likewise.
25345 * stdlib/random.c (__random): Likewise.
25346 * stdlib/setenv.c (clearenv): Likewise.
25347 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25348 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25349 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25350 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25351 (__get_nprocs): Likewise.
25352 (__get_phys_pages): Likewise.
25353 (__get_avphys_pages): Likewise.
25354 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25355 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25356 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25357 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25358 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25359 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25360 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25361 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25362 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25363 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25364 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25365 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25366 * sysdeps/posix/clock.c (clock): Likewise.
25367 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25368 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25369 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25370 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25371 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25373 (__get_nprocs_conf): Likewise.
25374 (__get_phys_pages): Likewise.
25375 (__get_avphys_pages): Likewise.
25376 * time/clock.c (clock): Likewise.
25377 * time/tzset.c (__tzname_max): Likewise.
25379 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25381 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25382 (__bswap_32): Do not use "register".
25383 * crypt/crypt.c (_ufc_doit_r): Likewise.
25384 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25385 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25386 * gmon/gmon.c (__monstartup): Likewise.
25387 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25388 * hurd/hurdmalloc.c (more_memory): Likewise.
25389 (malloc): Likewise.
25391 (realloc): Likewise.
25392 (malloc_fork_prepare): Likewise.
25393 (malloc_fork_parent): Likewise.
25394 (malloc_fork_child): Likewise.
25395 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25396 (_svcauth_des): Likewise.
25397 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25398 * inet/inet_net.c (inet_network): Likewise.
25399 * inet/inet_netof.c (inet_netof): Likewise.
25400 * inet/rcmd.c (__validuser2_sa): Likewise.
25401 * io/fts.c (fts_open): Likewise.
25402 (fts_load): Likewise.
25403 (fts_close): Likewise.
25404 (fts_read): Likewise.
25405 (fts_children): Likewise.
25406 (fts_build): Likewise.
25407 (fts_stat): Likewise.
25408 (fts_sort): Likewise.
25409 (fts_alloc): Likewise.
25410 (fts_lfree): Likewise.
25411 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25412 (_IO_file_xsgetn): Likewise.
25413 (_IO_file_xsgetn_mmap): Likewise.
25414 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25415 (_IO_cookie_write): Likewise.
25416 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25417 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25418 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25419 * malloc/obstack.c (_obstack_begin): Likewise.
25420 (_obstack_begin_1): Likewise.
25421 (_obstack_newchunk): Likewise.
25422 (_obstack_allocated_p): Likewise.
25423 (obstack_free): Likewise.
25424 (_obstack_memory_used): Likewise.
25425 * misc/getttyent.c (getttynam): Likewise.
25426 (getttyent): Likewise.
25429 * misc/getusershell.c (initshells): Likewise.
25430 * misc/syslog.c (__vsyslog_chk): Likewise.
25431 * misc/ttyslot.c (ttyslot): Likewise.
25432 * nis/nis_hash.c (__nis_hash): Likewise.
25433 * posix/fnmatch_loop.c (FCT): Likewise.
25434 * posix/getconf.c (print_all): Likewise.
25436 * posix/getopt.c (exchange): Likewise.
25437 * posix/glob.c (globfree): Likewise.
25438 (prefix_array): Likewise.
25439 (__glob_pattern_type): Likewise.
25440 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25441 (NS_GET32): Likewise.
25442 (NS_PUT16): Likewise.
25443 (NS_PUT32): Likewise.
25444 * resolv/gethnamaddr.c (getanswer): Likewise.
25445 (gethostbyname2): Likewise.
25446 (gethostbyaddr): Likewise.
25447 (_gethtent): Likewise.
25448 (_gethtbyname2): Likewise.
25449 (_gethtbyaddr): Likewise.
25450 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25451 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25452 * resolv/res_init.c (__res_vinit): Likewise.
25453 (net_mask): Likewise.
25454 * resolv/res_mkquery.c (outchar): Likewise.
25456 * stdio-common/printf_fp.c (outchar): Likewise.
25458 * stdio-common/printf_fphex.c (outchar): Likewise.
25460 * stdio-common/printf_size.c (outchar): Likewise.
25462 * stdio-common/test_rdwr.c (main): Likewise.
25463 * stdio-common/tfformat.c (matches): Likewise.
25464 * stdio-common/vfprintf.c (outchar): Likewise.
25465 (printf_unknown): Likewise.
25466 (buffered_vfprintf): Likewise.
25467 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25468 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25469 (ReadFile): Likewise.
25470 * stdlib/qsort.c (SWAP): Likewise.
25471 (_quicksort): Likewise.
25472 * stdlib/setenv.c (__add_to_environ): Likewise.
25473 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25474 * stdlib/strtol_l.c (__strtol_l): Likewise.
25475 * stdlib/tst-strtod.c (main): Likewise.
25476 * stdlib/tst-strtol.c (main): Likewise.
25477 * stdlib/tst-strtoll.c (main): Likewise.
25478 * string/bits/string2.h (__strcmp_cc): Likewise.
25479 (__strcmp_cg): Likewise.
25480 (__strcspn_c1): Likewise.
25481 (__strcspn_c2): Likewise.
25482 (__strcspn_c3): Likewise.
25483 (__strspn_c1): Likewise.
25484 (__strspn_c2): Likewise.
25485 (__strspn_c3): Likewise.
25486 (__strsep_1c): Likewise.
25487 (__strsep_2c): Likewise.
25488 (__strsep_3c): Likewise.
25489 * string/memccpy.c (__memccpy): Likewise.
25490 * string/stpcpy.c (__stpcpy): Likewise.
25491 * string/strcmp.c (strcmp): Likewise.
25492 * string/strrchr.c (strrchr): Likewise.
25493 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25495 * sysdeps/mach/hurd/getcwd.c
25496 (_hurd_canonicalize_directory_name_internal): Likewise.
25497 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25498 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25499 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25500 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25501 Likewise, in both definitions.
25502 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25504 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25505 64] (__bswap_64): Likewise.
25506 * time/test_time.c (main): Likewise.
25507 * time/tzfile.c (__tzfile_read): Likewise.
25508 (__tzfile_compute): Likewise.
25509 * time/tzset.c (__tzset_parse_tz): Likewise.
25510 (tzset_internal): Likewise.
25511 (compute_change): Likewise.
25512 * wcsmbs/wcscat.c (__wcscat): Likewise.
25513 * wcsmbs/wcschr.c (wcschr): Likewise.
25514 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25515 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25516 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25517 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25518 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25519 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25520 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25521 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25522 * wcsmbs/wmemset.c (wmemset): Likewise.
25524 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25526 * scripts/config.guess: Update to version 2013-05-16.
25527 * scripts/config.sub: Update to version 2013-04-24.
25528 * scripts/install-sh: Update to version 2011-11-20.07.
25529 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25530 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25532 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25534 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25535 * elf/sln.c: Likewise.
25536 * hurd/hurd/ioctl.h: Likewise.
25537 * hurd/hurdmalloc.c: Likewise.
25538 * hurd/xattr.c: Likewise.
25539 * include/shlib-compat.h: Likewise.
25540 * inet/ruserpass.c: Likewise.
25541 * libio/iofgets_u.c: Likewise.
25542 * libio/iofgetws_u.c: Likewise.
25543 * locale/programs/ld-identification.c: Likewise.
25544 * locale/programs/ld-time.c: Likewise.
25545 * mach/msg-destroy.c: Likewise.
25546 * nss/nss_files/files-netgrp.c: Likewise.
25547 * resolv/res_data.c: Likewise.
25548 * soft-fp/op-1.h: Likewise.
25549 * soft-fp/op-2.h: Likewise.
25550 * soft-fp/op-4.h: Likewise.
25551 * soft-fp/op-common.h: Likewise.
25552 * stdio-common/printf_fphex.c: Likewise.
25553 * stdlib/strtod_l.c: Likewise.
25554 * sunrpc/rpc/clnt.h: Likewise.
25555 * sysdeps/generic/framestate.c: Likewise.
25556 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25557 * sysdeps/i386/bsd-setjmp.S: Likewise.
25558 * sysdeps/i386/__longjmp.S: Likewise.
25559 * sysdeps/i386/setjmp.S: Likewise.
25560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25561 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25562 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25578 * sysdeps/ieee754/support.c: Likewise.
25579 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25580 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25581 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25582 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25583 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25584 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25585 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25586 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25587 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25588 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25589 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25590 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25591 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25592 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25593 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25594 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25595 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25598 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25600 * posix/transbug.c: Remove executable mode.
25602 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25604 * crypt/speeds.c: Remove trailing whitespace.
25605 * dlfcn/default.c: Likewise.
25606 * elf/ifuncdep2.c: Likewise.
25607 * elf/ifuncmain1.c: Likewise.
25608 * elf/ifuncmain1vis.c: Likewise.
25609 * elf/testobj.h: Likewise.
25610 * elf/tst-stackguard1.c: Likewise.
25611 * gmon/sys/gmon.h: Likewise.
25612 * hurd/hurdmsg.c: Likewise.
25613 * hurd/new-fd.c: Likewise.
25614 * hurd/ports-get.c: Likewise.
25615 * iconvdata/ibm1008_420.c: Likewise.
25616 * inet/tst-getni1.c: Likewise.
25617 * inet/tst-getni2.c: Likewise.
25618 * libio/ioungetc.c: Likewise.
25619 * libio/wfiledoalloc.c: Likewise.
25620 * manual/libm-err-tab.pl: Likewise.
25621 * math/w_dremf.c: Likewise.
25622 * misc/ftruncate.c: Likewise.
25623 * posix/bug-glob2.c: Likewise.
25624 * posix/tst-pcre.c: Likewise.
25625 * posix/wait4.c: Likewise.
25626 * resolv/README: Likewise.
25627 * resolv/res_debug.h: Likewise.
25628 * resolv/tst-inet_ntop.c: Likewise.
25629 * setjmp/bug269-setjmp.c: Likewise.
25630 * soft-fp/extended.h: Likewise.
25631 * soft-fp/op-1.h: Likewise.
25632 * soft-fp/op-2.h: Likewise.
25633 * soft-fp/op-4.h: Likewise.
25634 * soft-fp/op-8.h: Likewise.
25635 * soft-fp/testit.c: Likewise.
25636 * stdio-common/bug16.c: Likewise.
25637 * stdlib/random.c: Likewise.
25638 * sunrpc/rpcsvc/rquota.x: Likewise.
25639 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25640 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25642 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25643 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25644 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25645 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25646 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25647 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25648 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25649 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25668 * sysdeps/ieee754/s_lib_version.c: Likewise.
25669 * sysdeps/mach/hurd/check_fds.c: Likewise.
25670 * sysdeps/mach/hurd/getsockname.c: Likewise.
25671 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25672 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25673 * sysdeps/powerpc/bits/link.h: Likewise.
25674 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25675 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25676 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25677 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25678 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25679 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25680 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25681 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25682 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25683 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25684 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25685 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25686 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25687 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25688 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25689 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25690 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25691 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25692 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25694 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25695 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25696 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25697 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25698 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25699 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25700 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25701 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25702 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25703 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25704 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25705 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25706 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25707 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25708 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25709 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25710 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25711 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25712 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25713 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25714 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25715 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25716 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25717 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25718 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25719 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25720 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25721 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25722 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25723 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25726 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25727 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25728 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25729 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25730 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25731 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25732 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25733 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25734 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25735 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25736 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25737 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25738 * sysdeps/powerpc/sysdep.h: Likewise.
25739 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25740 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25741 * sysdeps/sh/dl-trampoline.S: Likewise.
25742 * sysdeps/sh/memset.S: Likewise.
25743 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25744 * sysdeps/sh/strlen.S: Likewise.
25745 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25746 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25747 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25748 * sysdeps/sparc/sparc32/rem.S: Likewise.
25749 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25750 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25751 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25752 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25753 * sysdeps/sparc/sparc32/urem.S: Likewise.
25754 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25755 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25756 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25757 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25758 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25759 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25760 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25761 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25762 * sysdeps/unix/bsd/times.c: Likewise.
25763 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25764 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25768 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25769 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25770 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25771 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25772 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25773 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25774 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25775 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25776 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25777 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25778 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25779 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25780 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25781 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25782 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25783 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25784 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25785 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25786 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25787 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25788 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25789 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25790 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25791 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25792 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25793 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25794 * sysdeps/x86_64/strcspn.S: Likewise.
25796 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25798 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25799 generated file. Regenerate properly from gen-translit.pl.
25800 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25801 locale/C-translit.h.
25803 2013-06-05 Andreas Schwab <schwab@suse.de>
25806 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25807 week as 6 instead of -1.
25808 * time/tst-strptime.c (day_tests): Add test case.
25810 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25812 * sysdeps/generic/math_private.h
25813 (libc_feholdexcept_setround_53bit): Replace with
25814 libc_feholdsetround_53bit.
25815 (libc_feupdateenv_53bit): Replace with
25816 libc_feresetround_53bit.
25817 (SET_RESTORE_ROUND_53BIT): Adjust.
25819 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25821 * string/test-strchrnul.c: Add copyright header.
25823 * posix/tst-getaddrinfo4.c: Increase test timeout.
25825 2013-06-03 Carlos O'Donell <carlos@redhat.com>
25828 * math/libm-test.inc (MAX_EXP): Remove
25830 (ulp): Use MIN_EXP - MANT_DIG.
25831 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25833 2013-05-31 Carlos O'Donell <carlos@redhat.com>
25835 * po/be.po: Revert last change.
25836 * po/zh_CN.po: Likewise.
25837 * po/header.pot: Likewise.
25839 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25841 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25842 link-libc-deps to empty as target-specific variable.
25843 * Makerules (link-libc-args): New variable.
25844 (libc-for-link): Likewise.
25845 (link-libc-deps): Likewise.
25846 (lib%.so): Depend on $(link-libc-deps). Link with
25848 (build-module): Link with $(link-libc-args).
25849 (build-module-asneeded): Likewise.
25850 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25852 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25853 target-specific variable.
25854 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25855 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25856 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25858 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25860 ($(objpfx)libpcprofile.so): Likewise.
25861 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25863 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25864 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25865 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25867 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25868 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25869 * login/Makefile ($(objpfx)libutil.so): Likewise.
25870 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25871 * math/Makefile ($(objpfx)libm.so): Likewise.
25872 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25873 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25874 variable instead of depending directly on libc.
25875 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25876 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25878 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25880 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25881 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25882 ($(objpfx)libanl.so): Likewise.
25883 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25885 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25887 * sysdeps/i386/fpu/Makefile: Remove file.
25888 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25889 ($(objpfx)libm.so): Remove dependency on ld.so.
25891 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25894 * nis/yp_xdr.c (XDRMAXNAME): Define.
25895 (XDRMAXRECORD): Define.
25896 (xdr_domainname): Use XDRMAXNAME.
25897 (xdr_mapname): Likewise.
25898 (xdr_peername): Likewise.
25899 (xdr_keydat): Use XDRMAXRECORD.
25900 (xdr_valdat): Likewise.
25902 2013-05-30 Jeff Law <law@redhat.com>
25905 * manual/errno.texi (ESTALE): Update to account for more than
25906 just NFS file systems.
25907 * sysdeps/gnu/errlist.c: Regenerated.
25909 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25912 * elf/Makefile (tests): Add tst-null-argv.
25913 (modules-names): Add tst-null-argv-lib.
25914 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25915 (tst-null-argv-ENV): Set environment for tst-null-argv.
25916 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25917 (RTLD_PROGNAME): New macro.
25918 * elf/tst-null-argv.c: New test case.
25919 * elf/tst-null-argv-lib.c: Library for test case.
25920 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25921 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25922 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25923 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25924 * elf/dl-init.c (call_init): Likewise.
25925 (_dl_init): Likewise.
25926 * elf/dl-load.c (print_search_path): Likewise.
25927 (_dl_map_object): Likewise.
25928 * elf/dl-lookup.c (do_lookup_x): Likewise.
25929 (add_dependency): Likewise.
25930 (_dl_lookup_symbol_x): Likewise.
25931 (_dl_debug_bindings): Likewise.
25932 * elf/dl-open.c (_dl_show_scope): Likewise.
25933 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25934 * elf/dl-version.c (match_symbol): Likewise.
25935 (_dl_check_map_versions): Likewise.
25936 * elf/rtld.c (dl_main): Likewise.
25937 (print_unresolved): Use RTLD_PROGNAME.
25938 (print_missing_version): Likewise.
25939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25940 (elf_machine_rela): Likewise.
25941 * sysdeps/powerpc/powerpc32/dl-machine.c
25942 (__process_machine_rela): Likewise.
25943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25945 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25947 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25949 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25952 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25956 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25958 * po/be.po: Add descriptive title.
25959 * po/zh_CN.po: Likewise.
25960 * po/header.pot: Likewise.
25962 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25964 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25966 (enlarge_archive): Likewise.
25968 2013-05-28 Ben North <ben@redfrontdoor.org>
25970 * manual/arith.texi (frexp): It is the magnitude of the return
25971 value which lies in [0.5, 1), not the return value itself.
25973 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25977 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25979 * stdio-common/bug26.c (main): Correct fscanf template.
25981 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25982 declare _dl_skip_args.
25984 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25987 * manual/platform.texi: Add missing @end deftypefun.
25989 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25992 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25993 bit of mantissa of 2^16382.
25994 * math/libm-test.inc (hypot_test_data): Add more tests.
25996 * math/libm-test.inc: Add drem and pow10 to list of tested
25998 (pow10_test): New function.
25999 (drem_test): Likewise.
26000 (drem_test_tonearest): Likewise.
26001 (drem_test_towardzero): Likewise.
26002 (drem_test_downward): Likewise.
26003 (drem_test_upward): Likewise.
26004 (main): Call the new functions.
26006 * math/libm-test.inc (finite_test_data): Remove.
26007 (finite_test): Run tests from isfinite_test_data.
26008 (gamma_test_data): Remove.
26009 (gamma_test): Run tests from lgamma_test_data.
26010 * sysdeps/i386/fpu/libm-test-ulps: Update.
26011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26013 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26015 * manual/platform.texi: Add PowerPC PPR function set documentation.
26016 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26019 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26021 * math/libm-test.inc (MAX_EXP): Define.
26023 (ulp): New function.
26024 (check_float_internal): Use ULPDIFF.
26025 (cpow_test): Disable failing test.
26026 (check_ulp): Test ulp() implemetnation.
26027 (main): Call check_ulp before starting tests.
26029 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26031 * math/gen-libm-test.pl (generate_testfile): Do not handle
26032 START_DATA and END_DATA.
26033 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26035 (acos_tonearest_test_data): Likewise.
26036 (acos_towardzero_test_data): Likewise.
26037 (acos_downward_test_data): Likewise.
26038 (acos_upward_test_data): Likewise.
26039 (acosh_test_data): Likewise.
26040 (asin_test_data): Likewise.
26041 (asin_tonearest_test_data): Likewise.
26042 (asin_towardzero_test_data): Likewise.
26043 (asin_downward_test_data): Likewise.
26044 (asin_upward_test_data): Likewise.
26045 (asinh_test_data): Likewise.
26046 (atan_test_data): Likewise.
26047 (atanh_test_data): Likewise.
26048 (atan2_test_data): Likewise.
26049 (cabs_test_data): Likewise.
26050 (cacos_test_data): Likewise.
26051 (cacosh_test_data): Likewise.
26052 (carg_test_data): Likewise.
26053 (casin_test_data): Likewise.
26054 (casinh_test_data): Likewise.
26055 (catan_test_data): Likewise.
26056 (catanh_test_data): Likewise.
26057 (cbrt_test_data): Likewise.
26058 (ccos_test_data): Likewise.
26059 (ccosh_test_data): Likewise.
26060 (ceil_test_data): Likewise.
26061 (cexp_test_data): Likewise.
26062 (cimag_test_data): Likewise.
26063 (clog_test_data): Likewise.
26064 (clog10_test_data): Likewise.
26065 (conj_test_data): Likewise.
26066 (copysign_test_data): Likewise.
26067 (cos_test_data): Likewise.
26068 (cos_tonearest_test_data): Likewise.
26069 (cos_towardzero_test_data): Likewise.
26070 (cos_downward_test_data): Likewise.
26071 (cos_upward_test_data): Likewise.
26072 (cosh_test_data): Likewise.
26073 (cosh_tonearest_test_data): Likewise.
26074 (cosh_towardzero_test_data): Likewise.
26075 (cosh_downward_test_data): Likewise.
26076 (cosh_upward_test_data): Likewise.
26077 (cpow_test_data): Likewise.
26078 (cproj_test_data): Likewise.
26079 (creal_test_data): Likewise.
26080 (csin_test_data): Likewise.
26081 (csinh_test_data): Likewise.
26082 (csqrt_test_data): Likewise.
26083 (ctan_test_data): Likewise.
26084 (ctan_tonearest_test_data): Likewise.
26085 (ctan_towardzero_test_data): Likewise.
26086 (ctan_downward_test_data): Likewise.
26087 (ctan_upward_test_data): Likewise.
26088 (ctanh_test_data): Likewise.
26089 (ctanh_tonearest_test_data): Likewise.
26090 (ctanh_towardzero_test_data): Likewise.
26091 (ctanh_downward_test_data): Likewise.
26092 (ctanh_upward_test_data): Likewise.
26093 (erf_test_data): Likewise.
26094 (erfc_test_data): Likewise.
26095 (exp_test_data): Likewise.
26096 (exp_tonearest_test_data): Likewise.
26097 (exp_towardzero_test_data): Likewise.
26098 (exp_downward_test_data): Likewise.
26099 (exp_upward_test_data): Likewise.
26100 (exp10_test_data): Likewise.
26101 (exp2_test_data): Likewise.
26102 (expm1_test_data): Likewise.
26103 (fabs_test_data): Likewise.
26104 (fdim_test_data): Likewise.
26105 (finite_test_data): Likewise.
26106 (floor_test_data): Likewise.
26107 (fma_test_data): Likewise.
26108 (fma_towardzero_test_data): Likewise.
26109 (fma_downward_test_data): Likewise.
26110 (fma_upward_test_data): Likewise.
26111 (fmax_test_data): Likewise.
26112 (fmin_test_data): Likewise.
26113 (fmod_test_data): Likewise.
26114 (fpclassify_test_data): Likewise.
26115 (frexp_test_data): Likewise.
26116 (gamma_test_data): Likewise.
26117 (hypot_test_data): Likewise.
26118 (ilogb_test_data): Likewise.
26119 (isfinite_test_data): Likewise.
26120 (isgreater_test_data): Likewise.
26121 (isgreaterequal_test_data): Likewise.
26122 (isinf_test_data): Likewise.
26123 (isless_test_data): Likewise.
26124 (islessequal_test_data): Likewise.
26125 (islessgreater_test_data): Likewise.
26126 (isnan_test_data): Likewise.
26127 (isnormal_test_data): Likewise.
26128 (issignaling_test_data): Likewise.
26129 (isunordered_test_data): Likewise.
26130 (j0_test_data): Likewise.
26131 (j1_test_data): Likewise.
26132 (jn_test_data): Likewise.
26133 (ldexp_test_data): Likewise.
26134 (lgamma_test_data): Likewise.
26135 (lrint_test_data): Likewise.
26136 (lrint_tonearest_test_data): Likewise.
26137 (lrint_towardzero_test_data): Likewise.
26138 (lrint_downward_test_data): Likewise.
26139 (lrint_upward_test_data): Likewise.
26140 (llrint_test_data): Likewise.
26141 (llrint_tonearest_test_data): Likewise.
26142 (llrint_towardzero_test_data): Likewise.
26143 (llrint_downward_test_data): Likewise.
26144 (llrint_upward_test_data): Likewise.
26145 (log_test_data): Likewise.
26146 (log10_test_data): Likewise.
26147 (log1p_test_data): Likewise.
26148 (log2_test_data): Likewise.
26149 (logb_test_data): Likewise.
26150 (logb_downward_test_data): Likewise.
26151 (lround_test_data): Likewise.
26152 (llround_test_data): Likewise.
26153 (modf_test_data): Likewise.
26154 (nearbyint_test_data): Likewise.
26155 (nextafter_test_data): Likewise.
26156 (nexttoward_test_data): Likewise.
26157 (pow_test_data): Likewise.
26158 (pow_tonearest_test_data): Likewise.
26159 (pow_towardzero_test_data): Likewise.
26160 (pow_downward_test_data): Likewise.
26161 (pow_upward_test_data): Likewise.
26162 (remainder_test_data): Likewise.
26163 (remainder_tonearest_test_data): Likewise.
26164 (remainder_towardzero_test_data): Likewise.
26165 (remainder_downward_test_data): Likewise.
26166 (remainder_upward_test_data): Likewise.
26167 (remquo_test_data): Likewise.
26168 (rint_test_data): Likewise.
26169 (rint_tonearest_test_data): Likewise.
26170 (rint_towardzero_test_data): Likewise.
26171 (rint_downward_test_data): Likewise.
26172 (rint_upward_test_data): Likewise.
26173 (round_test_data): Likewise.
26174 (scalb_test_data): Likewise.
26175 (scalbn_test_data): Likewise.
26176 (scalbln_test_data): Likewise.
26177 (signbit_test_data): Likewise.
26178 (sin_test_data): Likewise.
26179 (sin_tonearest_test_data): Likewise.
26180 (sin_towardzero_test_data): Likewise.
26181 (sin_downward_test_data): Likewise.
26182 (sin_upward_test_data): Likewise.
26183 (sincos_test_data): Likewise.
26184 (sinh_test_data): Likewise.
26185 (sinh_tonearest_test_data): Likewise.
26186 (sinh_towardzero_test_data): Likewise.
26187 (sinh_downward_test_data): Likewise.
26188 (sinh_upward_test_data): Likewise.
26189 (sqrt_test_data): Likewise.
26190 (tan_test_data): Likewise.
26191 (tan_tonearest_test_data): Likewise.
26192 (tan_towardzero_test_data): Likewise.
26193 (tan_downward_test_data): Likewise.
26194 (tan_upward_test_data): Likewise.
26195 (tanh_test_data): Likewise.
26196 (tgamma_test_data): Likewise.
26197 (trunc_test_data): Likewise.
26198 (y0_test_data): Likewise.
26199 (y1_test_data): Likewise.
26200 (yn_test_data): Likewise.
26201 (significand_test_data): Likewise.
26203 * math/gen-libm-test.pl (@functions): Remove variable.
26204 (generate_testfile): Don't handle START and END lines.
26205 * math/libm-test.inc (START): New macro.
26207 (END_COMPLEX): Likewise.
26208 (acos_test): Use END macro without arguments.
26209 (acos_test_tonearest): Likewise.
26210 (acos_test_towardzero): Likewise.
26211 (acos_test_downward): Likewise.
26212 (acos_test_upward): Likewise.
26213 (acosh_test): Likewise.
26214 (asin_test): Likewise.
26215 (asin_test_tonearest): Likewise.
26216 (asin_test_towardzero): Likewise.
26217 (asin_test_downward): Likewise.
26218 (asin_test_upward): Likewise.
26219 (asinh_test): Likewise.
26220 (atan_test): Likewise.
26221 (atanh_test): Likewise.
26222 (atan2_test): Likewise.
26223 (cabs_test): Likewise.
26224 (cacos_test): Use END_COMPLEX macro without arguments.
26225 (cacosh_test): Likewise.
26226 (carg_test): Use END macro without arguments.
26227 (casin_test): Use END_COMPLEX macro without arguments.
26228 (casinh_test): Likewise.
26229 (catan_test): Likewise.
26230 (catanh_test): Likewise.
26231 (cbrt_test): Use END macro without arguments.
26232 (ccos_test): Use END_COMPLEX macro without arguments.
26233 (ccosh_test): Likewise.
26234 (ceil_test): Use END macro without arguments.
26235 (cexp_test): Use END_COMPLEX macro without arguments.
26236 (cimag_test): Use END macro without arguments.
26237 (clog_test): Use END_COMPLEX macro without arguments.
26238 (clog10_test): Likewise.
26239 (conj_test): Likewise.
26240 (copysign_test): Use END macro without arguments.
26241 (cos_test): Likewise.
26242 (cos_test_tonearest): Likewise.
26243 (cos_test_towardzero): Likewise.
26244 (cos_test_downward): Likewise.
26245 (cos_test_upward): Likewise.
26246 (cosh_test): Likewise.
26247 (cosh_test_tonearest): Likewise.
26248 (cosh_test_towardzero): Likewise.
26249 (cosh_test_downward): Likewise.
26250 (cosh_test_upward): Likewise.
26251 (cpow_test): Use END_COMPLEX macro without arguments.
26252 (cproj_test): Likewise.
26253 (creal_test): Use END macro without arguments.
26254 (csin_test): Use END_COMPLEX macro without arguments.
26255 (csinh_test): Likewise.
26256 (csqrt_test): Likewise.
26257 (ctan_test): Likewise.
26258 (ctan_test_tonearest): Likewise.
26259 (ctan_test_towardzero): Likewise.
26260 (ctan_test_downward): Likewise.
26261 (ctan_test_upward): Likewise.
26262 (ctanh_test): Likewise.
26263 (ctanh_test_tonearest): Likewise.
26264 (ctanh_test_towardzero): Likewise.
26265 (ctanh_test_downward): Likewise.
26266 (ctanh_test_upward): Likewise.
26267 (erf_test): Use END macro without arguments.
26268 (erfc_test): Likewise.
26269 (exp_test): Likewise.
26270 (exp_test_tonearest): Likewise.
26271 (exp_test_towardzero): Likewise.
26272 (exp_test_downward): Likewise.
26273 (exp_test_upward): Likewise.
26274 (exp10_test): Likewise.
26275 (exp2_test): Likewise.
26276 (expm1_test): Likewise.
26277 (fabs_test): Likewise.
26278 (fdim_test): Likewise.
26279 (finite_test): Likewise.
26280 (floor_test): Likewise.
26281 (fma_test): Likewise.
26282 (fma_test_towardzero): Likewise.
26283 (fma_test_downward): Likewise.
26284 (fma_test_upward): Likewise.
26285 (fmax_test): Likewise.
26286 (fmin_test): Likewise.
26287 (fmod_test): Likewise.
26288 (fpclassify_test): Likewise.
26289 (frexp_test): Likewise.
26290 (gamma_test): Likewise.
26291 (hypot_test): Likewise.
26292 (ilogb_test): Likewise.
26293 (isfinite_test): Likewise.
26294 (isgreater_test): Likewise.
26295 (isgreaterequal_test): Likewise.
26296 (isinf_test): Likewise.
26297 (isless_test): Likewise.
26298 (islessequal_test): Likewise.
26299 (islessgreater_test): Likewise.
26300 (isnan_test): Likewise.
26301 (isnormal_test): Likewise.
26302 (issignaling_test): Likewise.
26303 (isunordered_test): Likewise.
26304 (j0_test): Likewise.
26305 (j1_test): Likewise.
26306 (jn_test): Likewise.
26307 (ldexp_test): Likewise.
26308 (lgamma_test): Likewise.
26309 (lrint_test): Likewise.
26310 (lrint_test_tonearest): Likewise.
26311 (lrint_test_towardzero): Likewise.
26312 (lrint_test_downward): Likewise.
26313 (lrint_test_upward): Likewise.
26314 (llrint_test): Likewise.
26315 (llrint_test_tonearest): Likewise.
26316 (llrint_test_towardzero): Likewise.
26317 (llrint_test_downward): Likewise.
26318 (llrint_test_upward): Likewise.
26319 (log_test): Likewise.
26320 (log10_test): Likewise.
26321 (log1p_test): Likewise.
26322 (log2_test): Likewise.
26323 (logb_test): Likewise.
26324 (logb_test_downward): Likewise.
26325 (lround_test): Likewise.
26326 (llround_test): Likewise.
26327 (modf_test): Likewise.
26328 (nearbyint_test): Likewise.
26329 (nextafter_test): Likewise.
26330 (nexttoward_test): Likewise.
26331 (pow_test): Likewise.
26332 (pow_test_tonearest): Likewise.
26333 (pow_test_towardzero): Likewise.
26334 (pow_test_downward): Likewise.
26335 (pow_test_upward): Likewise.
26336 (remainder_test): Likewise.
26337 (remainder_test_tonearest): Likewise.
26338 (remainder_test_towardzero): Likewise.
26339 (remainder_test_downward): Likewise.
26340 (remainder_test_upward): Likewise.
26341 (remquo_test): Likewise.
26342 (rint_test): Likewise.
26343 (rint_test_tonearest): Likewise.
26344 (rint_test_towardzero): Likewise.
26345 (rint_test_downward): Likewise.
26346 (rint_test_upward): Likewise.
26347 (round_test): Likewise.
26348 (scalb_test): Likewise.
26349 (scalbn_test): Likewise.
26350 (scalbln_test): Likewise.
26351 (signbit_test): Likewise.
26352 (sin_test): Likewise.
26353 (sin_test_tonearest): Likewise.
26354 (sin_test_towardzero): Likewise.
26355 (sin_test_downward): Likewise.
26356 (sin_test_upward): Likewise.
26357 (sincos_test): Likewise.
26358 (sinh_test): Likewise.
26359 (sinh_test_tonearest): Likewise.
26360 (sinh_test_towardzero): Likewise.
26361 (sinh_test_downward): Likewise.
26362 (sinh_test_upward): Likewise.
26363 (sqrt_test): Likewise.
26364 (tan_test): Likewise.
26365 (tan_test_tonearest): Likewise.
26366 (tan_test_towardzero): Likewise.
26367 (tan_test_downward): Likewise.
26368 (tan_test_upward): Likewise.
26369 (tanh_test): Likewise.
26370 (tgamma_test): Likewise.
26371 (trunc_test): Likewise.
26372 (y0_test): Likewise.
26373 (y1_test): Likewise.
26374 (yn_test): Likewise.
26375 (significand_test): Likewise.
26377 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26380 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26382 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26385 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26386 __ppc_mdoio and __ppc_mdoom.
26387 * manual/platform.texi: Document new functions __ppc_yield,
26388 __ppc_mdoio and __ppc_mdoom.
26390 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26392 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26393 (main): Mention "tls" pseudo-hwcap is legacy.
26394 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26396 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26398 * math/gen-libm-test.pl (parse_args): Output only string of
26399 arguments as text for test name, not full call or descriptions of
26400 tests for extra outputs.
26401 (generate_testfile): Do not pass function name to parse_args.
26402 Generate this_func variable from START.
26403 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26405 (struct test_ff_f_data): Likewise.
26406 (test_ff_f_data_nexttoward): Likewise.
26407 (struct test_fi_f_data): Likewise.
26408 (struct test_fl_f_data): Likewise.
26409 (struct test_if_f_data): Likewise.
26410 (struct test_fff_f_data): Likewise.
26411 (struct test_c_f_data): Likewise.
26412 (struct test_f_f1_data): Likewise. Remove field extra_name.
26413 (struct test_fF_f1_data): Likewise.
26414 (struct test_ffI_f1_data): Likewise.
26415 (struct test_c_c_data): Rename test_name field to arg_str.
26416 (struct test_cc_c_data): Likewise.
26417 (struct test_f_i_data): Likewise.
26418 (struct test_ff_i_data): Likewise.
26419 (struct test_f_l_data): Likewise.
26420 (struct test_f_L_data): Likewise.
26421 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26423 (COMMON_TEST_SETUP): New macro.
26424 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26425 (COMMON_TEST_CLEANUP): Likewise.
26426 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26427 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26429 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26430 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26432 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26433 (RUN_TEST_fff_f): Take argument string. Call new setup and
26435 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26436 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26438 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26439 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26441 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26442 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26444 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26445 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26447 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26448 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26450 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26451 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26453 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26454 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26456 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26457 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26459 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26460 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26462 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26463 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26465 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26466 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26468 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26469 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26471 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26472 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26474 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26475 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26477 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26478 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26480 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26482 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26484 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26485 to _sifields.sigfault.
26486 (si_addr_lsb): Define new macro.
26487 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26489 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26491 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26494 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26496 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26498 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26499 loading the domain.
26501 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26503 * math/gen-libm-test.pl (parse_args): Do not include expected
26504 result in test name.
26505 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26506 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26507 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26508 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26509 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26512 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26514 * benchtests/Makefile: Sort function entries.
26516 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26517 tanh, asinh, acosh, atanh.
26518 * benchtests/acos-inputs: New file.
26519 * benchtests/acosh-inputs: New file.
26520 * benchtests/asin-inputs: New file.
26521 * benchtests/asinh-inputs: New file.
26522 * benchtests/atanh-inputs: New file.
26523 * benchtests/cosh-inputs: New file.
26524 * benchtests/log-inputs: New file.
26525 * benchtests/sinh-inputs: New file.
26526 * benchtests/tanh-inputs: New file.
26528 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26531 * posix/tst-getaddrinfo4.c: New test.
26532 * posix/Makefile (tests): Add it.
26534 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26537 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26538 when no services were used.
26539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26540 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26542 2013-05-21 Andreas Schwab <schwab@suse.de>
26545 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26546 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26548 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26549 redundant variable declarations and reallocation of buffer when
26550 parsing as IPv6 address. Always set NSS status when called from
26551 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26552 buffer too small. Correct computation of needed size.
26553 * nss/Makefile (tests): Add test-digits-dots.
26554 * nss/test-digits-dots.c: New test.
26556 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26558 * benchtests/Makefile: Remove instructions for adding
26560 * benchtests/README: New file to explain how to execute and
26561 enhance the benchmark tests.
26563 2013-05-21 Andreas Schwab <schwab@suse.de>
26566 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26567 * setjmp/tst-sigsetjmp.c: New test.
26569 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26571 * sysdeps/x86_64/memset.S (memset): New implementation.
26572 (__bzero): Likewise.
26573 (__memset_tail): New function.
26575 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26577 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26578 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26579 __memcpy_sse2_unaligned ifunc selection.
26580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26581 Add memcpy-sse2-unaligned.S.
26582 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26583 Add: __memcpy_sse2_unaligned.
26585 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26588 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26589 math_force_eval before restoring floating-point envrionment.
26590 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26593 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26595 (__nearbyintl): Use math_force_eval before restoring
26596 floating-point environment.
26597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26599 * math/gen-libm-test.pl (special_functions): Remove.
26600 (parse_args): Don't handle TEST_extra. Handle functions with no
26602 * math/libm-test.inc (struct test_sincos_data): Replace with
26603 struct test_fFF_11_data.
26604 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26605 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26606 (sincos_test_data): Change element type to struct
26607 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26608 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26609 RUN_TEST_LOOP_sincos.
26610 * math/README.libm-test: Don't mention special handling of
26611 individual functions.
26612 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26613 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26614 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26615 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26616 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26619 * math/gen-libm-test.pl (get_variable): Remove function.
26620 (parse_args): Don't show pointer parameters to call in test
26621 names. Use "extra output N" in test names for extra outputs
26622 rather than naming variables.
26624 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26627 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26628 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26629 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26631 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26633 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26636 * math/gen-libm-test.pl (@tests): Remove variable.
26637 ($count): Likewise.
26638 (new_test): Remove function.
26639 (show_exceptions): New function.
26640 (special_functions): Use show_exceptions instead of new_test.
26641 (parse_args): Likewise.
26642 (generate_testfile): Pass only function name in generated call to
26643 print_max_error or print_complex_max_error.
26644 (get_ulps): Do not handle complex tests specially.
26645 (output_test): Rename to ...
26646 (get_all_ulps_for_test): ... this. Return a string rather than
26647 printing to a file. Require ulps to be present.
26648 (output_ulps): Generate arrays rather than #defines.
26649 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26650 (struct ulp_data): New type.
26651 (BUILD_COMPLEX_ULP): Remove macro.
26652 (compare_ulp_data): New function.
26653 (find_ulps): Likewise.
26654 (find_test_ulps): Likewise.
26655 (find_function_ulps): Likewise.
26656 (find_complex_function_ulps): Likewise.
26657 (print_max_error): Determine allowed ulps using
26658 find_function_ulps.
26659 (print_complex_max_error): Determine allowed ulps using
26660 find_complex_function_ulps.
26661 (check_float_internal): Determine max ulps using find_test_ulps.
26662 (check_float): Do not take max_ulp parameter. Update call to
26663 check_float_internal.
26664 (check_complex): Likewise.
26665 (check_int): Do not take max_ulp parameter.
26666 (check_long): Likewise.
26667 (check_bool): Likewise.
26668 (check_longlong): Likewise.
26669 (struct test_f_f_data): Remove max_ulp field.
26670 (struct test_ff_f_data): Likewise.
26671 (struct test_ff_f_data_nexttoward): Likewise.
26672 (struct test_fi_f_data): Likewise.
26673 (struct test_fl_f_data): Likewise.
26674 (struct test_if_f_data): Likewise.
26675 (struct test_fff_f_data): Likewise.
26676 (struct test_c_f_data): Likewise.
26677 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26678 (struct test_fF_f1_data): Likewise.
26679 (struct test_ffI_f1_data): Likewise.
26680 (struct test_c_c_data): Remove max_ulp field.
26681 (struct test_cc_c_data): Likewise.
26682 (struct test_f_i_data): Likewise.
26683 (struct test_ff_i_data): Likewise.
26684 (struct test_f_l_data): Likewise.
26685 (struct test_f_L_data): Likewise.
26686 (struct test_sincos_data): Likewise.
26687 (RUN_TEST_f_f): Do not handle ulps.
26688 (RUN_TEST_LOOP_f_f): Likewise.
26689 (RUN_TEST_2_f): Likewise.
26690 (RUN_TEST_LOOP_2_f): Likewise.
26691 (RUN_TEST_fff_f): Likewise.
26692 (RUN_TEST_LOOP_fff_f): Likewise.
26693 (RUN_TEST_c_f): Likewise.
26694 (RUN_TEST_LOOP_c_f): Likewise.
26695 (RUN_TEST_f_f1): Likewise.
26696 (RUN_TEST_LOOP_f_f1): Likewise.
26697 (RUN_TEST_fF_f1): Likewise.
26698 (RUN_TEST_LOOP_fF_f1): Likewise.
26699 (RUN_TEST_fI_f1): Likewise.
26700 (RUN_TEST_LOOP_fI_f1): Likewise.
26701 (RUN_TEST_ffI_f1): Likewise.
26702 (RUN_TEST_LOOP_ffI_f1): Likewise.
26703 (RUN_TEST_c_c): Likewise.
26704 (RUN_TEST_LOOP_c_c): Likewise.
26705 (RUN_TEST_cc_c): Likewise.
26706 (RUN_TEST_LOOP_cc_c): Likewise.
26707 (RUN_TEST_f_i): Likewise.
26708 (RUN_TEST_LOOP_f_i): Likewise.
26709 (RUN_TEST_f_i_tg): Likewise.
26710 (RUN_TEST_LOOP_f_i_tg): Likewise.
26711 (RUN_TEST_ff_i_tg): Likewise.
26712 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26713 (RUN_TEST_f_b): Likewise.
26714 (RUN_TEST_LOOP_f_b): Likewise.
26715 (RUN_TEST_f_b_tg): Likewise.
26716 (RUN_TEST_LOOP_f_b_tg): Likewise.
26717 (RUN_TEST_f_l): Likewise.
26718 (RUN_TEST_LOOP_f_l): Likewise.
26719 (RUN_TEST_f_L): Likewise.
26720 (RUN_TEST_LOOP_f_L): Likewise.
26721 (RUN_TEST_sincos): Likewise.
26722 (RUN_TEST_LOOP_sincos): Likewise.
26724 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26728 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26729 main case of finite arguments, set rounding mode to FE_TONEAREST
26730 and discard exceptions.
26731 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26733 (remainder_tonearest_test_data): New variable.
26734 (remainder_test_tonearest): New function.
26735 (remainder_towardzero_test_data): New variable.
26736 (remainder_test_towardzero): New function.
26737 (remainder_downward_test_data): New variable.
26738 (remainder_test_downward): New function.
26739 (remainder_upward_test_data): New variable.
26740 (remainder_test_upward): New function.
26741 (main): Call the new test functions.
26743 * math/libm-test.inc (struct test_f_f1_data): Remove field
26745 (struct test_fF_f1_data): Likewise.
26746 (struct test_ffI_f1_data): Likewise.
26747 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26748 based on value of EXTRA_EXPECTED.
26749 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26750 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26751 EXTRA_VAR based on value of EXTRA_EXPECTED.
26752 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26753 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26754 EXTRA_VAR based on value of EXTRA_EXPECTED.
26755 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26756 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26757 EXTRA_VAR based on value of EXTRA_EXPECTED.
26758 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26759 * math/gen-libm-test.pl (parse_args): Don't output initializers
26760 for extra output values.
26762 * math/libm-test.inc (check_int): Expect result to be exactly
26763 equal to expected value and do not handle ulps.
26764 (check_long): Likewise.
26765 (check_longlong): Likewise.
26767 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26769 (cimag_test_data): Likewise.
26770 (conj_test_data): Likewise.
26771 (copysign_test_data): Likewise.
26772 (cproj_test_data): Likewise.
26773 (creal_test_data): Likewise.
26774 (fabs_test_data): Likewise.
26775 (fdim_test_data): Likewise.
26776 (finite_test_data): Likewise.
26777 (floor_test_data): Likewise.
26778 (fmax_test_data): Likewise.
26779 (fmin_test_data): Likewise.
26780 (fmod_test_data): Likewise.
26781 (fpclassify_test_data): Likewise.
26782 (frexp_test_data): Likewise.
26783 (ilogb_test_data): Likewise.
26784 (isfinite_test_data): Likewise.
26785 (isgreater_test_data): Likewise.
26786 (isgreaterequal_test_data): Likewise.
26787 (isinf_test_data): Likewise.
26788 (isless_test_data): Likewise.
26789 (islessequal_test_data): Likewise.
26790 (islessgreater_test_data): Likewise.
26791 (isnan_test_data): Likewise.
26792 (isnormal_test_data): Likewise.
26793 (issignaling_test_data): Likewise.
26794 (isunordered_test_data): Likewise.
26795 (ldexp_test_data): Likewise.
26796 (lrint_test_data): Likewise.
26797 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26798 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26799 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26800 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26801 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26802 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26804 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26805 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26806 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26807 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26809 (lrint_downward_test_data): Test for "inexact" exceptions.
26810 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26811 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26812 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26814 (lrint_upward_test_data): Test for "inexact" exceptions.
26815 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26817 (llrint_test_data): Test for "inexact" exceptions.
26818 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26819 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26820 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26821 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26822 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26823 (llrint_downward_test_data): Test for "inexact" exceptions.
26824 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26825 (llrint_upward_test_data): Test for "inexact" exceptions.
26826 (logb_test_data): Likewise.
26827 (logb_downward_test_data): Likewise.
26828 (nextafter_test_data): Likewise.
26829 (nexttoward_test_data): Likewise.
26830 (remainder_test_data): Likewise.
26831 (remquo_test_data): Likewise.
26832 (scalbn_test_data): Likewise.
26833 (scalbln_test_data): Likewise.
26834 (signbit_test_data): Likewise.
26835 (sqrt_test_data): Likewise.
26836 (significand_test_data): Likewise.
26838 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26841 * benchtests/bench-modf.c (struct args): Mark arg0 as
26843 * scripts/bench.pl: Mark members of struct args as volatile.
26845 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26848 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26849 negative infinity on POWER6 or lower.
26850 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26852 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26855 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26856 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26857 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26858 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26859 (_FP_SETQNAN): New macro.
26860 (_FP_SETQNAN_SEMIRAW): Likewise.
26861 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26862 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26863 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26864 (FP_EXTEND): Use _FP_FRAC_SNANP.
26865 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26866 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26868 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26870 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26873 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26875 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26876 with DIVIDE_BY_ZERO_EXCEPTION.
26877 (gamma_test_data): Likewise.
26878 (lgamma_test_data): Likewise.
26879 (log_test_data): Likewise.
26880 (log10_test_data): Likewise.
26881 (log2_test_data): Likewise.
26882 (tgamma_test_data): Likewise.
26884 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26885 (acos_test_tonearest): Likewise.
26886 (acos_test_towardzero): Likewise.
26887 (acos_test_downward): Likewise.
26888 (acos_test_upward): Likewise.
26889 (acosh_test): Likewise.
26890 (asin_test): Likewise.
26891 (asin_test_tonearest): Likewise.
26892 (asin_test_towardzero): Likewise.
26893 (asin_test_downward): Likewise.
26894 (asin_test_upward): Likewise.
26895 (asinh_test): Likewise.
26896 (atan_test): Likewise.
26897 (atanh_test): Likewise.
26898 (atan2_test): Likewise.
26899 (cabs_test): Likewise.
26900 (cacos_test): Likewise.
26901 (cacosh_test): Likewise.
26902 (casin_test): Likewise.
26903 (casinh_test): Likewise.
26904 (catan_test): Likewise.
26905 (catanh_test): Likewise.
26906 (cbrt_test): Likewise.
26907 (ccos_test): Likewise.
26908 (ccosh_test): Likewise.
26909 (cexp_test): Likewise.
26910 (clog_test): Likewise.
26911 (clog10_test): Likewise.
26912 (cos_test): Likewise.
26913 (cos_test_tonearest): Likewise.
26914 (cos_test_towardzero): Likewise.
26915 (cos_test_downward): Likewise.
26916 (cos_test_upward): Likewise.
26917 (cosh_test): Likewise.
26918 (cosh_test_tonearest): Likewise.
26919 (cosh_test_towardzero): Likewise.
26920 (cosh_test_downward): Likewise.
26921 (cosh_test_upward): Likewise.
26922 (cpow_test): Likewise.
26923 (csin_test): Likewise.
26924 (csinh_test): Likewise.
26925 (csqrt_test): Likewise.
26926 (ctan_test): Likewise.
26927 (ctan_test_tonearest): Likewise.
26928 (ctan_test_towardzero): Likewise.
26929 (ctan_test_downward): Likewise.
26930 (ctan_test_upward): Likewise.
26931 (ctanh_test): Likewise.
26932 (ctanh_test_tonearest): Likewise.
26933 (ctanh_test_towardzero): Likewise.
26934 (ctanh_test_downward): Likewise.
26935 (ctanh_test_upward): Likewise.
26936 (erf_test): Likewise.
26937 (erfc_test): Likewise.
26938 (exp_test): Likewise.
26939 (exp_test_tonearest): Likewise.
26940 (exp_test_towardzero): Likewise.
26941 (exp_test_downward): Likewise.
26942 (exp_test_upward): Likewise.
26943 (exp10_test): Likewise.
26944 (exp2_test): Likewise.
26945 (expm1_test): Likewise.
26946 (fmod_test): Likewise.
26947 (gamma_test): Likewise.
26948 (hypot_test): Likewise.
26949 (j0_test): Likewise.
26950 (j1_test): Likewise.
26951 (jn_test): Likewise.
26952 (lgamma_test): Likewise.
26953 (log_test): Likewise.
26954 (log10_test): Likewise.
26955 (log1p_test): Likewise.
26956 (log2_test): Likewise.
26957 (logb_test_downward): Likewise.
26958 (pow_test): Likewise.
26959 (pow_test_tonearest): Likewise.
26960 (pow_test_towardzero): Likewise.
26961 (pow_test_downward): Likewise.
26962 (pow_test_upward): Likewise.
26963 (remainder_test): Likewise.
26964 (remquo_test): Likewise.
26965 (sin_test): Likewise.
26966 (sin_test_tonearest): Likewise.
26967 (sin_test_towardzero): Likewise.
26968 (sin_test_downward): Likewise.
26969 (sin_test_upward): Likewise.
26970 (sincos_test): Likewise.
26971 (sinh_test): Likewise.
26972 (sinh_test_tonearest): Likewise.
26973 (sinh_test_towardzero): Likewise.
26974 (sinh_test_downward): Likewise.
26975 (sinh_test_upward): Likewise.
26976 (sqrt_test): Likewise.
26977 (tan_test): Likewise.
26978 (tan_test_tonearest): Likewise.
26979 (tan_test_towardzero): Likewise.
26980 (tan_test_downward): Likewise.
26981 (tan_test_upward): Likewise.
26982 (tanh_test): Likewise.
26983 (tgamma_test): Likewise.
26984 (y0_test): Likewise.
26985 (y1_test): Likewise.
26986 (yn_test): Likewise.
26988 * math/gen-libm-test.pl (adjust_arg): Remove function.
26989 (special_function): Remove argument $in_func. Only handle
26990 generating output for tables of tests, not inside functions.
26991 (parse_args): Likewise.
26992 (generate_testfile): Remove variable $in_func. Update call to
26994 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26995 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26996 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26997 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26998 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26999 (MAX_VALUE_INIT): Rename macro to max_value.
27000 (MIN_VALUE_INIT): Rename macro to min_value.
27001 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27002 (plus_zero): Remove variable.
27003 (minus_zero): Likewise.
27004 (plus_infty): Likewise.
27005 (minus_infty): Likewise.
27006 (qnan_value): Likewise.
27007 (max_value): Likewise.
27008 (min_value): Likewise.
27009 (min_subnorm_value): Likewise.
27011 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27013 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27014 uint64_t or uint32_t usage.
27015 * crypt/sha256-block.c: Likewise.
27016 * crypt/sha256-crypt.c: Likewise.
27017 * crypt/sha256.c: Likewise.
27018 * crypt/sha512-block.c: Likewise.
27019 * crypt/sha512-crypt.c: Likewise.
27020 * crypt/sha512.c: Likewise.
27021 * debug/backtrace-tst.c: Likewise.
27022 * debug/pcprofiledump.c: Likewise.
27023 * elf/cache.c: Likewise.
27024 * elf/dl-cache.c: Likewise.
27025 * elf/dl-misc.c: Likewise.
27026 * elf/dl-profile.c: Likewise.
27027 * elf/dl-support.c: Likewise.
27028 * elf/ldconfig.c: Likewise.
27029 * elf/sprof.c: Likewise.
27030 * iconv/dummy-repertoire.c: Likewise.
27031 * iconv/iconv_charmap.c: Likewise.
27032 * iconv/skeleton.c: Likewise.
27033 * iconvdata/8bit-generic.c: Likewise.
27034 * iconvdata/cp737.h: Likewise.
27035 * iconvdata/cp775.h: Likewise.
27036 * iconvdata/ibm1008.h: Likewise.
27037 * iconvdata/ibm1025.h: Likewise.
27038 * iconvdata/ibm1046.h: Likewise.
27039 * iconvdata/ibm1097.h: Likewise.
27040 * iconvdata/ibm1112.h: Likewise.
27041 * iconvdata/ibm1122.h: Likewise.
27042 * iconvdata/ibm1123.h: Likewise.
27043 * iconvdata/ibm1124.h: Likewise.
27044 * iconvdata/ibm1129.h: Likewise.
27045 * iconvdata/ibm1130.h: Likewise.
27046 * iconvdata/ibm1132.h: Likewise.
27047 * iconvdata/ibm1133.h: Likewise.
27048 * iconvdata/ibm1137.h: Likewise.
27049 * iconvdata/ibm1140.h: Likewise.
27050 * iconvdata/ibm1141.h: Likewise.
27051 * iconvdata/ibm1142.h: Likewise.
27052 * iconvdata/ibm1143.h: Likewise.
27053 * iconvdata/ibm1144.h: Likewise.
27054 * iconvdata/ibm1145.h: Likewise.
27055 * iconvdata/ibm1146.h: Likewise.
27056 * iconvdata/ibm1147.h: Likewise.
27057 * iconvdata/ibm1148.h: Likewise.
27058 * iconvdata/ibm1149.h: Likewise.
27059 * iconvdata/ibm1153.h: Likewise.
27060 * iconvdata/ibm1154.h: Likewise.
27061 * iconvdata/ibm1155.h: Likewise.
27062 * iconvdata/ibm1156.h: Likewise.
27063 * iconvdata/ibm1157.h: Likewise.
27064 * iconvdata/ibm1158.h: Likewise.
27065 * iconvdata/ibm1160.h: Likewise.
27066 * iconvdata/ibm1161.h: Likewise.
27067 * iconvdata/ibm1162.h: Likewise.
27068 * iconvdata/ibm1163.h: Likewise.
27069 * iconvdata/ibm1164.h: Likewise.
27070 * iconvdata/ibm1166.h: Likewise.
27071 * iconvdata/ibm1167.h: Likewise.
27072 * iconvdata/ibm12712.h: Likewise.
27073 * iconvdata/ibm1390.h: Likewise.
27074 * iconvdata/ibm1399.h: Likewise.
27075 * iconvdata/ibm16804.h: Likewise.
27076 * iconvdata/ibm4517.h: Likewise.
27077 * iconvdata/ibm4899.h: Likewise.
27078 * iconvdata/ibm4909.h: Likewise.
27079 * iconvdata/ibm4971.h: Likewise.
27080 * iconvdata/ibm5347.h: Likewise.
27081 * iconvdata/ibm803.h: Likewise.
27082 * iconvdata/ibm856.h: Likewise.
27083 * iconvdata/ibm901.h: Likewise.
27084 * iconvdata/ibm902.h: Likewise.
27085 * iconvdata/ibm9030.h: Likewise.
27086 * iconvdata/ibm9066.h: Likewise.
27087 * iconvdata/ibm921.h: Likewise.
27088 * iconvdata/ibm922.h: Likewise.
27089 * iconvdata/ibm9448.h: Likewise.
27090 * iconvdata/isiri-3342.h: Likewise.
27091 * iconvdata/jis0201.h: Likewise.
27092 * include/link.h: Likewise.
27093 * include/netdb.h: Likewise.
27094 * inet/check_native.c: Likewise.
27095 * inet/check_pf.c: Likewise.
27096 * inet/getipv4sourcefilter.c: Likewise.
27097 * inet/getnameinfo.c: Likewise.
27098 * inet/getsourcefilter.c: Likewise.
27099 * inet/htonl.c: Likewise.
27100 * inet/setipv4sourcefilter.c: Likewise.
27101 * inet/setsourcefilter.c: Likewise.
27102 * inet/test-inet6_opt.c: Likewise.
27103 * inet/tst-network.c: Likewise.
27104 * locale/C-collate.c: Likewise.
27105 * locale/C-ctype.c: Likewise.
27106 * locale/C-time.c: Likewise.
27107 * locale/C-translit.h: Likewise.
27108 * locale/loadarchive.c: Likewise.
27109 * locale/programs/3level.h: Likewise.
27110 * locale/programs/charmap.c: Likewise.
27111 * locale/programs/charmap.h: Likewise.
27112 * locale/programs/ld-address.c: Likewise.
27113 * locale/programs/ld-collate.c: Likewise.
27114 * locale/programs/ld-ctype.c: Likewise.
27115 * locale/programs/ld-identification.c: Likewise.
27116 * locale/programs/ld-measurement.c: Likewise.
27117 * locale/programs/ld-messages.c: Likewise.
27118 * locale/programs/ld-monetary.c: Likewise.
27119 * locale/programs/ld-name.c: Likewise.
27120 * locale/programs/ld-numeric.c: Likewise.
27121 * locale/programs/ld-paper.c: Likewise.
27122 * locale/programs/ld-telephone.c: Likewise.
27123 * locale/programs/ld-time.c: Likewise.
27124 * locale/programs/linereader.c: Likewise.
27125 * locale/programs/locale.c: Likewise.
27126 * locale/programs/locarchive.c: Likewise.
27127 * locale/programs/locfile.h: Likewise.
27128 * locale/programs/repertoire.c: Likewise.
27129 * locale/programs/simple-hash.c: Likewise.
27130 * locale/programs/simple-hash.h: Likewise.
27131 * malloc/memusage.c: Likewise.
27132 * malloc/memusagestat.c: Likewise.
27133 * nis/nis_defaults.c: Likewise.
27134 * nis/nis_hash.c: Likewise.
27135 * nis/nis_print.c: Likewise.
27136 * nis/nis_xdr.c: Likewise.
27137 * nscd/connections.c: Likewise.
27138 * nscd/hstcache.c: Likewise.
27139 * nscd/nscd_gethst_r.c: Likewise.
27140 * nscd/nscd_getserv_r.c: Likewise.
27141 * nscd/nscd_helper.c: Likewise.
27142 * nscd/servicescache.c: Likewise.
27143 * nss/makedb.c: Likewise.
27144 * nss/nss_db/db-XXX.c: Likewise.
27145 * nss/nss_db/db-initgroups.c: Likewise.
27146 * nss/nss_db/db-netgrp.c: Likewise.
27147 * nss/nss_files/files-network.c: Likewise.
27148 * nss/nss_files/files-parse.c: Likewise.
27149 * posix/bug-regex5.c: Likewise.
27150 * posix/fnmatch_loop.c: Likewise.
27151 * posix/regcomp.c: Likewise.
27152 * posix/regexec.c: Likewise.
27153 * posix/tst-rfc3484-2.c: Likewise.
27154 * posix/tst-rfc3484-3.c: Likewise.
27155 * posix/tst-rfc3484.c: Likewise.
27156 * resolv/nss_dns/dns-canon.c: Likewise.
27157 * resolv/nss_dns/dns-network.c: Likewise.
27158 * resolv/res_init.c: Likewise.
27159 * resolv/res_mkquery.c: Likewise.
27160 * resolv/tst-aton.c: Likewise.
27161 * stdlib/cxa_atexit.c: Likewise.
27162 * stdlib/cxa_finalize.c: Likewise.
27163 * stdlib/gen-fpioconst.c: Likewise.
27164 * stdlib/strtol_l.c: Likewise.
27165 * string/tst-endian.c: Likewise.
27166 * sunrpc/auth_des.c: Likewise.
27167 * sunrpc/clnt_udp.c: Likewise.
27168 * sunrpc/rtime.c: Likewise.
27169 * sunrpc/svcauth_des.c: Likewise.
27170 * sunrpc/xdr.c: Likewise.
27171 * sunrpc/xdr_intXX_t.c: Likewise.
27172 * sunrpc/xdr_rec.c: Likewise.
27173 * sysdeps/generic/ldconfig.h: Likewise.
27174 * sysdeps/generic/ldsodefs.h: Likewise.
27175 * sysdeps/generic/memusage.h: Likewise.
27176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27178 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27179 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27186 * sysdeps/posix/getaddrinfo.c: Likewise.
27187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27189 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27191 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27192 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27193 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27194 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27195 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27196 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27197 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27198 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27199 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27200 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27201 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27202 * sysdeps/x86_64/dl-tls.h: Likewise.
27203 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27204 * time/alt_digit.c: Likewise.
27205 * time/era.c: Likewise.
27206 * wcsmbs/tst-c16c32-1.c: Likewise.
27208 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27210 * math/libm-test.inc (struct test_sincos_data): New type.
27211 (RUN_TEST_LOOP_sincos): New macro.
27212 (sincos_test_data): New variable.
27213 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27215 2013-05-16 Richard Henderson <rth@redhat.com>
27217 * math/atest-exp2.c (LIMB64): New macro.
27218 (CONSTSZ): New macro.
27219 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27221 (print_mpn_fp): ... to function scope.
27222 (read_mpn_hex): Remove.
27223 (get_log2): Remove.
27224 (exp2_mpn): Use mp_log2.
27225 (main): Use mp_exp1.
27227 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27229 * math/libm-test.inc: Remove comment about not testing "inexact"
27231 (INEXACT_EXCEPTION): New macro.
27232 (NO_INEXACT_EXCEPTION): Likewise.
27233 (INVALID_EXCEPTION_OK): Update value.
27234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27235 (OVERFLOW_EXCEPTION_OK): Likewise.
27236 (UNDERFLOW_EXCEPTION_OK): Likewise.
27237 (IGNORE_ZERO_INF_SIGN): Likewise.
27238 (ERRNO_UNCHANGED): Likewise.
27239 (ERRNO_EDOM): Likewise.
27240 (ERRNO_ERANGE): Likewise.
27241 (test_exceptions): Handle testing "inexact" exceptions.
27242 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27243 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27244 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27245 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27247 (rint_towardzero_test_data): Likewise.
27248 (rint_downward_test_data): Likewise.
27249 (rint_upward_test_data): Likewise.
27251 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27252 with OVERFLOW_EXCEPTION.
27253 (exp10_test_data): Likewise.
27254 (exp2_test_data): Likewise.
27255 (expm1_test_data): Likewise.
27256 (lgamma_test_data): Likewise.
27257 (pow_test_data): Likewise.
27258 (tgamma_test_data): Likewise.
27259 (yn_test_data): Remove duplicate test of overflow.
27261 * math/libm-test.inc (struct test_cc_c_data): New type.
27262 (RUN_TEST_LOOP_cc_c): New macro.
27263 (cpow_test_data): New variable.
27264 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27266 * math/libm-test.inc (struct test_f_L_data): New type.
27267 (RUN_TEST_LOOP_f_L): New macro.
27268 (llrint_test_data): New variable.
27269 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27270 (llrint_tonearest_test_data): New variable.
27271 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27272 (llrint_towardzero_test_data): New variable.
27273 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27274 (llrint_downward_test_data): New variable.
27275 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27276 (llrint_upward_test_data): New variable.
27277 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27278 (llround_test_data): New variable.
27279 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27281 2013-05-13 Peter Collingbourne <pcc@google.com>
27283 * math/atest-exp2.c (get_log2): Remove const attribute.
27285 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27287 * math/libm-test.inc (struct test_f_l_data): New type.
27288 (RUN_TEST_LOOP_f_l): New macro.
27289 (lrint_test_data): New variable.
27290 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27291 (lrint_tonearest_test_data): New variable.
27292 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27293 (lrint_towardzero_test_data): New variable.
27294 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27295 (lrint_downward_test_data): New variable.
27296 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27297 (lrint_upward_test_data): New variable.
27298 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27299 (lround_test_data): New variable.
27300 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27302 2013-05-15 Peter Collingbourne <pcc@google.com>
27304 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27305 (EXTRACT_WORDS64) Use where appropriate.
27306 (INSERT_WORDS64) Likewise.
27308 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27309 constraints with x constraints.
27310 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27312 * malloc/obstack.c (_obstack_compat): Add initializer.
27314 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27317 si_trapno and add si_addr_lsb to _sifields.sigfault.
27318 (si_trapno): Remove macro.
27319 (si_addr_lsb): Define new macro.
27320 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27322 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27324 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27325 instead of TEST_f_l.
27326 (llrint_test_tonearest): Likewise.
27327 (llrint_test_towardzero): Likewise.
27328 (llrint_test_downward): Likewise.
27329 (llrint_test_upward): Likewise.
27330 (llround_test): Likewise.
27332 * math/libm-test.inc (struct test_f_i_data): Add comment.
27333 (RUN_TEST_LOOP_f_b): New macro.
27334 (RUN_TEST_LOOP_f_b_tg): Likewise.
27335 (finite_test_data): New variable.
27336 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27337 (isfinite_test_data): New variable.
27338 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27339 (isinf_test_data): New variable.
27340 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27341 (isnan_test_data): New variable.
27342 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27343 (isnormal_test_data): New variable.
27344 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27345 (issignaling_test_data): New variable.
27346 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27347 (signbit_test_data): New variable.
27348 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27350 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27351 with INVALID_EXCEPTION.
27352 (acosh_test_data): Likewise.
27353 (asin_test_data): Likewise.
27354 (atanh_test_data): Likewise.
27355 (fmod_test_data): Likewise.
27356 (log_test_data): Likewise.
27357 (log10_test_data): Likewise.
27358 (log2_test_data): Likewise.
27359 (pow_test_data): Likewise.
27360 (sqrt_test_data): Likewise.
27361 (y0_test_data): Likewise.
27362 (y1_test_data): Likewise.
27363 (yn_test_data): Likewise.
27365 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27368 * math/libm-test.inc (struct test_ff_i_data): New type.
27369 (RUN_TEST_LOOP_ff_i_tg): New macro.
27370 (isgreater_test_data): New variable.
27371 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27372 (isgreaterequal_test_data): New variable.
27373 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27374 (isless_test_data): New variable.
27375 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27376 (islessequal_test_data): New variable.
27377 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27378 (islessgreater_test_data): New variable.
27379 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27380 (isunordered_test_data): New variable.
27381 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27383 2013-05-14 David S. Miller <davem@davemloft.net>
27385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27387 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27389 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27391 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27393 (struct test_f_i_data): Change type of max_ulp to int.
27395 * math/libm-test.inc (test_ffI_f1_data): New type.
27396 (RUN_TEST_LOOP_ffI_f1): New macro.
27397 (remquo_test_data): New variable.
27398 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27400 * setjmp/tst-setjmp-fp.c: New file.
27401 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27402 (link-libm): New variable.
27403 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27405 * math/libm-test.inc (struct test_f_i_data): New type.
27406 (RUN_TEST_LOOP_f_i): New macro.
27407 (RUN_TEST_LOOP_f_i_tg): Likewise.
27408 (fpclassify_test_data): New variable.
27409 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27410 (ilogb_test_data): New variable.
27411 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27413 * math/libm-test.inc (scalbln_test): Correct function name in END
27416 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27417 (RUN_TEST_LOOP_fI_f1): New macro.
27418 (frexp_test_data): New variable.
27419 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27421 * math/libm-test.inc (struct test_fF_f1_data): New type.
27422 (RUN_TEST_LOOP_fF_f1): New macro.
27423 (modf_test_data): New variable.
27424 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27426 * math/libm-test.inc (struct test_f_f1_data): New type.
27427 (RUN_TEST_LOOP_f_f1): New macro.
27428 (gamma_test_data): New variable.
27429 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27430 (lgamma_test_data): New variable.
27431 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27433 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27435 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27436 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27437 (main): Comment "tls" pseudo-hwcap.
27439 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27441 * math/libm-test.inc (struct test_fl_f_data): New type.
27442 (RUN_TEST_LOOP_fl_f): New variable.
27443 (scalbln_test_data): New variable.
27444 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27446 * math/libm-test.inc (struct test_fi_f_data): New type.
27447 (RUN_TEST_LOOP_fi_f): New macro.
27448 (ldexp_test_data): New variable.
27449 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27450 (scalbn_test_data): New variable.
27451 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27453 * math/libm-test.inc (struct test_c_f_data): New type.
27454 (RUN_TEST_LOOP_c_f): New macro.
27455 (cabs_test_data): New variable.
27456 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27457 (carg_test_data): New variable.
27458 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27459 (cimag_test_data): New variable.
27460 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27461 (creal_test_data): New variable.
27462 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27464 * math/libm-test.inc (struct test_if_f_data): New type.
27465 (RUN_TEST_LOOP_if_f): New macro.
27466 (jn_test_data): New variable.
27467 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27468 (yn_test_data): New variable.
27469 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27471 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27473 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27475 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27476 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27478 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27480 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27481 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27482 (bench-deps): Add bench-timing.h.
27483 * benchtests-bench-skeleton.c: Include bench-timing.h.
27484 (main): Use TIMING_* macros instead of clock_gettime.
27485 * benchtests/bench-timing.h: New file.
27488 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27489 Renamed from _LIB_VERSION.
27490 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27492 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27494 * math/libm-test.inc (struct test_fff_f_data): New type.
27495 (RUN_TEST_LOOP_fff_f): New macro.
27496 (fma_test_data): New variable.
27497 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27498 (fma_towardzero_test_data): New variable.
27499 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27500 (fma_downward_test_data): New variable.
27501 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27502 (fma_upward_test_data): New variable.
27503 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27505 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27506 (struct test_c_c_data): New type.
27507 (RUN_TEST_LOOP_c_c): New macro.
27508 (cacos_test_data): New variable.
27509 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27510 (cacosh_test_data): New variable.
27511 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27512 (casin_test_data): New variable.
27513 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27514 (casinh_test_data): New variable.
27515 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27516 (catan_test_data): New variable.
27517 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27518 (catanh_test_data): New variable.
27519 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27520 (ccos_test_data): New variable.
27521 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27522 (ccosh_test_data): New variable.
27523 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27524 (cexp_test_data): New variable.
27525 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27526 (clog_test_data): New variable.
27527 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27528 (clog10_test_data): New variable.
27529 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27530 (conj_test_data): New variable.
27531 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27532 (cproj_test_data): New variable.
27533 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27534 (csin_test_data): New variable.
27535 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27536 (csinh_test_data): New variable.
27537 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27538 (csqrt_test_data): New variable.
27539 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27540 (ctan_test_data): New variable.
27541 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27542 (ctan_tonearest_test_data): New variable.
27543 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27544 (ctan_towardzero_test_data): New variable.
27545 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27546 (ctan_downward_test_data): New variable.
27547 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27548 (ctan_upward_test_data): New variable.
27549 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27550 (ctanh_test_data): New variable.
27551 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27552 (ctanh_tonearest_test_data): New variable.
27553 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27554 (ctanh_towardzero_test_data): New variable.
27555 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27556 (ctanh_downward_test_data): New variable.
27557 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27558 (ctanh_upward_test_data): New variable.
27559 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27560 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27563 * math/libm-test.inc (struct test_ff_f_data): New type.
27564 (struct test_ff_f_data_nexttoward): Likewise.
27565 (RUN_TEST_LOOP_2_f): New macro.
27566 (RUN_TEST_LOOP_ff_f): Likewise.
27567 (atan2_test_data): New variable.
27568 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27569 (copysign_test_data): New variable.
27570 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27571 (fdim_test_data): New variable.
27572 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27573 (fmax_test_data): New variable.
27574 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27575 (fmin_test_data): New variable.
27576 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27577 (fmod_test_data): New variable.
27578 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27579 (hypot_test_data): New variable.
27580 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27581 (nextafter_test_data): New variable.
27582 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27583 (nexttoward_test_data): New variable.
27584 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27585 (pow_test_data): New variable.
27586 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27587 (pow_tonearest_test_data): New variable.
27588 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27589 (pow_towardzero_test_data): New variable.
27590 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27591 (pow_downward_test_data): New variable.
27592 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27593 (pow_upward_test_data): New variable.
27594 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27595 (remainder_test_data): New variable.
27596 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27597 (scalb_test_data): New variable.
27598 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27599 * sysdeps/i386/fpu/libm-test-ulps: Update.
27601 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27603 * math/libm-test.inc (fma_test): Use max_value instead of local
27605 (nextafter_test): Likewise.
27607 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27608 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27609 (acos_downward_test_data): New variable.
27610 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27611 (acos_upward_test_data): New variable.
27612 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27613 (acosh_test_data): New variable.
27614 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27615 (asin_test_data): New variable.
27616 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27617 (asin_tonearest_test_data): New variable.
27618 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27619 (asin_towardzero_test_data): New variable.
27620 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27621 (asin_downward_test_data): New variable.
27622 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27623 (asin_upward_test_data): New variable.
27624 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27625 (asinh_test_data): New variable.
27626 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27627 (atan_test_data): New variable.
27628 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27629 (atanh_test_data): New variable.
27630 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27631 (cbrt_test_data): New variable.
27632 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27633 (ceil_test_data): New variable.
27634 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27635 (cos_test_data): New variable.
27636 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27637 (cos_tonearest_test_data): New variable.
27638 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27639 (cos_towardzero_test_data): New variable.
27640 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27641 (cos_downward_test_data): New variable.
27642 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27643 (cos_upward_test_data): New variable.
27644 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27645 (cosh_test_data): New variable.
27646 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27647 (cosh_tonearest_test_data): New variable.
27648 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27649 (cosh_towardzero_test_data): New variable.
27650 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27651 (cosh_downward_test_data): New variable.
27652 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27653 (cosh_upward_test_data): New variable.
27654 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27655 (erf_test_data): New variable.
27656 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27657 (erfc_test_data): New variable.
27658 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27659 (exp_test_data): New variable.
27660 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27661 (exp_tonearest_test_data): New variable.
27662 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27663 (exp_towardzero_test_data): New variable.
27664 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27665 (exp_downward_test_data): New variable.
27666 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27667 (exp_upward_test_data): New variable.
27668 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27669 (exp10_test_data): New variable.
27670 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27671 (exp2_test_data): New variable.
27672 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27673 (expm1_test_data): New variable.
27674 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27675 (fabs_test_data): New variable.
27676 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27677 (floor_test_data): New variable.
27678 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27679 (j0_test_data): New variable.
27680 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27681 (j1_test_data): New variable.
27682 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27683 (log_test_data): New variable.
27684 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27685 (log10_test_data): New variable.
27686 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27687 (log1p_test_data): New variable.
27688 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27689 (log2_test_data): New variable.
27690 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27691 (logb_test_data): New variable.
27692 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27693 (logb_downward_test_data): New variable.
27694 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27695 (nearbyint_test_data): New variable.
27696 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27697 (rint_test_data): New variable.
27698 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27699 (rint_tonearest_test_data): New variable.
27700 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27701 (rint_towardzero_test_data): New variable.
27702 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27703 (rint_downward_test_data): New variable.
27704 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27705 (rint_upward_test_data): New variable.
27706 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27707 (round_test_data): New variable.
27708 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27709 (sin_test_data): New variable.
27710 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27711 (sin_tonearest_test_data): New variable.
27712 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27713 (sin_towardzero_test_data): New variable.
27714 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27715 (sin_downward_test_data): New variable.
27716 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27717 (sin_upward_test_data): New variable.
27718 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27719 (sinh_test_data): New variable.
27720 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27721 (sinh_tonearest_test_data): New variable.
27722 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27723 (sinh_towardzero_test_data): New variable.
27724 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27725 (sinh_downward_test_data): New variable.
27726 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27727 (sinh_upward_test_data): New variable.
27728 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27729 (sqrt_test_data): New variable.
27730 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27731 (tan_test_data): New variable.
27732 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27733 (tan_tonearest_test_data): New variable.
27734 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27735 (tan_towardzero_test_data): New variable.
27736 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27737 (tan_downward_test_data): New variable.
27738 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27739 (tan_upward_test_data): New variable.
27740 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27741 (tanh_test_data): New variable.
27742 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27743 (tgamma_test_data): New variable.
27744 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27745 (trunc_test_data): New variable.
27746 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27747 (y0_test_data): New variable.
27748 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27749 (y1_test_data): New variable.
27750 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27751 (significand_test_data): New variable.
27752 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27754 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27757 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27759 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27761 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27763 2013-05-10 Andreas Jaeger <aj@suse.de>
27766 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27767 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27769 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27771 * math/gen-libm-test.pl (adjust_arg): New function.
27772 (special_functions): Handle generating output in both functions
27774 (parse_args): Likewise.
27775 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27776 $in_func argument to parse_args.
27777 * math/libm-test.inc (struct test_f_f_data): New type.
27778 (IF_ROUND_INIT_): New macro.
27779 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27780 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27781 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27782 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27783 (ROUND_RESTORE_): Likewise.
27784 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27785 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27786 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27787 (ROUND_RESTORE_FE_UPWARD): Likewise.
27788 (RUN_TEST_LOOP_f_f): New macro.
27789 (acos_test_data): New variable.
27790 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27791 (acos_tonearest_test_data): New variable.
27792 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27794 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27796 * benchtests/bench-skeleton.c (startup): Fix coding style.
27798 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27801 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27802 negative infinity argument.
27803 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27804 negative infinity argument.
27805 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27806 negative infinity argument.
27807 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27810 2013-05-10 Florian Weimer <fweimer@redhat.com>
27812 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27813 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27814 * iconv/iconv_prog.c (main): Likewise.
27815 * locale/programs/charmap-dir.c (charmap_readdir)
27816 (fopen_uncompressed): Likewise.
27817 * locale/programs/locfile.c (siblings_uncached)
27818 (write_locale_data): Use lstat64 instead of lstat.
27819 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27822 2013-05-10 Andreas Jaeger <aj@suse.de>
27825 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27827 Include <locale.h>.
27829 2013-05-09 Carlos O'Donell <carlos@redhat.com>
27831 * elf/dl-close.c (_dl_close_worker): Add comments.
27833 2013-05-09 Joseph Myers <joseph@codesourcery.com>
27836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27838 (__ieee754_rem_pio2l): Update comments.
27841 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27843 (__ieee754_rem_pio2l): Update comments.
27845 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27846 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27848 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27851 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27852 (M_PI_34_LOG10El): Likewise.
27853 (M_PI2_LOG10El): Likewise.
27854 (M_PI4_LOG10El): Likewise.
27855 (M_PI_LOG10El): Likewise.
27857 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27861 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27863 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27864 (MINUS_ZERO_INIT): Likewise.
27865 (PLUS_INFTY_INIT): Likewise.
27866 (MINUS_INFTY_INIT): Likewise.
27867 (QNAN_VALUE_INIT): Likewise.
27868 (MAX_VALUE_INIT): Likewise.
27869 (MIN_VALUE_INIT): Likewise.
27870 (MIN_SUBNORM_VALUE_INIT): Likewise.
27871 (plus_zero): Initialize with PLUS_ZERO_INIT.
27872 (minus_zero): Initialize with MINUS_ZERO_INIT.
27873 (plus_infty): Initialize with PLUS_INFTY_INIT.
27874 (minus_infty): Initialize with MINUS_INFTY_INIT.
27875 (qnan_value): Initialize with QNAN_VALUE_INIT.
27876 (max_value): Initialize with MAX_VALUE_INIT.
27877 (min_value): Initialize with MIN_VALUE_INIT.
27878 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27880 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27881 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27882 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27883 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27885 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27886 (RUN_TEST_2_f): Likewise.
27887 (RUN_TEST_ff_f): Likewise.
27888 (RUN_TEST_fi_f): Likewise.
27889 (RUN_TEST_fl_f): Likewise.
27890 (RUN_TEST_fff_f): Likewise.
27891 (RUN_TEST_c_f): Likewise.
27892 (RUN_TEST_f_f1): Likewise.
27893 (RUN_TEST_fF_f1): Likewise.
27894 (RUN_TEST_fI_f1): Likewise.
27895 (RUN_TEST_ffI_f1): Likewise.
27896 (RUN_TEST_c_c): Likewise.
27897 (RUN_TEST_cc_c): Likewise.
27898 (RUN_TEST_f_i): Likewise.
27899 (RUN_TEST_f_i_tg): Likewise.
27900 (RUN_TEST_ff_i_tg): Likewise.
27901 (RUN_TEST_f_b): Likewise.
27902 (RUN_TEST_f_b_tg): Likewise.
27903 (RUN_TEST_f_l): Likewise.
27904 (RUN_TEST_f_L): Likewise.
27905 (RUN_TEST_sincos): Likewise.
27906 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27907 whether to show exceptions. Do not include ");\n" in return
27909 (special_functions): Output call to RUN_TEST_sincos instead of
27910 check_float calls. Update calls to new_test.
27911 (parse_args): Output call to single RUN_TEST_* macro instead of
27912 check_* calls and other assignments. Update calls to new_test.
27918 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27919 input to result for tgamma overflow.
27920 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27921 (gamma_coeff): New variable.
27922 (NCOEFF): New macro.
27923 (gamma_positive): New function.
27924 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27925 underflow here. Use gamma_positive instead of exp (lgamma) for
27927 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27928 (gamma_coeff): New variable.
27929 (NCOEFF): New macro.
27930 (gammaf_positive): New function.
27931 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27932 underflow here. Use gamma_positive instead of exp (lgamma) for
27934 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27935 (gamma_coeff): New variable.
27936 (NCOEFF): New macro.
27937 (gammal_positive): New function.
27938 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27939 underflow here. Use gamma_positive instead of exp (lgamma) for
27941 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27942 (gamma_coeff): New variable.
27943 (NCOEFF): New macro.
27944 (gammal_positive): New function.
27945 (__ieee754_gammal_r): Handle positive infinity, overflow and
27946 underflow here. Handle NaN the same as positive infinity. Remove
27947 check x < 0xffffffff for negative integers. Use gamma_positive
27948 instead of exp (lgamma) for other arguments.
27949 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27950 (gamma_coeff): New variable.
27951 (NCOEFF): New macro.
27952 (gammal_positive): New function.
27953 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27954 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27958 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27959 * sysdeps/generic/math_private.h (__gamma_productf): New
27961 (__gamma_product): Likewise.
27962 (__gamma_productl): Likewise.
27963 * math/Makefile (libm-calls): Add gamma_product.
27964 * math/libm-test.inc (tgamma_test): Add more tests.
27965 * sysdeps/i386/fpu/libm-test-ulps: Update.
27966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27968 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27970 * benchtests/bench-skeleton.c (main): Preheat CPU.
27972 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27974 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27976 2013-05-07 Roland McGrath <roland@hack.frob.com>
27978 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27979 and _dl_skip_args_internal.
27981 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27983 * manual/message.texi (Message Translation): Talk about users.
27984 Message to key mapping impacts design.
27986 2013-05-06 Roland McGrath <roland@hack.frob.com>
27988 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27990 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27992 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27993 * sysdeps/wordsize-64/glob64.c: ... here.
27995 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27996 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27999 * debug/getlogin_r_chk.c: Moved to ...
28000 * login/getlogin_r_chk.c: ... here.
28001 * debug/Makefile (routines): Move getlogin_r_chk to ...
28002 * login/Makefile (routines): ... here.
28003 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28004 * login/Versions (libc: GLIBC_2.4): ... here.
28006 * io/poll.c (__poll): Renamed from poll.
28007 Add libc_hidden_def.
28008 (poll): Define as weak alias.
28010 * debug/ptsname_r_chk.c: Moved to ...
28011 * login/ptsname_r_chk.c: ... here.
28012 * debug/Makefile (routines): Move ptsname_r_chk to ...
28013 * login/Makefile (routines): ... here.
28014 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28015 * login/Versions (libc: GLIBC_2.4): ... here.
28017 * posix/getlogin.c: Moved to ...
28018 * login/getlogin.c: ... here.
28019 * posix/getlogin_r.c: Moved to ...
28020 * login/getlogin_r.c: ... here.
28021 * posix/getlogin_r.c: Moved to ...
28022 * login/getlogin_r.c: ... here.
28023 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28024 * login/Makefile (routines): ... here.
28025 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28026 * login/Versions (libc: GLIBC_2.0): ... here.
28028 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28029 (setrlimit): Define as weak alias.
28031 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28032 Call __ names for open, ftruncate, and close.
28033 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28034 (truncate): Define as weak alias.
28036 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28038 * math/gen-libm-test.pl (parse_args): Initialize x before each
28039 test of frexp, modf and remquo.
28041 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28042 test signgam value.
28044 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28048 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28050 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28052 2013-05-06 Roland McGrath <roland@hack.frob.com>
28054 * elf/dl-writev.h: New file.
28055 * elf/dl-misc.c: Include it.
28056 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28057 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28059 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28061 * math/libm-test.inc (noXFails): Remove variable.
28062 (noXPasses): Likewise.
28063 (BUILD_COMPLEX_INT): Remove macro.
28064 (print_screen): Remove xfail argument.
28065 (print_screen_max_error): Likewise.
28066 (update_stats): Likewise.
28067 (print_max_error): Likewise. Update calls to other affected
28069 (print_complex_max_error): Likewise.
28070 (test_single_exception): Update calls to print_screen.
28071 (test_single_errno): Likewise.
28072 (check_float_internal): Remove xfail argument. Update calls to
28073 other affected functions.
28074 (check_float): Likewise.
28075 (check_complex): Likewise.
28076 (check_int): Likewise.
28077 (check_long): Likewise.
28078 (check_bool): Likewise.
28079 (check_longlong): Likewise.
28080 (main): Don't print noXFails and noXPasses.
28081 * math/gen-libm-test.pl (top level): Don't mention expected
28082 failure handling in comment.
28083 (new_test): Don't handle expected failures.
28084 (parse_args): Don't mention expected failure handling in comment.
28085 (generate_testfile): Don't handle expected failures.
28086 (parse_ulps): Likewise.
28087 (print_ulps_file): Likewise.
28088 (get_failure): Remove function.
28089 (output_test): Don't handle expected failures.
28090 * make/README.libm-test: Don't mention expected failure handling.
28092 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28093 (minus_zero): Likewise.
28094 (plus_infty): Likewise.
28095 (minus_infty): Likewise.
28096 (qnan_value): Likewise.
28097 (max_value): Likewise.
28098 (min_value): Likewise.
28099 (min_subnorm_value): Likewise.
28100 (initialize): Do not initialize those variables dynamically.
28102 2013-05-03 Roland McGrath <roland@hack.frob.com>
28104 * io/open.c (__open_2): Moved to ...
28105 * io/open_2.c: ... this new file.
28106 * io/open64.c (__open64_2): Moved to ...
28107 * io/open64_2.c: ... this new file.
28108 * io/openat.c (__openat_2): Moved to ...
28109 * io/openat_2.c: ... this new file.
28110 * io/openat64.c (__openat64_2): Moved to ...
28111 * io/openat64_2.c: ... this new file.
28112 * io/Makefile (routines): Add them.
28113 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28114 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28115 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28116 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28117 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28118 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28119 (__openat64): Add hidden_ver.
28120 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28121 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28123 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28124 Separately conditionalize setting of GLRO(dl_sysinfo) so
28125 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28126 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28128 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28130 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28131 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28133 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28134 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28135 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28136 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28137 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28139 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28141 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28142 test signgam value.
28144 * math/libm-test.inc (hypot_test): Do not use
28145 IGNORE_ZERO_INF_SIGN.
28147 2013-05-03 Andreas Jaeger <aj@suse.de>
28149 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28151 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28152 (PF_MAX): Adjust for VSOCK change.
28154 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28158 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28161 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28162 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28163 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28165 2013-05-02 David S. Miller <davem@davemloft.net>
28167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28169 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28171 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28173 2013-05-01 Roland McGrath <roland@hack.frob.com>
28175 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28177 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28180 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28181 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28182 Use __attribute__ ((__gnu_inline__)).
28183 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28184 Don't use __attribute__ ((__gnu_inline__)).
28186 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28189 * math/s_catan.c (__catan): Handle small real or imaginary part of
28190 input specially to avoid spurious underflow.
28191 * math/s_catanf.c (__catanf): Likewise.
28192 * math/s_catanh.c (__catanh): Likewise.
28193 * math/s_catanhf.c (__catanhf): Likewise.
28194 * math/s_catanhl.c (__catanhl): Likewise.
28195 * math/s_catanl.c (__catanl): Likewise.
28196 * math/libm-test.inc (catan_test): Add more tests.
28197 (catanh_test): Likewise.
28198 * sysdeps/i386/fpu/libm-test-ulps: Update.
28199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28201 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28205 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28208 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28209 accurately for denominator in atan2.
28210 * math/s_catanf.c (__catanf): Likewise.
28211 * math/s_catanh.c (__catanh): Likewise.
28212 * math/s_catanhf.c (__catanhf): Likewise.
28213 * math/s_catanhl.c (__catanhl): Likewise.
28214 * math/s_catanl.c (__catanl): Likewise.
28215 * math/libm-test.inc (catan_test): Add more tests.
28216 (catanh_test): Likewise.
28217 * sysdeps/i386/fpu/libm-test-ulps: Update.
28218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28220 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28222 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28224 * benchtests/Makefile (bench): Remove slow benchmarks.
28225 * benchtests/atan-inputs: Add slow benchmark inputs.
28226 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28227 (BENCH_FUNC): Accept variant offset.
28229 * benchtests/bench-skeleton.c (main): Run benchmark for each
28231 * benchtests/cos-inputs: Add slow benchmark inputs.
28232 * benchtests/exp-inputs: Likewise.
28233 * benchtests/pow-inputs: Likewise.
28234 * benchtests/sin-inputs: Likewise.
28235 * benchtests/slowatan-inputs: Remove.
28236 * benchtests/slowatan.c: Remove.
28237 * benchtests/slowcos-inputs: Remove.
28238 * benchtests/slowcos.c: Remove.
28239 * benchtests/slowexp-inputs: Remove.
28240 * benchtests/slowexp.c: Remove.
28241 * benchtests/slowpow-inputs: Remove.
28242 * benchtests/slowpow.c: Remove.
28243 * benchtests/slowsin-inputs: Remove.
28244 * benchtests/slowsin.c: Remove.
28245 * benchtests/slowtan-inputs: Remove.
28246 * benchtests/slowtan.c: Remove.
28247 * benchtests/tan-inputs: Add slow benchmark inputs.
28248 * scripts/bench.pl: Parse comments and directives.
28250 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28252 ($(objpfx)bench-%.c): Remove *-ITER.
28253 * benchtests/bench-modf.c: Remove definition of ITER.
28254 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28255 (main): Loop for DURATION seconds instead of fixed number of
28257 * scripts/bench.pl: Don't expect iterations in parameters.
28259 2013-04-29 Roland McGrath <roland@hack.frob.com>
28261 * io/fchdir.c (__fchdir): Renamed from fchdir.
28262 (fchdir): Define as weak alias.
28264 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28266 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28267 (ERRNO_EDOM): Likewise.
28268 (ERRNO_ERANGE): Likewise.
28269 (noErrnoTests): New variable.
28270 (init_max_error): Set errno to 0.
28271 (test_single_errno): New function.
28272 (test_errno): Likewise.
28273 (check_float_internal): Call test_errno. Set errno to 0.
28274 (check_complex): Refer to errno tests in comment.
28275 (check_int): Call test_errno. Set errno to 0.
28276 (check_long): Likewise.
28277 (check_bool): Likewise.
28278 (check_longlong): Likewise.
28279 (cos_test): Use ERRNO_* flags for errno tests instead of
28281 (expm1_test): Likewise.
28282 (fmod_test): Likewise.
28283 (ilogb_test): Likewise.
28284 (lgamma_test): Likewise.
28285 (pow_test): Likewise.
28286 (remainder_test): Likewise.
28287 (sin_test): Likewise.
28288 (tan_test): Likewise.
28289 (yn_test): Likewise.
28290 (initialize): Set errno to 0.
28291 (main): Print number of errno tests.
28292 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28294 2013-04-29 Andreas Jaeger <aj@suse.de>
28297 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28301 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28302 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28306 * stdlib/random.c (__initstate): Return NULL if
28310 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28311 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28314 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28318 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28320 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28321 of individual tests.
28322 (casin_test): Likewise.
28323 (casinh_test): Likewise.
28325 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28328 * math/s_catan.c (__catan): Handle arguments with large real or
28329 imaginary part separately without squaring.
28330 * math/s_catanf.c (__catanf): Likewise.
28331 * math/s_catanh.c (__catanh): Likewise.
28332 * math/s_catanhf.c (__catanhf): Likewise.
28333 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28335 (__catanhl): Handle arguments with large real or imaginary part
28336 separately without squaring.
28337 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28339 (__catanl): Handle arguments with large real or imaginary part
28340 separately without squaring.
28341 * math/libm-test.inc (catan_test): Add more tests.
28342 (catanh_test): Likewise.
28343 * sysdeps/i386/fpu/libm-test-ulps: Update.
28344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28346 2013-04-27 Andreas Jaeger <aj@suse.de>
28349 * stdlib/stdlib.h: Update guards for qecvt.
28350 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28353 2013-04-27 Allan McRae <allan@archlinux.org>
28355 * sysdeps/i386/fpu/libm-test-ulps: Update.
28357 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28360 * math/s_catan.c: Include <float.h>.
28361 (__catan): Ensure underflow exception occurs for underflowed
28363 * math/s_catanf.c: Include <float.h>.
28364 (__catanf): Ensure underflow exception occurs for underflowed
28366 * math/s_catanh.c: Include <float.h>.
28367 (__catanh): Ensure underflow exception occurs for underflowed
28369 * math/s_catanhf.c: Include <float.h>.
28370 (__catanhf): Ensure underflow exception occurs for underflowed
28372 * math/s_catanhl.c: Include <float.h>.
28373 (__catanhl): Ensure underflow exception occurs for underflowed
28375 * math/s_catanl.c: Include <float.h>.
28376 (__catanl): Ensure underflow exception occurs for underflowed
28378 * math/libm-test.inc (catan_test): Add more tests.
28379 (catanh_test): Likewise.
28382 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28383 underflowed result.
28384 * math/s_ccoshf.c (__ccoshf): Likewise.
28385 * math/s_ccoshl.c (__ccoshl): Likewise.
28386 * math/s_csin.c (__csin): Likewise.
28387 * math/s_csinf.c (__csinf): Likewise.
28388 * math/s_csinh.c (__csinh): Likewise.
28389 * math/s_csinhf.c (__csinhf): Likewise.
28390 * math/s_csinhl.c (__csinhl): Likewise.
28391 * math/s_csinl.c (__csinl): Likewise.
28392 * math/libm-test.inc (ccos_test): Add more tests.
28393 (ccosh_test): Likewise.
28394 (csin_test): Likewise.
28395 (csinh_test): Likewise.
28397 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28399 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28400 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28401 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28402 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28403 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28404 powerpc/power5+/fpu folders.
28405 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28408 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28412 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28414 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28415 additions to variable.
28416 [$(config-machine) = x86_64] (modules-names): Likewise.
28417 ($(objpfx)tst-audit3): Remove dependency.
28418 ($(objpfx)tst-audit3.out): Likewise.
28419 ($(objpfx)tst-audit4): Likewise.
28420 ($(objpfx)tst-audit4.out): Likewise.
28421 ($(objpfx)tst-audit5): Likewise.
28422 ($(objpfx)tst-audit5.out): Likewise.
28423 ($(objpfx)tst-audit6): Likewise.
28424 ($(objpfx)tst-audit6.out): Likewise.
28425 ($(objpfx)tst-audit7): Likewise.
28426 ($(objpfx)tst-audit7.out): Likewise.
28427 (tst-audit3-ENV): Remove variable.
28428 (tst-audit4-ENV): Likewise.
28429 (tst-audit5-ENV): Likewise.
28430 (tst-audit6-ENV): Likewise.
28431 (tst-audit7-ENV): Likewise.
28432 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28433 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28434 addition to variable.
28435 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28436 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28437 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28438 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28439 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28440 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28441 tst-audit3, tst-audit4 and tst-audit5.
28442 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28443 tst-audit6 and tst-audit7.
28444 [$(subdir) = elf] (modules-names): Add audit modules for those
28446 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28447 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28448 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28449 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28450 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28451 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28452 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28453 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28454 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28455 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28456 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28457 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28458 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28459 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28460 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28461 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28463 [$(subdir) = elf && $(config-cflags-avx) = yes]
28464 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28465 [$(subdir) = elf && $(config-cflags-avx) = yes]
28466 (CFLAGS-tst-auditmod4a.c): Likewise.
28467 [$(subdir) = elf && $(config-cflags-avx) = yes]
28468 (CFLAGS-tst-auditmod4b.c): Likewise.
28469 [$(subdir) = elf && $(config-cflags-avx) = yes]
28470 (CFLAGS-tst-auditmod6b.c): Likewise.
28471 [$(subdir) = elf && $(config-cflags-avx) = yes]
28472 (CFLAGS-tst-auditmod6c.c): Likewise.
28473 [$(subdir) = elf && $(config-cflags-avx) = yes]
28474 (CFLAGS-tst-auditmod7b.c): Likewise.
28475 * elf/tst-audit3.c: Move to ...
28476 * sysdeps/x86_64/tst-audit3.c: ... here.
28477 * elf/tst-audit4.c: Move to ...
28478 * sysdeps/x86_64/tst-audit4.c: ... here.
28479 * elf/tst-audit5.c: Move to ...
28480 * sysdeps/x86_64/tst-audit5.c: ... here.
28481 * elf/tst-audit6.c: Move to ...
28482 * sysdeps/x86_64/tst-audit6.c: ... here.
28483 * elf/tst-audit7.c: Move to ...
28484 * sysdeps/x86_64/tst-audit7.c: ... here.
28485 * elf/tst-auditmod3a.c: Move to ...
28486 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28487 * elf/tst-auditmod3b.c: Move to ...
28488 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28489 * elf/tst-auditmod4a.c: Move to ...
28490 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28491 * elf/tst-auditmod4b.c: Move to ...
28492 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28493 * elf/tst-auditmod5a.c: Move to ...
28494 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28495 * elf/tst-auditmod5b.c: Move to ...
28496 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28497 * elf/tst-auditmod6a.c: Move to ...
28498 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28499 * elf/tst-auditmod6b.c: Move to ...
28500 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28501 * elf/tst-auditmod6c.c: Move to ...
28502 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28503 * elf/tst-auditmod7a.c: Move to ...
28504 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28505 * elf/tst-auditmod7b.c: Move to ...
28506 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28508 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28511 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28512 define unconditionally.
28513 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28514 define unconditionally.
28515 (INT8_C, INT16_C, etc.): Likewise.
28517 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28519 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28520 __ehdr_start with hidden visibility.
28522 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28524 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28526 * math/libm-test.inc (cos_test): Use accurate hex constants.
28527 (sincost_test): Likewise.
28529 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28531 * math/libm-test.inc (catan_test): Add more tests.
28532 (catanh_test): Likewise.
28534 * math/s_catanf.c (__catanf): Use suffixed floating-point
28536 * math/s_catanhf.c (__catanhf): Likewise.
28537 * math/s_catanhl.c (__catanhl): Likewise.
28538 * math/s_catanl.c (__catanl): Likewise.
28541 * math/s_catan.c (__catan): Calculate imaginary part of result
28542 with log1p not log unless computing log of number close to 0.
28543 * math/s_catanf.c (__catanf): Likewise.
28544 * math/s_catanl.c (__catanl): Likewise.
28545 * math/s_catanh.c (__catanh): Calculate real part of result with
28546 log1p not log unless computing log of number close to 0.
28547 * math/s_catanhf.c (__catanhf): Likewise.
28548 * math/s_catanhl.c (__catanhl): Likewise.
28549 * math/libm-test.inc (catan_test): Add more tests.
28550 (catanh_test): Likewise.
28551 * sysdeps/i386/fpu/libm-test-ulps: Update.
28552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28554 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28556 * benchtests/Makefile: Mention files in which fast and slow
28557 paths of math functions are implemented.
28559 2013-04-23 Roland McGrath <roland@hack.frob.com>
28561 * sysdeps/posix/timespec_get.c: New file.
28563 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28565 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28567 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28569 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28570 powerpc/power5/fpu folders.
28571 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28572 * benchtests/Makefile: Add modf testcase.
28573 * benchtests/bench-modf.c: New file: Benchmark test for mo
28575 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28578 * time/Makefile (tests): Add tst-strptime-whitespace.
28579 * time/strptime_l.c (get_number): Use ISSPACE.
28580 (__strptime_internal): Likewise.
28581 * time/tst-strptime-whitespace.c: New test case.
28583 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28585 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28587 (_nss_files_init): Set it here.
28589 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28591 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28592 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28595 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28597 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28599 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28604 2013-04-21 David S. Miller <davem@davemloft.net>
28606 * po/ru.po: Update Russion translation from translation project.
28608 2013-04-17 Adam Conrad <adconrad@0c3.net>
28610 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28613 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28615 * configure.in: Remove i386 configure warning. Remove i386 case.
28616 * configure: Regenerate.
28617 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28618 Add example to error message.
28619 * sysdeps/i386/configure: Regenerate.
28621 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28623 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28625 * benchtests/cos-inputs: New file.
28626 * benchtests/slowcos-inputs: New file.
28627 * benchtests/slowcos.c: New file.
28628 * benchtests/slowtan-inputs: New file.
28629 * benchtests/slowtan.c: New file.
28630 * benchtests/tan-inputs: New file.
28632 2013-04-16 Roland McGrath <roland@hack.frob.com>
28634 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28637 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28639 * benchtests/Makefile: Include cppflags-iterator.mk to add
28640 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28642 * Makefile.in (bench-clean): New target.
28643 * benchtests/Makefile (bench-clean): Likewise.
28645 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28647 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28649 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28651 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28653 2013-04-15 Andreas Schwab <schwab@suse.de>
28655 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28657 * nscd/pwdcache.c (cache_addpw): Likewise.
28658 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28661 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28663 * benchtests/Makefile (bench): Write all output to
28664 bench-out.tmp together.
28666 2013-04-15 Andreas Schwab <schwab@suse.de>
28668 * nscd/nscd.c (main): Don't fork again after closing files.
28670 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28672 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28674 * benchtests/Rules (bench-deps): Collect dependencies into a
28675 single variable. Add Makefile to dependencies.
28676 ($(objpfx)bench-%.c): Depend on bench-deps.
28678 2013-04-12 Roland McGrath <roland@hack.frob.com>
28679 Xavier Roche <roche+kml2@exalead.com>
28682 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28683 just that it's a file descriptor.
28684 * manual/llio.texi (Synchronizing AIO Operations): Update description
28685 for EBADF error from aio_fsync.
28687 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28689 * Rules (bench): Move target definition...
28690 * benchtests/Makefile: ... here.
28692 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28694 * math/libm-test.inc (cos_test): Fix PI/2 test.
28695 (sincos_test): Likewise.
28696 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28697 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28699 2013-04-11 Andreas Schwab <schwab@suse.de>
28702 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28703 accept exponent character only when digits were seen.
28704 * stdio-common/Makefile (tests): Add bug26.
28705 * stdio-common/bug26.c: New file.
28708 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28711 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28713 * Makeconfig (rtld-prefix): Define built linker prefix.
28714 * Rules (run-bench): Use it.
28715 * math/Makefile (run-regen-ulps): Likewise.
28717 * Rules (bench): Remove eval.
28719 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28720 Roland McGrath <roland@hack.frob.com>
28721 Ondrej Bilka <neleai@seznam.cz>
28724 * time/getdate.c: Include ctype.h and alloca.h.
28725 (__getdate_r): Trim leading and trailing spaces of input.
28726 * time/tst-getdate.c (tests): Add tests with leading and
28729 2013-04-08 Roland McGrath <roland@hack.frob.com>
28732 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28733 when computing value.
28735 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28737 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28738 Use testrun.sh to run libm tests.
28741 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28743 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28746 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28748 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28750 * Makefile.in (regen-ulps): New target.
28751 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28752 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28753 [ifneq (no,$(PERL)] (regen-ulps): New target.
28754 [ifeq (no,$(PERL)] (regen-ulps): New target.
28755 * math/libm-test.inc (ulps_file_name): Define.
28756 (output_dir): New variable.
28757 (options): Add "output-dir" option.
28758 (parse_opt): Handle 'o' case.
28759 (main): If output_dir is non-NULL use it as a prefix
28761 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28763 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28765 [BZ #10060, #10062]
28766 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28767 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28768 fail configure if __sync_val_compare_and_swap is not inlined.
28769 * sysdeps/i386/configure: Regenerate.
28770 * configure.in: Build for i686 when configured for i386.
28771 * configure: Regenerate.
28772 * README: Remove i386 reference.
28774 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28776 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28777 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28779 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28781 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28782 (lmsnanval): New variables.
28783 (F): Add conversion tests.
28784 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28785 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28787 * stdio-common/tstdiomisc.c (F): Properly collect individual
28790 [BZ #14686, #15336]
28791 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28792 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28793 Instead, use input NaN values or generate a qNaN by arithmetic
28794 operation. Also fix bugs to comply with the standard.
28795 * math/libm-test.inc (remainder_test): Add more tests.
28797 [BZ #15335, #15342]
28798 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28800 input NaN values or generate a qNaN by arithmetic operation.
28802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28805 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28808 2013-04-03 Joseph Myers <joseph@codesourcery.com>
28811 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28812 underflowed result.
28813 * math/s_cexpf.c (__cexpf): Likewise.
28814 * math/s_cexpl.c (__cexpl): Likewise.
28815 * math/libm-test.inc (cexp_test): Add more tests.
28817 2013-04-03 Andreas Schwab <schwab@suse.de>
28820 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28821 order arrays from heap if bigger than alloca cutoff.
28823 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28825 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28826 (SNAN_TESTS_double): Refer to GCC PR56831.
28827 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28830 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28832 * Rules (bench): Move bench.out after the run is complete.
28834 * Rules (bench): Echo currently running benchmark.
28836 * benchtests/Makefile (bench): Add atan and slowatan.
28837 * benchtests/atan-inputs: New file.
28838 * benchtests/slowatan-inputs: New file.
28839 * benchtests/slowatan.c: New file.
28841 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28846 * sysdeps/unix/sysv/linux/kernel-features.h
28847 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28848 __ASSUME_XFS_RESTRICTED_CHOWN.
28849 * sysdeps/unix/sysv/linux/pathconf.c
28850 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28851 Save and restore errno.
28853 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28856 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28857 arguments using __kernel_casinh.
28858 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28859 arguments using __kernel_casinhf.
28860 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28861 arguments using __kernel_casinhl.
28862 * math/libm-test.inc (cacosh_test): Add more tests.
28863 * sysdeps/i386/fpu/libm-test-ulps: Update.
28864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28866 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28868 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28871 * bench/Makefile (bench): Add sin and slowsin.
28872 * benchtests/sin-inputs: New file.
28873 * benchtests/slowsin-inputs: New file.
28874 * benchtests/slowsin.c: New file.
28876 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28877 (bench): Add slowexp and slowpow.
28878 (exp-ITER): Increase iterations.
28879 (pow-ITER): Likewise.
28880 * benchtests/exp-inputs: Change input.
28881 * benchtests/pow-inputs: Likewise.
28882 * benchtests/slowexp-inputs: New file.
28883 * benchtests/slowexp.c: New file.
28884 * benchtests/slowpow-inputs: New file.
28885 * benchtests/slowpow.c: New file.
28887 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28889 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28891 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28892 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28893 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28894 * benchtests/Makefile: Add rint benchtest.
28895 * benchtests/rint-inputs: Input for rint benchtest.
28897 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28899 * Versions.def (libm): Add GLIBC_2.18.
28900 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28901 hidden libm prototypes.
28902 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28903 * math/Makefile (libm-calls): Add s_issignaling.
28904 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28905 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28906 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28908 * math/math.h [__USE_GNU] (issignaling): New macro.
28909 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28910 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28912 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28915 * manual/arith.texi (issignaling): New section.
28916 * manual/libm-err-tab.pl (@all_functions): Update comment.
28917 * math/gen-libm-test.pl (parse_args): Apply special handling for
28919 * math/libm-test.inc (print_float, issignaling_test): New
28921 (check_float_internal): Add issignaling checks.
28922 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28923 default definition.
28924 * sysdeps/powerpc/math-tests.h: New file.
28925 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28927 * math/test-snan.c (TEST_FUNC): Likewise.
28929 2013-03-30 David S. Miller <davem@davemloft.net>
28931 * po/de.po: Update from translation team.
28933 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28936 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28937 imaginary part less than 1.0 and real part less than 0.5
28939 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28940 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28941 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28942 (cacos_test): Add more tests.
28943 (casin_test): Likewise.
28944 (casinh_test): Likewise.
28945 * sysdeps/i386/fpu/libm-test-ulps: Update.
28946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28948 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28950 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28951 ONE with its value.
28953 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28954 (__pow_mp): Replace ONE and MONE with their values.
28955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28956 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28957 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28958 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28959 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28960 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28962 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28964 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28965 (__pow_mp): Replace ZERO and MZERO with their values.
28966 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28967 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28968 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28970 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28971 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28974 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28976 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28978 2013-03-28 Roland McGrath <roland@hack.frob.com>
28980 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28981 Declare with __attribute__ ((weak)).
28982 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28983 Call __call_tls_dtors only if it's not NULL.
28985 2013-03-28 Roland McGrath <roland@hack.frob.com>
28987 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28988 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28989 magic __ehdr_start linker symbol if it's defined.
28990 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28991 them up here if it was already done.
28993 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28994 (_dl_aux_init): Use const in cast when setting it.
28995 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28996 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28997 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28999 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29001 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29002 * csu/libc-tls.c: Nor here.
29003 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29005 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29006 (__libc_message): Never call vsyslog.
29008 2013-03-28 Alan Modra <amodra@gmail.com>
29010 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29012 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29015 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29022 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29025 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29026 Don't add gid passed as argument.
29028 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29030 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29033 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29034 imaginary part between 1.0 and 1.5 and real part less than 0.5
29036 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29037 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29038 * math/libm-test.inc (cacos_test): Add more tests.
29039 (casin_test): Likewise.
29040 (casinh_test): Likewise.
29041 * sysdeps/i386/fpu/libm-test-ulps: Update.
29042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29044 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29046 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29049 (denorm): Likewise.
29050 (__dbl_mp): Likewise.
29051 (add_magnitudes): Likewise.
29052 (sub_magnitudes): Likewise.
29060 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29062 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29063 (__dubcos): Likewise.
29064 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29065 (__ieee754_acos): Likewise.
29066 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29067 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29068 (__exp1): Likewise.
29069 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29072 (my_log2): Likewise.
29073 (checkint): Likewise.
29074 * sysdeps/ieee754/dbl-64/e_remainder.c
29075 (__ieee754_remainder): Likewise.
29076 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29077 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29078 (bsloww): Likewise.
29079 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29081 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29082 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29083 MANTISSA_STORE_T to store computations on mantissa. Use
29084 macros for rounding and division.
29085 (denorm): Likewise.
29086 (__dbl_mp): Likewise.
29087 (add_magnitudes): Likewise.
29088 (sub_magnitudes): Likewise.
29091 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29092 powers of two in terms of TWOPOW macro.
29093 (mp_no): Make type of mantissa as MANTISSA_T.
29094 [!RADIXI]: Define RADIXI.
29095 [!TWO52]: Define TWO52.
29096 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29098 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29100 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29101 llroundl symbol when building for PPC32.
29103 2013-03-24 Mark H Weaver <mhw@netris.org>
29105 * manual/arith.texi (Normalization Functions): Fix prototypes for
29106 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29108 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29112 high value to check if expl overflow.
29113 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29114 to check for underflow and overflow.
29115 * math/libm-test.inc: Add exp test.
29117 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29120 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29123 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29125 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29128 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29130 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29131 wrap blocks consisting of several statements.
29133 * sysdeps/generic/math-tests.h: New file.
29134 * sysdeps/i386/fpu/math-tests.h: Likewise.
29135 * math/test-snan.c: Include it.
29136 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29138 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29141 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29142 (__ieee754_j0l): Do not improve calculations using cos of twice
29143 input for inputs above LDBL_MAX / 2.0L.
29144 (__ieee754_y0l): Likewise.
29145 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29146 (__ieee754_j1l): Do not improve calculations using cos of twice
29147 input for inputs above LDBL_MAX / 2.0L.
29148 (__ieee754_y1l): Likewise.
29149 * math/libm-test.inc (j0_test): Add another test.
29150 (j1_test): Likewise.
29151 (y0_test): Likewise.
29152 (y1_test): Likewise.
29153 * sysdeps/i386/fpu/libm-test-ulps: Update.
29155 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29157 * Rules ($(objpfx)bench-%.c): Include code from a C source
29160 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29163 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29164 imaginary part 1.0 and real part less than 0.5 specially.
29165 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29166 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29167 * math/libm-test.inc (cacos_test): Add more tests.
29168 (casin_test): Likewise.
29169 (casinh_test): Likewise.
29170 * sysdeps/i386/fpu/libm-test-ulps: Update.
29171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29173 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29175 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29176 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29178 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29180 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29181 * config.make.in (config-cflags-sse4): Remove variable.
29182 (config-cflags-avx): Likewise.
29183 (config-cflags-sse2avx): Likewise.
29184 (config-cflags-novzeroupper): Likewise.
29185 (config-asflags-i686): Likewise.
29186 (have-mfma4): Likewise.
29187 (have-as-vis3): Likewise.
29189 * configure.in (MIG): Do not AC_SUBST.
29190 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29191 (libc_cv_cc_sse4): Do not AC_SUBST.
29192 (libc_cv_cc_avx): Likewise.
29193 (libc_cv_cc_sse2avx): Likewise.
29194 (libc_cv_cc_novzeroupper): Likewise.
29195 (libc_cv_cc_fma4): Likewise.
29196 (libc_cv_as_i686): Likewise.
29197 (libc_cv_sparc_as_vis3): Likewise.
29198 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29200 (config-asflags-i686): Likewise.
29201 (config-cflags-avx): Likewise.
29202 (config-cflags-sse2avx): Likewise.
29203 (have-mfma4): Likewise.
29204 (config-cflags-novzeroupper): Likewise.
29205 * sysdeps/mach/configure.in (MIG): Likewise.
29206 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29207 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29209 (config-cflags-avx): Likewise.
29210 (config-cflags-sse2avx): Likewise.
29211 (have-mfma4): Likewise.
29212 (config-cflags-novzeroupper): Likewise.
29213 * configure: Regenerated.
29214 * sysdeps/i386/configure: Likewise.
29215 * sysdeps/mach/configure: Likewise.
29216 * sysdeps/sparc/configure: Likewise.
29217 * sysdeps/x86_64/configure: Likewise.
29219 2013-03-20 Roland McGrath <roland@hack.frob.com>
29222 * locale/programs/localedef.c (options): Put N_ translation marker
29223 on argument names, not just descriptions.
29225 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29227 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29229 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29232 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29234 2013-03-19 Roland McGrath <roland@hack.frob.com>
29236 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29237 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29238 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29239 [!BEFORE_ABORT] (before_abort): New function.
29240 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29241 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29242 (writev_for_fatal): New function.
29243 (WRITEV_FOR_FATAL): New macro; call that.
29244 (backtrace_and_maps): New function.
29245 (BEFORE_ABORT): New macro; call that.
29246 (struct str_list): Type removed.
29247 (__libc_message, __libc_fatal): Functions removed.
29248 Include <sysdeps/posix/libc_fatal.c> instead.
29250 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29252 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29254 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29257 2013-03-19 Andreas Schwab <schwab@suse.de>
29259 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29260 * sysdeps/gnu/configure: Regenerate.
29262 * configure.in: Substitute libc_cv_rtlddir.
29263 * configure: Regenerate.
29264 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29265 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29266 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29267 * elf/Makefile (install-others, CFLAGS-interp.c)
29268 (ldso_install, common-ldd-rewrite): Likewise.
29269 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29270 $(inst_slibdir)/$(rtld-installed-name).
29271 * scripts/rellns-sh: Add -p option.
29272 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29275 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29277 * manual/nptl.texi: Renamed to ...
29278 * manual/threads.texi: ... this.
29279 * manual/Makefile (chapters): Update.
29281 2013-03-18 Roland McGrath <roland@hack.frob.com>
29284 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29285 on argument names, not just descriptions.
29286 * malloc/memusagestat.c (options): Likewise.
29287 * nss/getent.c (options): Likewise.
29289 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29292 * iconv/iconv_prog.c (options): Put N_ translation marker
29293 on argument names, not just descriptions.
29294 * iconv/iconvconfig.c (options): Likewise.
29296 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29298 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29299 implementation which is faster on all x86_64 architectures.
29300 Tested on AMD, Intel Nehalem, SNB, IVB.
29301 * sysdeps/x86_64/strnlen.S: Likewise.
29303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29304 Remove all multiarch strlen and strnlen versions.
29305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29306 Remove strlen and strnlen related parts.
29308 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29309 Inline strlen part.
29310 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29312 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29313 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29314 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29315 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29316 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29317 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29319 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29321 * manual/memory.texi (Malloc Tunable Parameters):
29322 Sort parameters alphabetically. Add comments for missing entries.
29324 2013-03-17 David S. Miller <davem@davemloft.net>
29326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29328 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29331 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29332 for arguments at most half maximum finite value.
29333 * math/libm-test.inc (j0_test): Add more tests.
29334 (j1_test): Likewise.
29335 (y0_test): Likewise.
29336 (y1_test): Likewise.
29337 * sysdeps/i386/fpu/libm-test-ulps: Update.
29338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29341 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29342 1 / x and functions P and Q for arguments above 0x1p256L.
29343 (__ieee754_y0l): Likewise.
29344 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29345 (__ieee754_y1l): Likewise.
29346 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29347 (j1_test): Likewise.
29348 (y0_test): Likewise.
29349 (y1_test): Likewise.
29351 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29353 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29356 2013-03-15 Roland McGrath <roland@hack.frob.com>
29358 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29359 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29360 zero since it's initialized to EXEC_PAGESIZE.
29362 * sysdeps/unix/sysv/linux/ldsodefs.h
29363 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29364 * sysdeps/generic/ldsodefs.h: ... here.
29366 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29368 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29370 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29372 * math/test-snan.c: Renamed from
29373 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29374 * math/Makefile (tests): Add test-snan.
29375 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29378 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29379 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29381 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29382 __builtin_nan family of functions.
29383 * math/libm-test.inc (initialize): Initialize qnan_value with
29384 __builtin_nan family of functions.
29385 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29387 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29389 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29390 storage class. Initialize qNaN_var and sNaN_var with
29391 __builtin_nan and __builtin_nans families of functions,
29394 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29395 (sqrt_test): Remove duplicate test with qNaN input.
29396 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29397 (round_test, signbit_test, significand_test): Note missing +/-Inf
29398 as well as qNaN tests.
29400 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29401 qNaN_var. Fix a few strings, too.
29402 * math/libm-test.inc (nan_value): Rename to qnan_value.
29403 * math/gen-libm-test.pl (%beautify): Adjust to that.
29404 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29405 * math/test-misc.c (main): Likewise.
29406 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29407 to __qnan_bytes, and __qnan_union, respectively.
29408 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29410 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29411 and lqnanval, respectively.
29412 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29413 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29414 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29415 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29417 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29418 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29421 * math/test-misc.c (main): Fix copy'n'pastos.
29422 * misc/tst-efgcvt.c (special): Likewise.
29424 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29425 Remove declarations.
29427 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29429 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29430 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29431 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29432 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29434 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29436 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29437 macro to return vdso values correctly in IFUNC implementations.
29438 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29439 Optimization by using IFUNC.
29441 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29442 Richard Henderson <rth@redhat.com>
29443 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29445 * Makefile.in (bench): New target.
29446 * NEWS: Mention the benchmark framework.
29447 * Rules (bench): Likewise.
29448 (binaries-bench): Generate binaries for functions to
29450 * benchtests/Makefile: New makefile for benchmark tests.
29451 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29453 * benchtests/exp-inputs: New input file for EXP function.
29454 * benchtests/pow-inputs: New input file for POW function.
29455 * scripts/bench.pl: New script to generate source files for
29456 benchmark programs.
29458 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29460 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29461 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29462 computations on mantissa. Use macros for rounding and
29464 (denorm): Likewise.
29465 (__dbl_mp): Likewise.
29466 (add_magnitudes): Likewise.
29467 (sub_magnitudes): Likewise.
29470 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29471 powers of two in terms of TWOPOW macro.
29472 (mp_no): Make type of mantissa as MANTISSA_T.
29473 [!RADIXI]: Define RADIXI.
29474 [!TWO52]: Define TWO52.
29475 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29477 * manual/nptl.texi (cindex): Modify threads to pthreads.
29479 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29481 * sysdeps/x86_64/preconfigure: Regenerated.
29483 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29486 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29488 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29489 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29491 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29492 * math/libm-test.inc (j0_test): Do not allow one spurious
29493 underflow exception.
29494 (y1_test): Likewise.
29496 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29498 * manual/Makefile (chapters): Add nptl.
29499 * manual/debug.texi (Debugging Support): Add link to Threads
29501 * manual/nptl.texi: New file.
29503 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29505 2013-03-14 Petr Baudis <pasky@ucw.cz>
29507 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29508 for non-NULL pointer before the memory validity test. Pointed
29509 out by Holger Brunck <holger.brunck@keymile.com>.
29511 2013-03-13 Andreas Schwab <schwab@suse.de>
29513 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29516 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29518 * timezone/zic.c: Update from tzcode 2013b.
29520 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29522 * manual/install.texi (Configuring and compiling):
29523 Mention i686 and i586.
29524 * INSTALL: Regenerate.
29526 2013-03-12 Roland McGrath <roland@hack.frob.com>
29528 * sysdeps/init_array/elf-init.c: New file.
29530 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29531 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29533 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29534 __gmon_start__ as global, but as static with a .preinit_array pointer.
29535 * sysdeps/init_array/gmon-start.c: New file. Use that.
29536 * sysdeps/init_array/crti.S: New file, empty except for comments.
29537 * sysdeps/init_array/crtn.S: Likewise.
29539 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29541 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29544 Remove Prefer_SSE_for_memop.
29545 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29546 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29547 HAS_PREFER_SSE_FOR_MEMOP.
29548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29551 Remove bzero, memset ifunc support.
29552 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29553 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29554 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29555 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29557 2013-03-11 Andreas Schwab <schwab@suse.de>
29560 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29563 (GLIBC_2.16): Remove pthread_atfork.
29565 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29567 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29568 (ptestcases.h): Likewise.
29570 2013-03-08 Roland McGrath <roland@hack.frob.com>
29572 * Makeconfig ($(common-objpfx)config.status): Depend on
29573 sysdeps/*/preconfigure{,.in} too.
29575 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29577 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29578 (__free_hook): Use void * instead of __malloc_ptr_t.
29579 (__malloc_hook): Likewise.
29580 (__realloc_hook): Likewise.
29581 (__memalign_hook): Likewise.
29582 (__after_morecore_hook): Likewise.
29583 * malloc/arena.c (save_malloc_hook): Likewise.
29584 (save_free_hook): Likewise.
29585 * malloc/hooks.c (malloc_hook_ini): Likewise.
29586 (realloc_hook_ini): Likewise.
29587 (memalign_hook_ini): Likewise.
29588 * malloc/malloc.c (malloc_hook_ini): Likewise.
29589 (realloc_hook_ini): Likewise.
29590 (memalign_hook_ini): Likewise.
29591 (__free_hook): Likewise.
29592 (__malloc_hook): Likewise.
29593 (__realloc_hook): Likewise.
29594 (__memalign_hook): Likewise.
29595 (__libc_malloc): Likewise.
29596 (__libc_free): Likewise.
29597 (__libc_realloc): Likewise.
29598 (__libc_memalign): Likewise.
29599 (__libc_valloc): Likewise.
29600 (__libc_pvalloc): Likewise.
29601 (__libc_calloc): Likewise.
29602 (__posix_memalign): Likewise.
29603 * malloc/morecore.c (__sbrk): Likewise.
29604 (__default_morecore): Likewise.
29606 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29608 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29609 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29610 __malloc_ptrdiff_t.
29612 * malloc/malloc.h (__malloc_size_t): Remove macro.
29613 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29615 (old_memalign_hook): Likewise.
29616 (old_realloc_hook): Likewise.
29617 (struct hdr): Likewise.
29619 (mallochook): Likewise.
29620 (memalignhook): Likewise.
29621 (reallochook): Likewise.
29622 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29623 (tr_old_realloc_hook): Likewise.
29624 (tr_old_memalign_hook): Likewise.
29625 (tr_mallochook): Likewise.
29626 (tr_reallochook): Likewise.
29627 (tr_memalignhook): Likewise.
29629 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29631 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29632 default_ldbl_pack and using as default implementation.
29633 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29635 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29636 redundant definition.
29637 (ldbl_insert_mantissa): Likewise.
29638 (ldbl_canonicalize): Likewise.
29639 (ldbl_nearbyint): Likewise.
29640 (ldbl_pack): Rename to ldbl_pack_ppc.
29641 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29642 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29643 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29645 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29648 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29649 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29650 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29652 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29653 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29654 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29656 2013-03-07 Andreas Jaeger <aj@suse.de>
29658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29661 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29663 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29664 Include mpa.h and declare __MPEXP.
29665 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29666 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29667 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29668 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29669 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29670 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29671 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29673 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29674 (__slowpow): Use long double EXPL and LOGL functions to
29676 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29677 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29678 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29679 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29680 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29681 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29684 intermediate variable to calculate exponent.
29686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29690 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29691 [!NO__SQR]: Define __sqr.
29692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29693 and NO__SQR. Remove all code except __mul and __sqr. Include
29694 sysdeps/ieee754/dbl-64/mpa.c.
29695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29698 * posix/Makefile (tests): Add tst-pathconf.
29699 * posix/tst-pathconf.c: New test case.
29700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29702 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29704 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29706 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29708 2013-03-06 Andreas Jaeger <aj@suse.de>
29710 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29711 definition via __MAP_ANONYMOUS.
29713 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29714 it's not part of Linux headers.
29716 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29717 (MAP_HUGE_MASK): Define.
29719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29721 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29724 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29725 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29727 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29728 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29730 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29732 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29733 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29734 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29735 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29736 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29737 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29743 Handle f2fs and efivarfs.
29745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29748 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29749 (EFIVARFS_MAGIC): Add.
29750 (F2FS_LINK_MAX): Add.
29752 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29754 * stdio-common/vfprintf.c: Replace __builtin_expect with
29757 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29760 * sysdeps/generic/bp-sym.h: Remove file.
29761 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29762 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29763 <bp-sym.h> and <bp-asm.h>.
29764 (__longjmp): Don't use BP_SYM.
29765 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29767 (memcpy): Don't use BP_SYM.
29768 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29769 <bp-sym.h> and <bp-asm.h>.
29770 (memcpy): Don't use BP_SYM.
29771 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29773 (memcpy): Don't use BP_SYM.
29774 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29776 (memset): Don't use BP_SYM.
29777 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29778 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29779 (__bzero): Don't use BP_SYM.
29780 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29781 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29782 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29783 <bp-sym.h> and <bp-asm.h>.
29784 (memcmp): Don't use BP_SYM. Remove comment about bounded
29786 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29787 <bp-sym.h> and <bp-asm.h>.
29788 (memcpy): Don't use BP_SYM.
29789 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29790 <bp-sym.h> and <bp-asm.h>.
29791 (memset): Don't use BP_SYM.
29792 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29793 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29794 (__bzero): Don't use BP_SYM.
29795 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29796 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29797 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29798 <bp-sym.h> and <bp-asm.h>.
29799 (strncmp): Don't use BP_SYM. Remove comment about bounded
29801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29802 <bp-sym.h> and <bp-asm.h>.
29803 (memcpy): Don't use BP_SYM.
29804 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29805 <bp-sym.h> and <bp-asm.h>.
29806 (memset): Don't use BP_SYM.
29807 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29808 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29809 (__bzero): Don't use BP_SYM.
29810 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29811 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29812 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29813 <bp-sym.h> and <bp-asm.h>.
29814 (__memchr): Don't use BP_SYM.
29815 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29816 <bp-sym.h> and <bp-asm.h>.
29817 (memcmp): Don't use BP_SYM. Remove comment about bounded
29819 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29820 <bp-sym.h> and <bp-asm.h>.
29821 (memcpy): Don't use BP_SYM.
29822 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29823 <bp-sym.h> and <bp-asm.h>.
29824 (__mempcpy): Don't use BP_SYM.
29825 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29826 <bp-sym.h> and <bp-asm.h>.
29827 (__memrchr): Don't use BP_SYM.
29828 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29829 <bp-sym.h> and <bp-asm.h>.
29830 (memset): Don't use BP_SYM.
29831 (__bzero): Likewise.
29832 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29833 <bp-sym.h> and <bp-asm.h>.
29834 (__rawmemchr): Don't use BP_SYM.
29835 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29836 <bp-sym.h> and <bp-asm.h>.
29837 (__STRCMP): Don't use BP_SYM.
29838 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29839 <bp-sym.h> and <bp-asm.h>.
29840 (strchr): Don't use BP_SYM.
29841 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29842 <bp-sym.h> and <bp-asm.h>.
29843 (__strchrnul): Don't use BP_SYM.
29844 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29845 <bp-sym.h> and <bp-asm.h>.
29846 (strlen): Don't use BP_SYM.
29847 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29848 <bp-sym.h> and <bp-asm.h>.
29849 (strncmp): Don't use BP_SYM. Remove comment about bounded
29851 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29852 <bp-sym.h> and <bp-asm.h>.
29853 (__strnlen): Don't use BP_SYM.
29854 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29855 <bp-sym.h> and <bp-asm.h>.
29856 (__GI__setjmp): Don't use BP_SYM.
29857 (_setjmp): Likewise.
29858 (__sigsetjmp): Likewise.
29859 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29860 (L(start_addresses)): Don't use BP_SYM.
29861 (_start): Likewise.
29862 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29864 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29865 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29866 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29867 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29868 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29870 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29871 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29872 about bounded pointers.
29873 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29874 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29875 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29877 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29878 about bounded pointers. Remove GKM FIXME comments.
29879 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29880 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29882 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29883 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29884 Remove GKM FIXME comments.
29885 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29886 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29887 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29889 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29890 about bounded pointers. Remove GKM FIXME comment.
29891 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29893 (strncmp): Don't use BP_SYM. Remove comment about bounded
29895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29896 <bp-sym.h> and <bp-asm.h>.
29897 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29899 <bp-sym.h> and <bp-asm.h>.
29900 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29903 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29905 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29908 2013-03-05 David S. Miller <davem@davemloft.net>
29910 * po/es.po: Update from translation team.
29912 2013-03-05 Andreas Jaeger <aj@suse.de>
29914 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29915 <bits/mman-linux.h>.
29916 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29918 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29919 <bits/mman-linux.h> to end of file.
29920 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29922 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29923 <bits/mman-linux.h> to end of file.
29924 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29926 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29927 <bits/mman-linux.h> to end of file.
29929 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29930 (MCL_CURRENT, MCL_FUTURE): Define here.
29932 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29935 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29937 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29939 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29941 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29942 fourth parameter needed for rt_sigprocmask syscall.
29943 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29944 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29945 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29946 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29947 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29948 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29950 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29953 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29954 comment about bounded pointers.
29955 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29956 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29958 2013-03-04 Andreas Jaeger <aj@suse.de>
29960 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29961 common definitions.
29963 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29964 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29965 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29966 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29967 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29968 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29970 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29973 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29974 __ieee754_sqrl instead of __sqrl.
29976 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29978 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29979 * sysdeps/powerpc/fpu_control.h: ... here.
29980 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29981 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29982 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29983 * sysdeps/powerpc/bits/mathinline.h: ... here.
29985 2013-03-01 Roland McGrath <roland@hack.frob.com>
29987 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29988 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29989 to just [NEED_DL_SYSINFO_DSO].
29990 * elf/dl-support.c: Likewise.
29991 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29992 * elf/rtld.c (dl_main): Likewise.
29993 * elf/setup-vdso.h (setup_vdso): Likewise.
29994 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29995 * sysdeps/unix/sysv/linux/dl-sysdep.c
29996 (_dl_discover_osversion): Likewise.
29998 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30000 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30001 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30003 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30005 * NEWS: Mention libm performance improvements and non-x86 PI
30008 * csu/libc-start.c (__pthread_initialize_minimal): Change
30009 function arguments.
30010 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30012 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30015 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30016 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30017 <bp-sym.h> and <bp-asm.h>.
30018 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30019 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30021 (memcpy): Don't use BP_SYM.
30022 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30024 (__mpn_add_n): Don't use BP_SYM.
30025 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30026 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30028 (__mpn_addmul_1): Don't use BP_SYM.
30029 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30030 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30032 (_setjmp): Don't use BP_SYM.
30033 (__novmx_setjmp): Likewise.
30034 (__GI__setjmp): Likewise.
30035 (__vmx_setjmp): Likewise.
30036 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30038 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30039 (__bzero): Don't use BP_SYM.
30040 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30041 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30042 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30043 <bp-sym.h> and <bp-asm.h>.
30044 (memcpy): Don't use BP_SYM.
30045 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30046 <bp-sym.h> and <bp-asm.h>.
30047 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30048 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30049 <bp-sym.h> and <bp-asm.h>.
30050 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30051 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30053 (__mpn_lshift): Don't use BP_SYM.
30054 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30055 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30057 (memset): Don't use BP_SYM.
30058 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30059 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30060 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30062 (__mpn_mul_1): Don't use BP_SYM.
30063 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30064 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30065 <bp-sym.h> and <bp-asm.h>.
30066 (memcmp): Don't use BP_SYM.
30067 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30068 <bp-sym.h> and <bp-asm.h>.
30069 (memcpy): Don't use BP_SYM.
30070 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30071 <bp-sym.h> and <bp-asm.h>.
30072 (memset): Don't use BP_SYM.
30073 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30074 <bp-sym.h> and <bp-asm.h>.
30075 (strncmp): Don't use BP_SYM.
30076 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30077 <bp-sym.h> and <bp-asm.h>.
30078 (memcpy): Don't use BP_SYM.
30079 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30080 <bp-sym.h> and <bp-asm.h>.
30081 (memset): Don't use BP_SYM.
30082 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30083 <bp-sym.h> and <bp-asm.h>.
30084 (__memchr): Don't use BP_SYM.
30085 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30086 <bp-sym.h> and <bp-asm.h>.
30087 (memcmp): Don't use BP_SYM.
30088 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30089 <bp-sym.h> and <bp-asm.h>.
30090 (memcpy): Don't use BP_SYM.
30091 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30092 <bp-sym.h> and <bp-asm.h>.
30093 (__mempcpy): Don't use BP_SYM.
30094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30095 <bp-sym.h> and <bp-asm.h>.
30096 (__memrchr): Don't use BP_SYM.
30097 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30098 <bp-sym.h> and <bp-asm.h>.
30099 (memset): Don't use BP_SYM.
30100 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30101 <bp-sym.h> and <bp-asm.h>.
30102 (__rawmemchr): Don't use BP_SYM.
30103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30104 <bp-sym.h> and <bp-asm.h>.
30105 (__STRCMP): Don't use BP_SYM.
30106 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30107 <bp-sym.h> and <bp-asm.h>.
30108 (strchr): Don't use BP_SYM.
30109 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30110 <bp-sym.h> and <bp-asm.h>.
30111 (__strchrnul): Don't use BP_SYM.
30112 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30113 <bp-sym.h> and <bp-asm.h>.
30114 (strlen): Don't use BP_SYM.
30115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30116 <bp-sym.h> and <bp-asm.h>.
30117 (strncmp): Don't use BP_SYM.
30118 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30119 <bp-sym.h> and <bp-asm.h>.
30120 (__strnlen): Don't use BP_SYM.
30121 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30123 (__mpn_rshift): Don't use BP_SYM.
30124 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30125 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30126 <bp-sym.h> and <bp-asm.h>.
30127 (__sigsetjmp): Don't use BP_SYM.
30128 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30129 (L(start_addresses)): Don't use BP_SYM.
30130 (_start): Likewise.
30131 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30133 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30134 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30135 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30136 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30138 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30139 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30140 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30141 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30143 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30145 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30146 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30148 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30150 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30151 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30152 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30154 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30156 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30158 (strncmp): Don't use BP_SYM,
30159 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30161 (__mpn_sub_n): Don't use BP_SYM.
30162 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30163 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30165 (__mpn_submul_1): Don't use BP_SYM.
30166 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30168 <bp-sym.h> and <bp-asm.h>.
30169 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30171 <bp-sym.h> and <bp-asm.h>.
30172 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30175 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30178 Use ZK to minimize writes to Z.
30179 (sub_magnitudes): Simplify code a bit.
30180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30181 Use ZK to minimize writes to Z.
30182 (sub_magnitudes): Simplify code a bit.
30184 2013-02-27 Roland McGrath <roland@hack.frob.com>
30186 * csu/gmon-start.c: Add special exception to license text.
30188 2013-02-27 Richard Henderson <rth@redhat.com>
30190 * scripts/config.guess: Update from config.git.
30191 * scripts/config.sub: Likewise.
30193 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30195 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30197 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30199 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30201 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30203 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30205 2013-02-26 Roland McGrath <roland@hack.frob.com>
30207 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30208 [$(build-shared = yes].
30210 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30212 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30213 (__mul): Reduce iterations for calculating mantissa.
30215 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30217 (__mpranred): Likewise.
30220 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30221 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30223 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30225 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30226 Define __attribute__.
30228 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30230 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30232 * posix/regex_internal.h (__attribute): Remove.
30233 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30234 (re_string_context_at): Likewise.
30235 (bitset_not): Use __attribute__ and mark function as possibly
30237 (bitset_merge): Likewise.
30238 (bitset_mask): Likewise.
30239 (re_string_char_size_at): Likewise.
30240 (re_string_wchar_at): Likewise.
30241 (re_string_elem_size_at): Likewise.
30243 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30245 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30249 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30253 (denorm): Likewise.
30254 (__dbl_mp): Likewise.
30255 (add_magnitudes): Likewise.
30256 (sub_magnitudes): Likewise.
30260 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30263 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30266 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30270 up changes with default code.
30271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30274 2013-02-24 Allan McRae <allan@archlinux.org>
30276 * manual/socket.texi (The Internet Namespace): Order menu items
30277 to match that in the file.
30279 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30280 node listing of the info page menu.
30282 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30285 * sysdeps/i386/bp-asm.h: Remove file.
30286 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30287 (PARMS): Do not use macros from bp-asm.h.
30291 (__mpn_add_n): Do not use BP_SYM
30292 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30294 (PARMS): Do not use macros from bp-asm.h.
30297 (__mpn_addmul_1): Do not use BP_SYM
30298 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30300 (PARMS): Do not use macros from bp-asm.h.
30301 (SIGMSK): Likewise.
30302 (_setjmp): Likewise. Do not use BP_SYM.
30303 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30305 (PARMS): Do not use macros from bp-asm.h.
30306 (SIGMSK): Likewise.
30307 (setjmp): Likewise. Do not use BP_SYM.
30308 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30310 (PARMS): Do not use macros from bp-asm.h.
30311 (__frexp): Do not use BP_SYM.
30313 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30315 (PARMS): Do not use macros from bp-asm.h.
30316 (__frexpf): Do not use BP_SYM.
30317 (frexpf): Likewise.
30318 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30320 (PARMS): Do not use macros from bp-asm.h.
30321 (__frexpl): Do not use BP_SYM.
30322 (frexpl): Likewise.
30323 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30325 (PARMS): Do not use macros from bp-asm.h.
30326 (__remquo): Do not use BP_SYM.
30327 (remquo): Likewise.
30328 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30330 (PARMS): Do not use macros from bp-asm.h.
30331 (__remquof): Do not use BP_SYM.
30332 (remquof): Likewise.
30333 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30335 (PARMS): Do not use macros from bp-asm.h.
30336 (__remquol): Do not use BP_SYM.
30337 (remquol): Likewise.
30338 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30340 (PARMS): Do not use macros from bp-asm.h.
30343 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30344 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30346 (PARMS): Do not use macros from bp-asm.h.
30347 (strlen): Do not use BP_SYM.
30348 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30350 (PARMS): Do not use macros from bp-asm.h.
30354 (__mpn_add_n): Do not use BP_SYM.
30355 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30357 (PARMS): Do not use macros from bp-asm.h.
30360 (__mpn_addmul_1): Do not use BP_SYM.
30361 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30364 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30366 (PARMS): Do not use macros from bp-asm.h.
30369 (__mpn_lshift): Do not use BP_SYM.
30370 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30372 (PARMS): Do not use macros from bp-asm.h.
30376 (memcpy): Likewise. Do not use BP_SYM.
30377 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30378 libc_hidden_def and weak_alias.
30379 (mempcpy): Do not use BP_SYM in weak_alias.
30380 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30382 (PARMS): Do not use macros from bp-asm.h.
30385 [!BZERO_P] (CHR): Likewise.
30386 (memset): Likewise. Do not use BP_SYM.
30387 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30389 (PARMS): Do not use macros from bp-asm.h.
30392 (__mpn_mul_1): Do not use BP_SYM.
30393 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30395 (PARMS): Do not use macros from bp-asm.h.
30398 (__mpn_rshift): Do not use BP_SYM.
30399 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30401 (PARMS): Do not use macros from bp-asm.h.
30404 (strchr): Likewise. Do not use BP_SYM.
30405 (index): Do not use BP_SYM in weak_alias.
30406 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30408 (PARMS): Do not use macros from bp-asm.h.
30411 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30412 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30414 (PARMS): Do not use macros from bp-asm.h.
30415 (strlen): Do not use BP_SYM.
30416 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30418 (PARMS): Do not use macros from bp-asm.h.
30422 (__mpn_sub_n): Do not use BP_SYM.
30423 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30425 (PARMS): Do not use macros from bp-asm.h.
30428 (__mpn_submul_1): Do not use BP_SYM.
30429 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30431 (PARMS): Do not use macros from bp-asm.h.
30435 (__mpn_add_n): Do not use BP_SYM.
30436 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30439 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30441 (PARMS): Do not use macros from bp-asm.h.
30444 (memcmp): Do not use BP_SYM.
30445 (bcmp): Do not use BP_SYM in weak_alias.
30446 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30448 (PARMS): Do not use macros from bp-asm.h.
30452 (memcpy): Likewise. Do not use BP_SYM.
30453 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30455 (PARMS): Do not use macros from bp-asm.h.
30459 (memmove): Likewise. Do not use BP_SYM.
30460 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30462 (PARMS): Do not use macros from bp-asm.h.
30466 (__mempcpy): Likewise. Do not use BP_SYM.
30467 (mempcpy): Do not use BP_SYM in weak_alias.
30468 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30470 (PARMS): Do not use macros from bp-asm.h.
30473 [!BZERO_P] (CHR): Likewise.
30474 (memset): Likewise. Do not use BP_SYM.
30475 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30477 (PARMS): Do not use macros from bp-asm.h.
30479 (strcmp): Do not use BP_SYM.
30480 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30482 (PARMS): Do not use macros from bp-asm.h.
30485 [USE_AS_STRTOK_R] (SAVE): Likewise.
30486 (FUNCTION): Likewise. Do not use BP_SYM.
30487 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30489 (strtok_r): Likewise.
30490 (__GI___strtok_r): Likewise.
30491 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30492 (PARMS): Do not use macros from bp-asm.h.
30495 (__mpn_lshift): Do not use BP_SYM.
30496 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30497 (PARMS): Do not use macros from bp-asm.h.
30500 (__memchr): Do not use BP_SYM.
30501 (memchr): Do not use BP_SYM in weak_alias.
30502 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30503 (PARMS): Do not use macros from bp-asm.h.
30506 (memcmp): Do not use BP_SYM.
30507 (bcmp): Do not use BP_SYM in weak_alias.
30508 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30509 (PARMS): Do not use macros from bp-asm.h.
30512 (__mpn_mul_1): Do not use BP_SYM.
30513 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30515 (PARMS): Do not use macros from bp-asm.h.
30518 (__rawmemchr): Do not use BP_SYM.
30519 (rawmemchr): Do not use BP_SYM in weak_alias.
30520 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30521 (PARMS): Do not use macros from bp-asm.h.
30524 (__mpn_rshift): Do not use BP_SYM.
30525 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30526 (PARMS): Do not use macros from bp-asm.h.
30527 (SIGMSK): Likewise.
30528 (__sigsetjmp): Likewise. Do not use BP_SYM.
30529 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30530 (_start): Do not use BP_SYM.
30531 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30532 (PARMS): Do not use macros from bp-asm.h.
30535 (__stpcpy): Likewise. Do not use BP_SYM.
30536 (stpcpy): Do not use BP_SYM in weak_alias.
30537 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30539 (PARMS): Do not use macros from bp-asm.h.
30543 (__stpncpy): Likewise. Do not use BP_SYM.
30544 (stpncpy): Do not use BP_SYM in weak_alias.
30545 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30546 (PARMS): Do not use macros from bp-asm.h.
30549 (strchr): Likewise. Do not use BP_SYM.
30550 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30552 (PARMS): Do not use macros from bp-asm.h.
30555 (__strchrnul): Likewise. Do not use BP_SYM.
30556 (strchrnul): Do not use BP_SYM in weak_alias.
30557 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30559 (PARMS): Do not use macros from bp-asm.h.
30561 (strcspn): Do not use BP_SYM.
30562 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30564 (PARMS): Do not use macros from bp-asm.h.
30567 (strpbrk): Likewise. Do not use BP_SYM.
30568 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30570 (PARMS): Do not use macros from bp-asm.h.
30573 (strrchr): Likewise. Do not use BP_SYM.
30574 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30575 (PARMS): Do not use macros from bp-asm.h.
30577 (strspn): Do not use BP_SYM.
30578 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30579 (PARMS): Do not use macros from bp-asm.h.
30583 (FUNCTION): Likewise. Do not use BP_SYM.
30584 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30586 (strtok_r): Likewise.
30587 (__GI___strtok_r): Likewise.
30588 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30589 (PARMS): Do not use macros from bp-asm.h.
30593 (__mpn_sub_n): Do not use BP_SYM.
30594 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30596 (PARMS): Do not use macros from bp-asm.h.
30599 (__mpn_submul_1): Do not use BP_SYM.
30600 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30602 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30604 (PARMS): Do not use macros from bp-asm.h.
30609 (__clone): Do not use BP_SYM.
30610 (clone): Do not use BP_SYM in weak_alias.
30611 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30613 (PARMS): Do not use macros from bp-asm.h.
30615 (__mmap64): Do not use BP_SYM.
30616 (mmap64): Do not use BP_SYM in weak_alias.
30617 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30618 <bp-sym.h> and <bp-asm.h>.
30619 (PARMS): Do not use macros from bp-asm.h.
30620 (__posix_fadvise64_l64): Do not use BP_SYM.
30621 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30622 (PARMS): Do not use macros from bp-asm.h.
30624 (semtimedop): Do not use BP_SYM.
30625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30628 2013-02-21 Allan McRae <allan@archlinux.org>
30630 * manual/message.texi (Charset conversion in gettext):
30631 Move @end statement to beginning of line.
30633 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30640 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30641 (denorm): Likewise.
30642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30645 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30647 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30648 tail-call to the resolved function if pltexit isn't needed.
30650 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30653 or Y being zero as being unlikely.
30654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30657 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30659 * manual/nss.texi (System Databases and Name Service Switch):
30660 Remove frobnicate @pxref.
30662 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30664 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30665 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30667 2013-02-20 Petr Machata <pmachata@redhat.com>
30669 * elf/elf.h (R_ARM_TARGET1): New macro.
30670 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30671 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30672 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30673 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30674 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30675 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30676 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30677 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30678 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30679 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30680 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30681 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30682 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30683 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30684 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30685 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30686 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30687 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30688 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30689 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30690 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30691 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30692 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30693 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30694 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30695 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30696 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30697 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30698 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30699 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30700 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30701 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30702 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30703 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30704 (R_ARM_THM_GOT_BREL12): Likewise.
30705 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30706 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30707 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30708 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30709 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30710 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30711 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30712 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30713 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30715 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30717 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30718 __attribute_used__ to __attribute__ ((unused)).
30720 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30722 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30725 comment formatting.
30726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30728 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30731 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30733 (ENTER): Remove both macro definitions.
30735 (CHECK_BOUNDS_LOW): Likewise.
30736 (CHECK_BOUNDS_HIGH): Likewise.
30737 (CHECK_BOUNDS_BOTH): Likewise.
30738 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30739 (RETURN_BOUNDED_POINTER): Likewise.
30740 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30741 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30742 (POP_ERRNO_LOCATION_RETURN): Likewise.
30743 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30744 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30745 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30747 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30748 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30749 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30750 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30751 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30752 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30753 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30754 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30755 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30756 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30757 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30758 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30759 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30760 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30762 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30763 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30765 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30766 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30767 * sysdeps/i386/i586/memset.S (memset): Likewise.
30768 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30769 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30770 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30772 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30773 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30774 Change uses of L(2) to L(out).
30775 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30776 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30777 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30778 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30779 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30781 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30782 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30784 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30785 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30786 (RETURN): Do not use macro LEAVE.
30787 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30788 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30789 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30790 * sysdeps/i386/i686/memset.S (memset): Likewise.
30791 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30792 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30793 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30794 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30796 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30797 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30798 L(1_2) and L(1_3) into L(1).
30799 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30800 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30801 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30802 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30803 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30804 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30805 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30806 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30807 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30809 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30810 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30811 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30812 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30813 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30814 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30815 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30816 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30817 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30818 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30819 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30820 * sysdeps/i386/strspn.S (strspn): Likewise.
30821 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30823 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30824 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30825 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30826 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30827 L(1_3) into L(1_1).
30828 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30829 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30830 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30832 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30834 2013-02-19 Jakub Jelinek <jakub@redhat.com>
30836 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30839 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30841 * math/atest-exp.c (exp_mpn): Remove ROUND.
30842 * math/atest-exp2.c (exp_mpn): Likewise.
30843 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30845 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30846 * stdlib/tst-tls-atexit-lib.c: Likewise.
30847 * stdlib/tst-tls-atexit.c: Likewise.
30849 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30851 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30852 and __attribute_alloc_size__.
30854 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30856 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30857 __attribute_alloc_size__.
30858 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30859 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30861 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30863 * include/programs/xmalloc.h: New file.
30864 * catgets/gencat.c: Include it.
30865 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30866 * elf/pldd.c: Likewise.
30867 * iconv/iconv_charmap.c: Likewise.
30868 * iconv/iconvconfig.c: Likewise.
30869 * iconv/strtab.c: Likewise.
30870 * locale/programs/locale.c: Likewise.
30871 * locale/programs/localedef.h: Likewise.
30872 * locale/programs/simple-hash.c: Likewise.
30873 * nscd/nscd.h: Likewise.
30874 * nss/makedb.c: Likewise.
30875 * sysdeps/generic/ldconfig.h: Likewise.
30877 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30879 * Versions.def: Add GLIBC_2.18.
30880 * include/link.h (struct link_map): New member l_tls_dtor_count.
30881 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30882 (__call_tls_dtors): Likewise.
30883 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30884 __cxa_thread_atexit_impl.
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30901 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30902 (tests): Add test case tst-tls-atexit.
30903 (modules-names): Add shared library for tst-tls-atexit.
30904 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30905 (GLIBC_PRIVATE): Add __call_tls_dtors.
30906 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30908 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30909 * stdlib/tst-tls-atexit.c: New test case.
30910 * stdlib/tst-tls-atexit-lib.c: New test case.
30912 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30914 * elf/Versions (ld): Add _dl_find_dso_for_object.
30915 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30916 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30917 (dl_open_worker): Use _dl_find_dso_for_object.
30918 * elf/dl-sym.c (do_sym): Likewise.
30919 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30921 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30923 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30924 Syntactic changes only.
30925 (_dl_runtime_profile): Do a tail-call to the resolved function.
30927 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30930 * sysdeps/x86_64/bp-asm.h: Remove file.
30931 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30932 <bp-sym.h> and <bp-asm.h>.
30933 (__clone): Do not use BP_SYM.
30934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30935 <bp-sym.h> and <bp-asm.h>.
30936 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30937 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30939 (_setjmp): Do not use BP_SYM.
30940 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30942 (setjmp): Do not use BP_SYM.
30943 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30945 (mempcpy): Do not use BP_SYM in weak_alias.
30946 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30948 (strchr): Do not use BP_SYM.
30949 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30951 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30952 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30953 (_start): Do not use BP_SYM.
30954 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30956 (strcat): Do not use BP_SYM.
30957 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30959 (STRCMP): Do not use BP_SYM.
30960 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30962 (STRCPY): Do not use BP_SYM.
30963 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30965 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30967 (FUNCTION): Do not use BP_SYM.
30968 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30970 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30972 2013-02-17 Andreas Jaeger <aj@suse.de>
30974 * time/Versions: Sort entries.
30975 * string/Versions: Likewise.
30976 * resolv/Versions: Likewise.
30977 * posix/Versions: Likewise.
30978 * iconv/Versions: Likewise.
30979 * elf/Versions: Likewise.
30980 * wcsmbs/Versions: Likewise.
30982 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30984 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30985 loop termination condition.
30987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30988 variable to calculate EZ.
30991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30992 the lower precision input.
30994 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30997 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30998 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30999 (run-via-rtld-prefix): Do not handle %-bp tests.
31000 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31001 (all-object-suffixes): Remove .ob.
31002 (bppfx): Remove variable.
31003 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31004 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31005 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31006 [$(build-bounded) = yes] (libtype.ob): Likewise.
31007 * Makerules (elide-routines.ob): Remove variable.
31008 (do-tests-clean): Do not handle *-bp.out.
31009 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31010 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31011 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31012 (tests): Do not include $(tests-bp.out).
31013 (xtests): Do not include $(xtests-bp.out).
31014 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31015 [$(build-bounded) = yes] ($(addprefix
31016 $(objpfx),$(binaries-bounded))): Remove rule.
31017 ($(objpfx)%-bp.out): Remove rule.
31018 * config.make.in (build-bounded): Remove variable.
31019 * crypt/Makefile [$(build-bounded) = yes]
31020 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31021 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31022 append to variable.
31023 [$(build-bounded) = yes] (install-lib): Likewise.
31024 [$(build-bounded) = yes] (generated): Likewise.
31025 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31027 * intl/Makefile [$(build-bounded) = yes]
31028 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31029 * math/Makefile [$(build-bounded) = yes]
31030 ($(tests:%=$(objpfx)%-bp): Likewise.
31031 * misc/Makefile [$(build-bounded) = yes]
31032 ($(objpfx)tst-tsearch-bp): Likewise.
31033 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31034 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31036 * string/Makefile (o-objects.ob): Remove variable.
31037 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31038 (CFLAGS-.ob): Remove variable.
31039 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31040 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31041 both definitions of variable.
31042 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31043 (ASFLAGS-.ob): Remove variable.
31045 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31048 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31049 Remove __BOUNDED_POINTERS__ from condition.
31050 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31051 * string/bits/string2.h [!__NO_STRING_INLINES &&
31052 !__BOUNDED_POINTERS__]: Likewise.
31053 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31055 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31056 Remove conditional code.
31057 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31058 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31059 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31063 * csu/libc-start.c: Do not include <bp-sym.h>.
31064 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31065 * elf/dl-open.c: Do not include <bp-sym.h>.
31066 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31067 * math/fegetenv.c: Do not include <bp-sym.h>.
31068 (fegetenv): Do not use BP_SYM in versioned symbols.
31069 * nptl/sysdeps/pthread/bits/libc-lockP.h
31070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31073 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31075 (__pthread_mutex_destroy): Likewise.
31076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31077 (__pthread_mutex_lock): Likewise.
31078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31079 (__pthread_mutex_trylock): Likewise.
31080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31081 (__pthread_mutex_unlock): Likewise.
31082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31083 (__pthread_mutexattr_init): Likewise.
31084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31085 (__pthread_mutexattr_destroy): Likewise.
31086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31087 (__pthread_mutexattr_settype): Likewise.
31088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31089 (__pthread_rwlock_init): Likewise.
31090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31091 (__pthread_rwlock_destroy): Likewise.
31092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31093 (__pthread_rwlock_rdlock): Likewise.
31094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31095 (__pthread_rwlock_tryrdlock): Likewise.
31096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31097 (__pthread_rwlock_wrlock): Likewise.
31098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31099 (__pthread_rwlock_trywrlock): Likewise.
31100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31101 (__pthread_rwlock_unlock): Likewise.
31102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31103 (__pthread_key_create): Likewise.
31104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31105 (__pthread_setspecific): Likewise.
31106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31107 (__pthread_getspecific): Likewise.
31108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31111 (_pthread_cleanup_push_defer): Likewise.
31112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31113 (_pthread_cleanup_pop_restore): Likewise.
31114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31115 (pthread_setcancelstate): Likewise.
31116 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31118 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31119 (memchr): Do not use BP_SYM in weak_alias.
31120 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31121 (fegetenv): Do not use BP_SYM in versioned symbols.
31122 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31123 (fesetenv): Do not use BP_SYM in versioned symbols.
31124 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31125 (feupdateenv): Do not use BP_SYM in versioned symbols.
31126 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31127 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31128 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31129 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31130 (open64): Do not use BP_SYM in weak_alias.
31131 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31132 (fegetenv): Do not use BP_SYM in versioned symbols.
31133 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31134 (fesetenv): Do not use BP_SYM in versioned symbols.
31135 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31136 (feupdateenv): Do not use BP_SYM in versioned symbols.
31137 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31138 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31139 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31140 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31141 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31142 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31143 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31145 (__libc_start_main): Do not use BP_SYM.
31147 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31150 redundant return line.
31152 (denorm): Likewise.
31153 (dbl_mp): Likewise.
31154 (sub_magnitudes): Likewise.
31160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31162 (denorm): Likewise.
31163 (dbl_mp): Likewise.
31164 (sub_magnitudes): Likewise.
31171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31173 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31174 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31177 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31178 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31180 of __mul for squares.
31181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31185 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31186 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31188 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31191 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31193 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31194 prototype or function definition. Rename ubp_* variables and
31195 parameters. Remove argv definitions conditional on
31196 [__BOUNDED_POINTERS__].
31197 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31198 * elf/dl-runtime.c (_dl_fixup): Likewise.
31199 * include/set-hooks.h (RUN_HOOK): Likewise.
31200 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31202 * string/strcpy.c (strcpy): Do not use __unbounded.
31203 * sysdeps/generic/frame.h (struct layout): Likewise.
31204 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31205 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31206 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31207 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31208 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31209 (__backtrace): Likewise.
31210 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31212 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31213 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31214 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31216 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31217 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31218 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31219 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31220 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31221 Do not use __unbounded.
31222 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31223 Rename __unboundedrlimits parameter to rlimits in prototype.
31224 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31225 Do not use __unbounded.
31226 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31227 not use __ptrvalue.
31228 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31229 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31230 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31231 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31232 __ptrvalue or __unbounded.
31233 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31234 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31236 (__new_msgctl): Do not use __ptrvalue.
31237 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31239 (__libc_msgrcv): Do not use __ptrvalue.
31240 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31241 startup_info): Do not use __unbounded.
31242 (__libc_start_main): Likewise. Rename ubp_* variables and
31243 parameters. Remove argv definitions conditional on
31244 [__BOUNDED_POINTERS__].
31245 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31247 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31249 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31251 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31253 (__new_shmctl): Do not use __ptrvalue.
31254 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31255 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31257 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31258 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31259 (__libc_sigaction): Likewise.
31260 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31261 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31263 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31265 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31267 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31269 * string/mempcpy.c: Implement by calling memcpy.
31271 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31279 values in the mantissa.
31281 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31282 minimize writes to Z.
31283 (sub_magnitudes): Simplify code a bit.
31285 2013-02-12 Roland McGrath <roland@hack.frob.com>
31287 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31288 from the message. The linker prefixes all warnings with that already.
31290 2013-02-12 Andreas Schwab <schwab@suse.de>
31293 * posix/regexec.c (extend_buffers): Add parameter min_len.
31294 (check_matching): Pass minimum needed length.
31295 (clean_state_log_if_needed): Likewise.
31296 (get_subexp): Likewise.
31297 * posix/Makefile (tests): Add bug-regex34.
31298 (bug-regex34-ENV): Define.
31299 * posix/bug-regex34.c: New file.
31302 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31303 elements compare against the byte sequence of it, not its name.
31304 * posix/Makefile (tests): Add bug-regex35.
31305 (bug-regex35-ENV): Define.
31306 * posix/bug-regex35.c: New file.
31308 2013-02-11 Tom de Vries <tom@codesourcery.com>
31310 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31312 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31313 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31314 (CHECK_EOL): Add undef.
31316 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31318 * bits/stdlib-bsearch.h: New file.
31319 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31320 * stdlib/stdlib.h: Likewise.
31322 2013-02-11 Roland McGrath <roland@hack.frob.com>
31324 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31325 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31327 * manual/search.texi (Array Search Function): Add missing const in
31329 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31330 declaration to use rlim_t.
31331 (Basic Scheduling Functions): Remove erroneous const from
31332 sched_getparam prototype. Remove erroneous * from
31333 sched_get_priority_max and sched_get_priority_min prototypes.
31334 (Resource Usage): Fix summary @comment on vtimes to refer to
31335 sys/vtimes.h rather than vtimes.h.
31336 Add missing *s in vtimes prototype.
31337 (Limits on Resources): Fix ulimit prototype to return long int.
31338 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31339 prototypes to use long int rather than double.
31340 (BSD Random): Fix initstate and setstate to use char *, not void *.
31341 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31342 prototype to make second argument 'struct aiocb64 *const[]'.
31343 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31344 (Status of AIO Operations): Remove erroneous const in aio_return and
31345 aio_return64 prototypes.
31346 (Synchronizing I/O): Fix sync prototype to return void.
31347 * manual/startup.texi (Suboptions): Remove an erroneous const in
31348 getsubopt prototype.
31349 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31350 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31351 use size_t rather than int.
31352 (Scanning All Users): Likewise for getpwent_r.
31353 (Setting Groups): Add missing const to setgroups prototype.
31354 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31355 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31356 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31357 'const void *' rather than 'const char *'.
31358 (Host Address Functions): Likewise for inet_ntop.
31359 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31360 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31361 ssize_t for return value.
31362 (Sending Data): Likewise for send, sendto, sendmsg.
31363 (Socket Option Functions): Add a missing const in setsockopt prototype.
31364 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31365 use wchar_t for the argument.
31366 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31367 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31369 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31370 double/float/long double for second argument.
31371 Fix return types of significand, significandf, significandl.
31372 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31373 argument in fchmod prototype.
31374 (File Owner): Use uid_t and gid_t in fchown prototype.
31375 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31376 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31377 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31378 use 'const struct dirent **' as argument types to CMP function pointer
31380 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31381 (File Times): Fix summary magic @comment for struct utimbuf and utime
31382 to refer to utime.h, not time.h.
31383 * manual/string.texi (Argz Functions): Add missing const in
31384 argz_extract and argz_next prototypes.
31385 (Finding Tokens in a String): Likewise for basename.
31386 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31387 (Copying and Concatenation): Fix typo in wmemmove prototype.
31388 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31389 (Signal Stack): Remove erroneous const in sigstack prototype.
31390 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31392 (Simple Calendar Time): Likewise for stime.
31393 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31395 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31396 say sys/sysctl.h instead.
31397 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31398 and vsyslog prototypes.
31400 2013-02-11 Tom de Vries <tom@codesourcery.com>
31402 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31405 2013-02-11 Roland McGrath <roland@hack.frob.com>
31407 * misc/sys/mman.h: Fix typo in mremap comment.
31409 2013-02-08 Roland McGrath <roland@hack.frob.com>
31411 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31412 the '\0' terminator.
31414 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31417 * debug/segfault.c: Don't include <bp-checks.h>.
31418 * sysdeps/generic/bp-checks.h: Remove file.
31419 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31420 (__GETDENTS): Don't use CHECK_N.
31421 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31422 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31423 (__getgroups): Don't use CHECK_N.
31424 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31425 (setgroups): Don't use CHECK_N.
31426 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31427 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31428 (__libc_msgrcv): Don't use CHECK_N.
31429 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31430 (__libc_msgsnd): Don't use CHECK_N.
31431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31433 (__libc_pread): Don't use CHECK_N.
31434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31435 include <bp-checks.h>.
31436 (__libc_pread64): Don't use CHECK_N.
31437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31438 include <bp-checks.h>.
31439 (__libc_pwrite): Don't use CHECK_N.
31440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31441 include <bp-checks.h>.
31442 (__libc_pwrite64): Don't use CHECK_N.
31443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31445 (__libc_pread): Don't use CHECK_N.
31446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31447 include <bp-checks.h>.
31448 (__libc_pread64): Don't use CHECK_N.
31449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31450 include <bp-checks.h>.
31451 (__libc_pwrite): Don't use CHECK_N.
31452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31453 include <bp-checks.h>.
31454 (__libc_pwrite64): Don't use CHECK_N.
31455 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31456 (do_pread): Don't use CHECK_N.
31457 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31458 (do_pread64): Don't use CHECK_N.
31459 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31460 (do_pwrite): Don't use CHECK_N.
31461 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31462 (do_pwrite64): Don't use CHECK_N.
31463 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31464 (__libc_readv): Don't use CHECK_N.
31465 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31466 (semop): Don't use CHECK_N.
31467 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31469 (semtimedop): Don't use CHECK_N.
31470 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31471 (__libc_pread): Don't use CHECK_N.
31472 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31474 (__libc_pread64): Don't use CHECK_N.
31475 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31477 (__libc_pwrite): Don't use CHECK_N.
31478 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31480 (__libc_pwrite64): Don't use CHECK_N.
31481 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31483 (__libc_msgrcv): Don't use CHECK_N.
31484 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31485 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31486 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31487 (__libc_writev): Don't use CHECK_N.
31489 2013-02-08 Roland McGrath <roland@hack.frob.com>
31491 * string/strcpy.c: Removed unused variable.
31493 * Makeconfig (+sysdep-includes): Define with := rather than =.
31494 Use an existing include/ subdir of each sysdeps dir before it.
31496 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31498 * nscd/connection.c (register_traced_file): Comment function.
31499 [HAVE_INOTIFY] (union __inev): Define.
31500 [HAVE_INOTIFY] (inotify_check_files): New function.
31501 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31502 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31504 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31506 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31508 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31509 loaded if not already and that a failure is permanent.
31511 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31514 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31515 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31517 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31520 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31521 (CHECK_1_NULL_OK): Likewise.
31522 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31523 (__fxstat): Do not use CHECK_1.
31524 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31526 (___fxstat64): Do not use CHECK_1.
31527 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31529 (__fxstatat): Do not use CHECK_1.
31530 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31532 (__fxstatat64): Do not use CHECK_1.
31533 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31535 (__fxstat): Do not use CHECK_1.
31536 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31538 (__fxstatat): Do not use CHECK_1.
31539 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31541 (__getresgid): Do not use CHECK_1.
31542 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31544 (__getresuid): Do not use CHECK_1.
31545 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31547 (__lxstat): Do not use CHECK_1.
31548 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31550 (__old_msgctl): Do not use CHECK_1.
31551 (__new_msgctl): Likewise.
31552 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31554 (__new_setrlimit): Do not use CHECK_1.
31555 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31557 (__old_shmctl): Do not use CHECK_1.
31558 (__new_shmctl): Likewise.
31559 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31561 (__xstat): Do not use CHECK_1.
31562 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31563 (__lxstat): Do not use CHECK_1.
31564 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31566 (___lxstat64): Do not use CHECK_1.
31567 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31568 (__old_msgctl): Do not use CHECK_1.
31569 (__new_msgctl): Likewise.
31570 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31572 (__gettimeofday): Do not use CHECK_1.
31573 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31574 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31575 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31577 (__gettimeofday): Do not use CHECK_1.
31578 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31579 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31580 (__new_shmctl): Do not use CHECK_1.
31581 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31583 (do_sigtimedwait): Do not use CHECK_1.
31584 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31586 (do_sigwaitinfo): Do not use CHECK_1.
31587 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31589 (msgctl): Do not use CHECK_1.
31590 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31592 (shmctl): Do not use CHECK_1.
31593 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31594 (ustat): Do not use CHECK_1.
31595 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31597 (__fxstat): Do not use CHECK_1.
31598 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31600 (__fxstatat): Do not use CHECK_1.
31601 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31603 (__lxstat): Do not use CHECK_1.
31604 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31606 (__xstat): Do not use CHECK_1.
31607 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31608 (__xstat): Do not use CHECK_1.
31609 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31610 (___xstat64): Do not use CHECK_1.
31613 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31615 (CHECK_BOUNDS_HIGH): Likewise.
31616 * string/strcpy.c: Do not include <bp-checks.h>.
31617 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31619 2013-02-07 Roland McGrath <roland@hack.frob.com>
31621 * nscd/nscd-client.h (__nscd_drop_map_ref):
31622 Add __attribute__ ((unused)).
31623 * nis/nss-nisplus.h (niserr2nss): Likewise.
31625 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31626 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31628 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31629 Remove inline keyword.
31630 * include/rounding-mode.h (round_away): Likewise.
31631 * libio/wfileops.c (adjust_wide_data): Likewise.
31632 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31633 (__m128i_strloadu_tolower): Likewise.
31634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31635 (__m128i_strloadu_tolower): Likewise.
31636 * time/mktime.c (ydhms_diff): Likewise.
31637 * locale/elem-hash.h (elem_hash): Likewise.
31638 * locale/setlocale.c (setdata): Likewise.
31639 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31640 (re_string_wchar_at): Likewise.
31641 (bitset_not, bitset_merge, bitset_mask): Likewise.
31642 [!(__GNUC__ > 3)] (inline): Remove macro.
31643 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31644 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31645 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31646 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31647 * string/memcmp.c (memcmp_bytes): Likewise.
31648 * locale/programs/locarchive.c (compute_hashval): Likewise.
31649 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31650 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31651 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31652 * nss/getent.c (print_rpc, print_protocols): Likewise.
31653 (print_passwd, print_group, print_aliases): Likewise.
31654 * nis/nss-nisplus.h (niserr2nss): Likewise.
31655 * nscd/connections.c (restart_p): Likewise.
31656 Change return type to bool.
31658 2013-02-05 Roland McGrath <roland@hack.frob.com>
31660 * Makeconfig (all-Depend-files): Add existing
31661 $(sorted-subdirs:=/Depend) files.
31662 (all-subdirs): Remove nss.
31663 * sysdeps/unix/inet/Subdirs: Add it here instead.
31664 * hesiod/Depend: New file.
31666 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31667 instead of calling alloca.
31669 * io/lseek.c (__lseek): Rename to __libc_lseek.
31670 Define __lseek as an alias.
31672 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31674 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31676 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31677 else clause and remove check for non-standard endianness.
31679 2013-02-04 David S. Miller <davem@davemloft.net>
31681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31683 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31686 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31687 (__ubp_memchr): Remove prototype.
31688 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31689 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31690 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31691 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31692 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31694 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31695 (__ubp_memchr): Likewise.
31696 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31697 (__ubp_memchr): Likewise.
31698 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31699 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31700 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31701 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31703 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31704 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31705 (__getcwd): Do not use CHECK_STRING.
31706 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31708 (__real_chown): Do not use CHECK_STRING.
31709 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31711 (fchownat): Do not use CHECK_STRING.
31712 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31714 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31716 (__lchown): Do not use CHECK_STRING.
31717 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31718 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31719 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31720 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31722 include <bp-checks.h>.
31723 (truncate64): Do not use CHECK_STRING.
31724 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31726 (__real_chown): Do not use CHECK_STRING.
31727 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31729 (__lchown): Do not use CHECK_STRING.
31730 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31732 (__chown): Do not use CHECK_STRING.
31733 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31735 (truncate64): Do not use CHECK_STRING.
31736 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31738 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31739 (__xmknod): Do not use CHECK_STRING.
31740 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31742 (__xmknodat): Do not use CHECK_STRING.
31743 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31744 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31746 2013-02-04 Andreas Schwab <schwab@suse.de>
31749 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31750 * include/netdb.h: Likewise for h_errno.
31751 * elf/tst-stackguard1.c: Include <tls.h>.
31753 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31755 * elf/link.h (struct link_map): Extend the l_addr comment.
31756 * include/link.h (struct link_map): Likewise.
31758 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31761 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31762 (BOUNDED_1): Remove macro.
31763 * debug/backtrace.c: Don't include <bp-checks.h>.
31764 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31765 (__backtrace): Likewise.
31766 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31768 (__backtrace): Don't use BOUNDED_1.
31769 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31771 (__backtrace): Don't use BOUNDED_1.
31772 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31773 (__backtrace): Don't use BOUNDED_1.
31774 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31775 (shmat): Don't use BOUNDED_N.
31777 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31780 * sysdeps/generic/bp-start.h: Remove file.
31781 * csu/libc-start.c: Don't include <bp-start.h>.
31782 (LIBC_START_MAIN): Set up __environ directly instead of using
31783 INIT_ARGV_and_ENVIRON.
31784 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31788 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31790 (CHECK_FCNTL): Likewise.
31791 (CHECK_N_PAGES): Likewise.
31794 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31796 (CHECK_SIGSET_NULL_OK): Likewise.
31797 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31799 (sigpending): Don't use CHECK_SIGSET.
31800 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31802 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31803 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31805 (do_sigsuspend): Don't use CHECK_SIGSET.
31806 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31808 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31809 (do_sigwait): Don't use CHECK_SIGSET.
31810 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31812 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31813 include <bp-checks.h>.
31814 (sigpending): Don't use CHECK_SIGSET.
31815 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31816 include <bp-checks.h>.
31817 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31818 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31820 (sigpending): Don't use CHECK_SIGSET.
31821 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31823 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31826 * sysdeps/generic/bp-semctl.h: Remove file.
31827 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31828 <bp-checks.h> and <bp-semctl.h>.
31829 (__old_semctl): Don't use CHECK_SEMCTL.
31830 (__new_semctl): Likewise.
31831 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31833 (__old_semctl): Don't use CHECK_SEMCTL.
31834 (__new_semctl): Likewise.
31835 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31836 <bp-checks.h> and <bp-semctl.h>.
31837 (__old_semctl): Don't use CHECK_SEMCTL.
31838 (__new_semctl): Likewise.
31839 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31840 <bp-checks.h> and <bp-semctl.h>.
31841 (semctl): Don't use CHECK_SEMCTL.
31844 * Makerules (elide-bp-thunks): Remove variable.
31845 (elide-routines.oS): Don't use $(elide-bp-thunks).
31846 (elide-routines.os): Likewise.
31847 (elide-routines.o): Likewise.
31848 (elide-routines.op): Likewise.
31849 (elide-routines.og): Likewise.
31850 (objects): Don't use $(bp-thunks).
31851 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31853 (common-generated): Do not add s-proto-bp.d.
31854 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31857 Do not generate makefile rules for bounded-pointer thunks.
31858 * sysdeps/generic/bp-thunks.h: Remove file.
31859 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31860 * sysdeps/unix/s-proto-bp.S: Likewise.
31863 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31864 parts of result separately when argument is not close to line from
31865 -i to i and one part of argument is small.
31866 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31867 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31868 * math/libm-test.inc (cacos_test): Add more tests.
31869 (casin_test): Likewise.
31870 (casinh_test): Likewise.
31871 * sysdeps/i386/fpu/libm-test-ulps: Update.
31872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31874 2013-01-31 David S. Miller <davem@davemloft.net>
31876 * po/de.po: Update from translation team.
31878 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31880 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31882 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31884 * configure.in (_AC_PROG_CC_C89): New definition.
31885 * configure: Regenerate.
31887 * configure.in (AC_PROG_CPP): New definition.
31888 * configure: Regenerate.
31890 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31892 * debug/tst-backtrace.h: New file.
31893 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31894 (ret): Remove variable.
31896 (FAIL): Remove macro.
31897 (NO_INLINE): Likewise.
31898 (fn1): Use match function instead of strstr.
31899 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31900 (ret): Remove variable.
31902 (FAIL): Remove macro.
31903 (NO_INLINE): Likewise.
31904 (fn): Use match function instead of strstr.
31905 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31906 (ret): Remove variable.
31908 (FAIL): Remove macro.
31909 (NO_INLINE): Likewise.
31910 (handle_signal): Use match function instead of strstr.
31911 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31912 (ret): Remove variable.
31914 (FAIL): Remove macro.
31915 (NO_INLINE): Likewise.
31916 (handle_signal): Use match function instead of strstr.
31918 2013-01-23 Roland McGrath <roland@hack.frob.com>
31920 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31922 2013-01-23 David S. Miller <davem@davemloft.net>
31924 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31925 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31926 argument of CAS if possible.
31927 * sysdeps/sparc/sparc64/bits/atomic.h
31928 (__arch_compare_and_exchange_val_32_acq): Likewise.
31929 (__arch_compare_and_exchange_val_64_acq): Likewise.
31931 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31933 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31934 * sysdeps/posix/ulimit.c: ... this.
31935 Include <limits.h>.
31936 * sysdeps/unix/bsd/ulimit.c: Remove file.
31938 2013-01-23 Adam Conrad <adconrad@0c3.net>
31940 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31941 (LDFLAGS-tst-array5): Likewise.
31943 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31946 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31947 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31948 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31949 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31951 2013-01-21 David S. Miller <davem@davemloft.net>
31953 * sysdeps/sparc/backtrace.c: New file.
31954 * sysdeps/sparc/sparc32/backtrace.h: New file.
31955 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31956 * sysdeps/sparc/sparc64/backtrace.h: New file.
31957 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31958 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31961 2013-01-21 Andreas Schwab <schwab@suse.de>
31964 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31967 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31973 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31974 Mark Mitchell <mark@codesourcery.com>
31975 Tom de Vries <tom@codesourcery.com>
31976 Paul Pluzhnikov <ppluzhnikov@google.com>
31978 * debug/tst-backtrace2.c: New file.
31979 * debug/tst-backtrace3.c: Likewise.
31980 * debug/tst-backtrace4.c: Likewise.
31981 * debug/tst-backtrace5.c: Likewise.
31982 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31983 (CFLAGS-tst-backtrace3.c): Likewise.
31984 (CFLAGS-tst-backtrace4.c): Likewise.
31985 (CFLAGS-tst-backtrace5.c): Likewise.
31986 (LDFLAGS-tst-backtrace2): Likewise.
31987 (LDFLAGS-tst-backtrace3): Likewise.
31988 (LDFLAGS-tst-backtrace4): Likewise.
31989 (LDFLAGS-tst-backtrace5): Likewise.
31990 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31991 tst-backtrace4 and tst-backtrace5.
31993 2013-01-18 Anton Blanchard <anton@samba.org>
31994 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31996 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31997 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31998 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31999 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32001 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32002 "+r" and remove output regs list as redundant. Add explicit inline
32003 asm to specify register of return val to work around compiler codegen
32004 bug. Remove (int) cast on return value. Add return type parameter to
32005 use in macro so that this macro does not truncate return value for
32007 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32008 pass to INTERNAL_VSYSCALL_NCS.
32009 (INLINE_VSYSCALL): Add 'long int' as return type to
32010 INTERNAL_VSYSCALL_NCS macro invocation.
32011 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32012 INTERNAL_VSYSCALL_NCS macro invocation.
32013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32015 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32018 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32019 Fix application of SIMD FP exception mask.
32021 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32022 mp_no from a power of two.
32023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32024 __mpexp_twomm1. Use __pow_mp.
32026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32029 2013-01-17 David S. Miller <davem@davemloft.net>
32031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32033 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32036 * include/complex.h: Condition contents on [!_COMPLEX_H].
32037 (__kernel_casinhf): New prototype.
32038 (__kernel_casinh): Likewise.
32039 (__kernel_casinhl): Likewise.
32040 * math/Makefile (libm_calls): Add k_casinh.
32041 * math/k_casinh.c: New file.
32042 * math/k_casinhf.c: Likewise.
32043 * math/k_casinhl.c: Likewise.
32044 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32045 finite nonzero arguments.
32046 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32047 finite nonzero arguments.
32048 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32049 finite nonzero arguments.
32050 * math/s_casinh.c: Do not include <float.h>.
32051 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32052 * math/s_casinhf.c: Do not include <float.h>.
32053 (__casinhf): Move code for finite nonzero arguments to
32055 * math/s_casinhl.c: Do not include <float.h>.
32056 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32058 (__casinhl): Move code for finite nonzero arguments to
32060 * math/libm-test.inc (cacos_test): Add more tests.
32061 * sysdeps/i386/fpu/libm-test-ulps: Update.
32062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32064 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32066 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32067 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32068 [!HAVE_MREMAP]: Remove [defined linux] case.
32069 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32071 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32073 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32075 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32077 * elf/elf.h (R_386_SIZE32): New relocation.
32078 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32080 (elf_machine_rela): Likewise.
32081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32082 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32084 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32086 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32087 (FP_FAST_FMA): Do not define.
32088 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32089 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32090 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32091 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32092 !_SOFT_FLOAT]: Likewise.
32093 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32094 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32096 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32097 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32098 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32099 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32100 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32101 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32104 2013-01-16 Andreas Schwab <schwab@suse.de>
32107 * include/stdlib.h (__mktemp): Add declaration.
32108 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32109 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32111 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32113 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32115 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32116 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32117 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32119 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32120 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32122 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32124 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32125 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32126 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32128 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32129 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32131 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32133 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32135 2013-01-15 David S. Miller <davem@davemloft.net>
32137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32138 trunc{,f} to libm-sysdep_routes.
32139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32149 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32150 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32151 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32152 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32153 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32154 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32157 nearbyint{,f} to libm-sysdep_routes.
32158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32171 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32172 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32174 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32175 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32176 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32178 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32179 libc_feholdexcept and libc_fesetenv.
32181 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32183 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32185 2013-01-14 David S. Miller <davem@davemloft.net>
32187 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32188 (SPARC_ASM_VIS2_IFUNC): Likewise.
32189 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32191 use of 'siam' instruction.
32192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32225 routines to libm-sysdep_routines.
32226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32229 fdim/fdimf to libm-sysdep_routines.
32230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32238 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32239 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32240 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32241 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32243 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32245 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32246 to optimize copies.
32248 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32253 local variable MPTWO.
32254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32257 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32259 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32262 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32264 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32266 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32268 * manual/pattern.texi (glob_t): Document gl_flags.
32269 (glob64_t): Likewise.
32271 2013-01-11 David S. Miller <davem@davemloft.net>
32273 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32274 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32275 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32276 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32277 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32278 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32279 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32280 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32281 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32282 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32283 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32284 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32285 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32287 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32288 sparc V9 rather than using V8 code.
32289 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32290 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32292 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32294 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32297 2013-01-11 Roland McGrath <roland@hack.frob.com>
32299 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32300 not in the main loop.
32301 * configure: Regenerated.
32303 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32305 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32306 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32308 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32309 [!__GLIBC_HAVE_LONG_LONG] case.
32310 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32311 condition to just #else.
32312 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32313 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32314 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32315 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32317 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32318 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32319 #elif condition to just #else.
32320 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32321 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32322 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32323 #elif condition to just #else.
32325 2013-01-11 Steve Ellcey <sellcey@mips.com>
32327 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32328 (EF_MIPS_ARCH_64): Fix value.
32329 (EF_MIPS_ARCH_32R2): New.
32330 (EF_MIPS_ARCH_64R2): New.
32332 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32334 * Makeconfig (+link-pie-before-libc): New.
32335 (+link-pie-after-libc): Likewise.
32336 (+link-pie-tests): Likewise.
32337 (+link-pie): Rewritten.
32338 (link-before-libc): Remove $(config-LDFLAGS).
32339 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32340 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32341 (config-LDFLAGS): Renamed to ...
32342 (rtld-LDFLAGS): This.
32343 (rtld-tests-LDFLAGS): New macro.
32344 (link-libc-rpath-link): Likewise.
32345 (link-libc-tests-rpath-link): Likewise.
32346 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32347 (link-libc): Prepand $(link-libc-rpath-link).
32348 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32349 (test-program-prefix): New macro.
32350 (test-via-rtld-prefix): Likewise.
32351 (test-program-cmd): Likewise.
32352 (host-test-program-cmd): Likewise.
32353 * Makefile ($(common-objpfx)testrun.sh): Replace
32354 $(run-program-prefix) with $(test-program-prefix).
32355 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32357 ($(common-objpfx)shlib.lds): Likewise.
32358 (build-module-helper): Likewise.
32359 ($(common-objpfx)format.lds): Likewise.
32360 * Rules (binaries-pie-tests): New.
32361 (binaries-pie-notests): Likewise.
32362 (binaries-pie): Rewritten.
32363 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32364 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32365 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32366 (make-test-out): Replace $(host-built-program-cmd) with
32367 $(host-test-program-cmd).
32368 * config.make.in (build-hardcoded-path-in-tests): New variable.
32369 * configure.in (--enable-hardcoded-path-in-tests): New configure
32371 (hardcoded_path_in_tests): New AC_SUBST.
32372 * configure: Regenerated.
32373 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32374 $(built-program-cmd) with $(test-program-cmd).
32375 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32376 (test_program_cmd): This.
32377 * elf/Makefile ($(objpfx)order.out): Run test with
32378 $(test-program-prefix).
32379 ($(objpfx)order2.out): Likewise.
32380 ($(objpfx)tst-initorder.out): Likewise.
32381 ($(objpfx)tst-initorder2.out): Likewise.
32382 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32383 $(test-program-cmd).
32384 ($(objpfx)tst-array1-static.out): Likewise.
32385 ($(objpfx)tst-array2.out): Likewise.
32386 ($(objpfx)tst-array3.out): Likewise.
32387 ($(objpfx)tst-array4.out): Likewise.
32388 ($(objpfx)tst-array5.out): Likewise.
32389 ($(objpfx)tst-array5-static.out): Likewise.
32390 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32391 $(test-program-cmd).
32392 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32393 $(run-program-prefix) with $(test-program-prefix).
32394 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32395 (test_program_prefix): This.
32396 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32397 $(run-program-prefix) with $(test-program-prefix).
32398 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32399 (test_program_prefix): This.
32400 * iconvdata/tst-tables.sh: Likewise.
32401 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32402 $(run-program-prefix) with $(test-program-prefix).
32403 ($(objpfx)tst-translit.out): Likewise.
32404 ($(objpfx)tst-gettext2.out): Likewise.
32405 ($(objpfx)tst-gettext4.out): Likewise.
32406 ($(objpfx)tst-gettext6.out): Likewise.
32407 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32408 (test_program_prefix): This.
32409 * intl/tst-gettext2.sh: Likewise.
32410 * intl/tst-gettext4.sh Likewise.
32411 * intl/tst-gettext6.sh: Likewise.
32412 * intl/tst-translit.sh: Likewise.
32413 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32414 with $(test-program-cmd).
32415 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32416 $(run-program-prefix) with $(test-program-prefix).
32417 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32418 (test_program_prefix): This.
32419 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32420 $(run-program-prefix) with $(test-program-prefix).
32421 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32422 (test_program_prefix): This.
32423 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32424 * posix/Makefile ($(objpfx)globtest.out): Replace
32425 $(run-via-rtld-prefix) and $(test-wrapper) with
32426 $(test-program-prefix) and $(test-via-rtld-prefix).
32427 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32428 $(test-program-prefix).
32429 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32430 $(host-test-program-cmd).
32431 (tst-spawn-ARGS): Likewise.
32432 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32433 $(test-program-prefix).
32434 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32435 (test_via_rtld_prefix): This.
32436 (test_wrapper): Renamed to ...
32437 (test_program_prefix): This.
32438 (run_program_prefix): Replaced by test_program_prefix.
32439 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32440 (test_program_prefix): This.
32441 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32442 with $(host-test-program-cmd).
32443 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32444 $(run-program-prefix) with $(test-program-prefix).
32445 ($(objpfx)tst-printf.out): Likewise.
32446 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32447 $(test-program-cmd).
32448 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32449 (test_program_prefix): This.
32450 * stdio-common/tst-unbputc.sh: Likewise.
32451 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32452 $(run-program-prefix) with $(test-program-prefix).
32453 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32454 (test_program_prefix): This.
32455 * string/Makefile ($(objpfx)tst-svc.out): Replace
32456 $(built-program-cmd) with $(test-program-cmd).
32458 2013-01-11 Andreas Jaeger <aj@suse.de>
32461 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32462 value. Sync with Linux 3.7.
32464 2013-01-10 David S. Miller <davem@davemloft.net>
32466 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32467 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32468 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32470 2013-01-10 Roland McGrath <roland@hack.frob.com>
32472 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32474 * configure: Regenerated.
32476 2013-01-10 David S. Miller <davem@davemloft.net>
32478 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32479 sparc V9 rather than using V8 code.
32480 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32481 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32483 2013-01-10 Roland McGrath <roland@hack.frob.com>
32485 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32486 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32487 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32488 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32489 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32490 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32491 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32492 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32493 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32494 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32495 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32496 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32497 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32498 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32499 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32500 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32501 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32502 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32503 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32504 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32505 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32506 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32507 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32508 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32509 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32510 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32511 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32513 2013-01-10 David S. Miller <davem@davemloft.net>
32515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32517 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32519 * posix/Makefile (tests-static): New variable.
32520 (tests): Add $(tests-static).
32521 (tst-exec-static-ARGS): New variable.
32522 (tst-spawn-static-ARGS): Likewise.
32523 * posix/tst-exec-static.c: New file.
32524 * posix/tst-spawn-static.c: Likewise.
32525 * posix/tst-exec.c: Support run directly.
32526 * posix/tst-spawn.c: Likewise.
32528 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32530 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32532 * math/bits/mathcalls.h (llrint): Likewise.
32533 (llround): Likewise.
32534 * stdlib/stdlib.h (struct drand48_data): Likewise.
32535 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32536 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32537 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32539 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32541 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32542 (elf_greg_t): Likewise.
32543 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32544 (__jmp_buf): Likewise.
32545 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32547 (llrint): Likewise, for all definitions.
32548 (llrintl): Likewise.
32550 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32551 Remove [__GNUC__] condition.
32552 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32553 condition to just [__USE_ISOC99].
32554 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32556 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32559 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32560 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32562 (_POSIX_V6_ILP32_OFF32): Likewise.
32563 (_XBS5_ILP32_OFF32): Likewise.
32564 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32565 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32567 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32569 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32571 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32572 doubles __mpexp_twomm1. Adjust usage.
32573 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32576 2013-01-10 Andreas Schwab <schwab@suse.de>
32579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32580 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32582 2013-01-09 David S. Miller <davem@davemloft.net>
32585 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32586 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32587 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32588 (TCP_FASTOPEN): Define.
32589 (tcp_repair_opt): New structure.
32590 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32592 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32593 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32594 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32595 (tcp_cookie_transactions): New structure.
32597 2013-01-09 Anton Blanchard <anton@samba.org>
32599 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32600 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32601 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32602 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32604 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32606 * include/features.h (__USE_ANSI): Remove.
32608 2013-01-09 Roland McGrath <roland@hack.frob.com>
32610 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32612 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32614 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32616 * sysdeps/s390/fpu/libm-test-ulps: Update.
32618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32620 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32624 (denorm): Likewise.
32625 (__mp_dbl): Likewise.
32626 (__dbl_mp): Likewise.
32627 (add_magnitudes): Likewise.
32628 (sub_magnitudes): Likewise.
32634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32638 (denorm): Likewise.
32639 (__mp_dbl): Likewise.
32640 (__dbl_mp): Likewise.
32641 (add_magnitudes): Likewise.
32642 (sub_magnitudes): Likewise.
32648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32652 (denorm): Likewise.
32653 (__mp_dbl): Likewise.
32654 (__dbl_mp): Likewise.
32655 (add_magnitudes): Likewise.
32656 (sub_magnitudes): Likewise.
32663 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32665 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32666 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32667 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32668 2 && __USE_EXTERN_INLINES]: Likewise.
32670 2013-01-08 Andreas Jaeger <aj@suse.de>
32673 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32675 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32676 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32678 2013-01-07 Anton Blanchard <anton@samba.org>
32680 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32681 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32682 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32683 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32684 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32685 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32686 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32687 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32689 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32690 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32691 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32692 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32693 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32694 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32695 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32696 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32697 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32698 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32699 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32700 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32701 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32703 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32704 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32705 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32706 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32707 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32709 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32710 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32712 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32713 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32714 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32715 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32716 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32717 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32718 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32719 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32720 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32721 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32722 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32724 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32726 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32727 (__MALLOC_PMT): Likewise.
32728 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32729 [__GNUC__], only on [_LIBC].
32730 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32731 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32732 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32733 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32734 forward declaration.
32735 (realloc_hook_ini): Likewise.
32736 (memalign_hook_ini): Likewise.
32737 (__libc_memalign): Do not use __MALLOC_PMT in variable
32739 (__libc_valloc): Likewise.
32740 (__libc_pvalloc): Likewise.
32741 (__libc_calloc): Likewise.
32742 (__posix_memalign): Likewise.
32745 * math/s_casinh.c: Include <float.h>.
32746 (__casinh): Do not do computation with squaring and square root
32747 for large arguments.
32748 * math/s_casinhf.c: Include <float.h>.
32749 (__casinhf): Do not do computation with squaring and square root
32750 for large arguments.
32751 * math/s_casinhl.c: Include <float.h>.
32752 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32753 (__casinhl): Do not do computation with squaring and square root
32754 for large arguments.
32755 * math/libm-test.inc (casin_test): Add more tests.
32756 (casinh_test): Likewise.
32757 * sysdeps/i386/fpu/libm-test-ulps: Update.
32758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32760 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32762 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32763 (__x86_64_raw_data_cache_size): Likewise.
32764 (__x86_64_data_cache_size_half): Likewise.
32765 (__x86_64_raw_data_cache_size_half): Likewise.
32766 (__x86_64_shared_cache_size): Likewise.
32767 (__x86_64_raw_shared_cache_size): Likewise.
32768 (__x86_64_shared_cache_size_half): Likewise.
32769 (__x86_64_raw_shared_cache_size_half): Likewise.
32770 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32772 (__x86_data_cache_size): This.
32773 (__x86_64_raw_data_cache_size): Renamed to ...
32774 (__x86_raw_data_cache_size): This.
32775 (__x86_64_data_cache_size_half): Renamed to ...
32776 (__x86_data_cache_size_half): This.
32777 (__x86_64_raw_data_cache_size_half): Renamed to ...
32778 (__x86_raw_data_cache_size_half): This.
32779 (__x86_64_shared_cache_size): Renamed to ...
32780 (__x86_shared_cache_size): This.
32781 (__x86_64_raw_shared_cache_size): Renamed to ...
32782 (__x86_raw_shared_cache_size): This.
32783 (__x86_64_shared_cache_size_half): Renamed to ...
32784 (__x86_shared_cache_size_half): This.
32785 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32786 (__x86_raw_shared_cache_size_half): This.
32787 * sysdeps/x86_64/memcpy.S: Updated.
32788 * sysdeps/x86_64/memset.S: Likewise.
32789 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32790 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32791 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32793 2013-01-04 David S. Miller <davem@davemloft.net>
32795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32797 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32799 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32800 1 to avoid redefinition warning.
32801 (__USE_GNU): Don't define.
32802 (init_signaling_nan): Protoize.
32804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32806 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32808 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32810 (__cpymn): Likewise.
32811 (norm): Remove commented code.
32812 (denorm): Likewise.
32813 (__mp_dbl): Likewise.
32815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32816 (__cpymn): Likewise.
32817 (norm): Remove commented code.
32818 (denorm): Likewise.
32819 (__mp_dbl): Likewise.
32822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32823 mp_no value for 1.0 and 2.0.
32824 (norm): Use RADIXI instead of radixi.d.
32825 (denorm): Likewise.
32826 (__mul): Use 0.0 instead of zero.d.
32827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32828 mp_no value for 1.0 and 2.0.
32829 (norm): Use RADIXI instead of radixi.d.
32830 (denorm): Likewise.
32831 (__mul): Use 0.0 instead of zero.d.
32833 2013-01-04 Joseph Myers <joseph@codesourcery.com>
32836 * math/s_casinh.c (__casinh): Reduce finite argument to first
32837 quadrant then set signs of results at the end.
32838 * math/s_casinhf.c (__casinhf): Likewise.
32839 * math/s_casinhl.c (__casinhl): Likewise.
32840 * math/libm-test.inc (casin_test): Add more tests.
32841 (casinh_test): Likewise.
32842 * sysdeps/i386/fpu/libm-test-ulps: Update.
32843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32845 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32847 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32849 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32851 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32853 (denorm): Likewise.
32854 (__mp_dbl): Likewise.
32857 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32858 and adjust the header comment.
32860 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32861 variable name from declaration.
32863 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32866 Initialize COMMON_CPUID_INDEX_7 element.
32867 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32868 (CPUID_RTM): Likewise.
32869 (HAS_RTM): Likewise.
32870 (COMMON_CPUID_INDEX_7): New enum.
32872 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32875 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32876 size is zero, record memory as freed.
32878 2013-01-03 Andreas Jaeger <aj@suse.de>
32880 * po/ia.po: Add new Interlingua translation.
32882 2012-01-03 Allan McRae <allan@archlinux.org>
32884 * locale/programs/localedef.c: Fix description of '--posix' flag.
32886 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32888 * NEWS: Update dates in second copyright notice.
32889 * README: Update copyright dates in example.
32890 * manual/libc.texinfo: Update copyright dates.
32891 * scripts/test-installation.pl: Update copyright date in --version
32894 * hurd/ctty-input.c: Fix copyright notice formatting.
32895 * hurd/ctty-output.c: Likewise.
32896 * hurd/dtable.c: Likewise.
32897 * hurd/hurd-raise.c: Likewise.
32898 * hurd/hurdprio.c: Likewise.
32899 * hurd/msgportdemux.c: Likewise.
32900 * misc/sys/file.h: Likewise.
32901 * misc/sys/ioctl.h: Likewise.
32902 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32903 * sysdeps/mach/hurd/chdir.c: Likewise.
32904 * sysdeps/mach/hurd/fchdir.c: Likewise.
32905 * sysdeps/mach/hurd/rename.c: Likewise.
32906 * sysdeps/mach/hurd/rmdir.c: Likewise.
32907 * sysdeps/mach/hurd/seekdir.c: Likewise.
32908 * sysdeps/mach/hurd/setsid.c: Likewise.
32909 * sysdeps/posix/wait3.c: Likewise.
32911 * All files with FSF copyright notices: Update copyright dates
32912 using scripts/update-copyrights.
32913 * intl/plural.c: Regenerated.
32914 * locale/programs/charmap-kw.h: Likewise.
32915 * locale/programs/locfile-kw.h: Likewise.
32917 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32919 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32922 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32923 calculation loop and add branch prediction.
32925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32926 check access beyond bounds of m1np.
32928 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32930 (__inv): Remove local variable MPTWO to use the global
32932 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32933 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32935 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32936 MP3HALFS static const.
32938 2013-01-01 David S. Miller <davem@davemloft.net>
32940 * po/ca.po: Update from translation team.
32942 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32944 * scripts/update-copyrights: New file.
32945 * Makeconfig: Reformat copyright notice.
32946 * ctype/ctype.h: Likewise.
32947 * debug/swprintf_chk.c: Likewise.
32948 * elf/dl-cache.c: Likewise.
32949 * elf/dl-debug.c: Likewise.
32950 * elf/dl-object.c: Likewise.
32951 * grp/initgroups.c: Likewise.
32952 * hurd/Makefile: Likewise.
32953 * hurd/hurd/signal.h: Likewise.
32954 * hurd/hurdfault.c: Likewise.
32955 * hurd/hurdioctl.c: Likewise.
32956 * hurd/hurdlookup.c: Likewise.
32957 * hurd/intr-msg.c: Likewise.
32958 * iconv/gconv_open.c: Likewise.
32959 * libio/swprintf.c: Likewise.
32960 * locale/lc-ctype.c: Likewise.
32961 * locale/nl_langinfo.c: Likewise.
32962 * mach/Machrules: Likewise.
32963 * mach/Makefile: Likewise.
32964 * malloc/obstack.h: Likewise.
32965 * manual/Makefile: Likewise.
32966 * manual/tsort.awk: Likewise.
32967 * misc/bits/stab.def: Likewise.
32968 * nis/nis_print_group_entry.c: Likewise.
32969 * nis/nis_table.c: Likewise.
32970 * nis/nss_compat/compat-pwd.c: Likewise.
32971 * nis/nss_compat/compat-spwd.c: Likewise.
32972 * po/Makefile: Likewise.
32973 * posix/fnmatch.c: Likewise.
32974 * posix/regex.h: Likewise.
32975 * resolv/Makefile: Likewise.
32976 * resolv/nss_dns/dns-network.c: Likewise.
32977 * resolv/res_hconf.c: Likewise.
32978 * scripts/gen-sorted.awk: Likewise.
32979 * soft-fp/soft-fp.h: Likewise.
32980 * stdio-common/printf.h: Likewise.
32981 * stdlib/monetary.h: Likewise.
32982 * stdlib/random.c: Likewise.
32983 * stdlib/random_r.c: Likewise.
32984 * sysdeps/generic/Makefile: Likewise.
32985 * sysdeps/gnu/Makefile: Likewise.
32986 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33009 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33010 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33011 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33012 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33013 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33014 * sysdeps/mach/hurd/errnos.awk: Likewise.
33015 * sysdeps/mach/hurd/fork.c: Likewise.
33016 * sysdeps/mach/hurd/getcwd.c: Likewise.
33017 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33018 * sysdeps/mach/hurd/mmap.c: Likewise.
33019 * sysdeps/mach/hurd/utimes.c: Likewise.
33020 * sysdeps/mach/hurd/xmknod.c: Likewise.
33021 * sysdeps/posix/profil.c: Likewise.
33022 * sysdeps/posix/readdir_r.c: Likewise.
33023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33024 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33025 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33026 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33028 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33029 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33030 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33032 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33033 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33034 * sysdeps/pthread/lio_listio.c: Likewise.
33035 * sysdeps/sparc/dl-procinfo.h: Likewise.
33036 * sysdeps/unix/i386/sysdep.S: Likewise.
33037 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33038 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33039 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33040 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33042 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33043 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33044 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33045 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33046 * sysdeps/wordsize-32/divdi3.c: Likewise.
33047 * time/sys/time.h: Likewise.
33048 * wcsmbs/Makefile: Likewise.
33050 2013-01-01 David S. Miller <davem@davemloft.net>
33052 * po/fr.po: Update from translation team.
33054 * catgets/gencat.c: Update copyright year.
33055 * csu/version.c: Likewise.
33056 * debug/catchsegv.sh: Likewise.
33057 * debug/pcprofiledump.c: Likewise.
33058 * debug/xtrace.sh: Likewise.
33059 * elf/ldconfig.c: Likewise.
33060 * elf/ldd.bash.in: Likewise.
33061 * elf/pldd.c: Likewise.
33062 * elf/sotruss.ksh: Likewise.
33063 * elf/sprof.c: Likewise.
33064 * iconv/iconv_prog.c: Likewise.
33065 * iconv/iconvconfig.c: Likewise.
33066 * locale/programs/locale.c: Likewise.
33067 * locale/programs/localedef.c: Likewise.
33068 * login/programs/pt_chown.c: Likewise.
33069 * malloc/memusage.sh: Likewise.
33070 * malloc/memusagestat.c: Likewise.
33071 * malloc/mtrace.pl: Likewise.
33072 * nscd/nscd.c: Likewise.
33073 * nss/getent.c: Likewise.
33074 * nss/makedb.c: Likewise.
33075 * posix/getconf.c: Likewise.
33077 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33079 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33082 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33084 * math/bits/mathcalls.h (modf): Use __nonnull.
33086 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33088 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33089 (split): Use macro CN instead of the bare value.
33090 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33092 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33093 instead of the bare value.
33094 (power1): Likewise.
33096 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33098 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33100 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33102 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33104 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33105 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33106 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33107 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33109 2012-12-28 Andreas Jaeger <aj@suse.de>
33111 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33112 values are from Linux 3.7.
33114 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33115 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33117 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33119 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33122 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33124 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33125 variables with preprocessor constants.
33126 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33127 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33128 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33130 2012-12-27 Bruno Haible <bruno@clisp.org>
33133 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33136 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33139 and use variable directly.
33140 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33142 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33144 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33145 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33147 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33149 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33150 include directive. Remove local variable MPONE.
33151 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33152 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33153 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33155 2012-12-25 David S. Miller <davem@davemloft.net>
33157 * version.h (RELEASE): Set to "development".
33158 (VERSION): Set to "2.17.90".
33159 * NEWS: Add 2.18 section.
33161 2012-12-21 David S. Miller <davem@davemloft.net>
33163 * po/hr.po: Update from translation team.
33165 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33167 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33169 2012-12-19 Steve Ellcey <sellcey@mips.com>
33171 * NEWS: Mention new memcpy for MIPS.
33173 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33175 * manual/contrib.texi (Contributors): Spelling correction.
33177 2012-12-15 David S. Miller <davem@davemloft.net>
33179 * po/ru.po: Update from translation team.
33181 2012-12-13 David S. Miller <davem@davemloft.net>
33183 * NEWS: Mention IFUNC testsuite enhancements.
33185 * po/pl.po: Update from translation team.
33186 * po/bg.po: Likewise.
33188 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33189 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33191 2012-12-11 David S. Miller <davem@davemloft.net>
33193 * po/sv.po: Update from translation team.
33195 * po/vi.po: Update from translation team.
33197 * po/cs.po: Update from translation team.
33199 * po/de.po: Update from translation team.
33200 * po/eo.po: Likewise.
33201 * po/nl.po: Likewise.
33203 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33206 * manual/argp.texi (Argp Helper Functions): Move node to follow
33207 Argp Parsing State.
33210 * manual/conf.texi (Limits on File System Capacity): Mention if
33211 terminating null is included in the max size.
33213 2012-12-10 Andreas Jaeger <aj@suse.de>
33215 * po/cs.po: Update from translation team.
33217 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33219 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33220 void pointer and cast to uintptr_t.
33221 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33223 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33224 * sysdeps/s390/s390-64/memset.S: Likewise.
33226 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33229 * menual/message.texi (Message Translation): Fix typos.
33230 (Helper programs for gettext): Likewise.
33232 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33235 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33238 2012-12-07 David S. Miller <davem@davemloft.net>
33240 * po/libc.pot: Update.
33242 2012-12-07 Richard Henderson <rth@redhat.com>
33245 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33246 normal/normal case to before the switch.
33247 (_FP_DIV): Likewise.
33249 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33250 Mike Frysinger <vapier@gentoo.org>
33252 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33253 check for __NR_fadvise64_64.
33255 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33257 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33258 0, not just to plain "0" as a statement.
33259 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33262 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33264 * NEWS: Use sourceware.org in Bugzilla URL.
33266 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33269 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33271 * stdio-common/tst-put-error.c (do_test): Add newline to the
33272 padded test to ensure flush.
33274 2012-12-05 Jeff Law <law@redhat.com>
33276 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33278 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33280 * README: Don't refer to ports add-on as distributed separately.
33281 Mention AArch64 in list of systems supported in the ports add-on.
33283 * LICENSES: Add more non-FSF copyright and license notices.
33285 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33288 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33290 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33291 10000 as width of padded output.
33293 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33295 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33298 variable LX with __attribute__ ((unused)).
33299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33301 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33304 with __attribute__ ((unused)).
33306 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33308 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33310 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33312 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33313 (CFLAGS-nldbl-acos.c): New variable.
33314 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33315 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33316 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33317 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33318 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33319 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33320 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33321 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33322 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33323 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33324 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33325 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33326 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33327 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33328 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33329 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33330 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33331 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33332 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33333 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33334 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33335 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33336 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33337 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33338 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33339 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33340 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33341 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33342 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33343 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33344 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33345 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33346 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33347 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33348 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33349 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33350 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33351 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33352 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33353 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33354 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33355 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33356 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33357 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33358 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33359 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33360 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33361 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33362 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33363 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33364 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33365 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33366 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33367 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33368 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33369 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33370 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33371 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33372 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33373 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33374 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33375 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33376 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33377 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33378 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33379 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33380 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33381 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33382 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33383 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33384 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33385 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33386 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33387 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33388 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33389 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33390 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33391 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33392 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33393 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33394 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33395 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33396 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33397 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33398 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33399 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33400 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33401 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33402 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33403 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33404 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33405 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33406 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33407 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33408 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33409 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33410 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33413 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33416 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33417 whole low double instead of just low 47 bits when splitting values
33420 2012-12-03 Allan McRae <allan@archlinux.org>
33422 * manual/stdio.texi (Predefined Printf Handlers): Remove
33423 @hsep and @vsep usage.
33425 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33427 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33428 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33430 2012-12-03 Jeff Law <law@redhat.com>
33432 * time/sys/time.h (settimeofday): Do not mark TV argument
33435 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33437 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33438 when currently writing and seek to current position when not.
33439 * libio/Makefile (tests): Remove bug-fclose1.
33440 * libio/bug-fclose1.c: Delete.
33442 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33444 * manual/arith.texi (feenableexcept): Fix typo.
33445 (fedisableexcept): Likewise.
33447 2012-11-30 Roland McGrath <roland@hack.frob.com>
33449 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33450 second, differently-typed declaration, rather than a cast.
33452 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33454 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33455 * include/rpc/svc.h: ... here.
33457 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33460 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33461 depending n and resplen2 to catch cases where answer
33464 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33466 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33467 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33469 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33471 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33473 2012-11-29 Roland McGrath <roland@hack.frob.com>
33475 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33477 2012-11-28 Jeff Law <law@redhat.com>
33480 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33481 dataset_temporary. Track alloca usage into alloca_used.
33482 If dataset is large allocate and release it via malloc/free.
33484 2012-06-04 Florian Weimer <fweimer@redhat.com>
33487 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33489 2012-11-28 David S. Miller <davem@davemloft.net>
33491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33493 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33496 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33497 of pi/2 rounded to nearest to 64 bits.
33498 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33499 nearest to 64 bits.
33500 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33503 2012-11-28 Jeff Law <law@redhat.com>
33504 Martin Osvald <mosvald@redhat.com>
33507 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33508 * sunrpc/svc.c: Include time.h.
33509 (__svc_accept_failed): New function.
33510 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33511 any reason other than EINTR, call __svc_accept_failed.
33512 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33513 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33515 2012-11-28 Andreas Schwab <schwab@suse.de>
33517 * scripts/abilist.awk: Also handle indirect functions in .opd
33520 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33523 * sysdeps/x86/fpu/powl_helper.c: New file.
33524 * sysdeps/x86/fpu/Makefile: Likewise.
33525 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33527 (__ieee754_powl): Use __powl_helper for finite arguments except
33528 integer exponents below 8.
33529 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33531 (__ieee754_powl): Use __powl_helper for finite arguments except
33532 integer exponents below 8.
33533 * math/libm-test.inc (pow_test): Add more tests and enable some
33534 previously disabled tests.
33535 * sysdeps/i386/fpu/libm-test-ulps: Update.
33536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33538 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33539 Carlos O'Donell <carlos_odonell@mentor.com>
33541 * nss/makedb.c (is_prime): Assert that input is odd and greater
33542 than 4. Note that fact in a comment too.
33543 (next_prime): Add 4 to input.
33545 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33548 * libio/Makefile (tests): Add test case tst-fwrite-error.
33549 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33550 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33551 * libio/tst-fwrite-error.c: New test case.
33553 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33555 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33556 before casting to void *.
33557 * include/libc-internal.h (__pointer_type): New macro.
33558 (__integer_if_pointer_type_sub): Likewise.
33559 (__integer_if_pointer_type): Likewise.
33560 (cast_to_integer): Likewise.
33561 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33562 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33563 before casting to atomic64_t.
33564 (atomic_exchange_acq): Likewise.
33565 (__arch_exchange_and_add_body): Likewise.
33566 (__arch_add_body): Likewise.
33567 (atomic_add_negative): Likewise.
33568 (atomic_add_zero): Likewise.
33570 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33572 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33573 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33574 (add_fdes): Likewise.
33575 (linear_search_fdes): Likewise.
33576 (binary_search_unencoded_fdes): Likewise.
33578 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33580 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33582 2012-11-24 Adam Conrad <adconrad@0c3.net>
33584 * configure.in: Autodetect C++ header directories.
33585 * configure: Regenerated.
33587 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33589 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33591 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33595 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33597 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33598 LDBL_MANT_DIG == 106]: Disable some tests.
33599 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33601 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33605 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33606 input for small inputs. Return +/- pi/2 for large inputs.
33607 * math/libm-test.inc (atan_test): Add more tests.
33609 * sysdeps/generic/unwind-dw2-fde-glibc.c
33610 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33611 __attribute__ ((unused)).
33614 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33615 x * y if x and y are nonzero and z is zero.
33618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33619 nonzero exponents with absolute value below 0x1p-117 to +/-
33623 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33624 up arguments below 2**-450, not just those below 2**-500.
33625 * math/libm-test.inc (hypot_test): Add another test.
33628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33629 Return a+b for ratio over 2**120, not 2**60.
33630 * math/libm-test.inc (hypot_test): Add another test.
33632 * math/libm-test.inc (clog_test): Use
33633 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33634 (clog10_test): Likewise.
33637 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33639 2012-11-22 Andreas Schwab <schwab@suse.de>
33641 * sysdeps/i386/fpu/libm-test-ulps: Update.
33643 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33645 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33646 printf output with newline.
33648 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33651 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33652 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33653 -z nodlopen, -z initfirst and -z execstack support.
33654 * configure: Regenerated.
33656 * elf/elf.h (DF_1_NODIRECT): New macro.
33657 (DF_1_IGNMULDEF): Likewise.
33658 (DF_1_NOKSYMS): Likewise.
33659 (DF_1_NOHDR): Likewise.
33660 (DF_1_EDITED): Likewise.
33661 (DF_1_NORELOC): Likewise.
33662 (DF_1_SYMINTPOSE): Likewise.
33663 (DF_1_GLOBAUDIT): Likewise.
33664 (DF_1_SINGLETON): Likewise.
33665 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33666 DT_1_SUPPORTED_MASK bits.
33667 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33669 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33671 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33673 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33675 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33678 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33679 (sendmmsg): Move declarations...
33680 * socket/sys/socket.h: ... here.
33681 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33682 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33684 * socket/recvmmsg.c: ... this new file.
33685 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33686 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33687 definition of __sendmmsg hidden.
33688 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33689 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33690 Move ENOSYS stub into and include it from...
33691 * socket/sendmmsg.c: ... this new file.
33692 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33693 (sysdep_routines): Move recvmmsg and sendmmsg...
33694 * socket/Makefile (routines): ... here.
33695 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33696 (GLIBC_PRIVATE): Add __sendmmsg.
33697 * include/sys/socket.h (__sendmmsg): Add declarations.
33698 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33701 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33704 variable I1 with __attribute__ ((unused)).
33705 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33707 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33709 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33710 DUMMY variables with __attribute__ ((unused)).
33712 * bits/byteswap.h: Include <bits/types.h>.
33713 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33715 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33717 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33718 string_t. Do not manually set errno.
33719 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33720 length with __strnlen. Make sure to both set errno and return it on
33723 2012-11-19 David S. Miller <davem@davemloft.net>
33725 With help from Joseph Myers.
33726 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33727 very large arguments properly.
33728 * math/libm-test.inc (atan_test): New tests.
33729 (atan2_test): New tests.
33730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33733 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33736 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33739 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33740 [POSIX] (EADDRNOTAVAIL): Likewise.
33741 [POSIX] (EAFNOSUPPORT): Likewise.
33742 [POSIX] (EALREADY): Likewise.
33743 [POSIX] (ECONNABORTED): Likewise.
33744 [POSIX] (ECONNREFUSED): Likewise.
33745 [POSIX] (ECONNRESET): Likewise.
33746 [POSIX] (EDESTADDRREQ): Likewise.
33747 [POSIX] (EDQUOT): Likewise.
33748 [POSIX] (EHOSTUNREACH): Likewise.
33749 [POSIX] (EIDRM): Likewise.
33750 [POSIX] (EISCONN): Likewise.
33751 [POSIX] (ELOOP): Likewise.
33752 [POSIX] (EMULTIHOP): Likewise.
33753 [POSIX] (ENETDOWN): Likewise.
33754 [POSIX] (ENETUNREACH): Likewise.
33755 [POSIX] (ENOBUFS): Likewise.
33756 [POSIX] (ENODATA): Likewise.
33757 [POSIX] (ENOLINK): Likewise.
33758 [POSIX] (ENOMSG): Likewise.
33759 [POSIX] (ENOPROTOOPT): Likewise.
33760 [POSIX] (ENOSR): Likewise.
33761 [POSIX] (ENOSTR): Likewise.
33762 [POSIX] (ENOTCONN): Likewise.
33763 [POSIX] (ENOTSOCK): Likewise.
33764 [POSIX] (EOPNOTSUPP): Likewise.
33765 [POSIX] (EOVERFLOW): Likewise.
33766 [POSIX] (EPROTO): Likewise.
33767 [POSIX] (EPROTONOSUPPORT): Likewise.
33768 [POSIX] (EPROTOTYPE): Likewise.
33769 [POSIX] (ESTALE): Likewise.
33770 [POSIX] (ETIME): Likewise.
33771 [POSIX] (ETXTBSY): Likewise.
33772 [POSIX] (EWOULDBLOCK): Likewise.
33773 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33774 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33775 [POSIX] (SEEK_CUR): Likewise.
33776 [POSIX] (SEEK_END): Likewise.
33777 [POSIX || UNIX98] (mode_t): Do not require.
33778 [POSIX] (off_t): Likewise.
33779 [POSIX] (pid_t): Likewise.
33780 [POSIX] (sys/stat.h): Do not allow header.
33781 [POSIX] (unistd.h): Likewise.
33782 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33783 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33784 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33785 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33787 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33788 sigevent): Specify elements.
33789 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33791 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33792 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33794 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33795 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33796 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33797 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33798 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33799 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33800 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33801 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33802 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33803 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33804 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33805 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33806 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33807 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33809 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33815 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33816 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33817 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33818 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33819 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33820 Specify lower bound on value.
33821 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33822 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33823 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33824 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33825 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33826 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33827 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33828 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33830 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33832 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33833 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33834 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33835 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33836 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33837 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33838 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33839 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33840 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33841 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33842 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33843 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33844 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33845 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33846 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33847 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33849 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33851 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33852 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33853 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33854 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33855 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33856 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33858 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33859 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33860 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33861 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33862 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33863 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33866 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33867 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33868 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33869 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33870 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33871 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33872 specify as optional.
33873 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33874 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33875 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33876 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33877 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33878 [XPG3] (NL_LANGMAX): Likewise.
33879 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33880 [POSIX || XPG3] (NL_NMAX): Likewise.
33881 [POSIX || XPG3] (NL_SETMAX): Likewise.
33882 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33883 [XPG3] (NZERO): Likewise.
33884 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33885 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33886 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33887 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33888 (REG_ERANGE): Expect.
33889 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33891 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33892 Use (void) in prototype.
33893 [POSIX] (*_t): Allow.
33894 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33895 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33896 (WRDE_BADVAL): Expect.
33898 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33900 [XPG3 || XPG4] (O_RSYNC): Likewise.
33901 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33903 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33904 [XPG3 || XPG4] (sigqueue): Likewise.
33905 [XPG3 || XPG4] (sigtimedwait): Likewise.
33906 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33907 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33908 [XPG3 || XPG4] (vsnprintf): Likewise.
33909 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33911 [XPG3 || XPG4] (blksize_t): Likewise.
33912 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33914 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33915 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33916 [XPG3 || XPG4] (struct itimerspec): Likewise.
33917 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33918 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33919 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33920 [XPG3 || XPG4] (clockid_t): Likewise.
33921 [XPG3 || XPG4] (timer_t): Likewise.
33922 [XPG3 || XPG4] (clock_getres): Likewise.
33923 [XPG3 || XPG4] (clock_gettime): Likewise.
33924 [XPG3 || XPG4] (clock_settime): Likewise.
33925 [XPG3 || XPG4] (nanosleep): Likewise.
33926 [XPG3 || XPG4] (timer_create): Likewise.
33927 [XPG3 || XPG4] (timer_delete): Likewise.
33928 [XPG3 || XPG4] (timer_gettime): Likewise.
33929 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33930 [XPG3 || XPG4] (timer_settime): Likewise.
33931 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33932 [XPG3 || XPG4] (getlogin_r): Likewise.
33933 [XPG3 || XPG4] (pread): Likewise.
33934 [XPG3 || XPG4] (pthread_atfork): Likewise.
33935 [XPG3 || XPG4] (pwrite): Likewise.
33938 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33941 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33943 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33944 finalizing MALLSTREAM.
33946 * sysdeps/mach/hurd/syncfs.c: New file.
33948 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33951 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33952 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33953 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33954 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33955 (_nss_dns_gethostbyname4_r): Likewise.
33956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33957 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33959 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33962 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33964 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33966 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33967 * elf/cache.c (print_entry): Print ",AArch64" for
33970 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33971 * elf/cache.c (print_entry): Print ",hard-float" for
33974 2012-11-18 David S. Miller <davem@davemloft.net>
33976 With help from Joseph Myers.
33977 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33979 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33981 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33982 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33984 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33985 * math/libm-test.inc (y0_test): New tests.
33986 (y1_test): New tests.
33987 * sysdeps/i386/fpu/libm-test-ulps: Update.
33988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33991 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33993 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33995 * configure: Regenerated.
33997 2012-11-17 David S. Miller <davem@davemloft.net>
34000 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34001 nonzero exponents with absolute value below 0x1p-128 to +/-
34004 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34006 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34008 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34010 * posix/getconf-speclist.c: New file.
34011 * posix/posix-envs.def: Likewise.
34012 * posix/confstr.c (START_ENV_GROUP): New macro.
34013 (END_ENV_GROUP): Likewise.
34014 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34015 (KNOWN_PRESENT_ENV_STRING): Likewise.
34016 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34017 (UNKNOWN_ENVIRONMENT): Likewise.
34018 (confstr): Include posix-envs.def instead of handling
34019 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34020 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34021 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34022 (END_ENV_GROUP): Likewise.
34023 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34024 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34025 (UNKNOWN_ENVIRONMENT): Likewise.
34026 (__sysconf): Include posix-envs.def instead of handling associated
34027 cases directly here.
34028 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34029 preprocessing getconf-speclist.c rather than running getconf or
34030 generating empty file.
34032 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34034 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34036 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34039 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34041 2012-11-16 David S. Miller <davem@davemloft.net>
34043 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34044 smaller than LDBL_EPSILON/2.0L, just return xm1.
34046 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34048 * elf/tst-array1.c (init): Set constructor priority to 1000.
34049 (fini): Set destructor priority to 1000.
34050 * elf/tst-array2dep.c: Likewise.
34052 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34055 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34056 (_IO_new_file_xsputn): Also return EOF if none of the input
34057 data was written when overflow failed.
34058 * libio/iopadn.c (_IO_padn): Likewise.
34059 * libio/iowpadn.c (_IO_wpadn): Likewise.
34060 * stdio-common/tst-put-error.c: Add copyright notice.
34061 (do_test): Add case for printing padded string.
34062 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34063 _IO_padn returned error.
34064 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34065 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34068 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34070 * libio/libioP.h: Add comment note that the references to C++
34071 bits are now obsolete.
34073 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34075 * math/libm-test.inc (check_complex): Use asprintf.
34077 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34079 * debug/pcprofiledump.c (print_version): Update copyright year.
34080 * malloc/memusagestat.c (print_version): Likewise.
34082 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34085 * elf/Makefile (tests): Add tst-audit8.
34086 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34087 ($(objpfx)tst-audit8.out): New target.
34088 (tst-audit8-ENV): New variable.
34089 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34090 audit if l_reloc_result is NULL.
34091 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34092 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34093 * elf/tst-audit8.c: New file.
34095 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34097 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34098 * misc/Makefile (CFLAGS-select.c): Define.
34099 * posix/Makefile (CFLAGS-pause.c): Define.
34101 2012-11-13 David S. Miller <davem@davemloft.net>
34103 * crypt/Makefile: Move test targets after toplevel Rules
34104 inclusion. Grab any necessary sysdep routines when linking.
34105 * crypt/md5.c (md5_process_block): Remove define, we will always
34106 name it __md5_process_block.
34107 (md5_finish_ctx): Update md5_process_block call.
34108 (md5_stream): Likewise.
34109 (md5_process_bytes): Likewise.
34110 (md5_process_block): Rename to __md5_process_block and move to ...
34111 * crypt/md5-block.c: ... here.
34112 * crypt/sha256.c (sha256_process_block): Move to ...
34113 * crypt/sha256-block.c: ... here.
34114 * crypt/sha512.c (sha512_process_block): Move to ...
34115 * crypt/sha512-block.c: ... here.
34116 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34118 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34119 * sysdeps/sparc/sparc64/multiarch/Makefile
34120 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34122 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34123 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34125 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34126 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34127 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34128 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34129 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34130 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34131 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34132 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34133 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34135 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34136 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34138 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34140 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34142 * timezone/tzselect.ksh: Update from tzcode git revision
34143 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34144 * timezone/zdump.c: Likewise.
34145 * timezone/zic.c: Likewise.
34146 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34147 in TZVERSION setting, not $(PKGVERSION).
34148 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34149 REPORT_BUGS_TO settings.
34152 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34155 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34157 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34158 detection to immediately after _FP_ROUND().
34159 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34162 2012-11-11 David S. Miller <davem@davemloft.net>
34164 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34166 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34167 __close rather than their public counterparts.
34169 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34171 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34173 [UNIX98] (sem_timedwait): Do not expect.
34174 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34175 [XPG4 || UNIX98] (sockatmark): Do not expect.
34176 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34177 (clock_getcpuclockid): Do not expect.
34178 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34179 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34181 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34182 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34183 [UNIX98] (vwscanf): Likewise.
34184 [UNIX98] (vswscanf): Likewise.
34186 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34188 * timezone/version.h: Remove file.
34189 * timezone/README: Do not refer to version.h.
34190 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34191 $(objpfx)version.h.
34192 ($(objpfx)zdump.o): Likewise.
34193 ($(objpfx)version.h): New target.
34195 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34197 * timezone/README: Don't mention modification to tzselect.ksh.
34198 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34199 work on unmodified tzselect.ksh. Substitute version numbers in
34202 * Makefile (format-me): Remove.
34203 (INSTALL): Adjust indentation. Use commands directly instead of
34204 using $(format-me).
34206 * aclocal.m4 (ACX_PKGVERSION): New macro.
34207 (ACX_BUGURL): Likewise.
34208 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34209 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34210 (REPORT_BUGS_TO): Likewise.
34211 * configure: Regenerated.
34212 * config.h.in (PKGVERSION): New macro.
34213 (REPORT_BUGS_TO): Likewise.
34214 * config.make.in (PKGVERSION): New variable.
34215 (PKGVERSION_TEXI): Likewise.
34216 (REPORT_BUGS_TO): Likewise.
34217 (REPORT_BUGS_TEXI): Likewise.
34218 * Makefile (format-me): Use -I$(common-objpfx)manual.
34219 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34220 ($(common-objpfx)manual/%): New target.
34221 (manual/%): Remove target.
34222 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34223 (print_version): Use PKGVERSION.
34224 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34225 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34226 and REPORT_BUGS_TO.
34227 ($(objpfx)xtrace): Likewise.
34228 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34229 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34230 (print_version): Use PKGVERSION.
34231 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34232 (do_version): Use PKGVERSION.
34233 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34235 (common-ldd-rewrite): Likewise.
34236 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34237 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34238 (print_version): Use PKGVERSION.
34239 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34240 * elf/pldd.c (argp_program_bug_address): Remove variable.
34241 (more_help): New function.
34242 (argp): Use more_help.
34243 (print_version): Use PKGVERSION.
34244 * elf/sln.c (main): Use PKGVERSION.
34245 (usage): Use REPORT_BUGS_TO.
34246 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34247 (top level): Use PKGVERSION.
34248 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34249 (print_version): Use PKGVERSION.
34250 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34251 (print_version): Use PKGVERSION.
34252 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34253 (print_version): Use PKGVERSION.
34254 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34255 (print_version): Use PKGVERSION.
34256 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34257 (print_version): Use PKGVERSION.
34258 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34259 (print_version): Use PKGVERSION.
34260 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34262 ($(objpfx)memusage): Likewise.
34263 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34264 (do_version): Use PKGVERSION.
34265 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34266 (print_version): Use PKGVERSION.
34267 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34268 ($PKGVERSION): New variable.
34269 ($REPORT_BUGS_TO): Likewise.
34270 (usage): Use $REPORT_BUGS_TO.
34271 (top level): Use $PKGVERSION.
34272 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34273 ($(objpfx)pkgvers.texi): New rule.
34274 ($(objpfx)stamp-pkgvers): Likewise.
34275 * manual/install.texi: Include pkgvers.texi.
34276 (--with-pkgversion): Document new configure option.
34277 (--with-bugurl): Likewise.
34278 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34279 than necessarily for this particular distribution. Use
34280 REPORT_BUGS_TO for where to report bugs.
34281 * INSTALL: Regenerated.
34282 * manual/libc.texinfo: Include pkgvers.texi.
34283 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34284 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34285 (print_version): Use PKGVERSION.
34286 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34287 (print_version): Use PKGVERSION.
34288 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34289 (print_version): Use PKGVERSION.
34290 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34291 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34293 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34294 (print_version): Use PKGVERSION.
34295 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34296 (print_version): Use PKGVERSION.
34297 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34300 * timezone/checktab.awk: Update from tzcode 2012i.
34301 * timezone/ialloc.c: Likewise.
34302 * timezone/private.h: Likewise.
34303 * timezone/scheck.c: Likewise.
34304 * timezone/tzfile.h: Likewise.
34305 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34306 (TZVERSION): Hardcode tzcode version number.
34307 * timezone/zdump.c: Update from tzcode 2012i.
34308 * timezone/zic.c: Likewise.
34309 * timezone/version.h: New file.
34310 * timezone/README: Describe version.h. Update upstream location.
34313 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34314 (mktemp): Enable declaration.
34315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34332 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34333 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34334 for copies of such integer values.
34335 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34336 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34338 2012-11-09 Andreas Jaeger <aj@suse.de>
34340 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34341 definitions and declarations that are provided by
34342 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34344 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34346 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34347 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34348 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34351 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34353 * elf/elf.h: Update comment before AArch64 relocations.
34355 2012-11-07 David S. Miller <davem@davemloft.net>
34357 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34358 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34359 (__start_context): Declare.
34360 (__makecontext_ret): Delete.
34361 (__makecontext): Hook up __start_context instead of
34363 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34364 (sysdep_routines): Add __start_context when in stdlib.
34366 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34368 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34369 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34370 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34372 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34373 (READELF): New variable. Use it instead of hardcoded "readelf".
34375 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34377 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34378 * sysdeps/x86/Makefile: Here.
34379 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34380 * sysdeps/x86/tst-xmmymm.sh: This.
34382 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34384 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34386 [UNIX98] (pthread_barrier_t): Do not expect.
34387 [UNIX98] (pthread_barrierattr_t): Likewise.
34388 [UNIX98] (pthread_spinlock_t): Likewise.
34389 [UNIX98] (pthread_barrier_destroy): Likewise.
34390 [UNIX98] (pthread_barrier_init): Likewise.
34391 [UNIX98] (pthread_barrier_wait): Likewise.
34392 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34393 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34394 [UNIX98] (pthread_barrierattr_init): Likewise.
34395 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34396 [UNIX98] (pthread_getcpuclockid): Likewise.
34397 [UNIX98] (pthread_mutex_timedlock): Likewise.
34398 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34399 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34400 [UNIX98] (pthread_sigmask): Likewise.
34401 [UNIX98] (pthread_spin_destroy): Likewise.
34402 [UNIX98] (pthread_spin_init): Likewise.
34403 [UNIX98] (pthread_spin_lock): Likewise.
34404 [UNIX98] (pthread_spin_trylock): Likewise.
34405 [UNIX98] (pthread_spin_unlock): Likewise.
34406 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34408 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34409 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34410 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34411 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34412 [XPG3 || XPG4] (pthread_key_t): Likewise.
34413 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34414 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34415 [XPG3 || XPG4] (pthread_once_t): Likewise.
34416 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34417 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34418 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34419 [XPG3 || XPG4] (pthread_t): Likewise.
34421 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34423 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34425 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34426 Change function return type to int.
34428 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34429 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34430 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34431 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34432 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34433 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34434 [!POSIX] (posix_madvise): Likewise.
34435 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34437 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34438 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34439 (mode_t): Likewise.
34440 (posix_mem_offset): Likewise.
34441 (posix_typed_mem_get_info): Likewise.
34442 (posix_typed_mem_open): Likewise.
34444 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34445 Change condition to [XOPEN2K8].
34447 * conform/conformtest.pl: Preprocess allow-header data with -x c
34448 instead of from stdin.
34449 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34450 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34451 [C99-based standards] (cerfc): Likewise.
34452 [C99-based standards] (cexp2): Likewise.
34453 [C99-based standards] (cexpm1): Likewise.
34454 [C99-based standards] (clog10): Likewise.
34455 [C99-based standards] (clog1p): Likewise.
34456 [C99-based standards] (clog2): Likewise.
34457 [C99-based standards] (clgamma): Likewise.
34458 [C99-based standards] (ctgamma): Likewise.
34459 [C99-based standards] (cerff): Likewise.
34460 [C99-based standards] (cerfcf): Likewise.
34461 [C99-based standards] (cexp2f): Likewise.
34462 [C99-based standards] (cexpm1f): Likewise.
34463 [C99-based standards] (clog10f): Likewise.
34464 [C99-based standards] (clog1pf): Likewise.
34465 [C99-based standards] (clog2f): Likewise.
34466 [C99-based standards] (clgammaf): Likewise.
34467 [C99-based standards] (ctgammaf): Likewise.
34468 [C99-based standards] (cerfl): Likewise.
34469 [C99-based standards] (cerfcl): Likewise.
34470 [C99-based standards] (cexp2l): Likewise.
34471 [C99-based standards] (cexpm1l): Likewise.
34472 [C99-based standards] (clog10l): Likewise.
34473 [C99-based standards] (clog1pl): Likewise.
34474 [C99-based standards] (clog2l): Likewise.
34475 [C99-based standards] (clgammal): Likewise.
34476 [C99-based standards] (ctgammal): Likewise.
34477 * conform/data/inttypes.h-data [C99-based standards]: Include
34478 stdint.h-data. Remove all expectations for stdint.h contents.
34479 [C99-based standards] (PRI*): Do not allow.
34480 [C99-based standards] (SCN*): Likewise.
34481 [C99-based standards] (*_t): Likewise.
34482 [C99-based-standards] (PRId8): Expect macro.
34483 [C99-based-standards] (PRIi8): Likewise.
34484 [C99-based-standards] (PRIo8): Likewise.
34485 [C99-based-standards] (PRIu8): Likewise.
34486 [C99-based-standards] (PRIx8): Likewise.
34487 [C99-based-standards] (PRIX8): Likewise.
34488 [C99-based-standards] (SCNd8): Likewise.
34489 [C99-based-standards] (SCNi8): Likewise.
34490 [C99-based-standards] (SCNo8): Likewise.
34491 [C99-based-standards] (SCNu8): Likewise.
34492 [C99-based-standards] (SCNx8): Likewise.
34493 [C99-based-standards] (PRIdLEAST8): Likewise.
34494 [C99-based-standards] (PRIiLEAST8): Likewise.
34495 [C99-based-standards] (PRIoLEAST8): Likewise.
34496 [C99-based-standards] (PRIuLEAST8): Likewise.
34497 [C99-based-standards] (PRIxLEAST8): Likewise.
34498 [C99-based-standards] (PRIXLEAST8): Likewise.
34499 [C99-based-standards] (SCNdLEAST8): Likewise.
34500 [C99-based-standards] (SCNiLEAST8): Likewise.
34501 [C99-based-standards] (SCNoLEAST8): Likewise.
34502 [C99-based-standards] (SCNuLEAST8): Likewise.
34503 [C99-based-standards] (SCNxLEAST8): Likewise.
34504 [C99-based-standards] (PRIdFAST8): Likewise.
34505 [C99-based-standards] (PRIiFAST8): Likewise.
34506 [C99-based-standards] (PRIoFAST8): Likewise.
34507 [C99-based-standards] (PRIuFAST8): Likewise.
34508 [C99-based-standards] (PRIxFAST8): Likewise.
34509 [C99-based-standards] (PRIXFAST8): Likewise.
34510 [C99-based-standards] (SCNdFAST8): Likewise.
34511 [C99-based-standards] (SCNiFAST8): Likewise.
34512 [C99-based-standards] (SCNoFAST8): Likewise.
34513 [C99-based-standards] (SCNuFAST8): Likewise.
34514 [C99-based-standards] (SCNxFAST8): Likewise.
34515 [C99-based-standards] (PRId16): Likewise.
34516 [C99-based-standards] (PRIi16): Likewise.
34517 [C99-based-standards] (PRIo16): Likewise.
34518 [C99-based-standards] (PRIu16): Likewise.
34519 [C99-based-standards] (PRIx16): Likewise.
34520 [C99-based-standards] (PRIX16): Likewise.
34521 [C99-based-standards] (SCNd16): Likewise.
34522 [C99-based-standards] (SCNi16): Likewise.
34523 [C99-based-standards] (SCNo16): Likewise.
34524 [C99-based-standards] (SCNu16): Likewise.
34525 [C99-based-standards] (SCNx16): Likewise.
34526 [C99-based-standards] (PRIdLEAST16): Likewise.
34527 [C99-based-standards] (PRIiLEAST16): Likewise.
34528 [C99-based-standards] (PRIoLEAST16): Likewise.
34529 [C99-based-standards] (PRIuLEAST16): Likewise.
34530 [C99-based-standards] (PRIxLEAST16): Likewise.
34531 [C99-based-standards] (PRIXLEAST16): Likewise.
34532 [C99-based-standards] (SCNdLEAST16): Likewise.
34533 [C99-based-standards] (SCNiLEAST16): Likewise.
34534 [C99-based-standards] (SCNoLEAST16): Likewise.
34535 [C99-based-standards] (SCNuLEAST16): Likewise.
34536 [C99-based-standards] (SCNxLEAST16): Likewise.
34537 [C99-based-standards] (PRIdFAST16): Likewise.
34538 [C99-based-standards] (PRIiFAST16): Likewise.
34539 [C99-based-standards] (PRIoFAST16): Likewise.
34540 [C99-based-standards] (PRIuFAST16): Likewise.
34541 [C99-based-standards] (PRIxFAST16): Likewise.
34542 [C99-based-standards] (PRIXFAST16): Likewise.
34543 [C99-based-standards] (SCNdFAST16): Likewise.
34544 [C99-based-standards] (SCNiFAST16): Likewise.
34545 [C99-based-standards] (SCNoFAST16): Likewise.
34546 [C99-based-standards] (SCNuFAST16): Likewise.
34547 [C99-based-standards] (SCNxFAST16): Likewise.
34548 [C99-based-standards] (PRId32): Likewise.
34549 [C99-based-standards] (PRIi32): Likewise.
34550 [C99-based-standards] (PRIo32): Likewise.
34551 [C99-based-standards] (PRIu32): Likewise.
34552 [C99-based-standards] (PRIx32): Likewise.
34553 [C99-based-standards] (PRIX32): Likewise.
34554 [C99-based-standards] (SCNd32): Likewise.
34555 [C99-based-standards] (SCNi32): Likewise.
34556 [C99-based-standards] (SCNo32): Likewise.
34557 [C99-based-standards] (SCNu32): Likewise.
34558 [C99-based-standards] (SCNx32): Likewise.
34559 [C99-based-standards] (PRIdLEAST32): Likewise.
34560 [C99-based-standards] (PRIiLEAST32): Likewise.
34561 [C99-based-standards] (PRIoLEAST32): Likewise.
34562 [C99-based-standards] (PRIuLEAST32): Likewise.
34563 [C99-based-standards] (PRIxLEAST32): Likewise.
34564 [C99-based-standards] (PRIXLEAST32): Likewise.
34565 [C99-based-standards] (SCNdLEAST32): Likewise.
34566 [C99-based-standards] (SCNiLEAST32): Likewise.
34567 [C99-based-standards] (SCNoLEAST32): Likewise.
34568 [C99-based-standards] (SCNuLEAST32): Likewise.
34569 [C99-based-standards] (SCNxLEAST32): Likewise.
34570 [C99-based-standards] (PRIdFAST32): Likewise.
34571 [C99-based-standards] (PRIiFAST32): Likewise.
34572 [C99-based-standards] (PRIoFAST32): Likewise.
34573 [C99-based-standards] (PRIuFAST32): Likewise.
34574 [C99-based-standards] (PRIxFAST32): Likewise.
34575 [C99-based-standards] (PRIXFAST32): Likewise.
34576 [C99-based-standards] (SCNdFAST32): Likewise.
34577 [C99-based-standards] (SCNiFAST32): Likewise.
34578 [C99-based-standards] (SCNoFAST32): Likewise.
34579 [C99-based-standards] (SCNuFAST32): Likewise.
34580 [C99-based-standards] (SCNxFAST32): Likewise.
34581 [C99-based-standards] (PRId64): Likewise.
34582 [C99-based-standards] (PRIi64): Likewise.
34583 [C99-based-standards] (PRIo64): Likewise.
34584 [C99-based-standards] (PRIu64): Likewise.
34585 [C99-based-standards] (PRIx64): Likewise.
34586 [C99-based-standards] (PRIX64): Likewise.
34587 [C99-based-standards] (SCNd64): Likewise.
34588 [C99-based-standards] (SCNi64): Likewise.
34589 [C99-based-standards] (SCNo64): Likewise.
34590 [C99-based-standards] (SCNu64): Likewise.
34591 [C99-based-standards] (SCNx64): Likewise.
34592 [C99-based-standards] (PRIdLEAST64): Likewise.
34593 [C99-based-standards] (PRIiLEAST64): Likewise.
34594 [C99-based-standards] (PRIoLEAST64): Likewise.
34595 [C99-based-standards] (PRIuLEAST64): Likewise.
34596 [C99-based-standards] (PRIxLEAST64): Likewise.
34597 [C99-based-standards] (PRIXLEAST64): Likewise.
34598 [C99-based-standards] (SCNdLEAST64): Likewise.
34599 [C99-based-standards] (SCNiLEAST64): Likewise.
34600 [C99-based-standards] (SCNoLEAST64): Likewise.
34601 [C99-based-standards] (SCNuLEAST64): Likewise.
34602 [C99-based-standards] (SCNxLEAST64): Likewise.
34603 [C99-based-standards] (PRIdFAST64): Likewise.
34604 [C99-based-standards] (PRIiFAST64): Likewise.
34605 [C99-based-standards] (PRIoFAST64): Likewise.
34606 [C99-based-standards] (PRIuFAST64): Likewise.
34607 [C99-based-standards] (PRIxFAST64): Likewise.
34608 [C99-based-standards] (PRIXFAST64): Likewise.
34609 [C99-based-standards] (SCNdFAST64): Likewise.
34610 [C99-based-standards] (SCNiFAST64): Likewise.
34611 [C99-based-standards] (SCNoFAST64): Likewise.
34612 [C99-based-standards] (SCNuFAST64): Likewise.
34613 [C99-based-standards] (SCNxFAST64): Likewise.
34614 [C99-based-standards] (PRIdMAX): Likewise.
34615 [C99-based-standards] (PRIiMAX): Likewise.
34616 [C99-based-standards] (PRIoMAX): Likewise.
34617 [C99-based-standards] (PRIuMAX): Likewise.
34618 [C99-based-standards] (PRIxMAX): Likewise.
34619 [C99-based-standards] (PRIXMAX): Likewise.
34620 [C99-based-standards] (SCNdMAX): Likewise.
34621 [C99-based-standards] (SCNiMAX): Likewise.
34622 [C99-based-standards] (SCNoMAX): Likewise.
34623 [C99-based-standards] (SCNuMAX): Likewise.
34624 [C99-based-standards] (SCNxMAX): Likewise.
34625 [C99-based-standards] (PRIdPTR): Likewise.
34626 [C99-based-standards] (PRIiPTR): Likewise.
34627 [C99-based-standards] (PRIoPTR): Likewise.
34628 [C99-based-standards] (PRIuPTR): Likewise.
34629 [C99-based-standards] (PRIxPTR): Likewise.
34630 [C99-based-standards] (PRIXPTR): Likewise.
34631 [C99-based-standards] (SCNdPTR): Likewise.
34632 [C99-based-standards] (SCNiPTR): Likewise.
34633 [C99-based-standards] (SCNoPTR): Likewise.
34634 [C99-based-standards] (SCNuPTR): Likewise.
34635 [C99-based-standards] (SCNxPTR): Likewise.
34636 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34638 * conform/data/stdint.h-data: Update comments to clarify
34640 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34642 [C99-based standards] (INT8_MAX): Likewise.
34643 [C99-based standards] (INT16_MIN): Likewise.
34644 [C99-based standards] (INT16_MAX): Likewise.
34645 [C99-based standards] (INT32_MIN): Likewise.
34646 [C99-based standards] (INT32_MAX): Likewise.
34647 [C99-based standards] (INT64_MIN): Likewise.
34648 [C99-based standards] (INT64_MAX): Likewise.
34649 [C99-based standards] (UINT8_MAX): Likewise.
34650 [C99-based standards] (UINT16_MAX): Likewise.
34651 [C99-based standards] (UINT32_MAX): Likewise.
34652 [C99-based standards] (UINT64_MAX): Likewise.
34653 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34654 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34655 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34656 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34657 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34658 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34659 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34660 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34661 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34662 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34663 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34664 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34665 [C99-based standards] (INT_FAST8_MIN): Likewise.
34666 [C99-based standards] (INT_FAST8_MAX): Likewise.
34667 [C99-based standards] (INT_FAST16_MIN): Likewise.
34668 [C99-based standards] (INT_FAST16_MAX): Likewise.
34669 [C99-based standards] (INT_FAST32_MIN): Likewise.
34670 [C99-based standards] (INT_FAST32_MAX): Likewise.
34671 [C99-based standards] (INT_FAST64_MIN): Likewise.
34672 [C99-based standards] (INT_FAST64_MAX): Likewise.
34673 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34674 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34675 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34676 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34677 [C99-based standards] (INTPTR_MIN): Likewise.
34678 [C99-based standards] (INTPTR_MAX): Likewise.
34679 [C99-based standards] (UINTPTR_MAX): Likewise.
34680 [C99-based standards] (INTMAX_MIN): Likewise.
34681 [C99-based standards] (INTMAX_MAX): Likewise.
34682 [C99-based standards] (UINTMAX_MAX): Likewise.
34683 [C99-based standards] (PTRDIFF_MIN): Likewise.
34684 [C99-based standards] (PTRDIFF_MAX): Likewise.
34685 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34686 [C99-based standards] (SIZE_MAX): Likewise.
34687 [C99-based standards] (WCHAR_MAX): Likewise.
34688 [C99-based standards] (WINT_MAX): Likewise.
34689 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34690 constraint on value.
34691 [C99-based standards] (WCHAR_MIN): Likewise.
34692 [C99-based standards] (WINT_MIN): Likewise.
34693 [C99-based standards] (*_t): Allow.
34694 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34695 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34696 Include math.h-data and complex.h-data. Remove all expectations
34697 of math.h and complex.h contents.
34698 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34700 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34701 (struct tm): Expect tag.
34702 [C99-based-standards] (wcstof): Expect function.
34703 [C99-based-standards] (wcstold): Likewise.
34704 [C99-based-standards] (wcstoll): Likewise.
34705 [C99-based-standards] (wcstoull): Likewise.
34706 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34707 macro-int-constant. Specify type.
34708 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34709 constraint on value.
34710 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34712 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34714 [ISO C standards]: Do not allow headers.
34715 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34716 wcs[abcdefghijklmnopqrstuvwxyz]*.
34717 [ISO C standards] (*_t): Do not allow.
34718 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34720 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34721 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34723 [ISO C standards]: Do not allow headers.
34724 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34725 is[abcdefghijklmnopqrstuvwxyz]*.
34726 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34727 to[abcdefghijklmnopqrstuvwxyz]*.
34728 [ISO C standards] (*_t): Do not allow.
34729 * conform/data/stdalign.h-data: New file.
34730 * conform/data/stdbool.h-data: Likewise.
34731 * conform/data/stdnoreturn.h-data: Likewise.
34733 2012-11-07 Roland McGrath <roland@hack.frob.com>
34736 * manual/filesys.texi (Directory Entries): Typo fix.
34737 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34739 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34741 * elf/elf.h (EM_AARCH64): New macro.
34742 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34743 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34744 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34745 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34746 (R_AARCH64_TLSDESC): Likewise.
34747 (NT_ARM_TLS): Likewise.
34748 (NT_ARM_HW_BREAK): Likewise.
34749 (NT_ARM_HW_WATCH): Likewise.
34751 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34754 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34755 (__ieee754_powl): Saturate nonzero exponents with absolute value
34756 below 0x1p-79 to +/- 0x1p-79.
34757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34758 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34759 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34760 nonzero exponents with absolute value below 0x1p-32 to +/-
34762 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34763 (__ieee754_powl): Saturate nonzero exponents with absolute value
34764 below 0x1p-79 to +/- 0x1p-79.
34765 * math/libm-test.inc (pow_test): Add more tests.
34767 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34769 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34770 _dl_s390_cap_flags with kernel. Increase string length.
34771 (_dl_s390_platforms): Add z196 and zEC12.
34773 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34775 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34776 Change XOPEN21K to XOPEN2K.
34778 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34780 * string/memmove.c: Use memcpy when possible.
34782 2012-11-06 Andreas Jaeger <aj@suse.de>
34784 * po/eo.po: Update from translation team.
34786 2012-11-06 Joseph Myers <joseph@codesourcery.com>
34789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34790 exponent and small x and y exponents, scale x or y up. Increase
34791 by 2 the exponent used in scaling up.
34792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34793 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34794 * math/libm-test.inc (fma_test): Add more tests.
34795 (fma_test_towardzero): Likewise.
34796 (fma_test_downward): Likewise.
34797 (fma_test_upward): Likewise.
34799 2012-11-05 Joseph Myers <joseph@codesourcery.com>
34802 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34806 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34807 namespace for names of struct fields.
34808 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34810 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34811 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34813 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34816 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34818 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34820 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34824 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34827 2012-11-04 Joseph Myers <joseph@codesourcery.com>
34830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34831 definitely overflow as x * y not x * y + z.
34832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34834 * math/libm-test.inc (fma_test): Add more tests.
34835 (fma_test_towardzero): Likewise.
34836 (fma_test_downward): Likewise.
34837 (fma_test_upward): Likewise.
34839 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34843 * include/stub-tag.h: Remove file.
34844 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34846 * manual/maint.texi (Porting): Don't reference it.
34847 * Makerules ($(objpfx)stubs): Likewise.
34848 * dirent/closedir.c: Don't include <stub-tag.h>.
34849 * dirent/dirfd.c: Likewise.
34850 * dirent/fdopendir.c: Likewise.
34851 * dirent/getdents.c: Likewise.
34852 * dirent/getdents64.c: Likewise.
34853 * dirent/opendir.c: Likewise.
34854 * dirent/readdir.c: Likewise.
34855 * dirent/readdir64.c: Likewise.
34856 * dirent/readdir64_r.c: Likewise.
34857 * dirent/readdir_r.c: Likewise.
34858 * dirent/rewinddir.c: Likewise.
34859 * dirent/seekdir.c: Likewise.
34860 * dirent/telldir.c: Likewise.
34861 * gmon/profil.c: Likewise.
34862 * grp/setgroups.c: Likewise.
34863 * inet/if_index.c: Likewise.
34864 * io/access.c: Likewise.
34865 * io/chdir.c: Likewise.
34866 * io/chmod.c: Likewise.
34867 * io/chown.c: Likewise.
34868 * io/close.c: Likewise.
34869 * io/dup.c: Likewise.
34870 * io/dup2.c: Likewise.
34871 * io/dup3.c: Likewise.
34872 * io/euidaccess.c: Likewise.
34873 * io/faccessat.c: Likewise.
34874 * io/fchdir.c: Likewise.
34875 * io/fchmod.c: Likewise.
34876 * io/fchmodat.c: Likewise.
34877 * io/fchown.c: Likewise.
34878 * io/fchownat.c: Likewise.
34879 * io/fcntl.c: Likewise.
34880 * io/flock.c: Likewise.
34881 * io/fstatfs.c: Likewise.
34882 * io/fstatfs64.c: Likewise.
34883 * io/fstatvfs.c: Likewise.
34884 * io/fstatvfs64.c: Likewise.
34885 * io/futimens.c: Likewise.
34886 * io/fxstat.c: Likewise.
34887 * io/fxstat64.c: Likewise.
34888 * io/fxstatat.c: Likewise.
34889 * io/fxstatat64.c: Likewise.
34890 * io/getcwd.c: Likewise.
34891 * io/isatty.c: Likewise.
34892 * io/lchmod.c: Likewise.
34893 * io/lchown.c: Likewise.
34894 * io/link.c: Likewise.
34895 * io/linkat.c: Likewise.
34896 * io/lseek.c: Likewise.
34897 * io/lseek64.c: Likewise.
34898 * io/lxstat64.c: Likewise.
34899 * io/mkdir.c: Likewise.
34900 * io/mkdirat.c: Likewise.
34901 * io/mkfifo.c: Likewise.
34902 * io/mkfifoat.c: Likewise.
34903 * io/open.c: Likewise.
34904 * io/open64.c: Likewise.
34905 * io/openat.c: Likewise.
34906 * io/openat64.c: Likewise.
34907 * io/pipe.c: Likewise.
34908 * io/pipe2.c: Likewise.
34909 * io/poll.c: Likewise.
34910 * io/posix_fadvise.c: Likewise.
34911 * io/posix_fadvise64.c: Likewise.
34912 * io/posix_fallocate.c: Likewise.
34913 * io/posix_fallocate64.c: Likewise.
34914 * io/read.c: Likewise.
34915 * io/readlink.c: Likewise.
34916 * io/readlinkat.c: Likewise.
34917 * io/rmdir.c: Likewise.
34918 * io/sendfile.c: Likewise.
34919 * io/sendfile64.c: Likewise.
34920 * io/statfs.c: Likewise.
34921 * io/statfs64.c: Likewise.
34922 * io/statvfs.c: Likewise.
34923 * io/statvfs64.c: Likewise.
34924 * io/symlink.c: Likewise.
34925 * io/symlinkat.c: Likewise.
34926 * io/ttyname.c: Likewise.
34927 * io/ttyname_r.c: Likewise.
34928 * io/umask.c: Likewise.
34929 * io/unlink.c: Likewise.
34930 * io/unlinkat.c: Likewise.
34931 * io/utime.c: Likewise.
34932 * io/utimensat.c: Likewise.
34933 * io/write.c: Likewise.
34934 * io/xmknod.c: Likewise.
34935 * io/xmknodat.c: Likewise.
34936 * io/xstat.c: Likewise.
34937 * io/xstat64.c: Likewise.
34938 * login/getpt.c: Likewise.
34939 * login/grantpt.c: Likewise.
34940 * login/unlockpt.c: Likewise.
34941 * math/e_acoshl.c: Likewise.
34942 * math/e_acosl.c: Likewise.
34943 * math/e_asinl.c: Likewise.
34944 * math/e_atan2l.c: Likewise.
34945 * math/e_atanhl.c: Likewise.
34946 * math/e_coshl.c: Likewise.
34947 * math/e_expl.c: Likewise.
34948 * math/e_fmodl.c: Likewise.
34949 * math/e_gammal_r.c: Likewise.
34950 * math/e_hypotl.c: Likewise.
34951 * math/e_j0l.c: Likewise.
34952 * math/e_j1l.c: Likewise.
34953 * math/e_jnl.c: Likewise.
34954 * math/e_lgammal_r.c: Likewise.
34955 * math/e_log10l.c: Likewise.
34956 * math/e_log2l.c: Likewise.
34957 * math/e_logl.c: Likewise.
34958 * math/e_powl.c: Likewise.
34959 * math/e_rem_pio2l.c: Likewise.
34960 * math/e_sinhl.c: Likewise.
34961 * math/e_sqrtl.c: Likewise.
34962 * math/fclrexcpt.c: Likewise.
34963 * math/fedisblxcpt.c: Likewise.
34964 * math/feenablxcpt.c: Likewise.
34965 * math/fegetenv.c: Likewise.
34966 * math/fegetexcept.c: Likewise.
34967 * math/fegetround.c: Likewise.
34968 * math/feholdexcpt.c: Likewise.
34969 * math/fesetenv.c: Likewise.
34970 * math/fesetround.c: Likewise.
34971 * math/feupdateenv.c: Likewise.
34972 * math/fgetexcptflg.c: Likewise.
34973 * math/fraiseexcpt.c: Likewise.
34974 * math/fsetexcptflg.c: Likewise.
34975 * math/ftestexcept.c: Likewise.
34976 * math/k_cosl.c: Likewise.
34977 * math/k_rem_pio2l.c: Likewise.
34978 * math/k_sinl.c: Likewise.
34979 * math/k_tanl.c: Likewise.
34980 * math/s_asinhl.c: Likewise.
34981 * math/s_atanl.c: Likewise.
34982 * math/s_cbrtl.c: Likewise.
34983 * math/s_erfl.c: Likewise.
34984 * math/s_expm1l.c: Likewise.
34985 * math/s_log1pl.c: Likewise.
34986 * math/s_tanhl.c: Likewise.
34987 * misc/acct.c: Likewise.
34988 * misc/brk.c: Likewise.
34989 * misc/chflags.c: Likewise.
34990 * misc/chroot.c: Likewise.
34991 * misc/fchflags.c: Likewise.
34992 * misc/fgetxattr.c: Likewise.
34993 * misc/flistxattr.c: Likewise.
34994 * misc/fremovexattr.c: Likewise.
34995 * misc/fsetxattr.c: Likewise.
34996 * misc/fsync.c: Likewise.
34997 * misc/ftruncate.c: Likewise.
34998 * misc/futimes.c: Likewise.
34999 * misc/futimesat.c: Likewise.
35000 * misc/getdomain.c: Likewise.
35001 * misc/getdtsz.c: Likewise.
35002 * misc/gethostid.c: Likewise.
35003 * misc/gethostname.c: Likewise.
35004 * misc/getloadavg.c: Likewise.
35005 * misc/getpagesize.c: Likewise.
35006 * misc/getsysstats.c: Likewise.
35007 * misc/getxattr.c: Likewise.
35008 * misc/gtty.c: Likewise.
35009 * misc/ioctl.c: Likewise.
35010 * misc/lgetxattr.c: Likewise.
35011 * misc/listxattr.c: Likewise.
35012 * misc/llistxattr.c: Likewise.
35013 * misc/lremovexattr.c: Likewise.
35014 * misc/lsetxattr.c: Likewise.
35015 * misc/lutimes.c: Likewise.
35016 * misc/madvise.c: Likewise.
35017 * misc/mincore.c: Likewise.
35018 * misc/mlock.c: Likewise.
35019 * misc/mlockall.c: Likewise.
35020 * misc/mmap.c: Likewise.
35021 * misc/mprotect.c: Likewise.
35022 * misc/msync.c: Likewise.
35023 * misc/munlock.c: Likewise.
35024 * misc/munlockall.c: Likewise.
35025 * misc/munmap.c: Likewise.
35026 * misc/preadv.c: Likewise.
35027 * misc/preadv64.c: Likewise.
35028 * misc/ptrace.c: Likewise.
35029 * misc/pwritev.c: Likewise.
35030 * misc/pwritev64.c: Likewise.
35031 * misc/readv.c: Likewise.
35032 * misc/reboot.c: Likewise.
35033 * misc/remap_file_pages.c: Likewise.
35034 * misc/removexattr.c: Likewise.
35035 * misc/revoke.c: Likewise.
35036 * misc/select.c: Likewise.
35037 * misc/setdomain.c: Likewise.
35038 * misc/setegid.c: Likewise.
35039 * misc/seteuid.c: Likewise.
35040 * misc/sethostid.c: Likewise.
35041 * misc/sethostname.c: Likewise.
35042 * misc/setregid.c: Likewise.
35043 * misc/setreuid.c: Likewise.
35044 * misc/setxattr.c: Likewise.
35045 * misc/sstk.c: Likewise.
35046 * misc/stty.c: Likewise.
35047 * misc/swapoff.c: Likewise.
35048 * misc/swapon.c: Likewise.
35049 * misc/sync.c: Likewise.
35050 * misc/syncfs.c: Likewise.
35051 * misc/syscall.c: Likewise.
35052 * misc/truncate.c: Likewise.
35053 * misc/ualarm.c: Likewise.
35054 * misc/usleep.c: Likewise.
35055 * misc/ustat.c: Likewise.
35056 * misc/utimes.c: Likewise.
35057 * misc/vhangup.c: Likewise.
35058 * misc/writev.c: Likewise.
35059 * posix/_exit.c: Likewise.
35060 * posix/alarm.c: Likewise.
35061 * posix/execve.c: Likewise.
35062 * posix/fexecve.c: Likewise.
35063 * posix/fork.c: Likewise.
35064 * posix/fpathconf.c: Likewise.
35065 * posix/getaddrinfo.c: Likewise.
35066 * posix/getegid.c: Likewise.
35067 * posix/geteuid.c: Likewise.
35068 * posix/getgid.c: Likewise.
35069 * posix/getgroups.c: Likewise.
35070 * posix/getlogin.c: Likewise.
35071 * posix/getlogin_r.c: Likewise.
35072 * posix/getpgid.c: Likewise.
35073 * posix/getpid.c: Likewise.
35074 * posix/getppid.c: Likewise.
35075 * posix/getresgid.c: Likewise.
35076 * posix/getresuid.c: Likewise.
35077 * posix/getsid.c: Likewise.
35078 * posix/getuid.c: Likewise.
35079 * posix/glob64.c: Likewise.
35080 * posix/nanosleep.c: Likewise.
35081 * posix/pathconf.c: Likewise.
35082 * posix/pause.c: Likewise.
35083 * posix/posix_madvise.c: Likewise.
35084 * posix/pread.c: Likewise.
35085 * posix/pread64.c: Likewise.
35086 * posix/pwrite.c: Likewise.
35087 * posix/pwrite64.c: Likewise.
35088 * posix/sched_getaffinity.c: Likewise.
35089 * posix/sched_getp.c: Likewise.
35090 * posix/sched_gets.c: Likewise.
35091 * posix/sched_primax.c: Likewise.
35092 * posix/sched_primin.c: Likewise.
35093 * posix/sched_rr_gi.c: Likewise.
35094 * posix/sched_setaffinity.c: Likewise.
35095 * posix/sched_setp.c: Likewise.
35096 * posix/sched_sets.c: Likewise.
35097 * posix/sched_yield.c: Likewise.
35098 * posix/setgid.c: Likewise.
35099 * posix/setlogin.c: Likewise.
35100 * posix/setpgid.c: Likewise.
35101 * posix/setresgid.c: Likewise.
35102 * posix/setresuid.c: Likewise.
35103 * posix/setsid.c: Likewise.
35104 * posix/setuid.c: Likewise.
35105 * posix/sleep.c: Likewise.
35106 * posix/spawni.c: Likewise.
35107 * posix/sysconf.c: Likewise.
35108 * posix/times.c: Likewise.
35109 * posix/wait.c: Likewise.
35110 * posix/wait3.c: Likewise.
35111 * posix/wait4.c: Likewise.
35112 * posix/waitpid.c: Likewise.
35113 * resolv/gai_sigqueue.c: Likewise.
35114 * resource/getpriority.c: Likewise.
35115 * resource/getrlimit.c: Likewise.
35116 * resource/getrusage.c: Likewise.
35117 * resource/nice.c: Likewise.
35118 * resource/setpriority.c: Likewise.
35119 * resource/setrlimit.c: Likewise.
35120 * resource/ulimit.c: Likewise.
35121 * rt/aio_cancel.c: Likewise.
35122 * rt/aio_fsync.c: Likewise.
35123 * rt/aio_read.c: Likewise.
35124 * rt/aio_sigqueue.c: Likewise.
35125 * rt/aio_suspend.c: Likewise.
35126 * rt/aio_write.c: Likewise.
35127 * rt/clock_getres.c: Likewise.
35128 * rt/clock_gettime.c: Likewise.
35129 * rt/clock_nanosleep.c: Likewise.
35130 * rt/clock_settime.c: Likewise.
35131 * rt/lio_listio.c: Likewise.
35132 * rt/mq_close.c: Likewise.
35133 * rt/mq_getattr.c: Likewise.
35134 * rt/mq_notify.c: Likewise.
35135 * rt/mq_open.c: Likewise.
35136 * rt/mq_receive.c: Likewise.
35137 * rt/mq_send.c: Likewise.
35138 * rt/mq_setattr.c: Likewise.
35139 * rt/mq_timedreceive.c: Likewise.
35140 * rt/mq_timedsend.c: Likewise.
35141 * rt/mq_unlink.c: Likewise.
35142 * rt/shm_open.c: Likewise.
35143 * rt/shm_unlink.c: Likewise.
35144 * rt/timer_create.c: Likewise.
35145 * rt/timer_delete.c: Likewise.
35146 * rt/timer_getoverr.c: Likewise.
35147 * rt/timer_gettime.c: Likewise.
35148 * rt/timer_settime.c: Likewise.
35149 * setjmp/__longjmp.c: Likewise.
35150 * setjmp/setjmp.c: Likewise.
35151 * signal/kill.c: Likewise.
35152 * signal/killpg.c: Likewise.
35153 * signal/raise.c: Likewise.
35154 * signal/sigaction.c: Likewise.
35155 * signal/sigaltstack.c: Likewise.
35156 * signal/sigblock.c: Likewise.
35157 * signal/sigignore.c: Likewise.
35158 * signal/sigintr.c: Likewise.
35159 * signal/signal.c: Likewise.
35160 * signal/sigpause.c: Likewise.
35161 * signal/sigpending.c: Likewise.
35162 * signal/sigqueue.c: Likewise.
35163 * signal/sigreturn.c: Likewise.
35164 * signal/sigset.c: Likewise.
35165 * signal/sigsetmask.c: Likewise.
35166 * signal/sigstack.c: Likewise.
35167 * signal/sigsuspend.c: Likewise.
35168 * signal/sigtimedwait.c: Likewise.
35169 * signal/sigvec.c: Likewise.
35170 * signal/sigwait.c: Likewise.
35171 * signal/sigwaitinfo.c: Likewise.
35172 * signal/sysv_signal.c: Likewise.
35173 * socket/accept.c: Likewise.
35174 * socket/accept4.c: Likewise.
35175 * socket/bind.c: Likewise.
35176 * socket/connect.c: Likewise.
35177 * socket/getpeername.c: Likewise.
35178 * socket/getsockname.c: Likewise.
35179 * socket/getsockopt.c: Likewise.
35180 * socket/isfdtype.c: Likewise.
35181 * socket/listen.c: Likewise.
35182 * socket/recv.c: Likewise.
35183 * socket/recvfrom.c: Likewise.
35184 * socket/recvmsg.c: Likewise.
35185 * socket/send.c: Likewise.
35186 * socket/sendmsg.c: Likewise.
35187 * socket/sendto.c: Likewise.
35188 * socket/setsockopt.c: Likewise.
35189 * socket/shutdown.c: Likewise.
35190 * socket/sockatmark.c: Likewise.
35191 * socket/socket.c: Likewise.
35192 * socket/socketpair.c: Likewise.
35193 * stdio-common/ctermid.c: Likewise.
35194 * stdio-common/cuserid.c: Likewise.
35195 * stdio-common/remove.c: Likewise.
35196 * stdio-common/rename.c: Likewise.
35197 * stdio-common/renameat.c: Likewise.
35198 * stdio-common/tempname.c: Likewise.
35199 * stdlib/getcontext.c: Likewise.
35200 * stdlib/makecontext.c: Likewise.
35201 * stdlib/setcontext.c: Likewise.
35202 * stdlib/swapcontext.c: Likewise.
35203 * stdlib/system.c: Likewise.
35204 * streams/fattach.c: Likewise.
35205 * streams/fdetach.c: Likewise.
35206 * streams/getmsg.c: Likewise.
35207 * streams/getpmsg.c: Likewise.
35208 * streams/putmsg.c: Likewise.
35209 * streams/putpmsg.c: Likewise.
35210 * sysdeps/unix/bsd/getpt.c: Likewise.
35211 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35212 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35213 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35216 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35217 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35218 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35219 * sysvipc/msgctl.c: Likewise.
35220 * sysvipc/msgget.c: Likewise.
35221 * sysvipc/msgrcv.c: Likewise.
35222 * sysvipc/msgsnd.c: Likewise.
35223 * sysvipc/semctl.c: Likewise.
35224 * sysvipc/semget.c: Likewise.
35225 * sysvipc/semop.c: Likewise.
35226 * sysvipc/semtimedop.c: Likewise.
35227 * sysvipc/shmat.c: Likewise.
35228 * sysvipc/shmctl.c: Likewise.
35229 * sysvipc/shmdt.c: Likewise.
35230 * sysvipc/shmget.c: Likewise.
35231 * termios/tcdrain.c: Likewise.
35232 * termios/tcflow.c: Likewise.
35233 * termios/tcflush.c: Likewise.
35234 * termios/tcgetattr.c: Likewise.
35235 * termios/tcgetpgrp.c: Likewise.
35236 * termios/tcsendbrk.c: Likewise.
35237 * termios/tcsetattr.c: Likewise.
35238 * termios/tcsetpgrp.c: Likewise.
35239 * time/adjtime.c: Likewise.
35240 * time/clock.c: Likewise.
35241 * time/getitimer.c: Likewise.
35242 * time/gettimeofday.c: Likewise.
35243 * time/setitimer.c: Likewise.
35244 * time/settimeofday.c: Likewise.
35245 * time/stime.c: Likewise.
35246 * time/time.c: Likewise.
35248 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35250 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35253 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35255 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35257 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35261 FE_TONEAREST before applying Dekker multiplication and Knuth
35262 addition. Clear inexact exceptions and check for exact zero
35263 results afterwards.
35264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35265 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35267 * math/libm-test.inc (fma_test): Add more tests.
35268 (fma_test_towardzero): Likewise.
35269 (fma_test_downward): Likewise.
35270 (fma_test_upward): Likewise.
35271 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35273 (libc_fesetround): New macro.
35274 (libc_fesetroundf): Likewise.
35275 (libc_fesetroundl): Likewise.
35276 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35278 (libc_fesetround_387): Likewise.
35279 (libc_fesetroundf): New macro.
35280 (libc_fesetround): Likewise.
35281 (libc_fesetroundl): Likewise.
35282 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35284 (libc_fesetroundf): New macro.
35285 (libc_fesetround): Likewise.
35286 (libc_fesetroundl): Likewise.
35287 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35288 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35289 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35291 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35292 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35294 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35295 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35297 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35301 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35302 integer constant usable in #if and use that to give value to enum
35304 (FE_DIVBYZERO): Likewise.
35305 (FE_UNDERFLOW): Likewise.
35306 (FE_OVERFLOW): Likewise.
35307 (FE_INVALID): Likewise.
35308 (FE_INVALID_SNAN): Likewise.
35309 (FE_INVALID_ISI): Likewise.
35310 (FE_INVALID_IDI): Likewise.
35311 (FE_INVALID_ZDZ): Likewise.
35312 (FE_INVALID_IMZ): Likewise.
35313 (FE_INVALID_COMPARE): Likewise.
35314 (FE_INVALID_SOFTWARE): Likewise.
35315 (FE_INVALID_SQRT): Likewise.
35316 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35317 (FE_TONEAREST): Likewise.
35318 (FE_TOWARDZERO): Likewise.
35319 (FE_UPWARD): Likewise.
35320 (FE_DOWNWARD): Likewise.
35321 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35322 (FE_DIVBYZERO): Likewise.
35323 (FE_OVERFLOW): Likewise.
35324 (FE_UNDERFLOW): Likewise.
35325 (FE_INEXACT): Likewise.
35326 (FE_TONEAREST): Likewise.
35327 (FE_DOWNWARD): Likewise.
35328 (FE_UPWARD): Likewise.
35329 (FE_TOWARDZERO): Likewise.
35330 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35331 (FE_UNDERFLOW): Likewise.
35332 (FE_OVERFLOW): Likewise.
35333 (FE_DIVBYZERO): Likewise.
35334 (FE_INVALID): Likewise.
35335 (FE_TONEAREST): Likewise.
35336 (FE_TOWARDZERO): Likewise.
35337 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35338 (FE_OVERFLOW): Likewise.
35339 (FE_UNDERFLOW): Likewise.
35340 (FE_DIVBYZERO): Likewise.
35341 (FE_INEXACT): Likewise.
35342 (FE_TONEAREST): Likewise.
35343 (FE_TOWARDZERO): Likewise.
35344 (FE_UPWARD): Likewise.
35345 (FE_DOWNWARD): Likewise.
35346 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35347 (FE_DIVBYZERO): Likewise.
35348 (FE_OVERFLOW): Likewise.
35349 (FE_UNDERFLOW): Likewise.
35350 (FE_INEXACT): Likewise.
35351 (FE_TONEAREST): Likewise.
35352 (FE_DOWNWARD): Likewise.
35353 (FE_UPWARD): Likewise.
35354 (FE_TOWARDZERO): Likewise.
35356 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35358 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35360 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35362 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35363 commands. Quote $PWD.
35364 (blacklist_exports): Don't use remove_newlines. Replace "declare
35366 (remove_newlines): Remove.
35368 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35370 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35371 * stdlib/stdlib.h (atof): Moved to ...
35372 * include/bits/stdlib-float.h: Here. New file.
35373 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35374 * stdlib/bits/stdlib-float.h: New file.
35375 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35380 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35382 * conform/conformtest.pl (@headers): Add fenv.h.
35383 * conform/data/fenv.h-data: New file.
35384 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35385 include of <math/fenv.h>.
35387 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35388 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35389 && !UNIX98]. Enables tests for XOPEN2K8.
35390 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35391 POSIX2008]: Likewise.
35393 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35394 (struct rusage): Do not expect type or its members.
35397 * math/math.h (FP_NAN): Define macro to integer constant usable in
35398 #if and use that to give value to enum constant.
35399 (FP_INFINITE): Likewise.
35400 (FP_ZERO): Likewise.
35401 (FP_SUBNORMAL): Likewise.
35402 (FP_NORMAL): Likewise.
35404 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35406 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35407 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35410 2012-11-02 Roland McGrath <roland@hack.frob.com>
35412 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35413 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35414 autoconf-time if not.
35415 * configure.in: Remove AC_PREREQ.
35417 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35419 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35420 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35421 of the internal implementation.
35423 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35425 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35426 except include of <misc/sys/syslog.h>.
35428 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35431 function returns with a NULL context exit with zero.
35433 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35435 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35437 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35439 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35440 (run_program_cmd): This.
35441 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35442 (tst_langinfo): New variable. Use it.
35444 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35446 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35447 floating point opcodes.
35449 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35451 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35454 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35456 * sysdeps/mach/hurd/powerpc: Remove directory.
35457 * sysdeps/mach/powerpc: Likewise.
35459 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35461 * scripts/check-local-headers.sh: Ignore c++ headers.
35463 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35465 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35466 __libc_cleanup_region_start argument.
35468 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35473 x * y using scaling, not as x * y + z.
35474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35475 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35476 * math/libm-test.inc (fma_test): Add more tests.
35477 (fma_test_towardzero): Likewise.
35478 (fma_test_downward): Likewise.
35479 (fma_test_upward): Likewise.
35481 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35483 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35485 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35487 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35490 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35492 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35494 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35501 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35504 Fix the order of the list for glibc 2.17.
35505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35508 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35512 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35515 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35516 for low part of x being zero before using __atanl (y).
35517 * math/libm-test.inc (atan2_test): Add another test.
35519 * manual/install.texi (Configuring and compiling): Document
35520 general use of test-wrapper and test-wrapper-env.
35521 * INSTALL: Regenerated.
35523 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35524 (__fma): Do not extract and scale down low bits on after-rounding
35525 systems when result rounded to normal precision would have normal
35527 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35528 (__fmal): Do not extract and scale down low bits on after-rounding
35529 systems when result rounded to normal precision would have normal
35531 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35532 (__fmal): Do not extract and scale down low bits on after-rounding
35533 systems when result rounded to normal precision would have normal
35535 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35537 (fma_test): Add more tests.
35538 (fma_test_towardzero): Likewise.
35539 (fma_test_downward): Likewise.
35540 (fma_test_upward): Likewise.
35542 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35544 * sysdeps/i386/tininess.h: Renamed to ...
35545 * sysdeps/x86/tininess.h: This.
35546 * sysdeps/x86_64/tininess.h: Removed.
35548 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35550 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35551 input. Use $(build-program-cmd).
35552 ($(objpfx)tst-array1-static.out): Likewise.
35553 ($(objpfx)tst-array2.out): Likewise.
35554 ($(objpfx)tst-array3.out): Likewise.
35555 ($(objpfx)tst-array4.out): Likewise.
35556 ($(objpfx)tst-array5.out): Likewise.
35557 ($(objpfx)tst-array5-static.out): Likewise.
35559 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35561 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35564 * nss/nsswitch.h (nss_interface_function): Provide new
35565 macro for use with NSS functions.
35566 * grp/initgroups.c: Use new macro.
35567 * nss/getXXbyYY.c: Likewise.
35568 * nss/getXXbyYY_r.c: Likewise.
35569 * nss/getXXent.c: Likewise.
35570 * nss/getXXent_r.c: Likewise.
35571 * sysdeps/posix/getaddrinfo.c: Likewise.
35573 2012-10-30 Andreas Jaeger <aj@suse.de>
35575 * po/ru.po: Update Russion translation from translation project.
35577 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35582 result and shift together with sticky bit instead of replicating
35583 round-to-nearest rounding.
35584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35586 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35587 missing underflow exceptions.
35588 (fma_test_towardzero): Add more tests.
35589 (fma_test_downward): Likewise.
35590 (fma_test_upward): Likewise.
35593 * sysdeps/generic/tininess.h: New file.
35594 * sysdeps/i386/tininess.h: Likewise.
35595 * sysdeps/sh/tininess.h: Likewise.
35596 * sysdeps/x86_64/tininess.h: Likewise.
35597 * stdlib/tst-strtod-underflow.c: Likewise.
35598 * stdlib/tst-tininess.c: Likewise.
35599 * stdlib/strtod_l.c: Include <tininess.h>.
35600 (round_and_return): Do not set errno for exact underflow cases.
35601 Force an underflow exception when setting errno for underflow.
35602 Determine underflow based on rounding to normal precision if
35603 TININESS_AFTER_ROUNDING.
35604 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35605 ERANGE for exact underflow cases.
35606 * stdlib/Makefile (tests): Add tst-tininess and
35607 tst-strtod-underflow.
35608 ($(objpfx)tst-tininess): Use $(link-libm).
35609 ($(objpfx)tst-strtod-underflow): Likewise.
35611 2012-10-30 Andreas Jaeger <aj@suse.de>
35614 * elf/Makefile (tests): Remove conditional for have-initfini-array
35615 since this is now always required and the variable does not exist
35617 (tests-static): Likewise.
35618 (modules-names): Likewise.
35620 * po/eo.po: Add Esperanto translation from translation project.
35622 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35623 merged with constructor/destructor.
35624 (init_array): Likewise.
35625 * elf/tst-array2dep.c (fini_array): Likewise.
35626 (init_array): Likewise.
35628 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35630 * manual/message.texi: Delete @cartouche tags.
35632 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35634 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35636 * sysdeps/mach/hurd/fsync.c: Likewise.
35638 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35639 [_POSIX_REALTIME_SIGNALS]: Change condition to
35640 [_POSIX_REALTIME_SIGNALS > 0].
35642 2012-10-27 Andreas Jaeger <aj@suse.de>
35644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35645 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35647 [__WORDSIZE != 64]: Likewise.
35649 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35651 * iconvdata/tst-table.sh: Remove ${SHELL}.
35652 * iconvdata/tst-tables.sh: Likewise.
35654 2012-10-25 David S. Miller <davem@davemloft.net>
35656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35657 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35662 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35663 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35664 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35667 2012-10-25 Roland McGrath <roland@hack.frob.com>
35669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35670 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35673 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35674 Jim Blandy <jimb@codesourcery.com>
35676 * scripts/cross-test-ssh.sh: New file.
35677 * manual/install.texi (Configuring and compiling): Document use of
35679 * INSTALL: Regenerated.
35681 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35683 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35686 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35688 * Makeconfig (run-program-prefix): Fix comment.
35690 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35691 Jim Blandy <jimb@codesourcery.com>
35693 * Makeconfig (test-wrapper): New variable,
35694 (test-wrapper-env): Likewise.
35695 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35696 (run-built-tests): Define to yes.
35697 (run-program-prefix): Use $(test-wrapper).
35698 (built-program-cmd): Likewise.
35699 * Rules (make-test-out): Use $(test-wrapper-env) and
35700 $(host-built-program-cmd).
35701 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35702 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35704 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35705 $(test-wrapper-env) to tst-rtld-load-self.sh.
35706 ($(objpfx)order2.out): Use $(test-wrapper).
35707 ($(objpfx)tst-initorder.out): Likewise.
35708 ($(objpfx)tst-initorder2.out): Likewise.
35709 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35710 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35711 (test_wrapper_env): New variable. Use it to run ld.so.
35712 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35713 Use it to run ld.so.
35714 (test_wrapper_env): Likewise.
35715 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35716 $(test-wrapper) to run-iconv-test.sh.
35717 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35718 (ICONV): Use $test_wrapper.
35719 * posix/Makefile ($(objpfx)globtest.out): Pass
35720 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35721 globtest.sh, not $(run-program-prefix).
35722 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35723 (test_wrapper): Likewise.
35724 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35725 set together with run_via_rtld_prefix.
35726 (run_program_prefix): Define in terms of test_wrapper and
35727 run_via_rtld_prefix.
35729 2012-10-24 Roland McGrath <roland@hack.frob.com>
35731 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35732 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35736 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35737 Declare __clock_getres, __clock_gettime, __clock_settime,
35738 __clock_nanosleep, and __clock_getcpuclockid.
35739 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35740 Remove librt_hidden_def (clock_gettime).
35741 * sysdeps/unix/clock_gettime.c: Likewise.
35742 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35743 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35744 * rt/clock_getres.c: Define __clock_getres as an alias.
35745 * sysdeps/posix/clock_getres.c: Likewise.
35746 * rt/clock_settime.c: Define __clock_settime as an alias.
35747 * sysdeps/unix/clock_settime.c: Likewise.
35748 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35749 * sysdeps/unix/clock_nanosleep.c: Likewise.
35750 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35751 * rt/clock-compat.c: New file.
35752 * rt/Makefile (librt-routines): Add clock-compat and move
35753 $(clock-routines) to ...
35754 (routines): ... here, new variable.
35755 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35756 Don't add get_clockfreq here.
35757 * rt/Versions (libc: GLIBC_2.17): New version set.
35758 Add clock_* symbols here.
35759 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35760 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35761 (GLIBC_2.17): Add clock_* symbols.
35762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35764 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35773 * NEWS: Mention the move.
35775 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35776 Use __open, __read, __close rather than their public counterparts.
35777 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35778 (__get_clockfreq_via_cpuinfo): Likewise.
35779 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35780 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35782 * config.h.in (HAVE_IFUNC): New #undef.
35783 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35785 * configure: Regenerated.
35787 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35789 * configure.in: Move READELF check to start of file.
35790 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35791 libc_cv_asm_gnu_indirect_function in the process.
35792 * configure: Regenerated.
35794 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35796 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35797 send the output to /dev/null.
35798 (libc_cv_cc_with_libunwind): Likewise.
35799 (libc_cv_as_noexecstack): Likewise.
35800 * configure: Regenerate.
35802 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35804 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35806 * posix/globtest.sh (TMPDIR): Do not set.
35807 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35808 (testout): Likewise.
35810 2012-10-24 Andreas Jaeger <aj@suse.de>
35812 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35813 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35814 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35815 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35816 posix_fadvise64, posix_fallocate64.
35818 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35819 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35820 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35822 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35824 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35827 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35828 <bits/fcntl-linux.h>.
35829 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35832 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35833 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35834 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35835 [__WORDSIZE != 64]: Likewise.
35837 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35839 * Makeconfig (run-built-tests): New variable.
35840 * Rules [$(cross-compiling) = yes]: Change condition to
35841 [$(run-built-tests) = no].
35842 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35843 to [$(run-built-tests) = yes].
35844 * elf/Makefile [$(cross-compiling) = no]: Likewise
35845 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35846 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35847 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35848 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35849 * io/Makefile [$(cross-compiling) = no]: Likewise.
35850 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35851 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35852 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35853 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35854 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35855 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35856 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35857 * string/Makefile [$(cross-compiling) = no]: Likewise.
35859 * posix/Makefile ($(objpfx)globtest.out): Pass
35860 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35861 $(rtld-installed-name).
35862 * posix/globtest.sh (elf_objpfx): Remove variable.
35863 (rtld_installed_name): Likewise.
35864 (library_path): Likewise.
35865 (run_program_prefix): New variable. Use for running globtest
35868 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35869 Joseph Myers <joseph@codesourcery.com>
35871 * Makeconfig (host-built-program-cmd): New variable.
35872 * elf/Makefile (tst-stackguard1-ARGS): Use
35873 $(host-built-program-cmd).
35874 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35875 (tst-spawn-ARGS): Likewise.
35876 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35878 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35879 Jim Blandy <jimb@codesourcery.com>
35881 * Makeconfig (run-via-rtld-prefix): New variable.
35882 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35883 (built-program-cmd): Likewise.
35885 2012-10-22 Andreas Jaeger <aj@suse.de>
35887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35888 __O_RSYNC if it exists, otherwise to O_SYNC.
35890 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35891 Joseph Myers <joseph@codesourcery.com>
35893 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35895 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35897 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35900 2012-10-22 Andreas Jaeger <aj@suse.de>
35902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35907 bits/fcntl-linux.h.
35909 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35910 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35917 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35918 Joseph Myers <joseph@codesourcery.com>
35920 * config.make.in (NM): New variable.
35922 2012-10-21 Andreas Jaeger <aj@suse.de>
35924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35925 definitions and declarations that are provided by
35926 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35928 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35931 * elf/Makefile (tests-static): Add tst-leaks1-static.
35932 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35933 ($(objpfx)tst-leaks1-static): New rule.
35934 ($(objpfx)tst-leaks1-static-mem): Likewise.
35935 (tst-leaks1-static-ENV): New macro.
35936 * elf/dl-open.c (dl_open_worker): Check the main application
35937 only if SHARED is defined.
35938 * elf/tst-leaks1-static.c: New file.
35940 2012-10-20 Andreas Jaeger <aj@suse.de>
35942 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35943 generic values for Linux.
35944 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35945 and declarations that are provided by <bits/fcntl-linux.h> and
35946 include <bits/fcntl-linux.h>.
35947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35948 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35950 2012-10-20 Roland McGrath <roland@hack.frob.com>
35952 * io/fcntl.h: Move include of <bits/types.h> to the top and
35953 include it unconditionally.
35955 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35957 * wcsmbs/Makefile (tests-ifunc): New variable.
35958 (tests): Add $(tests-ifunc).
35959 * wcsmbs/test-wcschr-ifunc.c: New file.
35960 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35961 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35962 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35963 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35964 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35966 * string/Makefile (tests-ifunc): New variable.
35967 (tests): Add $(tests-ifunc).
35968 * string/test-memccpy.c (TEST_NAME): New macro.
35969 * string/test-memchr.c (TEST_NAME): Likewise.
35970 * string/test-memcmp.c (TEST_NAME): Likewise.
35971 * string/test-memcpy.c (TEST_NAME): Likewise.
35972 * string/test-memmem.c (TEST_NAME): Likewise.
35973 * string/test-memmove.c (TEST_NAME): Likewise.
35974 * string/test-memset.c (TEST_NAME): Likewise.
35975 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35976 * string/test-stpcpy.c (TEST_NAME): Likewise.
35977 * string/test-stpncpy.c (TEST_NAME): Likewise.
35978 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35979 * string/test-strcasestr.c (TEST_NAME): Likewise.
35980 * string/test-strcat.c (TEST_NAME): Likewise.
35981 * string/test-strchr.c (TEST_NAME): Likewise.
35982 * string/test-strcmp.c(TEST_NAME): Likewise.
35983 * string/test-strcpy.c (TEST_NAME): Likewise.
35984 * string/test-strcspn.c (TEST_NAME): Likewise.
35985 * string/test-strlen.c (TEST_NAME): Likewise.
35986 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35987 * string/test-strncmp.c (TEST_NAME): Likewise.
35988 * string/test-strncpy.c (TEST_NAME): Likewise.
35989 * string/test-strnlen.c (TEST_NAME): Likewise.
35990 * string/test-strpbrk.c (TEST_NAME): Likewise.
35991 * string/test-strrchr.c (TEST_NAME): Likewise.
35992 * string/test-strspn.c (TEST_NAME): Likewise.
35993 * string/test-strstr.c (TEST_NAME): Likewise.
35994 * string/test-bcopy-ifunc.c: New file.
35995 * string/test-bzero-ifunc.c: Likewise.
35996 * string/test-memccpy-ifunc.c: Likewise.
35997 * string/test-memchr-ifunc.c: Likewise.
35998 * string/test-memcmp-ifunc.c: Likewise.
35999 * string/test-memcpy-ifunc.c: Likewise.
36000 * string/test-memmem-ifunc.c: Likewise.
36001 * string/test-memmove-ifunc.c: Likewise.
36002 * string/test-mempcpy-ifunc.c: Likewise.
36003 * string/test-memset-ifunc.c: Likewise.
36004 * string/test-rawmemchr-ifunc.c: Likewise.
36005 * string/test-stpcpy-ifunc.c: Likewise.
36006 * string/test-stpncpy-ifunc.c: Likewise.
36007 * string/test-strcasecmp-ifunc.c: Likewise.
36008 * string/test-strcasestr-ifunc.c: Likewise.
36009 * string/test-strcat-ifunc.c: Likewise.
36010 * string/test-strchr-ifunc.c: Likewise.
36011 * string/test-strchrnul-ifunc.c: Likewise.
36012 * string/test-strcmp-ifunc.c: Likewise.
36013 * string/test-strcpy-ifunc.c: Likewise.
36014 * string/test-strcspn-ifunc.c: Likewise.
36015 * string/test-strlen-ifunc.c: Likewise.
36016 * string/test-strncasecmp-ifunc.c: Likewise.
36017 * string/test-strncat-ifunc.c: Likewise.
36018 * string/test-strncmp-ifunc.c: Likewise.
36019 * string/test-strncpy-ifunc.c: Likewise.
36020 * string/test-strnlen-ifunc.c: Likewise.
36021 * string/test-strpbrk-ifunc.c: Likewise.
36022 * string/test-strrchr-ifunc.c: Likewise.
36023 * string/test-strspn-ifunc.c: Likewise.
36024 * string/test-strstr-ifunc.c: Likewise.
36026 * debug/Makefile (tests-ifunc): New variable.
36027 (tests): Add $(tests-ifunc).
36028 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36029 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36030 * debug/test-stpcpy_chk-ifunc.c: New file.
36031 * debug/test-strcpy_chk-ifunc.c: Likewise.
36033 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36036 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36037 header is not read in.
36039 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36041 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36042 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36043 directly. Pass built executable to script as
36044 $(built-program-cmd).
36045 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36046 $testprogram without using LD_LIBRARY_PATH and $ldso.
36048 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36049 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36050 $(rtld-installed-name).
36051 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36052 (rtld_installed_name): Likewise.
36053 (library_path): Likewise.
36054 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36055 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36056 $(run-program-prefix) to tst-tables.sh.
36057 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36058 it to run tst-table-from and tst-table-to.
36059 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36060 Pass it to tst-table.sh.
36061 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36062 $(run-program-prefix) to tst-gettext.sh.
36063 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36065 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36067 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36068 to run tst-gettext.
36069 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36070 to run tst-gettext2.
36071 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36072 to run tst-translit.
36073 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36074 $(run-program-prefix) to tst-mtrace.sh.
36075 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36077 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36078 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36079 $(rtld-installed-name).
36080 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36081 (rtld_installed_name): Likewise.
36082 (run_program_prefix): New variable. Use it to run wordexp-test.
36084 * Makeconfig (ARCH): Remove all definitions.
36085 (machine): Likewise.
36086 [ARCH]: Remove conditional code.
36087 [!objdir]: Give error.
36088 [!objdir] (objpfx): Remove.
36089 [!objdir] (common-objpfx): Likewise.
36090 [!objdir] (common-objdir): Likewise.
36091 * configure.in (config_makefile): Remove. Hardcode Makefile in
36092 AC_CONFIG_FILES call.
36093 * configure: Regenerated.
36096 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36098 (testout): Likewise.
36100 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36101 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36102 $(rtld-installed-name).
36103 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36104 (rtld_installed_name): Likwise.
36105 (runit): Remove function.
36106 (run_getconf): New variable, Use it for running getconf binary.
36108 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36111 * string/test-memmem.c (check_result): New function.
36112 (do_one_test): Use it.
36113 (check1): New function.
36114 (test_main): Use it.
36116 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36118 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36120 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36122 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36123 (_G_LSEEK64): Likewise.
36124 (_G_MMAP64): Likewise.
36125 (_G_FSTAT64): Likewise.
36126 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36127 (_G_LSEEK64): Likewise.
36128 (_G_MMAP64): Likewise.
36129 (_G_FSTAT64): Likewise.
36130 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36131 unconditional. Call __mmap64 directly.
36132 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36133 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36134 __lseek64 directly.
36135 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36136 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36138 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36139 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36140 __lseek64 directly.
36141 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36142 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36143 __lseek64 directly.
36144 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36145 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36146 __lseek64 directly.
36147 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36148 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36149 __fxstat64 directly.
36150 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36151 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36153 (freopen64) [!_G_OPEN64]: Remove conditional code.
36154 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36156 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36157 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36159 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36160 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36162 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36163 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36165 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36166 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36168 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36169 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36171 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36172 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36174 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36176 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36179 * manual/memory.texi (Malloc Tunable Parameters): Add note
36180 about free list pointers overwriting some perturb bytes.
36181 Wording suggested by Roland McGrath.
36183 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36185 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36186 (lgamma_test): Likewise.
36187 (tgamma_test): Likewise.
36189 2012-10-16 Florian Weimer <fweimer@redhat.com>
36192 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36193 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36195 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36197 * NEWS: Mention BZ #14716.
36198 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36199 when removing AVAILABLE1_USES_J macro.
36201 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36204 (__bswap_64): __uint64_t for unsigned 64-bit int.
36206 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36208 * include/string.h (memmem): Declare libc hidden alias.
36209 * string/memmem.c (memmem): Define libc hidden alias.
36210 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36211 __read, __close instead of open, read, close.
36213 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36216 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36218 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36219 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36220 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36222 (__rawmemchr_sse2): Likewise.
36223 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36224 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36225 (__strchr_sse2): Likewise.
36226 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36227 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36228 (__strcasecmp_sse2): Likewise.
36229 (__strncasecmp_sse2): Likewise.
36230 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36231 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36232 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36233 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36234 (__strrchr_sse2): Likewise.
36235 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36237 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36238 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36239 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36240 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36241 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36242 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36243 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36244 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36245 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36246 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36247 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36248 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36249 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36250 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36251 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36252 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36253 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36254 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36255 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36256 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36257 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36258 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36259 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36260 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36261 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36262 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36263 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36264 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36265 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36266 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36268 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36270 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36271 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36272 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36273 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36275 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36277 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36278 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36279 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36280 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36282 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36283 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36284 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36285 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36286 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36287 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36288 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36289 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36290 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36291 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36292 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36293 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36294 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36295 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36296 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36297 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36298 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36299 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36300 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36301 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36302 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36303 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36304 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36305 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36307 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36308 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36309 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36310 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36311 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36312 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36313 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36314 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36315 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36316 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36317 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36318 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36319 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36320 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36321 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36322 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36324 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36325 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36326 * include/ifunc-impl-list.h: New file.
36327 * misc/ifunc-impl-list.c: Likewise.
36328 * misc/Makefile (routines): Add ifunc-impl-list.
36329 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36330 * string/test-string.h: Include <ifunc-impl-list.h>.
36331 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36332 TEST_NAME]: New variables.
36333 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36335 (test_init): Call __libc_ifunc_impl_list to initialize
36336 func_list if TEST_IFUNC and TEST_NAME are defined.
36338 * string/Makefile (strop-tests): Add bcopy and bzero.
36339 * string/test-bcopy.c: New file.
36340 * string/test-bzero.c: Likewise.
36341 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36343 * string/test-memset.c: Support bzero test if TEST_BZERO is
36345 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36347 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36349 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36352 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36354 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36355 * configure: Regenerated.
36357 * Makeconfig (+link-static-before-libc): Don't include
36358 $(link-static-libc).
36360 * libio/libio.h (_IO_pos_t): Remove.
36362 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36364 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36367 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36369 * crypt/crypt-entry.c: Include fips-private.h.
36370 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36371 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36372 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36373 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36375 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36377 * crypt/crypt-private.h: Include stdbool.h.
36378 (_ufc_setup_salt_r): Return bool.
36379 * crypt/crypt-entry.c: Include errno.h.
36380 (__crypt_r): Return NULL with EINVAL for bad salt.
36381 * crypt/crypt_util.c (bad_for_salt): New.
36382 (_ufc_setup_salt_r): Check that salt is long enough and within
36383 the specified alphabet.
36384 * crypt/badsalttest.c: New file.
36385 * crypt/Makefile (tests): Add it.
36386 ($(objpfx)badsalttest): New.
36388 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36390 * NEWS: Add entry for BZ #14602.
36392 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36394 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36396 * math/libm-test.inc: Update comment listing what functions and
36398 (isgreater_test): New function.
36399 (isgreaterequal_test): Likewise.
36400 (isless_test): Likewise.
36401 (islessequal_test): Likewise.
36402 (islessgreater_test): Likewise.
36403 (isunordered_test): Likewise.
36404 (main): Call the new functions.
36406 2012-10-09 Roland McGrath <roland@hack.frob.com>
36408 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36409 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36410 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36411 * sysdeps/i386/configure: Regenerated.
36412 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36413 * sysdeps/mach/configure: Regenerated.
36414 * sysdeps/mach/hurd/configure: Regenerated.
36415 * sysdeps/powerpc/configure: Regenerated.
36416 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36417 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36418 * sysdeps/s390/s390-32/configure: Regenerated.
36419 * sysdeps/s390/s390-64/configure: Regenerated.
36420 * sysdeps/sh/configure: Regenerated.
36421 * sysdeps/sparc/configure: Regenerated.
36422 * sysdeps/unix/sysv/linux/configure: Regenerated.
36423 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36424 * sysdeps/x86_64/configure: Regenerated.
36426 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36427 defined. Don't check if MAP is NULL.
36429 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36431 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36432 (_G_stat64): Likewise.
36433 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36434 (_G_stat64): Likewise.
36435 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36436 instead of struct _G_stat64.
36437 * libio/fileops.c (mmap_remap_check): Likewise.
36438 (decide_maybe_mmap): Likewise.
36439 (_IO_new_file_seekoff): Likewise.
36440 (_IO_file_stat): Likewise.
36441 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36443 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36444 instead of struct _G_stat64.
36445 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36447 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36450 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36452 (CHECK_EOL): New macro.
36453 (two_way_short_needle): Check beginning of haystack for EOL. Use
36455 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36456 Replace with CHECK_EOL.
36457 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36458 Replace with CHECK_EOL.
36460 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36462 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36464 * math/libm-test.inc: Update comment listing what functions and
36466 (finite_test): New function.
36467 (isinf_test): Likewise.
36468 (isnan_test): Likewise.
36469 (fpclassify_test): Test subnormal input.
36470 (isfinite_test): Likewise.
36471 (isnormal_test): Likewise.
36472 (main): Call the new functions.
36474 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36477 * Makerules (%.dynsym): Force C locale when running
36478 $(OBJDUMP) --dynamic-syms.
36480 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36482 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36485 2012-10-06 David S. Miller <davem@davemloft.net>
36487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36488 upper 32-bits of the length value in %o2 since we use branch-on-register
36489 tests which consider the entire 64-bit register.
36491 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36493 * string/test-strstr.c (check2): Add a test for page boundary.
36495 2012-10-05 David S. Miller <davem@davemloft.net>
36497 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36498 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36500 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36502 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36503 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36504 and bzero when HWCAP_SPARC_CRYPTO is present.
36506 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36509 * string/test-strstr.c (check2): New function.
36510 (test_main): Call check2.
36512 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36514 * string/bug-strcasestr1.c (do_test): Moved to ...
36515 * string/test-strcasestr.c (check1): Here. New function.
36516 (do_one_test): Break out result checking code into ...
36517 (check_result): This. New function.
36518 (do_one_test): Call check_result.
36519 (test_main): Call check1.
36520 * string/bug-strchr1.c (do_test): Moved to ...
36521 * string/test-strchr.c (check1): Here. New function.
36522 (do_one_test): Break out result checking code into ...
36523 (check_result): This. New function.
36524 (do_one_test): Call check_result.
36525 (test_main): Call check1.
36526 * string/bug-strstr1.c (main): Moved to ...
36527 * string/test-strstr.c (check1): Here. New function.
36528 (do_one_test): Break out result checking code into ...
36529 (check_result): This. New function.
36530 (do_one_test): Call check_result.
36531 (test_main): Call check1.
36532 * string/bug-strcasestr1.c: Removed.
36533 * string/bug-strchr1.c: Likewise.
36534 * string/bug-strstr1.c: Likewise.
36536 * elf/Makefile (dl-routines): Add hwcaps.
36537 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36538 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36539 (_dl_important_hwcaps): Moved to ...
36540 * elf/dl-hwcaps.c: Here. New file.
36541 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36544 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36545 if IS_IN_rtld isn't defined.
36547 * elf/dl-support.c (_dl_sysinfo_map): New.
36548 Include "get-dynamic-info.h" and "setup-vdso.h".
36549 (_dl_non_dynamic_init): Call setup_vdso.
36550 * elf/dynamic-link.h: Don't include <assert.h>.
36551 (elf_get_dynamic_info): Moved to ...
36552 * elf/get-dynamic-info.h: Here. New file.
36553 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36554 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36555 * elf/setup-vdso.h: Here. New file.
36556 * elf/rtld.c: Include "setup-vdso.h".
36557 (dl_main): Call setup_vdso.
36559 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36561 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36562 creal in comment listing functions tested. List finite, isinf,
36563 isnan, isless, islessequal, isgreater, isgreaterequal,
36564 islessgreater, isunordered, lgamma_r and pow10 as functions and
36565 macros not tested. Mention which functions not tested are aliases
36566 for other functions. Fix typo. Note that signs of NaNs are not
36569 * scripts/config.guess: Update from config.git.
36570 * scripts/config.sub: Likewise.
36572 2012-10-04 Roland McGrath <roland@hack.frob.com>
36574 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36575 * misc/madvise.c (madvise): Renamed to __madvise.
36576 Make madvise a weak alias.
36577 * include/sys/mman.h: Declare __madvise.
36578 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36579 * sysdeps/unix/syscalls.list
36580 (madvise): Make __madvise the strong name, and madvise a weak alias.
36581 * sysdeps/unix/sysv/linux/syscalls.list
36582 (madvise, mmap): Remove redundant entries.
36583 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36584 * malloc/malloc.c (mtrim): Likewise.
36585 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36587 2012-10-03 Roland McGrath <roland@hack.frob.com>
36589 * sysdeps/mach/hurd/dl-cache.c: File removed.
36590 * config.h.in (USE_LDCONFIG): New #undef.
36591 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36592 * configure: Regenerated.
36593 * elf/Makefile (dl-routines): Add dl-cache only under
36594 [$(use-ldconfig) = yes].
36595 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36596 cache on [USE_LDCONFIG].
36597 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36599 * elf/rtld.c (dl_main): Likewise.
36601 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36603 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36604 _SC_LEVEL4_CACHE_LINESIZE.
36606 2012-10-03 Roland McGrath <roland@hack.frob.com>
36608 * sysdeps/unix/bsd/confstr.h: File removed.
36610 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36612 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36615 2012-10-02 Roland McGrath <roland@hack.frob.com>
36617 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36618 Make 'mapoff' field ElfW(Off) rather than off_t.
36620 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36622 * nscd/Makefile: Remove nscd-cflags and all its users.
36623 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36624 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36627 * malloc.c (malloc_printerr): Clarify error message.
36629 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36633 Set bit_FMA_Usable if FMA is supported.
36634 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36636 (bit_FMA4_Usable): Updated.
36637 (index_FMA_Usable): New macro.
36638 (CPUID_FMA): Likewise
36639 (HAS_FMA): Defined with bit_FMA_Usable.
36641 2012-10-01 Roland McGrath <roland@hack.frob.com>
36643 * bits/types.h (__swblk_t): Type removed.
36644 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36645 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36647 (__SWBLK_T_TYPE): Likewise.
36648 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36649 (__SWBLK_T_TYPE): Likewise.
36650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36651 (__SWBLK_T_TYPE): Likewise.
36652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36653 (__SWBLK_T_TYPE): Likewise.
36655 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36656 Honza Horak <hhorak@redhat.com>
36658 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36659 (xdr_mapname): Use YPMAXMAP as maxsize.
36660 (xdr_peername): Use YPMAXPEER as maxsize.
36661 (xdr_keydat): Use YPAXRECORD as maxsize.
36662 (xdr_valdat): Use YPMAXRECORD as maxsize.
36664 2012-10-01 Roland McGrath <roland@hack.frob.com>
36666 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36668 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36669 * csu/init-first.c: ... here.
36670 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36671 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36672 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36673 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36674 * sysdeps/i386/init-first.c: File removed.
36675 * sysdeps/sh/init-first.c: File removed.
36677 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36681 if x * y might underflow to zero and z is zero.
36682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36684 * math/libm-test.inc (min_subnorm_value): New variable.
36685 (fma_test): Add more tests.
36686 (fma_test_towardzero): Likewise.
36687 (fma_test_downward): Likewise
36688 (fma_test_upward): Likewise.
36689 (initialize): Set min_subnorm_value.
36691 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36696 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36697 mode for addition resulting in exact zero.
36698 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36701 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36703 * math/libm-test.inc (fma_test): Add more tests.
36704 (fma_test_towardzero): New function.
36705 (fma_test_downward): Likewise.
36706 (fma_test_upward): Likewise.
36707 (main): Call the new functions.
36709 2012-09-28 David S. Miller <davem@davemloft.net>
36711 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36713 2012-09-28 Roland McGrath <roland@hack.frob.com>
36715 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36716 instead of SIGALRM.
36718 * sysdeps/gnu/_G_config.h: Moved to ...
36719 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36720 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36721 * sysdeps/generic/_G_config.h: ... here.
36723 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36725 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36727 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36728 Conditionalize target on [libnss_test1.so-version].
36730 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36732 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36733 (elfobjdir): Move out of conditionals.
36735 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36736 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36737 (__nss_lookup_function): Conditionalize label remove_from_tree on
36738 [!DO_STATIC_NSS || SHARED], matching its only use.
36740 2012-09-28 David S. Miller <davem@davemloft.net>
36742 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36743 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36745 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36747 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36749 when HWCAP_SPARC_CRYPTO is present.
36751 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36753 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36755 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36758 * stdio-common/vfprintf.c (process_string_arg): Revert
36761 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36763 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36765 * stdio-common/tst-sprintf.c: Include <locale.h>
36766 (main): Test sprintf's handling of incomplete multibyte
36769 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36771 * elf/dl-runtime.c (VERSYMIDX): Removed.
36772 * elf/dl-version.c (VERSYMIDX): Likewise.
36773 * elf/do-rel.h (VERSYMIDX): Likewise.
36774 (VALIDX): Likewise.
36775 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36776 * elf/rtld.c (VALIDX): Likewise.
36777 (ADDRIDX): Likewise.
36778 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36779 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36780 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36781 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36782 (VALIDX): Likewise.
36783 (ADDRIDX): Likewise.
36785 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36787 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36789 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36792 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36794 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36795 addresses are in the same scope as 192.0.2/24.
36796 * posix/gai.conf: Document new scope table defaults.
36798 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36801 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36802 for ftell. Compute offsets from write pointers instead.
36803 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36805 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36808 * libio/Makefile (tests): New test case tst-fseek.
36809 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36810 combination works in wide mode.
36811 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36812 state when the external buffer state changes.
36814 2012-09-27 David S. Miller <davem@davemloft.net>
36817 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36818 pass reloc->r_addend in as the 'high' argument to
36819 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36823 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36825 * rt/tst-aio2.c: Include <pthread.h>.
36826 * rt/tst-aio3.c: Likewise.
36828 2012-09-27 Steve Ellcey <sellcey@mips.com>
36830 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36832 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36834 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36835 contents on [SHARED].
36837 2012-09-26 Marek Polacek <polacek@redhat.com>
36841 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36842 for C++ and GCC <4.3 as well as for non GCC compilers.
36844 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36848 2012-09-25 Roland McGrath <roland@hack.frob.com>
36850 * Makefile.in (all, install): Declare with .PHONY.
36851 Reported by Michael Hope <michael.hope@linaro.org>.
36853 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36855 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36856 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36858 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36860 (sydep_routines): Add the new and the internal functions.
36861 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36862 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36864 (GLIBC_2.17): Add the new function.
36865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36866 (GLIBC_2.17): Likewise.
36867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36868 (GLIBC_2.17): Likewise.
36869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36870 (GLIBC_2.17): Likewise.
36871 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36873 2012-09-25 Alan Modra <amodra@gmail.com>
36875 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36876 Add release barrier before setting once_control to say
36877 initialisation is done. Add hints on lwarx. Use macro in
36879 (clear_once_control): Add release barrier.
36881 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36884 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36886 * math/s_clog10.c (__clog10): Likewise.
36887 * math/s_clog10f.c (__clog10f): Likewise.
36888 * math/s_clog10l.c (__clog10l): Likewise.
36889 * math/s_clogf.c (__clogf): Likewise.
36890 * math/s_clogl.c (__clogl): Likewise.
36891 * math/Makefile (libm-calls): Add x2y2m1.
36892 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36893 (__x2y2m1): Likewise.
36894 (__x2y2m1l): Likewise.
36895 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36896 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36897 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36898 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36899 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36900 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36901 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36902 * sysdeps/i386/fpu/libm-test-ulps: Update.
36903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36906 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36907 int as type of variable DEPTH.
36908 (glob): Use size_t instead of int as type of variables NEWCOUNT
36911 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36913 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36914 Add s_sincosf-sse2.
36915 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36916 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36917 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36918 macros for using routine as __sincosf_ia32.
36919 Use macro for function declaration and weak_alias.
36920 * sysdeps/i386/fpu/libm-test-ulps: Update.
36922 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36925 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36926 subnormal argument.
36927 * math/s_cexpf.c (__cexpf): Likewise.
36928 * math/s_csinf.c (__csinf): Likewise.
36929 * math/s_csinhf.c (__csinhf): Likewise.
36930 * math/s_ctanf.c (__ctanf): Likewise.
36931 * math/s_ctanhf.c (__ctanhf): Likewise.
36932 * math/s_ccosh.c (__ccoshf): Likewise.
36933 * math/s_cexp.c (__cexpl): Likewise.
36934 * math/s_csin.c (__csin): Likewise.
36935 * math/s_csinh.c (__csinh): Likewise.
36936 * math/s_ctan.c (__ctan): Likewise.
36937 * math/s_ctanh.c (ctanh): Likewise.
36938 * math/s_ccoshl.c (__ccoshl): Likewise.
36939 * math/s_cexpl.c (__cexpl): Likewise.
36940 * math/s_csinl.c (__csinl): Likewise.
36941 * math/s_csinhl.c (__csinhl): Likewise.
36942 * math/s_ctanl.c (__ctanl): Likewise.
36943 * math/s_ctanhl.c (__ctanhl): Likewise.
36945 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36947 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36948 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36949 (_IO_off_t): Define to __off_t, not _G_off_t.
36950 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36951 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36952 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36953 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36954 type of __dummy and __dummy2 fields.
36955 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36956 (_G_ssize_t): Likewise.
36957 (_G_off_t): Likewise.
36958 (_G_pid_t): Likewise.
36959 (_G_uid_t): Likewise.
36960 (_G_wchar_t): Likewise.
36961 (_G_wint_t): Likewise.
36962 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36963 (_G_ssize_t): Likewise.
36964 (_G_off_t): Likewise.
36965 (_G_pid_t): Likewise.
36966 (_G_uid_t): Likewise.
36967 (_G_wchar_t): Likewise.
36968 (_G_wint_t): Likewise.
36969 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36970 (_G_ssize_t): Likewise.
36971 (_G_off_t): Likewise.
36972 (_G_pid_t): Likewise.
36973 (_G_uid_t): Likewise.
36974 (_G_wchar_t): Likewise.
36975 (_G_wint_t): Likewise.
36977 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36979 * malloc/arena.c: Include malloc-sysdep.h.
36980 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36981 is sufficient to shrink the heap or an unmap is needed.
36982 * sysdeps/generic/malloc-sysdep.h: New file. Define
36983 new function check_may_shrink_heap.
36984 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36985 new function check_may_shrink_heap.
36987 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36989 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36992 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36994 * catgets/test-gencat.sh: Add "set -e".
36995 * elf/tst-pathopt.sh: Likewise.
36996 * grp/tst_fgetgrent.sh: Likewise.
36997 * iconvdata/run-iconv-test.sh: Likewise.
36998 * intl/tst-gettext.sh: Likewise.
36999 * intl/tst-gettext2.sh: Likewise.
37000 * intl/tst-gettext4.sh: Likewise.
37001 * intl/tst-gettext6.sh: Likewise.
37002 * intl/tst-translit.sh: Likewise.
37003 * io/ftwtest-sh: Likewise.
37004 * libio/test-freopen.sh: Likewise.
37005 * malloc/tst-mtrace.sh: Likewise.
37006 * posix/globtest.sh: Likewise.
37007 * posix/tst-getconf.sh: Likewise.
37008 * posix/wordexp-tst.sh: Likewise.
37009 * stdio-common/tst-printf.sh: Likewise.
37010 * stdio-common/tst-unbputc.sh: Likewise.
37011 * stdlib/tst-fmtmsg.sh: Likewise.
37012 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37013 * catgets/Makefile: Do not specify -e option when running
37014 testsuite shell scripts.
37015 * elf/Makefile: Likewise.
37016 * grp/Makefile: Likewise.
37017 * iconvdata/Makefile: Likewise.
37018 * intl/Makefile: Likewise.
37019 * io/Makefile: Likewise.
37020 * libio/Makefile: Likewise.
37021 * malloc/Makefile: Likewise.
37022 * posix/Makefile: Likewise.
37023 * stdio-common/Makefile: Likewise.
37024 * stdlib/Makefile: Likewise.
37025 * sysdeps/x86_64/Makefile: Likewise.
37027 * io/ftwtest-sh: Add copyright header.
37028 * posix/globtest.sh: Likewise.
37029 * posix/tst-getconf.sh: Likewise.
37030 * posix/wordexp-tst.sh: Likewise.
37031 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37033 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37036 * Makeconfig (+link): Defined as $(+link-static) if
37037 $(build-shared) isn't yes.
37038 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37040 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37042 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37045 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37046 new chunk size with MALLOC_ALIGN_MASK.
37048 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37051 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37053 (__printf_fphex): Determine rounding using get_rounding_mode and
37055 * stdio-common/tst-printf-round.c (struct hex_test): New
37057 (hex_tests): New variable.
37058 (test_hex_in_one_mode): New function.
37059 (do_test): Also run tests for hex float output.
37061 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37063 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37064 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37065 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37066 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37067 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37068 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37069 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37070 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37072 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37074 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37075 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37076 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37077 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37079 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37082 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37084 * elf/tst-rtld-load-self.sh: New test.
37085 * elf/Makefile: Run it.
37087 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37089 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37090 (tst-writev-ENV): Remove.
37091 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37093 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37095 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37097 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37099 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37101 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37103 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37104 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37105 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37108 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37111 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37112 * config.make.in (have-cpp-asm-debuginfo): Removed.
37113 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37114 * configure: Regenerated.
37116 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37119 * stdio-common/printf_fp.c: Include <stdbool.h> and
37121 (___printf_fp): Determine rounding using get_rounding_mode and
37123 * stdio-common/tst-printf-round.c: New file.
37124 * stdio-common/Makefile (tests): Add tst-printf-round.
37125 (link-libm): New variable.
37126 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37128 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37131 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37132 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37134 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37137 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37139 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37140 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37141 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37142 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37144 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37147 * include/rounding-mode.h: New file.
37148 * sysdeps/generic/get-rounding-mode.h: Likewise.
37149 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37150 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37151 (MAX_VALUE): New macro.
37152 (MIN_VALUE): Likewise.
37153 (overflow_value): New function.
37154 (underflow_value): Likewise.
37155 (round_and_return): Use overflow_value and underflow_value to
37156 determine return values in overflow and underflow cases. Use
37157 round_away to determine rounding depending on rounding mode.
37158 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37159 determine return values in overflow and underflow cases.
37160 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37161 (struct test_results): New structure.
37162 (struct test): Use struct test_results to store expected results
37163 for all rounding modes.
37164 (TEST): Include expected results for all rounding modes.
37165 (test_in_one_mode): New function.
37166 (do_test): Use test_in_one_mode to compute and check results.
37167 Check results for all rounding modes.
37168 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37171 2012-12-09 Allan McRae <allan@archlinux.org>
37173 * sysdeps/i386/fpu/libm-test-ulps: Update
37175 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37177 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37178 (_G_int32_t): Likewise.
37179 (_G_uint16_t): Likewise.
37180 (_G_uint32_t): Likewise.
37181 (_G_HAVE_BOOL): Likewise.
37182 (_G_HAVE_ATEXIT): Likewise.
37183 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37184 (_G_HAVE_IO_FILE_OPEN): Likewise.
37185 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37186 (_G_int32_t): Likewise.
37187 (_G_uint16_t): Likewise.
37188 (_G_uint32_t): Likewise.
37189 (_G_HAVE_BOOL): Likewise.
37190 (_G_HAVE_ATEXIT): Likewise.
37191 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37192 (_G_HAVE_IO_FILE_OPEN): Likewise.
37193 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37194 (_G_int32_t): Likewise.
37195 (_G_uint16_t): Likewise.
37196 (_G_uint32_t): Likewise.
37197 (_G_HAVE_BOOL): Likewise.
37198 (_G_HAVE_ATEXIT): Likewise.
37199 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37200 (_G_HAVE_IO_FILE_OPEN): Likewise.
37202 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37204 * csu/libc-tls.c: Update copyright years.
37206 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37208 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37209 [!_G_USING_THUNKS]: Remove conditional code.
37210 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37211 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37213 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37214 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37215 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37216 (_G_VTABLE_LABEL_PREFIX): Likewise.
37217 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37218 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37219 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37220 (_G_VTABLE_LABEL_PREFIX): Likewise.
37221 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37222 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37223 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37224 (_G_VTABLE_LABEL_PREFIX): Likewise.
37225 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37227 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37229 * libio/Makefile: Include ../Makeconfig before tests.
37230 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37231 only if $(build-shared) is yes.
37233 * iconv/gconv_db.c: Update copyright years.
37235 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37237 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37238 unwind info if defined PIC. Fix special cases description.
37239 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37241 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37243 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37245 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37247 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37249 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37252 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37253 (LDLIBS-tst-chk4): This.
37254 (LDFLAGS-tst-chk5): Renamed to ...
37255 (LDLIBS-tst-chk5): This.
37256 (LDFLAGS-tst-chk6): Renamed to ...
37257 (LDLIBS-tst-chk6): This.
37258 (LDFLAGS-tst-lfschk4): Renamed to ...
37259 (LDLIBS-tst-lfschk4): This.
37260 (LDFLAGS-tst-lfschk5): Renamed to ...
37261 (LDLIBS-tst-lfschk5): This.
37262 (LDFLAGS-tst-lfschk6): Renamed to ...
37263 (LDLIBS-tst-lfschk6): This.
37265 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37266 on $(common-objpfx)soversions.mk.
37268 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37271 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37274 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37276 * malloc/arena.c (arena_get_retry): New function that gets
37277 another arena for the caller to try its request on.
37278 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37279 current arena cannot fulfill the request.
37280 (__libc_memalign): Likewise.
37281 (__libc_memalign): Likewise.
37282 (__libc_pvalloc): Likewise.
37283 (__libc_calloc): Likewise.
37285 2012-09-05 John Tobey <john.tobey@gmail.com>
37288 * manual/arith.texi (Operations on Complex): Fix description
37289 of carg branch cut.
37291 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37294 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37298 * manual/memory.texi (Memory): Make order of menu items match
37301 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37303 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37304 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37305 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37307 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37309 * csu/libc-tls.c (static_dtv): Renamed to ...
37310 (_dl_static_dtv): This. Make it global.
37311 (_dl_initial_dtv): Removed.
37312 (__libc_setup_tls): Updated.
37313 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37314 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37317 2012-09-06 Petr Machata <pmachata@redhat.com>
37319 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37320 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37321 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37322 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37324 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37327 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37328 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37331 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37334 * Makeconfig (link-static-before-libc): Replace $(+prector)
37336 (link-static-after-libc): Replace $(+postctor) with
37338 (link-bounded): Replace $(+prector)/$(+postctor) with
37339 $(+prectorT)/$(+postctorT).
37340 (+prectorT): New macro.
37341 (+postctorT): Likewise.
37343 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37345 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37346 (round_str): Handle values above the maximum for IBM long double
37348 * stdlib/tst-strtod-round.c (tests): Regenerated.
37350 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37352 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37354 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37355 zarch_nohighgprs around the zarch optimized routines.
37356 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37357 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37358 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37361 2012-09-05 David S. Miller <davem@davemloft.net>
37363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37365 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37366 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37367 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37368 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37371 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37373 * malloc/arena.c: Fold copyright years.
37374 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37376 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37378 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37380 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37382 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37384 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37386 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37387 change internal state upon failure.
37389 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37391 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37392 * malloc/memusage.c (mmap): Likewise.
37393 (mmap64, mremap): Likewise. Adjust name in comment.
37395 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37397 * libio/fileops.c: Fix typos in comments.
37398 * libio/oldfileops.c: Likewise.
37399 * libio/wfileops.c: Likewise.
37401 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37404 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37405 (tst-malloc-usable-ENV): Set environment for test case.
37406 * malloc/hooks.c (malloc_check_get_size): New function to get
37408 * malloc/malloc.c (musable): Use malloc_check_get_size.
37409 * malloc/tst-malloc-usable.c: New test case.
37411 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37413 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37415 2012-09-05 Allan McRae <allan@archlinux.org>
37418 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37419 determine header location.
37420 * configure: Regenerated.
37422 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37424 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37426 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37427 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37429 (test): Regenerate.
37431 2012-09-04 David S. Miller <davem@davemloft.net>
37433 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37434 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37435 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37437 2012-09-04 Florian Weimer <fweimer@redhat.com>
37439 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37442 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37444 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37447 * libio/iogetdelim.c: Include <limits.h>.
37448 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37449 + len + 1 would overflow.
37451 2012-09-03 Andreas Jaeger <aj@suse.de>
37453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37454 * sysdeps/i386/fpu/libm-test-ulps: Update.
37456 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37458 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37459 Add s_sinf-sse2, s_conf-sse2.
37461 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37462 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37463 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37464 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37466 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37467 for using routine as __sinf_ia32.
37468 Use macro for function declaration and weak_alias.
37469 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37470 for using routine as __cosf_ia32.
37471 Use macro for function declaration and weak_alias.
37473 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37474 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37476 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37477 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37480 * math/libm-test.inc (cos_test): Add more test cases.
37481 (sin_test): Likewise.
37482 (sincos_test): Likewise.
37484 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37486 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37487 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37489 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37491 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37494 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37495 first element of the GOT.
37496 (elf_machine_load_address): Return the difference between
37497 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37499 2012-09-01 Allan McRae <allan@archlinux.org>
37502 * configure.in (AWK): Require gawk version 3.0 or later.
37503 * configure: Regenerated.
37505 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37507 * sysdeps/unix/sysv/linux/kernel-features.h
37508 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37509 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37510 [__NR_clock_getres]: Make code unconditional.
37511 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37512 (clock_getcpuclockid): Remove code left unreachable by removal of
37514 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37515 code unconditional.
37516 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37517 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37518 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37519 Make code unconditional.
37520 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37521 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37522 * sysdeps/unix/sysv/linux/clock_settime.c
37523 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37525 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37526 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37528 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37531 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37532 scripts/test-installation.pl.
37534 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37535 and $ld_so_version if it is set.
37537 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37541 failure if reading from procfs failed.
37542 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37544 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37546 * sysdeps/unix/sysv/linux/kernel-features.h
37547 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37548 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37549 Remove conditional code.
37550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37551 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37552 Remove conditional code.
37553 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37554 * sysdeps/unix/sysv/linux/i386/fxstat.c
37555 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37557 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37558 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37559 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37560 * sysdeps/unix/sysv/linux/i386/lxstat.c
37561 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37562 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37563 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37564 Remove conditional code.
37565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37566 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37567 Remove conditional code.
37568 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37569 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37570 <kernel-features.h>.
37571 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37573 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37574 Remove conditional code.
37575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37576 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37577 Remove conditional.
37579 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37582 * NEWS: Add fixed bug number.
37584 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37587 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37588 underflowing exponent in case of negative sign.
37589 * stdlib/tst-strtod-round-data: Add more tests.
37590 * stdlib/tst-strtod-round.c (tests): Regenerated.
37593 * stdlib/strtod_l.c (NDIG): Remove.
37594 (HEXNDIG): Likewise.
37595 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37596 smallest representable value.
37597 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37598 lie within an exact representation of 1/2 ulp of the result.
37599 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37601 (TENS_P9_IDX): Define unconditionally.
37602 (TENS_P9_SIZE): Likewise.
37603 (TENS_P10_IDX): Likewise.
37604 (TENS_P10_SIZE): Likewise.
37605 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37606 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37607 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37608 entries for 10^2^13 and 10^2^14.
37609 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37610 (TENS_P13_IDX): Define.
37611 (TENS_P13_SIZE): Likewise.
37612 (TENS_P14_IDX): Likewise.
37613 (TENS_P14_SIZE): Likewise.
37614 (_fpioconst_pow10): Change array size to
37615 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37617 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37618 1024]: Add entries for 10^2^13 and 10^2^14.
37619 [LAST_POW10 > _LAST_POW10]: Remove #error.
37620 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37621 (_fpioconst_pow10): Change array size to
37622 FPIOCONST_POW10_ARRAY_SIZE.
37623 * stdlib/gen-fpioconst.c: New file.
37624 * stdlib/gen-tst-strtod-round.c: Likewise.
37625 * stdlib/tst-strtod-round-data: Likewise.
37626 * stdlib/tst-strtod-round.c: Likewise.
37627 * stdlib/Makefile (tests): Add tst-strtod-round.
37630 * stdlib/strtod_l.c: Include <stdint.h>.
37631 (NDEBUG): Do not define.
37632 (round_and_return): Change EXPONENT parameter to type intmax_t.
37633 Rearrange calculations to avoid internal overflow possibilities.
37634 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37635 Rearrange calculations to avoid internal overflow possibilities.
37636 Assert that number fits inside MPNSIZE limbs.
37637 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37638 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37639 calculations and add assertions to avoid internal overflow
37640 possibilities. Add casts to avoid signed/unsigned operations.
37641 * stdlib/tst-strtod-overflow.c: New file.
37642 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37644 2012-08-25 Marek Polacek <polacek@redhat.com>
37646 * time/time.h: Fix some typos in comments.
37648 2012-08-23 Roland McGrath <roland@hack.frob.com>
37650 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37651 * posix/tst-rfc3484-2.c: Likewise.
37652 * posix/tst-rfc3484-3.c: Likewise.
37654 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37656 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37657 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37659 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37661 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37662 #include of fxstatat64.c.
37664 2012-08-22 Roland McGrath <roland@hack.frob.com>
37666 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37667 * shadow/getspent_r.c: Likewise.
37668 * shadow/getspnam.c: Likewise.
37669 * shadow/getspnam_r.c: Likewise.
37670 * gshadow/getsgent.c: Likewise.
37671 * gshadow/getsgent_r.c: Likewise.
37672 * gshadow/getsgnam.c: Likewise.
37673 * gshadow/getsgnam_r.c: Likewise.
37674 * inet/getnetbyad.c: Likewise.
37675 * inet/getnetbyad_r.c: Likewise.
37676 * inet/getnetbynm.c: Likewise.
37677 * inet/getnetbynm_r.c: Likewise.
37678 * inet/getnetent.c: Likewise.
37679 * inet/getnetent_r.c: Likewise.
37680 * inet/getproto.c: Likewise.
37681 * inet/getproto_r.c: Likewise.
37682 * inet/getprtent.c: Likewise.
37683 * inet/getprtent_r.c: Likewise.
37684 * inet/getprtname.c: Likewise.
37685 * inet/getprtname_r.c: Likewise.
37686 * inet/getrpcbyname.c: Likewise.
37687 * inet/getrpcbyname_r.c: Likewise.
37688 * inet/getrpcbynumber.c: Likewise.
37689 * inet/getrpcbynumber_r.c: Likewise.
37690 * inet/getrpcent.c: Likewise.
37691 * inet/getrpcent_r.c: Likewise.
37692 * inet/getaliasent.c: Likewise.
37693 * inet/getaliasent_r.c: Likewise.
37694 * inet/getaliasname.c: Likewise.
37695 * inet/getaliasname_r.c: Likewise.
37696 * nscd/getgrgid_r.c: Likewise.
37697 * nscd/getgrnam_r.c: Likewise.
37698 * nscd/gethstbyad_r.c: Likewise.
37699 * nscd/gethstbynm3_r.c: Likewise.
37700 * nscd/getpwnam_r.c: Likewise.
37701 * nscd/getpwuid_r.c: Likewise.
37702 * nscd/getsrvbynm_r.c: Likewise.
37703 * nscd/getsrvbypt_r.c: Likewise.
37704 * nscd/gai.c: Likewise.
37706 * configure.in (build_nscd): New substituted variable, set
37707 by --disable-build-nscd and defaults to $use_nscd.
37708 * configure: Regenerated.
37709 * config.make.in (build-nscd): New substituted variable.
37710 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37711 Change conditional to require [$(build-nscd) = yes] as well.
37712 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37715 * configure.in (use_nscd): New substituted variable, set by
37716 --disable-nscd. If enabled, define USE_NSCD.
37717 * configure: Regenerated.
37718 * config.h.in: Add USE_NSCD.
37719 * config.make.in (use-nscd): New substituted variable.
37720 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37721 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37722 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37723 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37724 (CFLAGS-getgrnam_r.c): Likewise.
37725 (CFLAGS-initgroups.c): Likewise.
37726 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37727 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37729 * inet/getnetgrent_r.c
37730 (nscd_setnetgrent): New function, broken out of ...
37731 (setnetgrent): ... here. Call it.
37732 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37733 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37734 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37735 * nscd/Makefile (routines, aux): Move definitions after include of
37736 Makeconfig. Conditionalize on [$(use-nscd) != no].
37737 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37738 Conditionalize on [USE_NSCD].
37739 (is_nscd, nscd_init_cb): Likewise.
37740 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37741 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37742 * nss/nss_db/db-init.c: Likewise.
37743 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37745 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37746 (make_request): Use it.
37747 (cache_valid_p): New function.
37748 (__check_pf): Use it.
37749 * NEWS: Add item for --disable-nscd.
37751 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37753 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37754 to support sed >= 4.2.1-20-ga9bf076.
37755 * configure: Regenerated.
37757 2012-08-22 Roland McGrath <roland@hack.frob.com>
37759 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37760 Conditionalize whole body on [IREL].
37762 2012-08-22 Jeff Law <law@redhat.com>
37765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37766 if the family is PF_UNSPEC.
37768 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37770 * Makerules (lib-version): Rename from V.
37771 (install-lib-nosubdir): Change V to lib-version.
37773 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37776 * powerpc32/power6/wcschr.c: New file.
37777 * powerpc32/power6/wcscpy.c: New file.
37778 * powerpc32/power6/wcsrchr.c: New file.
37779 * powerpc64/power6/wcschr.c: New file.
37780 * powerpc64/power6/wcscpy.c: New file.
37781 * powerpc64/power6/wcsrchr.c: New file.
37783 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37785 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37786 (two_way_short_needle): Use it.
37787 * string/strstr.c (AVAILABLE1_USES_J): Define.
37788 * string/strcasestr.c: Likewise.
37790 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37792 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37795 * NEWS: Add an entry.
37796 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37797 define their defaults.
37798 (two_way_short_needle): Detect end-of-string on-the-fly.
37799 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37800 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37801 * string/bug-strcasestr1.c: New test.
37802 * string/Makefile: Run it.
37804 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37807 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37808 the first character.
37810 2012-08-21 Roland McGrath <roland@hack.frob.com>
37812 * csu/elf-init.c (__libc_csu_irel): Function removed.
37813 * csu/libc-start.c (apply_irel): New function.
37814 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37816 2012-08-21 Joseph Myers <joseph@codesourcery.com>
37818 * sysdeps/unix/sysv/linux/kernel-features.h
37819 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37820 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37821 <kernel-features.h>.
37822 [__NR_fadvise64_64]: Make code unconditional.
37823 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37824 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37825 !__NR_fadvise64_64)]: Likewise.
37826 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37827 !__NR_fadvise64_64))]: Likewise.
37828 [__NR_fadvise64]: Make code unconditional.
37829 [!__NR_fadvise64]: Remove conditional code.
37830 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37831 <kernel-features.h>.
37832 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37834 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37837 not include <kernel-features.h>.
37838 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37840 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37842 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37843 include <kernel-features.h>.
37844 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37846 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37849 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37851 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37852 slight instruction rearrangements per scrollpipe analysis.
37853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37855 2012-08-20 Roland McGrath <roland@hack.frob.com>
37857 * manual/syslog.texi (syslog; vsyslog, closelog):
37858 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37859 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37861 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37862 DSOCAPS to match condition on defining it.
37864 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37866 * sysdeps/unix/sysv/linux/kernel-features.h
37867 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37869 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37870 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37872 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37873 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37875 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37876 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37878 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37879 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37881 * sysdeps/unix/sysv/linux/kernel-features.h
37882 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37883 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37885 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37886 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37887 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37888 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37889 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37890 Make code unconditional.
37891 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37892 (__mmap64) [!__NR_mmap2]: Likewise.
37893 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37894 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37895 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37896 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37897 [__NR_mmap2]: Make code unconditional.
37898 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37899 (__mmap64) [!__NR_mmap2]: Likewise.
37901 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37903 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37905 2012-08-18 Andreas Jaeger <aj@suse.de>
37907 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37909 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37911 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37912 * include/unistd.h (__have_sock_cloexec): Likewise.
37913 (__have_pipe2): Likewise.
37914 (__have_dup3): Likewise.
37916 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37919 * include/unistd.h (__have_pipe2): Change define into an extern int.
37920 (__have_dup3): Likewise.
37921 * socket/have_sock_cloexec.c: Include fcntl.h.
37922 (__have_pipe2): New variable.
37923 (__have_dup3): Likewise.
37925 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37927 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37929 2012-08-17 Marek Polacek <polacek@redhat.com>
37931 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37932 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37934 2012-08-17 Roland McGrath <roland@hack.frob.com>
37936 * configure.in: Add AC_SUBST for sysheaders.
37937 * configure: Regenerated.
37938 * config.make.in (sysheaders): New substituted variable.
37940 * sysdeps/unix/mkfifo.c: Moved ...
37941 * sysdeps/posix/mkfifo.c: ... here.
37942 * sysdeps/unix/mkfifoat.c: Moved ...
37943 * sysdeps/posix/mkfifoat.c: ... here.
37945 * sysdeps/unix/utime.c: Moved ...
37946 * sysdeps/posix/utime.c: ... here.
37948 * sysdeps/unix/time.c: Moved ...
37949 * sysdeps/posix/time.c: ... here.
37950 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37951 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37953 * sysdeps/unix/nice.c: Moved ...
37954 * sysdeps/posix/nice.c: ... here.
37956 * sysdeps/unix/alarm.c: Moved ...
37957 * sysdeps/posix/alarm.c: ... here.
37959 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37961 2012-08-17 Jeff Law <law@redhat.com>
37963 * intl/Makefile (codeset_mo): New variable.
37964 ($(codeset_mo)): New target.
37965 (tst-codeset.out): Depend on that. Remove explicit rule.
37966 (tst-gettext3.out, tst-gettext5.out): Likewise.
37967 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37968 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37969 * intl/tst-codeset.sh: Remove.
37970 * intl/tst-gettext3.sh: Likewise.
37971 * intl/tst-gettext5.sh: Likewise.
37973 2012-08-17 Roland McGrath <roland@hack.frob.com>
37975 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37976 * sysdeps/unix/syscalls.list: ... here.
37978 * sysdeps/posix/getaddrinfo.c
37979 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37980 (gaiconf_init, gaiconf_reload): Use them.
37981 [!_STATBUF_ST_NSEC]
37982 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37983 Define using time_t rather than struct timespec.
37985 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37986 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37988 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37990 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37991 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37994 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37995 __libc_cleanup_push argument.
37997 * bits/param.h: New file.
37998 * misc/sys/param.h: New file.
37999 * include/sys/param.h: New file.
38000 * misc/Makefile (headers): Add bits/param.h.
38001 * sysdeps/generic/sys/param.h: File removed.
38002 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38003 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38004 * sysdeps/mach/hurd/bits/param.h: New file.
38005 * sysdeps/mach/hurd/sys/param.h: File removed.
38007 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38010 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38012 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38013 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38016 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38017 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38018 rather than -D_IO_MTSAFE_IO conditionally.
38019 * stdio-common/Makefile (CPPFLAGS): Likewise.
38020 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38021 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38022 Use $(libio-mtsafe).
38023 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38024 of -D_IO_MTSAFE_IO.
38025 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38026 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38027 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38028 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38029 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38030 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38031 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38032 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38033 (CFLAGS-fread_u_chk.c): Likewise.
38034 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38035 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38036 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38037 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38038 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38039 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38040 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38041 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38042 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38044 * libio/Makefile: Test [$(libc-reentrant) = yes]
38045 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38048 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38049 * sysdeps/pthread/configure: File removed.
38050 * sysdeps/pthread/Makeconfig: New file.
38051 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38052 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38054 2012-08-16 Gary Benson <gbenson@redhat.com>
38056 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38057 unmapping the first object in a namespace.
38059 2012-08-16 Roland McGrath <roland@hack.frob.com>
38061 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38062 (__internal_setnetgrent): ... this. Add internal_function to
38063 definition. Add libc_hidden_def.
38064 (setnetgrent): Update caller.
38065 (internal_endnetgrent): Renamed to ...
38066 (__internal_endnetgrent): ... this. Add internal_function to
38067 definition. Add libc_hidden_def.
38068 (endnetgrent): Update caller.
38069 (internal_getnetgrent_r): Renamed to ...
38070 (__internal_getnetgrent_r): ... this. Add internal_function to
38071 definition. Add libc_hidden_def.
38072 (__getnetgrent_r): Update caller.
38073 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38075 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38077 * stdlib/longlong.h: Update from GCC.
38079 2012-08-16 Roland McGrath <roland@hack.frob.com>
38081 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38082 on _QL, which is set by umul_ppmm but never used.
38083 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38084 variables, which are set by GMP macros but never used.
38085 * stdio-common/_itowa.c (_itowa): Likewise.
38086 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38087 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38089 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38091 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38092 struct La_sh_regs is not constant.
38093 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38094 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38095 and struct La_sparc64_regs are not constant.
38097 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38099 * sysdeps/unix/sysv/linux/kernel-features.h
38100 (__ASSUME_POSIX_TIMERS): Remove.
38101 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38102 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38103 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38104 Make code unconditional.
38105 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38106 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38107 Make code unconditional.
38108 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38109 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38110 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38111 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38112 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38113 Make code unconditional.
38114 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38115 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38116 (__libc_missing_posix_timers): Remove.
38118 2012-08-15 Roland McGrath <roland@hack.frob.com>
38120 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38121 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38123 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38125 * elf/dl-sym.c: Include <stdlib.h>.
38127 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38128 constants, which avoids warnings in 32-bit builds.
38130 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38131 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38133 * misc/lseek.c: File moved to ...
38134 * io/lseek.c: ... here.
38136 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38138 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38139 shifting LEN more than 31 bits at once.
38141 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38144 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38145 segmentation fault for a case of two empty input strings.
38146 * string/test-strncasecmp.c (check1): Renamed to...
38147 (bz12205): ...this.
38148 (bz14195): Add new testcase for two empty input strings and N > 0.
38149 (test_main): Call new testcase, adapt for renamed function.
38151 2012-08-15 Andreas Jaeger <aj@suse.de>
38154 * crypt/md5test2.c: New test, based on test supplied by Serge
38155 Belyshev <belyshev@depni.sinp.msu.ru>.
38156 * crypt/Makefile (xtests): Add md5test-giant..
38157 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38159 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38162 * crypt/md5.c (md5_process_block): Don't assume the buffer
38163 length is less than 2**32.
38164 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38165 length is less than 2**64.
38167 2012-08-15 Roland McGrath <roland@hack.frob.com>
38169 * string/str-two-way.h: Include <sys/param.h>.
38170 (MAX): Macro removed.
38172 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38173 Move #define and #undef of memmove to just before and after
38174 including <string.h>.
38176 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38177 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38178 and after including <string.h>. Move declarations of
38179 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38180 to before #include "string/memmove.c".
38182 * include/dirent.h: Declare __getdirentries.
38184 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38185 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38187 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38189 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38190 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38191 * sysdeps/i386/configure: Regenerated.
38192 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38193 STABS_CURRENT_FILE, and STABS_FUN.
38194 (END): Remove call to STABS_FUN_END.
38195 (STABS_CURRENT_FILE1): Delete.
38196 (STABS_CURRENT_FILE): Likewise.
38197 (STABS_FUN): Likewise.
38198 (STABS_FUN_END): Likewise.
38199 (STABS_FUN2): Likewise.
38200 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38201 * sysdeps/x86_64/configure: Regenerated.
38203 2012-08-14 Roland McGrath <roland@hack.frob.com>
38205 * elf/dl-open.c: Include <atomic.h>.
38206 * elf/dl-lookup.c: Likewise.
38208 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38210 * sysdeps/unix/sysv/linux/kernel-features.h
38211 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38212 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38214 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38216 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38217 condition on __ASSUME_CLONE_THREAD_FLAGS.
38219 2012-08-14 Andreas Jaeger <aj@suse.de>
38221 * sysdeps/i386/fpu/libm-test-ulps: Update.
38223 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38225 * include/atomic.h (atomic_exchange_and_add): Split into ...
38226 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38229 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38233 2012-08-13 Jeff Law <law@redhat.com>
38235 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38236 null byte in the output string.
38238 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38240 * sysdeps/unix/sysv/linux/kernel-features.h
38241 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38242 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38243 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38244 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38245 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38246 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38247 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38249 2012-08-09 Jeff Law <law@redhat.com>
38252 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38253 When avoid_arena is set, don't retry in the that arena. Pick the
38254 next one, whatever it might be.
38255 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38256 (arena_lock): Pass in new parameter to arena_get2.
38257 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38259 (__libc_malloc): Unify retrying after main arena failure with
38260 __libc_memalign version.
38261 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38263 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38266 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38267 to __redirect_strstr.
38268 (__strstr_sse42): Use typeof __redirect_strstr.
38269 (__strstr_ia32): Likewise.
38270 (__libc_strstr): New prototype.
38271 (strstr): Renamed to ...
38272 (__libc_strstr): This.
38273 (strstr): New strong alias of __libc_strstr.
38274 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38275 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38278 (__libc_time): New prototype.
38279 (time_ifunc): Replace time with __libc_time.
38280 (time): New strong alias and hidden definition of __libc_time.
38281 (__GI_time): Remove strong alias.
38282 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38283 Include <stddef.h>.
38284 (memmove): Redefined to __redirect_memmove.
38285 (__memmove_sse2): Use typeof __redirect_memmove.
38286 (__memmove_ssse3): Likewise.
38287 (__memmove_ssse3_back): Likewise.
38288 (__libc_memmove): New prototype.
38289 (memmove): Renamed to ...
38290 (__libc_memmove): This.
38291 (memmove): New strong alias of __libc_memmove.
38293 2012-08-08 Mark Salter <msalter@redhat.com>
38296 (R_MN10300_TLS_GD): Define.
38297 (R_MN10300_TLS_LD): Likewise.
38298 (R_MN10300_TLS_LDO): Likewise.
38299 (R_MN10300_TLS_GOTIE): Likewise.
38300 (R_MN10300_TLS_IE): Likewise.
38301 (R_MN10300_TLS_LE): Likewise.
38302 (R_MN10300_TLS_DTPMOD): Likewise.
38303 (R_MN10300_TLS_DTPOFF): Likewise.
38304 (R_MN10300_TLS_TPOFF): Likewise.
38305 (R_MN10300_SYM_DIFF): Likewise.
38306 (R_MN10300_ALIGN): Likewise.
38307 (R_MN10300_NUM): Update.
38309 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38311 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38314 2012-08-08 Roland McGrath <roland@hack.frob.com>
38316 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38318 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38319 sysdeps/unix -> sysdeps/posix move.
38320 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38322 2012-08-07 Allan McRae <allan@archlinux.org>
38325 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38326 (SUNOS_CPP): Likewise.
38327 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38329 (open_input): Call CPP using execvp.
38331 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38333 * sysdeps/unix/sysv/linux/kernel-features.h
38334 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38335 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38336 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38337 (__ASSUME_WAITID_SYSCALL): Likewise.
38338 * sysdeps/unix/sysv/linux/dl-execstack.c
38339 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38340 code unconditional.
38341 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38343 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38344 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38345 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38347 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38349 [__ASSUME_WAITID_SYSCALL]: Likewise.
38350 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38352 2012-08-07 Roland McGrath <roland@hack.frob.com>
38354 * sysdeps/unix/closedir.c: Renamed to ...
38355 * sysdeps/posix/closedir.c: ... here.
38356 * sysdeps/unix/dirfd.c: Renamed to ...
38357 * sysdeps/posix/dirfd.c: ... here.
38358 * sysdeps/unix/dirstream.h: Renamed to ...
38359 * sysdeps/posix/dirstream.h: ... here.
38360 * sysdeps/unix/fdopendir.c: Renamed to ...
38361 * sysdeps/posix/fdopendir.c: ... here.
38362 * sysdeps/unix/opendir.c: Renamed to ...
38363 * sysdeps/posix/opendir.c: ... here.
38364 * sysdeps/unix/readdir.c: Renamed to ...
38365 * sysdeps/posix/readdir.c: ... here.
38366 * sysdeps/unix/readdir_r.c: Renamed to ...
38367 * sysdeps/posix/readdir_r.c: ... here.
38368 * sysdeps/unix/rewinddir.c: Renamed to ...
38369 * sysdeps/posix/rewinddir.c: ... here.
38370 * sysdeps/unix/seekdir.c: Renamed to ...
38371 * sysdeps/posix/seekdir.c: ... here.
38372 * sysdeps/unix/telldir.c: Renamed to ...
38373 * sysdeps/posix/telldir.c: ... here.
38374 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38375 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38376 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38377 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38379 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38380 * bits/fcntl.h: ... here.
38382 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38384 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38385 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38386 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38387 (struct flock): Move l_start, l_len to the beginning.
38388 Use __pid_t for l_pid.
38389 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38390 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38391 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38392 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38393 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38394 [__USE_LARGEFILE64] (struct flock64): New type.
38395 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38397 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38398 * bits/dirent.h: ... here.
38400 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38401 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38403 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38405 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38406 Change from 2.6.0 to 2.6.16.
38407 * sysdeps/unix/sysv/linux/configure: Regenerated.
38408 * sysdeps/unix/sysv/linux/kernel-features.h
38409 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38410 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38412 (__ASSUME_UTIMES): Likewise.
38413 (__ASSUME_CLONE_STOPPED): Remove.
38414 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38415 architectures, not kernel version.
38416 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38417 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38418 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38419 (__ASSUME_WAITID_SYSCALL): Likewise.
38420 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38421 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38422 * README: State 2.6.16 as minimum Linux kernel version. Do not
38423 refer to older versions.
38425 2012-08-06 Roland McGrath <roland@hack.frob.com>
38427 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38428 Define alphasort64 as an alias.
38429 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38430 Define versionsort64 as an alias.
38431 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38432 Define scandir64 as an alias.
38433 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38434 Define scandirat64 as an alias.
38435 * dirent/alphasort64.c (alphasort64):
38436 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38437 * dirent/versionsort64.c: Likewise.
38438 * dirent/scandir64.c: Likewise.
38439 * dirent/scandirat64.c: Likewise.
38440 * sysdeps/wordsize-64/alphasort.c: File removed.
38441 * sysdeps/wordsize-64/alphasort64.c: File removed.
38442 * sysdeps/wordsize-64/scandir.c: File removed.
38443 * sysdeps/wordsize-64/scandir64.c: File removed.
38444 * sysdeps/wordsize-64/scandirat.c: File removed.
38445 * sysdeps/wordsize-64/scandirat64.c: File removed.
38446 * sysdeps/wordsize-64/versionsort.c: File removed.
38447 * sysdeps/wordsize-64/versionsort64.c: File removed.
38448 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38449 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38450 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38451 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38452 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38453 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38454 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38455 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38457 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38458 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38459 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38461 [defined __arch64__ || defined __sparcv9]
38462 (__INO_T_MATCHES_INO64_T): New macro.
38463 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38464 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38465 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38466 * sysdeps/unix/sysv/linux/bits/dirent.h
38467 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38468 (_DIRENT_MATCHES_DIRENT64): New macro.
38470 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38471 Define lockf64 as an alias.
38472 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38473 Define fseeko64 as an alias.
38474 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38475 Define ftello64 as an alias.
38476 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38477 Define _IO_fgetpos64 and fgetpos64 as aliases.
38478 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38479 Define _IO_fsetpos64 and fsetpos64 as aliases.
38480 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38481 Conditionalize body on this.
38482 * libio/fseeko64.c: Likewise.
38483 * libio/ftello64.c: Likewise.
38484 * libio/iofgetpos64.c: Likewise.
38485 * libio/iofsetpos64.c: Likewise.
38486 * sysdeps/wordsize-64/lockf.c: File removed.
38487 * sysdeps/wordsize-64/lockf64.c: File removed.
38488 * sysdeps/wordsize-64/fseeko.c: File removed.
38489 * sysdeps/wordsize-64/fseeko64.c: File removed.
38490 * sysdeps/wordsize-64/ftello.c: File removed.
38491 * sysdeps/wordsize-64/ftello64.c: File removed.
38492 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38493 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38494 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38495 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38496 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38497 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38498 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38499 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38500 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38501 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38502 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38503 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38504 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38505 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38507 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38509 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38511 [defined __arch64__ || defined __sparcv9]
38512 (__OFF_T_MATCHES_OFF64_T): New macro.
38513 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38514 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38516 (__OFF_T_MATCHES_OFF64_T): New macro.
38518 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38520 * stdlib/secure-getenv.c (__secure_getenv): Replace
38521 GLIBC_2_16 with GLIBC_2_17.
38523 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38525 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38526 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38528 2012-08-03 David S. Miller <davem@davemloft.net>
38530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38532 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38534 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38536 (__ASSUME_CORRECT_SI_PID): Likewise.
38537 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38538 (__ASSUME_TMPFS_NAME): Likewise.
38539 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38540 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38541 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38542 (HAVE_AUX_SECURE): Make definition unconditional.
38543 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38544 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38546 2012-08-03 Roland McGrath <roland@hack.frob.com>
38548 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38549 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38550 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38551 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38552 __eloop_threshold instead of SYMLOOP_MAX.
38554 * sysdeps/generic/eloop-threshold.h: New file.
38555 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38557 * elf/chroot_canon.c (chroot_canon): Likewise.
38559 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38562 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38563 Change to 2.6.0 everywhere.
38564 * sysdeps/unix/sysv/linux/configure: Regenerated.
38565 * sysdeps/unix/sysv/linux/kernel-features.h
38566 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38567 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38569 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38570 (__ASSUME_FUTEX_REQUEUE): Remove.
38571 (__ASSUME_STATFS64): Define unconditionally.
38572 (__ASSUME_AT_SECURE): Likewise.
38573 (__ASSUME_CORRECT_SI_PID): Likewise.
38574 (__ASSUME_TGKILL): Define without depending on kernel version for
38576 (__ASSUME_UTIMES): Likewise.
38577 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38579 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38580 (__ASSUME_TMPFS_NAME): Likewise.
38581 * README: Update reference to Linux kernel versions.
38583 2012-08-02 Marek Polacek <polacek@redhat.com>
38586 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38587 libc_cv_asm_type_prefix with %.
38588 * configure: Regenerated.
38589 * include/libc-symbols.h: Remove comment about
38590 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38591 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38592 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38593 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38594 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38595 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38596 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38597 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38598 * elf/tst-unique2mod1.c: Likewise.
38599 * elf/tst-unique1mod2.c: Likewise.
38600 * elf/tst-unique1mod1.c: Likewise.
38601 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38602 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38603 Replace ASM_TYPE_DIRECTIVE with .type.
38604 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38605 * sysdeps/i386/sysdep.h: Likewise.
38606 * sysdeps/x86_64/sysdep.h: Likewise.
38607 * sysdeps/sh/sysdep.h: Likewise.
38608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38609 Do not define ASM_TYPE_DIRECTIVE.
38610 * sysdeps/powerpc/sysdep.h: Likewise.
38611 * sysdeps/powerpc/powerpc32/sysdep.h:
38612 Replace ASM_TYPE_DIRECTIVE with .type.
38613 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38614 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38615 * sysdeps/i386/fpu/e_powf.S: Likewise.
38616 * sysdeps/i386/fpu/e_expl.S: Likewise.
38617 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38618 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38619 * sysdeps/i386/fpu/e_pow.S: Likewise.
38620 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38621 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38622 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38623 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38624 * sysdeps/i386/fpu/e_log2.S: Likewise.
38625 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38626 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38627 * sysdeps/i386/fpu/e_powl.S: Likewise.
38628 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38629 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38630 * sysdeps/i386/fpu/e_logl.S: Likewise.
38631 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38632 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38633 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38634 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38635 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38636 * sysdeps/i386/fpu/e_log.S: Likewise.
38637 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38638 * sysdeps/i386/fpu/e_logf.S: Likewise.
38639 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38640 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38641 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38642 * sysdeps/i386/fpu/e_log10.S: Likewise.
38643 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38644 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38645 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38646 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38647 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38648 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38649 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38650 * sysdeps/i386/i686/strtok.S: Likewise.
38651 * sysdeps/i386/i386-mcount.S: Likewise.
38652 * sysdeps/i386/strtok.S: Likewise.
38653 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38654 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38655 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38656 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38657 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38658 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38659 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38660 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38661 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38662 * sysdeps/x86_64/_mcount.S: Likewise.
38663 * sysdeps/x86_64/strtok.S: Likewise.
38664 * sysdeps/sh/_mcount.S: Likewise.
38666 2012-08-01 Roland McGrath <roland@hack.frob.com>
38668 * libio/iofopen.c: Include <fcntl.h>.
38669 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38670 (_IO_fopen64, fopen64): Define as aliases.
38671 * libio/iofopen64.c: Include <fcntl.h>.
38672 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38673 Conditionalize body on this.
38674 * sysdeps/wordsize-64/iofopen.c: File removed.
38675 * sysdeps/wordsize-64/iofopen64.c: File removed.
38677 2012-08-01 Marek Polacek <polacek@redhat.com>
38679 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38680 Use dlfcn directly instead of a variable.
38681 (binfmt-subdir): Do not define.
38684 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38686 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38687 Remove all definitions.
38688 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38689 <kernel-features.h>.
38690 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38691 (miss_F_GETOWN_EX): Remove all definitions.
38692 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38694 [!__ASSUME_FCNTL64]: Remove conditional code.
38695 [__ASSUME_FCNTL64]: Make code unconditional.
38696 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38697 <kernel-features.h>.
38698 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38699 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38700 (lockf64) [__NR_fcntl64]: Make code unconditional.
38701 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38703 * sysdeps/unix/sysv/linux/kernel-features.h
38704 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38705 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38706 Make code unconditional.
38707 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38708 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38710 [__NR_vfork]: Make code unconditional.
38711 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38712 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38714 [__NR_vfork]: Make code unconditional.
38715 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38716 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38718 2012-08-01 Roland McGrath <roland@hack.frob.com>
38720 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38721 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38723 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38724 Define mkstemp64 as an alias.
38725 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38726 Define mkstemps64 as an alias.
38727 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38728 Define mkostemp64 as an alias.
38729 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38730 Define mkostemps64 as an alias.
38731 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38732 Conditionalize body on this.
38733 * misc/mkostemp64.c: Likewise.
38734 * misc/mkostemps64.c: Likewise.
38735 * misc/mkstemps64.c: Likewise.
38736 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38737 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38738 * sysdeps/wordsize-64/mkostemp.c: File removed.
38739 * sysdeps/wordsize-64/mkstemp.c: File removed.
38740 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38741 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38742 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38743 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38746 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38747 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38748 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38749 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38751 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38752 compat_symbol macros from <shlib-compat.h> rather than the underlying
38753 default_symbol_version and symbol_version macros, so that DEFAULT
38754 lines in shlib-versions are respected.
38755 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38757 2012-08-01 Florian Weimer <fweimer@redhat.com>
38759 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38760 Declare with warn_unused_result.
38761 (setgid, setregid, setegid, setresgid): Likewise.
38762 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38764 * WUR-REPORT: Remove set*id functions.
38766 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38768 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38770 2012-07-31 Roland McGrath <roland@hack.frob.com>
38773 * include/sys/socket.h (__libc_accept, __libc_accept4):
38774 Add attribute_hidden.
38775 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38777 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38779 * inet/getnetgrent_r.c (setup): Likewise.
38781 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38783 2012-07-31 David S. Miller <davem@davemloft.net>
38785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38787 2012-07-31 Joseph Myers <joseph@codesourcery.com>
38790 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38791 value between 1.0 and 2.0 and smaller part has absolute value less
38793 * math/s_clog10.c (__clog10): Likewise.
38794 * math/s_clog10f.c (__clog10f): Likewise.
38795 * math/s_clog10l.c (__clog10l): Likewise.
38796 * math/s_clogf.c (__clogf): Likewise.
38797 * math/s_clogl.c (__clogl): Likewise.
38798 * math/libm-test.inc (clog_test): Add more tests.
38799 (clog10_test): Likewise.
38800 * sysdeps/i386/fpu/libm-test-ulps: Update.
38801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38803 2012-07-31 Florian Weimer <fweimer@redhat.com>
38805 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38806 Exit with zero in case no suitable GID is found, and write a
38807 message to standard error.
38809 2012-07-30 Roland McGrath <roland@hack.frob.com>
38811 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38813 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38814 (MAXPATHLEN): Removed.
38815 (NOGROUP, NODEV): New macros.
38816 (setbit, clrbit, isset, isclr): New macros.
38817 (howmany, roundup, powerof2): New macros.
38818 (DEV_BSIZE): New macro.
38820 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38821 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38823 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38824 definition on [!__NO_LONG_DOUBLE_MATH].
38826 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38827 PTR_MANGLE and PTR_DEMANGLE.
38829 * socket/accept4.c (accept4): Rename to __libc_accept4.
38830 Define accept4 as a weak alias.
38832 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38833 on [_DIRENT_HAVE_D_TYPE].
38834 * io/ftw.c (ftw_dir): Likewise.
38836 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38838 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38840 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38841 Use the BSD numbers rather than the arbitrary ones we had.
38842 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38843 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38844 (SIGXCPU, SIGXFSZ): New macros.
38847 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38848 initializer on [_LIBC_REENTRANT].
38850 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38851 definitions inside [_POSIX_MAPPED_FILES].
38853 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38855 * dirent/opendir.c: Include <fcntl.h>.
38857 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38858 (__libc_getspecific): Likewise.
38859 (__libc_key_create): Likewise.
38861 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38862 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38863 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38864 (tmpfile64): Define as alias.
38865 * sysdeps/wordsize-64/tmpfile.c: File removed.
38866 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38867 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38868 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38870 * stdio-common/vfscanf.c: Include <stdbool.h>.
38871 * nss/makedb.c: Likewise.
38872 * stdio-common/_i18n_number.h: Likewise.
38873 * argp/argp-help.c: Likewise.
38874 * posix/wordexp.c: Likewise.
38875 * sysdeps/posix/spawni.c: Likewise.
38876 * nss/nss_files/files-initgroups.c: Likewise.
38877 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38878 * nss/nss_files/files-initgroups.c: Likewise.
38879 * nss/nss_db/db-netgrp.c: Likewise.
38880 * nss/nss_db/db-initgroups.c: Likewise.
38881 * io/fchmodat.c: Include <sys/stat.h>.
38883 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38884 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38886 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38889 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38890 Add multiple inclusion protection.
38892 2012-07-27 David S. Miller <davem@davemloft.net>
38894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38896 2012-07-27 Gary Benson <gbenson@redhat.com>
38899 * elf/rtld.c: Include <stap-probe.h>.
38900 (dl_main): Added static probes "init_start" and "init_complete".
38901 * elf/dl-load.c: Include <stap-probe.h>.
38902 (lose): Take new parameter "nsid".
38903 Added static probe "map_failed".
38904 (_dl_map_object_from_fd): Pass namespace id to lose.
38905 Added static probe "map_start".
38906 (open_verify): Pass namespace id to lose.
38907 * elf/dl-open.c: Include <stap-probe.h>.
38908 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38909 and "reloc_complete".
38910 * elf/dl-close.c: Include <stap-probe.h>.
38911 (_dl_close_worker): Added static probes "unmap_start" and
38913 * elf/rtld-debugger-interface.txt: New file documenting the above.
38915 2012-07-26 Roland McGrath <roland@hack.frob.com>
38917 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38918 rather than a string variable.
38919 * sunrpc/rpc_main.c (h_output): Likewise.
38920 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38922 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38924 * inet/check_native.c: New file.
38926 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38929 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38930 if larger part has absolute value 1.0.
38931 * math/s_clog10.c (__clog10): Likewise.
38932 * math/s_clog10f.c (__clog10f): Likewise.
38933 * math/s_clog10l.c (__clog10l): Likewise.
38934 * math/s_clogf.c (__clogf): Likewise.
38935 * math/s_clogl.c (__clogl): Likewise.
38936 * math/libm-test.inc (clog_test): Add more tests.
38937 (clog10_test): Likewise.
38938 * sysdeps/i386/fpu/libm-test-ulps: Update.
38939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38941 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38942 (pltexit): Likewise.
38943 (La_regs): Likewise.
38944 (La_retval): Likewise.
38945 (int_retval): Likewise.
38946 Update #error for removed macros to refer only to definitions in
38948 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38950 (pltexit): Likewise.
38951 (La_regs): Likewise.
38952 (La_retval): Likewise.
38953 (int_retval): Likewise.
38954 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38956 (pltexit): Likewise.
38957 (La_regs): Likewise.
38958 (La_retval): Likewise.
38959 (int_retval): Likewise.
38960 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38962 (pltexit): Likewise.
38963 (La_regs): Likewise.
38964 (La_retval): Likewise.
38965 (int_retval): Likewise.
38966 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38968 (pltexit): Likewise.
38969 (La_regs): Likewise.
38970 (La_retval): Likewise.
38971 (int_retval): Likewise.
38972 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38974 (pltexit): Likewise.
38975 (La_regs): Likewise.
38976 (La_retval): Likewise.
38977 (int_retval): Likewise.
38978 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38980 (pltexit): Likewise.
38981 (La_regs): Likewise.
38982 (La_retval): Likewise.
38983 (int_retval): Likewise.
38984 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38985 macro definitions in tst-audit.h.
38986 * sysdeps/i386/tst-audit.h: New file.
38987 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38988 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38989 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38990 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38991 * sysdeps/sh/tst-audit.h: Likewise.
38992 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38993 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38994 * sysdeps/x86_64/tst-audit.h: Likewise.
38996 2012-07-26 Andreas Jaeger <aj@suse.de>
38998 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39001 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39002 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39003 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39005 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39006 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39007 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39009 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39012 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39014 (si_call_addr, si_syscall, si_arch): Define new macro.
39015 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39017 (si_call_addr, si_syscall, si_arch): Define new marcro.
39018 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39020 (si_call_addr, si_syscall, si_arch): Define new macro.
39021 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39023 (si_call_addr, si_syscall, si_arch): Define new macro.
39025 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39029 Change to 2.4.21 where previously 2.4.1.
39030 * sysdeps/unix/sysv/linux/configure: Regenerated.
39031 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39032 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39033 Linux kernel version.
39034 (__ASSUME_STD_AUXV): Remove.
39035 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39037 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39038 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39039 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39040 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39041 (__ASSUME_NETLINK_SUPPORT): Likewise.
39042 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39043 (__no_netlink_support): Remove conditional definition.
39044 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39046 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39047 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39048 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39049 (if_nameindex_ioctl): Remove.
39050 (if_nameindex_netlink): Do not handle __no_netlink_support.
39051 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39053 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39054 Remove conditional code.
39055 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39057 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39059 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39060 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39061 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39063 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39064 [!__ASSUME_STD_AUXV]: Remove conditional code.
39065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39066 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39067 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39069 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39070 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39072 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39074 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39075 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39077 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39079 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39082 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39085 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39086 code unconditional.
39087 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39089 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39091 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39094 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39096 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39099 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39100 code unconditional.
39101 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39103 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39105 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39108 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39109 code unconditional.
39110 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39112 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39114 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39117 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39119 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39120 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39121 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39122 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39123 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39124 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39125 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39126 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39127 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39128 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39129 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39130 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39131 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39132 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39133 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39134 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39135 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39136 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39137 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39139 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39140 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39141 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39143 2012-07-25 Florian Weimer <fweimer@redhat.com>
39145 * Versions.def: Add GLIBC_2.17.
39146 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39147 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39148 Introduce __libc_secure_getenv.
39149 * stdlib/Versions (2.17): Add secure_getenv
39150 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39151 * stdlib/secure-getenv.c: Rename __secure_getenv to
39152 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39153 symbol __secure_getenv for GLIBC_2.0.
39154 * stdlib/tst-secure-getenv.c: New.
39155 * stdlib/Makefile (tests): Add testcase.
39156 * manual/startup.texi (Environment Access): Document
39158 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39159 __libc_secure_getenv.
39160 * inet/ruserpass.c (ruserpass): Likewise.
39161 * malloc/mtrace.c (mtrace): Likewise.
39162 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39163 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39164 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39165 * sysdeps/posix/tempname.c: Likewise. Evaluate
39166 HAVE_SECURE_GETENV.
39167 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39168 __secure_getenv to __libc_secure_getenv.
39169 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39182 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39184 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39185 (struct La_i86_retval): Likewise.
39186 (struct La_x86_64_regs): Likewise.
39187 (struct La_x86_64_retval): Likewise.
39188 (struct La_x32_regs): Likewise.
39189 (struct La_x32_retval): Likewise.
39190 (struct La_ppc32_regs): Likewise.
39191 (struct La_ppc32_retval): Likewise.
39192 (struct La_ppc64_regs): Likewise.
39193 (struct La_ppc64_retval): Likewise.
39194 (struct La_sh_regs): Likewise.
39195 (struct La_sh_retval): Likewise.
39196 (struct La_s390_32_regs): Likewise.
39197 (struct La_s390_32_retval): Likewise.
39198 (struct La_s390_64_regs): Likewise.
39199 (struct La_s390_64_retval): Likewise.
39200 (struct La_sparc32_regs): Likewise.
39201 (struct La_sparc32_retval): Likewise.
39202 (struct La_sparc64_regs): Likewise.
39203 (struct La_sparc64_retval): Likewise.
39204 (struct audit_ifaces): Remove architecture-specific pltenter and
39206 * sysdeps/i386/ldsodefs.h: New file.
39207 * sysdeps/powerpc/ldsodefs.h: Likewise.
39208 * sysdeps/s390/ldsodefs.h: Likewise.
39209 * sysdeps/sh/ldsodefs.h: Likewise.
39210 * sysdeps/sparc/ldsodefs.h: Likewise.
39211 * sysdeps/x86_64/ldsodefs.h: Likewise.
39213 2012-07-25 Marek Polacek <polacek@redhat.com>
39216 * math/libm-test.inc (yn_test): Add another test.
39217 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39218 to ERANGE when the result is +-Inf.
39219 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39220 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39221 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39222 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39224 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39226 * conform/data/time.h-data (NULL): Use macro-constant. Require
39228 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39230 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39232 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39234 * configure.in <sysdeps resolving>: Correct printing
39236 * configure: Regenerate.
39238 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39240 * math/w_ilogb.c: Include <limits.h>.
39241 * math/w_ilogbl.c: Likewise.
39243 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39245 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39246 va_copy. Document allowing for unavailable va_copy only as
39247 pre-C99 compatibility.
39248 * manual/string.texi (Copying and Concatenation): Use va_copy
39249 instead of __va_copy in concat example.
39251 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39253 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39254 (__sendto): Use create_address_port. Initialize APORT and deallocate
39257 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39258 with O_NOLINK passed to __file_name_lookup.
39260 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39261 with O_NOLINK passed to __file_name_lookup.
39263 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39264 negative N or less than NGIDS.
39266 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39267 type to string_t. Set ERANGE as errno and return it if NAME is not big
39268 enough. Use memcpy instead of strncpy.
39270 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39272 * elf/Makefile (check-data): Remove.
39273 (localplt.data): New vpath directive.
39274 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39275 instead of $(check-data).
39276 * scripts/data/localplt-generic.data: Move to ...
39277 * sysdeps/generic/localplt.data: ... here.
39278 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39279 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39280 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39283 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39286 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39289 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39292 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39295 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39299 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39301 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39302 PPC32 and PPC64 files.
39303 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39304 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39306 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39308 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39309 __makecontext_ret to ...
39310 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39311 ... here and call exit if uc_link is NULL. New file.
39312 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39313 __makecontext_ret.S.
39314 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39315 __makecontext_ret to ...
39316 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39317 ... here and call exit if uc_link is NULL. New file.
39318 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39319 __makecontext_ret.S.
39321 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39323 * elf/elf.h (R_390_IRELATIVE): New definition.
39324 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39325 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39326 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39328 (elf_machine_lazy_rel): Likewise.
39329 * sysdeps/s390/dl-irel.h: New file.
39330 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39331 * sysdeps/s390/s390-64/memset.S: New asm code.
39332 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39333 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39334 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39335 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39336 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39337 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39338 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39339 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39340 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39341 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39342 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39343 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39344 * sysdeps/s390/s390-32/memset.S: New asm code.
39345 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39347 2012-07-17 Marek Polacek <polacek@redhat.com>
39350 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39351 * sysdeps/s390/s390-64/configure.in: Likewise.
39352 * sysdeps/sparc/configure.in: Likewise.
39353 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39354 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39355 * sysdeps/i386/configure.in: Likewise.
39356 * sysdeps/x86_64/configure.in: Likewise.
39357 * sysdeps/sh/configure.in: Likewise.
39358 * sysdeps/s390/s390-32/configure: Regenerated.
39359 * sysdeps/s390/s390-64/configure: Likewise.
39360 * sysdeps/x86_64/configure: Likewise.
39361 * sysdeps/sh/configure: Likewise.
39362 * sysdeps/powerpc/powerpc64/configure: Likewise.
39363 * sysdeps/powerpc/powerpc32/configure: Likewise.
39364 * sysdeps/sparc/configure: Likwise.
39365 * sysdeps/i386/configure: Likewise.
39367 * elf/dl-open.c: Comment fixes.
39369 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39371 * Makefile [CXX] (check-data): Remove.
39372 [CXX] (c++-types.data): New vpath directive.
39373 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39374 vpath. Do not allow for C++ type data being missing.
39375 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39376 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39377 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39378 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39379 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39380 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39381 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39384 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39387 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39390 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39393 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39396 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39399 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39402 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39405 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39406 definitions to architecture-specific files.
39407 (TLS_IE): Likewise.
39408 (TLS_LD): Likewise.
39409 (TLS_GD): Likewise.
39410 * sysdeps/i386/tls-macros.h: New file.
39411 * sysdeps/powerpc/tls-macros.h: Likewise.
39412 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39413 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39414 * sysdeps/sh/tls-macros.h: Likewise.
39415 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39416 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39417 * sysdeps/x86_64/tls-macros.h: Likewise.
39419 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39421 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39422 zero value for regular exit case.
39424 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39425 (__start_context): Preserve zero value for regular exit case.
39427 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39428 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39430 * manual/setjmp.texi (setcontext): Clarify normal process
39431 termination when uc_link is the null pointer.
39432 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39435 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39437 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39438 preprocessor. Test for each exception mask separately.
39440 2012-07-16 Andreas Jaeger <aj@suse.de>
39442 * po/ru.po: Update from translation team.
39444 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39446 * conform/data/string.h-data (NULL): Use macro-constant. Require
39448 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39449 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39450 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39451 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39454 2012-07-13 Andreas Jaeger <aj@suse.de>
39456 * po/fr.po: Update from translation team.
39458 2012-07-12 Marek Polacek <polacek@redhat.com>
39461 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39465 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39469 Change to 2.4.1 where previously 2.4.0.
39470 * sysdeps/unix/sysv/linux/configure: Regenerated.
39471 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39472 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39474 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39475 (__ASSUME_AT_CLKTCK): Remove.
39476 (__ASSUME_AT_PAGESIZE): Likewise.
39477 (__ASSUME_AT_XID): Likewise.
39478 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39479 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39480 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39482 (HAVE_AUX_PAGESIZE): Likewise.
39483 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39484 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39485 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39487 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39491 the temporary buffer used to invoke __gethostbyname2_r,
39492 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39493 host_data / struct gaih_addrtuple.
39494 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39495 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39496 header file nss/nsswitch.h.
39497 * nss/nsswitch.h (global scope): Add definition of implementation
39498 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39499 resolv/nss_dns/dns-host.c).
39501 2012-07-11 Andreas Jaeger <aj@suse.de>
39503 * po/fr.po: Update from translation team.
39505 * po/sv.po: Update from translation team
39506 * po/fr.po: Another update from translation team.
39508 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39510 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39511 for subnormals or multiply small sinh result by itself.
39512 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39515 2012-07-11 David S. Miller <davem@davemloft.net>
39517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39519 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39522 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39523 (INTERNAL_MARK): Shift it here.
39525 2012-07-10 Marek Polacek <polacek@redhat.com>
39528 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39529 libc_cv_asm_global_directive with .globl.
39530 * configure: Regenerated.
39531 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39533 * sysdeps/i386/configure: Regenerated.
39534 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39536 * sysdeps/x86_64/configure: Regenerated.
39537 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39538 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39539 * elf/tst-unique2mod2.c: Likewise.
39540 * elf/tst-unique2mod1.c: Likewise.
39541 * elf/tst-unique1mod2.c: Likewise.
39542 * elf/tst-unique1mod1.c: Likewise.
39543 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39544 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39545 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39546 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39547 * sysdeps/mach/sysdep.h: Likewise.
39548 * sysdeps/i386/sysdep.h: Likewise.
39549 * sysdeps/i386/i386-mcount.S: Likewise.
39550 * sysdeps/x86_64/_mcount.S: Likewise.
39551 * sysdeps/x86_64/sysdep.h: Likewise.
39552 * sysdeps/sh/_mcount.S: Likewise.
39553 * sysdeps/sh/sysdep.h: Likewise.
39554 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39555 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39556 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39557 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39558 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39559 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39560 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39561 * locale/localeinfo.h: Likewise.
39562 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39563 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39565 2012-07-09 Roland McGrath <roland@hack.frob.com>
39568 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39570 * manual/message.texi (The Uniforum approach): Likewise.
39571 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39572 (glibc iconv Implementation): Likewise.
39574 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39577 * math/s_clog.c (__clog): Avoid scaling a value down where that
39578 could result in underflow.
39579 * math/s_clog10.c (__clog10): Likewise.
39580 * math/s_clog10f.c (__clog10f): Likewise.
39581 * math/s_clog10l.c (__clog10l): Likewise.
39582 * math/s_clogf.c (__clogf): Likewise.
39583 * math/s_clogl.c (__clogl): Likewise.
39584 * math/libm-test.inc (clog_test): Add more tests.
39585 (clog10_test): Likewise.
39586 * sysdeps/i386/fpu/libm-test-ulps: Update.
39587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39589 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39592 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39593 by 7 not 8 to examine high bit of fractional part.
39596 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39597 for call to __mcount_internal.
39598 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39599 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39600 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39602 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39605 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39606 approximation for values within 0x1p-13f of an odd multiple of
39608 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39609 exception. Add more tests.
39610 * sysdeps/i386/fpu/libm-test-ulps: Update.
39613 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39614 inputs and return -1 for them. Do not check for +Inf in case not
39615 reachable for +Inf.
39616 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39617 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39618 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39619 and return -1 for them. Do not check for +Inf in case not
39620 reachable for +Inf.
39621 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39624 and return -1 for them. Do not check for +Inf in case not
39625 reachable for +Inf.
39626 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39627 spurious underflow.
39628 * sysdeps/i386/fpu/libm-test-ulps: Update.
39629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39631 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39633 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39635 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39639 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39640 could result in spurious underflow. Scale down values above
39641 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39642 * math/s_csqrtf.c (__csqrtf): Likewise.
39643 * math/s_csqrtl.c (__csqrtl): Likewise.
39644 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39645 spurious underflow.
39646 * sysdeps/i386/fpu/libm-test-ulps: Update.
39647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39649 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39651 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39653 * catgets/xopen-msg.awk: New file.
39654 * catgets/xopen-msg.sed: Removed.
39656 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39658 * intl/po2test.awk: New file.
39659 * intl/po2test.sed: Removed.
39661 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39664 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39665 or multiply small sinh result by itself.
39666 * math/s_ctanf.c (__ctanf): Likewise.
39667 * math/s_ctanh.c (__ctanh): Likewise.
39668 * math/s_ctanhf.c (__ctanhf): Likewise.
39669 * math/s_ctanhl.c (__ctanhl): Likewise.
39670 * math/s_ctanl.c (__ctanl): Likewise.
39671 * math/libm-test.inc (ctan_test_tonearest): New function.
39672 (ctan_test_towardzero): Likewise.
39673 (ctan_test_downward): Likewise.
39674 (ctan_test_upward): Likewise.
39675 (ctanh_test_tonearest): Likewise.
39676 (ctanh_test_towardzero): Likewise.
39677 (ctanh_test_downward): Likewise.
39678 (ctanh_test_upward): Likewise.
39679 (main): Call these new functions.
39680 * sysdeps/i386/fpu/libm-test-ulps: Update.
39681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39683 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39685 * .gitignore: Delete /ports entry.
39687 2012-07-03 Andreas Jaeger <aj@suse.de>
39689 * po/bg.po: Update from translation team.
39690 * po/cs.po: Likewise.
39691 * po/de.po: Likewise.
39692 * po/hr.po: Likewise.
39693 * po/nl.pl: Likewise.
39694 * po/pl.po: Likewise.
39695 * po/vi.po: Likewise.
39697 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39699 * Makeconfig [!+link] (+link-before-libc): New variable.
39700 [!+link] (+link-after-libc): Likewise.
39701 [!+link] (+link-tests): Likewise.
39702 [!+link] (+link): Define in terms of $(+link-before-libc) and
39703 $(+link-after-libc).
39704 [!+link-static] (+link-static-before-libc): New variable.
39705 [!+link-static] (+link-static-after-libc): Likewise.
39706 [!+link-static] (+link-static-tests): Likewise.
39707 [!+link-static] (+link-static): Define in terms of
39708 $(+link-static-before-libc) and $(+link-static-after-libc).
39709 [build-shared] (link-libc-before-gnulib): New variable.
39710 [build-shared] (link-libc-tests): Likewise.
39711 [build-shared] (link-libc): Define in terms of
39712 $(link-libc-before-gnulib).
39713 [!build-shared] (link-libc-tests): New variable.
39714 (link-libc-static-tests): New variable.
39715 [!gnulib] (gnulib-arch): New variable.
39716 [!gnulib] (gnulib-tests): Likewise.
39717 [!gnulib] (static-gnulib-arch): Likewise.
39718 [!gnulib] (static-gnulib-tests): Likewise.
39719 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39720 Define with "=" instead of ":=".
39721 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39722 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39723 * Rules (binaries-all-notests): New variable.
39724 (binaries-all-tests): Likewise.
39725 (binaries-static-notests): Likewise.
39726 (binaries-static-tests): Likewise.
39727 (binaries-all): Define using $(binaries-all-notests) and
39728 $(binaries-all-tests).
39729 (binaries-static): Define using $(binaries-static-notests) and
39730 $(binaries-static-tests).
39731 (binaries-shared-tests): New variable.
39732 (binaries-shared-notests): Likewise.
39733 (binaries-shared): Remove variable.
39734 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39735 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39736 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39737 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39738 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39739 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39740 * elf/Makefile (sln-modules): New variable.
39741 (extra-objs): Add $(sln-modules:=.o).
39742 (ldconfig-modules): Add static-stubs.
39743 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39744 * elf/static-stubs.c: New file.
39747 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39748 by 7 not 8 to examine high bit of fractional part. Use volatile
39749 variables when splitting into final array of floats if
39750 __FLT_EVAL_METHOD__ != 0.
39751 * math/libm-test.inc (cos_test): Add another test.
39752 (sin_test): Likewise.
39753 * sysdeps/i386/fpu/libm-test-ulps: Update.
39756 * math/libm-test.inc (cosh_test): Add more tests.
39758 * version.h (RELEASE): Set to "development".
39759 (VERSION): Set to "2.16.90".
39761 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39763 * NEWS: Update copyright. Remove last-updated date.
39764 Mention math library bug fixes and timezone data changes.
39765 * README: Mention GNU/Hurd, x32, and HPPA support status.
39767 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39769 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39771 2012-06-27 Andreas Jaeger <aj@suse.de>
39773 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39775 2012-06-25 Andreas Jaeger <aj@suse.de>
39777 * sysdeps/s390/fpu/libm-test-ulps: Update.
39779 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39780 Thomas Schwinge <thomas@codesourcery.com>
39782 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39783 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39787 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39789 * sysdeps/mach/start.c: Remove file.
39790 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39791 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39792 * sysdeps/sh/init-first.c: Likewise.
39794 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39795 registers for frame unwinding purposes, add CFI directives.
39796 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39797 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39798 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39801 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39802 __fortify_fail returning.
39803 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39805 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39806 sysdeps/sh/____longjmp_chk.S.
39807 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39808 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39809 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39810 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39812 * sysdeps/sh/abort-instr.h: New file.
39813 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39814 process in case exit returns.
39816 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39817 initialize the GOT register before use.
39819 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39820 calculation of ARGC > 4.
39822 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39823 meaningful names to some local labels.
39825 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39826 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39828 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39829 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39830 (__arch_compare_and_exchange_val_16_acq): Likewise.
39831 (__arch_compare_and_exchange_val_32_acq): Likewise.
39832 (atomic_exchange_and_add): Fix gUSA sequence.
39833 (atomic_add): Likewise.
39834 (atomic_add_negative): Likewise.
39835 (atomic_add_zero): Likewise.
39836 (atomic_bit_test_set): Likewise.
39838 2012-06-22 Andreas Schwab <schwab@redhat.com>
39841 * include/link.h (struct link_map): Add l_free_initfini.
39842 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39844 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39845 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39846 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39849 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39851 * configure.in: Use AC_LANG_SOURCE.
39852 * configure: Regenerate.
39854 2012-06-22 Roland McGrath <roland@hack.frob.com>
39856 * configure.in (libc_cv_localstatedir): New substituted variable.
39857 * configure: Regenerated.
39858 * config.make.in (localstatedir): New variable, substituted from
39859 libc_cv_localstatedir.
39860 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39861 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39862 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39863 * sysdeps/gnu/configure: Regenerated.
39865 2012-06-21 Jeff Law <law@redhat.com>
39868 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39869 free. Simplify list management for _LIBC case.
39871 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39874 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39875 Clear sign bit of 64-bit integer value before comparing against
39878 * sysdeps/mach/configure: Regenerated.
39880 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39883 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39885 2012-06-21 Jeff Law <law@redhat.com>
39888 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39889 uint16_t for elements in the "seen" array to avoid char overflows.
39890 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39891 * elf/dl-open.c (dl_open_worker): Likewise.
39893 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39895 * scripts/list-sources.sh: Scan PORTS for translations.
39896 * po/libc.pot: Regenerated.
39898 2012-06-21 Andreas Jaeger <aj@suse.de>
39901 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39903 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39904 * bits/byteswap-16.h (__bswap_16): Likewise.
39905 * bits/byteswap.h (__bswap_constant_16): Likewise.
39907 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39910 * sysdeps/i386/fpu_control.h: Removed.
39911 * sysdeps/x86_64/fpu_control.h: Moved to ...
39912 * sysdeps/x86/fpu_control.h: Here.
39914 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39915 (_FPU_SETCW): Likewise.
39917 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39920 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39921 * sysdeps/x86/fpu/bits/mathinline.h: This.
39922 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39926 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39927 functions if __x86_64__ is defined.
39929 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39931 * string/endian.h: Add !__ASSEMBLER__ condition for including
39932 conversion interfaces.
39934 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39938 of ABS(x) in calculating zero to negative powers other than odd
39940 * math/libm-test.inc (pow_test): Add more tests.
39942 2012-06-15 Andreas Jaeger <aj@suse.de>
39944 * manual/contrib.texi (Contributors): Update entry of Liubov
39945 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39948 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39950 * string/string.h: Add __wur to GNU version of strerror_r.
39952 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39955 * string/Makefile (tests): Add tst-strtok_r.
39956 * string/tst-strtok_r.c: New file.
39957 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39958 RAX_LP/RDX_LP on SAVE_PTR.
39960 2012-06-14 Roland McGrath <roland@hack.frob.com>
39962 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39964 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39966 * libm_test.inc (csqrt_test): Allow more spurious underflow
39968 (j0_test): Likewise.
39969 (j1_test): Likewise.
39970 (y0_test): Likewise.
39971 (y1_test): Likewise.
39973 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39975 * po/Makefile (libc.pot): Use UTF-8 charset.
39977 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39980 Suppress sign-conversion warning from FD_SET.
39981 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39982 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39983 not unsigned long int.
39984 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39986 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39990 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39991 __extern_always_inline instead of __extern_inline.
39992 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39993 (__signbit): Likewise.
39994 (__signbitl): Support C++ namespace.
39995 (lrintf): New inline function.
39997 (llrintf): Likewise.
39998 (llrint): Likewise.
40008 (floorf): Likewise.
40009 (nearbyint): Likewise.
40010 (nearbyintf): Likewise.
40012 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40014 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40015 non-default versions.
40017 2012-06-11 Roland McGrath <roland@hack.frob.com>
40020 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40022 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40024 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40025 (FE_UPWARD, FE_DOWNWARD): Don't define.
40026 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40027 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40029 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40031 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40032 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40034 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40036 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40038 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40039 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40041 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40044 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40045 * sysdeps/i386/fpu/Implies: New file.
40046 * sysdeps/x86_64/fpu/Implies: Likewise.
40047 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40048 * sysdeps/x86/fpu/bits/fenv.h: This.
40050 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40053 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40056 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40057 character 0xffff that matches the last element of the
40060 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40062 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40065 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40067 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40068 values higher than 25.6283.
40070 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40073 subnormal exponent extraction and add some __builtin_expect.
40074 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40075 Fix for subnormal mantissa calculation.
40077 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40079 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40080 cpu2 is -1 and errno is not ENOSYS.
40082 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40085 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40086 * sysdeps/x86/bits/string.h: This.
40087 * sysdeps/x86_64/bits/string.h: Removed.
40089 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40090 if not compiling for x86-64, but compiling for >= i486.
40092 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40093 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40095 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40096 New macro from Linux kernel 3.4.0.
40097 (FP_XSTATE_MAGIC2): Likewise.
40098 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40099 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40100 (struct _fpx_sw_bytes): New struct.
40101 (struct _xsave_hdr): Likewise.
40102 (struct _ymmh_state): Likewise.
40103 (struct _xstate): Likewise.
40105 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40106 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40107 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40108 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40109 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40110 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40112 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40113 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40114 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40115 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40116 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40117 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40119 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40122 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40123 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40124 (sysdep_headers): Include sys/platform/ppc.h.
40125 * sysdeps/powerpc/test-gettimebase.c: Test for
40126 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40127 * manual/Makefile (appendices): Include platform.texi.
40128 * manual/contrib.texi (Contributors): Update @node pointers.
40129 * manual/maint.texi (Maintenance): Likewise.
40130 (Platform): New node.
40131 * manual/platform.texi: New file. Document the new features.
40133 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40134 Jakub Jelinek <jakub@redhat.com>
40137 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40138 where __builtin_expect is unavailable.
40140 2012-06-03 David S. Miller <davem@davemloft.net>
40142 * stdlib/longlong.h: Updated from GCC.
40144 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40147 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40148 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40151 (GLIBC_2.16): Likewise.
40153 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40155 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40157 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40160 (default-abi): New variable.
40161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40162 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40164 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40166 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40168 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40171 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40172 definition. Document in comment.
40174 2012-06-01 David S. Miller <davem@davemloft.net>
40176 * stdlib/longlong.h: Updated from GCC.
40178 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40181 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40182 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40183 sys/debugreg.h sys/io.h here.
40184 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40185 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40187 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40188 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40189 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40190 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40191 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40192 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40194 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40195 Define only if __x86_64__ is defined.
40197 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40200 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40201 Use int64_t for variable i.
40202 * math/libm-test.inc (fmod_test): Add more tests.
40204 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40205 z computation is not scheduled after fetestexcept.
40206 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40207 Use math_force_eval instead of asm to ensure calculation scheduled
40208 before exception test.
40209 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40210 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40212 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40215 computation is not scheduled after fetestexcept.
40217 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40220 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40221 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40223 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40225 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40226 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40228 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40231 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40233 (__WCHAR_MIN): Support __WORDSIZE == 64.
40234 (__WCHAR_MAX): Likewise.
40236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40237 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40240 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40241 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40244 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40245 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40247 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40248 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40250 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40251 Defined to 1 if __x86_64__ isn't defined.
40252 (_STAT_VER_LINUX_OLD): New.
40253 (st_atime): Remove duplicate.
40254 (st_mtime): Likewise.
40255 (st_ctime): Likewise.
40257 2012-05-31 David S. Miller <davem@davemloft.net>
40259 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40262 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40264 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40268 * elf/dl-reloc.c: Include <_itoa.h>.
40269 (_dl_reloc_bad_type): Remove use of INTUSE.
40270 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40271 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40272 * stdio-common/psiginfo.c (psiginfo): Likewise.
40273 * stdio-common/psignal.c (psignal): Likewise.
40274 * string/strsignal.c (strsignal): Likewise.
40275 * include/signal.h (_sys_siglist): Declare hidden proto.
40276 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40277 INTVARDEF with libc_hidden_data_def.
40278 * stdio-common/itoa-udigits.c: Likewise.
40279 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40280 (_itoa_lower_digits_internal): Remove declaration.
40281 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40282 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40283 (_sys_sigabbrev_internal): Remove aliases.
40284 (_sys_siglist): Define hidden alias.
40286 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40291 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40294 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40295 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40297 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40298 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40299 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40300 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40301 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40302 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40304 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40305 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40306 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40308 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40316 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40317 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40318 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40320 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40321 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40322 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40323 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40324 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40325 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40327 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40328 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40330 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40331 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40335 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40337 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40338 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40340 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40342 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40343 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40344 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40346 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40348 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40350 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40352 * math/math.h (M_El): Use two more decimal places.
40353 (M_LOG2El): Likewise.
40354 (M_LOG10El): Likewise.
40355 (M_LN2l): Likewise.
40356 (M_LN10l): Likewise.
40358 (M_PI_2l): Likewise.
40359 (M_PI_4l): Likewise.
40360 (M_1_PIl): Likewise.
40361 (M_2_PIl): Likewise.
40362 (M_2_SQRTPIl): Likewise.
40363 (M_SQRT2l): Likewise.
40364 (M_SQRT1_2l): Likewise.
40366 2012-05-31 David S. Miller <davem@davemloft.net>
40368 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40369 values between float registers.
40370 * sysdeps/sparc/sparc64/memset.S: Likewise.
40371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40373 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40375 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40376 -D_FORTIFY_SOURCE=1.
40377 (CPPFLAGS-tst-longjmp_chk.c): Define.
40378 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40379 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40380 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40381 CFLAGS-tst-wchar-h.c.
40383 2012-05-31 Marek Polacek <polacek@redhat.com>
40386 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40387 __endmntent_internal): Remove declaration.
40388 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40389 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40390 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40392 2012-05-30 David S. Miller <davem@davemloft.net>
40394 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40395 (___Q_simulate_exceptions): Use real FP ops rather than writing
40397 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40400 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40403 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40404 * sysdeps/x86/bits/xtitypes.h: This.
40406 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40407 * sysdeps/x86/bits/wordsize.h: This.
40409 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40410 * sysdeps/x86/bits/huge_vall.h: This.
40412 * sysdeps/i386/bits/select.h: Removed.
40413 * sysdeps/x86_64/bits/select.h: Renamed to ...
40414 * sysdeps/x86/bits/select.h: This.
40416 * sysdeps/i386/bits/setjmp.h: Removed.
40417 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40418 * sysdeps/x86/bits/setjmp.h: This.
40420 * sysdeps/i386/bits/mathdef.h: Removed.
40421 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40422 * sysdeps/x86/bits/mathdef.h: This.
40424 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40427 * include/sys/socket.h (__connect_internal)
40428 (__libc_sa_len_internal): Remove declaration.
40429 (__connect, __libc_sa_len): Declare hidden_proto.
40430 (SA_LEN): Remove use of INTUSE.
40431 * socket/connect.c: Add libc_hidden_def.
40432 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40433 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40434 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40436 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40437 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40438 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40439 of adding _internal alias.
40441 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40444 * sysdeps/i386/bits/link.h: Removed.
40445 * sysdeps/i386/bits/linkmap.h: Likewise.
40446 * sysdeps/x86_64/bits/link.h: Renamed to ...
40447 * sysdeps/x86/bits/link.h: This.
40448 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40449 * sysdeps/x86/bits/linkmap.h: This.
40451 * sysdeps/i386/bits/endian.h: Removed.
40452 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40453 * sysdeps/x86/bits/endian.h: This.
40455 * sysdeps/i386/bits/byteswap.h: Removed.
40456 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40457 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40458 * sysdeps/x86/bits/byteswap.h: This.
40459 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40460 * sysdeps/x86/bits/byteswap-16.h: This.
40461 * sysdeps/i386/Implies: Add x86.
40462 * sysdeps/x86_64/Implies: Likewise.
40464 2012-05-30 David S. Miller <davem@davemloft.net>
40466 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40467 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40468 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40469 (FP_TRAPPING_EXCEPTIONS): Define.
40470 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40471 (FP_TRAPPING_EXCEPTIONS): Define.
40472 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40473 subnormals only when inexact has been signalled or underflow
40474 exceptions are enabled.
40475 (_FP_PACK_CANONICAL): Likewise.
40477 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40481 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40483 2012-05-30 Richard Henderson <rth@twiddle.net>
40485 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40486 with #ifndef NOT_IN_libc.
40488 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40489 marked to avoid plt entry.
40491 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40494 * Makeconfig (default-abi): New macro.
40495 (abi-includes): Likewise.
40496 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40497 $(abi-$(default-abi)-lib-soname) for soname if defined.
40498 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40500 * Makefile (installed-stubs): Likewise.
40501 * include/stubs-biarch.h: Removed.
40502 * scripts/lib-names.awk: Only handle one library at a time.
40503 * scripts/soversions.awk: Remove WORDSIZE support.
40504 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40506 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40508 (syscall-list-default-condition): Likewise.
40509 (syscall-list-default-condition): Likewise.
40510 (syscall-list-includes): Likewise.
40511 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40512 syscall-list-* with abi-*. Handle undefined abi-variants.
40513 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40514 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40515 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40516 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40517 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40518 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40520 (syscall-list-32-options): Likewise.
40521 (syscall-list-32-condition): Likewise.
40522 (syscall-list-64-options): Likewise.
40523 (syscall-list-64-condition): Likewise.
40524 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40526 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40529 (abi-64-ld-soname): New macro.
40530 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40531 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40534 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40535 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40537 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40539 * sysdeps/unix/sysv/linux/kernel-features.h
40540 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40541 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40542 include <kernel-features.h>.
40543 [!__NR_ftruncate64]: Remove conditional code.
40544 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40545 [__NR_ftruncate64]: Make code unconditional.
40546 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40547 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40548 include <kernel-features.h>.
40549 [!__NR_ftruncate64]: Remove conditional code.
40550 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40551 [__NR_ftruncate64]: Make code unconditional.
40552 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40554 include <kernel-features.h>.
40555 [!__NR_ftruncate64]: Remove conditional code.
40556 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40557 [__NR_ftruncate64]: Make code unconditional.
40558 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40560 include <kernel-features.h>.
40561 [!__NR_ftruncate64]: Remove conditional code.
40562 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40563 [__NR_ftruncate64]: Make code unconditional.
40564 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40566 * configure.in (libc_cv_fpie): Weaken to a compile test using
40567 LIBC_TRY_CC_OPTION.
40568 * configure: Regenerated.
40570 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40585 2012-05-27 David S. Miller <davem@davemloft.net>
40587 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40589 (__Q_simulate_exceptions): Return void. Change to simulate
40590 exceptions by writing into the %fsr.
40591 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40592 (__Qp_handle_exceptions): Likewise.
40594 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40595 __Qp_handle_exceptions.
40596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40597 __Qp_handle_exceptions.
40598 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40599 as unused and give dummy FP_RND_NEAREST initializer.
40600 (FP_INHIBIT_RESULTS): Define.
40601 (___Q_simulate_exceptions): Update declaration.
40602 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40604 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40605 as unused and give dummy FP_RND_NEAREST initializer.
40606 (__Qp_handle_exceptions): Update declaration.
40607 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40610 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40612 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40613 the temporary FPU control word.
40614 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40615 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40616 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40617 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40618 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40619 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40620 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40621 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40622 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40623 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40624 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40626 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40628 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40631 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40633 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40634 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40635 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40636 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40638 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40639 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40642 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40644 * po/h.po: Update from translation team.
40646 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40648 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40650 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40651 handling of denormals.
40652 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40653 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40654 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40655 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40661 2012-05-26 Marek Polacek <polacek@redhat.com>
40664 * math/libm-test.inc (fma_test): Don't always expect underflow
40667 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40670 * elf/tst-execstack.c: Include stackinfo.h.
40671 (do_test): Adjust test case to ensure that pthread_getattr_np
40672 behaviour remains the same after marking stack executable.
40674 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40676 * sysdeps/unix/sysv/linux/kernel-features.h
40677 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40678 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40680 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40681 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40682 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40684 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40685 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40687 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40689 * configure.in: Define the default includes to being none.
40690 * configure: Regenerated.
40692 2012-05-25 Roland McGrath <roland@hack.frob.com>
40694 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40695 * sysdeps/x86_64/setjmp.S: Likewise.
40696 * sysdeps/i386/bsd-setjmp.S: Likewise.
40697 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40698 * sysdeps/i386/setjmp.S: Likewise.
40699 * sysdeps/i386/__longjmp.S: Likewise.
40700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40701 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40703 * include/stap-probe.h: New file.
40704 * configure.in: Handle --enable-systemtap.
40705 * configure: Regenerated.
40706 * config.h.in (USE_STAP_PROBE): New #undef.
40707 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40708 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40709 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40711 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40715 to 2.4.0 where earlier.
40716 * sysdeps/unix/sysv/linux/configure: Regenerated.
40717 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40718 <kernel-features.h>.
40719 [__ASSUME_32BITUIDS]: Make code unconditional.
40720 [!__ASSUME_32BITUIDS]: Remove conditional code.
40721 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40722 <kernel-features.h>.
40723 [__ASSUME_32BITUIDS]: Make code unconditional.
40724 [!__ASSUME_32BITUIDS]: Remove conditional code.
40725 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40726 [__ASSUME_32BITUIDS]: Make code unconditional.
40727 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40728 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40729 <kernel-features.h>.
40730 [__ASSUME_32BITUIDS]: Make code unconditional.
40731 [!__ASSUME_32BITUIDS]: Remove conditional code.
40732 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40733 <kernel-features.h>.
40734 [__ASSUME_32BITUIDS]: Make code unconditional.
40735 [!__ASSUME_32BITUIDS]: Remove conditional code.
40736 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40737 <kernel-features.h>.
40738 [__ASSUME_32BITUIDS]: Make code unconditional.
40739 [!__ASSUME_32BITUIDS]: Remove conditional code.
40740 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40741 <kernel-features.h>.
40742 [__ASSUME_32BITUIDS]: Make code unconditional.
40743 [!__ASSUME_32BITUIDS]: Remove conditional code.
40744 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40745 <kernel-features.h>.
40746 [__ASSUME_32BITUIDS]: Make code unconditional.
40747 [!__ASSUME_32BITUIDS]: Remove conditional code.
40748 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40749 <kernel-features.h>.
40750 [__ASSUME_32BITUIDS]: Make code unconditional.
40751 [!__ASSUME_32BITUIDS]: Remove conditional code.
40752 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40753 <kernel-features.h>.
40754 [__ASSUME_32BITUIDS]: Make code unconditional.
40755 [!__ASSUME_32BITUIDS]: Remove conditional code.
40756 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40757 <kernel-features.h>.
40758 [__ASSUME_32BITUIDS]: Make code unconditional.
40759 [!__ASSUME_32BITUIDS]: Remove conditional code.
40760 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40761 <kernel-features.h>.
40762 [__ASSUME_32BITUIDS]: Make code unconditional.
40763 [!__ASSUME_32BITUIDS]: Remove conditional code.
40764 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40765 <kernel-features.h>.
40766 [__ASSUME_32BITUIDS]: Make code unconditional.
40767 [!__ASSUME_32BITUIDS]: Remove conditional code.
40768 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40769 <kernel-features.h>.
40770 [__NR_setresgid] (__setresgid): Do not declare.
40771 [__ASSUME_32BITUIDS]: Make code unconditional.
40772 [!__ASSUME_32BITUIDS]: Remove conditional code.
40773 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40774 <kernel-features.h>.
40775 [__NR_setresuid] (__setresuid): Do not declare.
40776 [__ASSUME_32BITUIDS]: Make code unconditional.
40777 [!__ASSUME_32BITUIDS]: Remove conditional code.
40778 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40779 <kernel-features.h>.
40780 [__ASSUME_32BITUIDS]: Make code unconditional.
40781 [!__ASSUME_32BITUIDS]: Remove conditional code.
40782 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40783 <kernel-features.h>.
40784 [__ASSUME_32BITUIDS]: Make code unconditional.
40785 [!__ASSUME_32BITUIDS]: Remove conditional code.
40786 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40787 <kernel-features.h>.
40788 [__ASSUME_32BITUIDS]: Make code unconditional.
40789 [!__ASSUME_32BITUIDS]: Remove conditional code.
40790 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40791 <kernel-features.h>.
40792 [__ASSUME_32BITUIDS]: Make code unconditional.
40793 [!__ASSUME_32BITUIDS]: Remove conditional code.
40794 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40795 <kernel-features.h>.
40796 [__ASSUME_32BITUIDS]: Make code unconditional.
40797 [!__ASSUME_32BITUIDS]: Remove conditional code.
40798 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40799 <kernel-features.h>.
40800 [__ASSUME_32BITUIDS]: Make code unconditional.
40801 [!__ASSUME_32BITUIDS]: Remove conditional code.
40802 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40803 <kernel-features.h>.
40804 [__ASSUME_32BITUIDS]: Make code unconditional.
40805 [!__ASSUME_32BITUIDS]: Remove conditional code.
40806 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40807 <kernel-features.h>.
40808 [__ASSUME_32BITUIDS]: Make code unconditional.
40809 [!__ASSUME_32BITUIDS]: Remove conditional code.
40810 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40811 <kernel-features.h>.
40812 [__ASSUME_32BITUIDS]: Make code unconditional.
40813 [!__ASSUME_32BITUIDS]: Remove conditional code.
40814 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40815 <kernel-features.h>.
40816 [__ASSUME_32BITUIDS]: Make code unconditional.
40817 [!__ASSUME_32BITUIDS]: Remove conditional code.
40818 * sysdeps/unix/sysv/linux/kernel-features.h
40819 (__ASSUME_SETRESUID_SYSCALL): Remove.
40820 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40821 (__ASSUME_32BITUIDS): Likewise.
40822 (__ASSUME_LDT_WORKS): Likewise.
40823 (__ASSUME_O_DIRECTORY): Likewise.
40824 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40825 architecture but not kernel version.
40826 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40827 (__ASSUME_MMAP2_SYSCALL): Likewise.
40828 (__ASSUME_STAT64_SYSCALL): Likewise.
40829 (__ASSUME_IPC64): Likewise.
40830 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40831 <kernel-features.h>.
40832 [__ASSUME_32BITUIDS]: Make code unconditional.
40833 [!__ASSUME_32BITUIDS]: Remove conditional code.
40834 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40835 <kernel-features.h>.
40836 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40837 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40838 132096]: Remove conditional code.
40839 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40840 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40841 <kernel-features.h>.
40842 [__ASSUME_32BITUIDS]: Make code unconditional.
40843 [!__ASSUME_32BITUIDS]: Remove conditional code.
40844 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40845 <kernel-features.h>.
40846 [__ASSUME_32BITUIDS]: Make code unconditional.
40847 [!__ASSUME_32BITUIDS]: Remove conditional code.
40848 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40849 <kernel-features.h>.
40850 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40852 (__setresgid): Do not declare.
40853 [__ASSUME_32BITUIDS]: Make code unconditional.
40854 [!__ASSUME_32BITUIDS]: Remove conditional code.
40855 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40856 <kernel-features.h>.
40857 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40859 (__setresuid): Do not declare.
40860 [__ASSUME_32BITUIDS]: Make code unconditional.
40861 [!__ASSUME_32BITUIDS]: Remove conditional code.
40862 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40863 <kernel-features.h>.
40864 [__ASSUME_32BITUIDS]: Make code unconditional.
40865 [!__ASSUME_32BITUIDS]: Remove conditional code.
40866 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40867 <kernel-features.h>.
40868 [__ASSUME_32BITUIDS]: Make code unconditional.
40869 [!__ASSUME_32BITUIDS]: Remove conditional code.
40871 2012-05-25 Richard Henderson <rth@twiddle.net>
40873 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40874 dl_hwcap to ifunc resolver.
40875 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40877 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40878 dl_hwcap to ifunc resolver.
40879 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40881 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40884 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40885 for |x| <= 2**-26, not 2**-57.
40886 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40889 2012-05-24 Jeff Law <law@redhat.com>
40891 * stdio-common/Makefile (tests): Add bug25.
40892 * stdio-common/bug25.c: New test.
40894 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40897 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40898 multiple of MALLOC_ALIGNMENT in size.
40899 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40901 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40903 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40905 (FILENAME_MAX): Use macro-int-constant.
40906 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40907 (_IOFBF): Use macro-int-constant.
40908 (_IOLBF): Likewise.
40909 (_IONBF): Likewise.
40910 (SEEK_CUR): Likewise.
40911 (SEEK_END): Likewise.
40912 (SEEK_SET): Likewise.
40913 (TMP_MAX): Likewise.
40914 (EOF): Use macro-int-constant. Require < 0.
40915 (NULL): Use macro-constant. Require == 0.
40916 (stdin): Require type to be FILE *.
40917 (stdout): Likewise.
40918 (stderr): Likewise.
40919 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40920 macro-int-constant.
40921 (EXIT_SUCCESS): Likewise.
40922 (NULL): Use macro-constant. Require == 0.
40923 (RAND_MAX): Use macro-int-constant.
40924 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40925 [C99-based standards] (strtof): Require function.
40926 [C99-based standards] (strtold): Likewise.
40927 [C99-based standards] (strtoll): Likewise.
40928 [C99-based standards] (strtoull): Likewise.
40929 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40930 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40931 [ISO || ISO99 || ISO11] (math.h): Likewise.
40932 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40933 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40936 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40939 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40940 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40941 * intl/dgettext.c (DCGETTEXT): Likewise.
40942 * intl/gettext.c (DCGETTEXT): Likewise.
40943 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40944 * posix/regex_internal.h (gettext): Likewise.
40945 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40946 Remove declaration.
40947 * include/argz.h (__argz_count_internal)
40948 (__argz_stringify_internal): Remove declaration.
40949 (__argz_count, __argz_stringify): Declare hidden proto.
40950 * intl/dcgettext.c: Remove use of INTDEF.
40951 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40952 * string/argz-stringify.c: Likewise.
40953 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40954 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40955 Declare hidden proto.
40956 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40957 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40958 Declare hidden proto.
40959 * include/stdio.h (__asprintf_internal): Don't declare.
40960 (__asprintf): Don't define as macro. Declare hidden proto.
40961 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40962 (__fsetlocking): Declare hidden proto.
40963 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40964 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40966 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40967 (_IO_setlinebuf): Remove use of INTUSE.
40968 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40969 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40970 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40971 Remove declaration.
40972 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40973 (_IO_do_flush): Remove use of INTUSE.
40974 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40975 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40976 (_IO_adjust_column, _IO_least_wmarker)
40977 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40978 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40979 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40980 (_IO_default_doallocate, _IO_wdefault_doallocate)
40981 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40982 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40983 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40984 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40985 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40986 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40987 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40988 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40989 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40990 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40991 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40992 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40993 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40995 (_IO_flush_all_internal, _IO_adjust_column_internal)
40996 (_IO_default_uflow_internal, _IO_default_finish_internal)
40997 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40998 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40999 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41000 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41001 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41002 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41003 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41004 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41005 (_IO_file_close_internal, _IO_file_close_it_internal)
41006 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41007 (_IO_file_init_internal, _IO_file_attach_internal)
41008 (_IO_file_fopen_internal, _IO_file_read_internal)
41009 (_IO_file_sync_internal, _IO_file_seek_internal)
41010 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41011 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41012 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41013 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41014 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41015 (_IO_list_all_internal, _IO_link_in_internal)
41016 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41017 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41018 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41019 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41020 (_IO_do_write_internal, _IO_padn_internal)
41021 (_IO_getline_info_internal, _IO_getline_internal)
41022 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41023 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41024 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41025 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41026 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41027 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41028 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41029 with libc_hidden_ver, remove use of INTUSE.
41030 * libio/genops.c: Likewise.
41031 * libio/freopen.c: Likewise.
41032 * libio/freopen64.c: Likewise.
41033 * libio/iofclose.c: Likewise.
41034 * libio/iofdopen.c: Likewise.
41035 * libio/iofflush.c: Likewise.
41036 * libio/iofflush_u.c: Likewise.
41037 * libio/iofgets.c: Likewise.
41038 * libio/iofgets_u.c: Likewise.
41039 * libio/iofopen.c: Likewise.
41040 * libio/iofopncook.c: Likewise.
41041 * libio/iofread.c: Likewise.
41042 * libio/iofread_u.c: Likewise.
41043 * libio/ioftell.c: Likewise.
41044 * libio/iofwrite.c: Likewise.
41045 * libio/iogetline.c: Likewise.
41046 * libio/iogets.c: Likewise.
41047 * libio/iogetwline.c: Likewise.
41048 * libio/iopadn.c: Likewise.
41049 * libio/iopopen.c: Likewise.
41050 * libio/ioseekoff.c: Likewise.
41051 * libio/ioseekpos.c: Likewise.
41052 * libio/iosetbuffer.c: Likewise.
41053 * libio/iosetvbuf.c: Likewise.
41054 * libio/ioungetc.c: Likewise.
41055 * libio/ioungetwc.c: Likewise.
41056 * libio/iovdprintf.c: Likewise.
41057 * libio/iovsprintf.c: Likewise.
41058 * libio/iovsscanf.c: Likewise.
41059 * libio/memstream.c: Likewise.
41060 * libio/obprintf.c: Likewise.
41061 * libio/oldfileops.c: Likewise.
41062 * libio/oldiofclose.c: Likewise.
41063 * libio/oldiofdopen.c: Likewise.
41064 * libio/oldiofopen.c: Likewise.
41065 * libio/oldiopopen.c: Likewise.
41066 * libio/oldstdfiles.c: Likewise.
41067 * libio/putc.c: Likewise.
41068 * libio/setbuf.c: Likewise.
41069 * libio/setlinebuf.c: Likewise.
41070 * libio/stdfiles.c: Likewise.
41071 * libio/strops.c: Likewise.
41072 * libio/vasprintf.c: Likewise.
41073 * libio/vscanf.c: Likewise.
41074 * libio/vsnprintf.c: Likewise.
41075 * libio/vswprintf.c: Likewise.
41076 * libio/wfiledoalloc.c: Likewise.
41077 * libio/wfileops.c: Likewise.
41078 * libio/wgenops.c: Likewise.
41079 * libio/wmemstream.c: Likewise.
41080 * libio/wstrops.c: Likewise.
41081 * libio/__fpurge.c: Likewise.
41082 * libio/__fsetlocking.c: Likewise.
41083 * assert/assert.c: Likewise.
41084 * debug/fgets_chk.c: Likewise.
41085 * debug/fgets_u_chk.c: Likewise.
41086 * debug/fread_chk.c: Likewise.
41087 * debug/fread_u_chk.c: Likewise.
41088 * debug/gets_chk.c: Likewise.
41089 * debug/obprintf_chk.c: Likewise.
41090 * debug/vasprintf_chk.c: Likewise.
41091 * debug/vdprintf_chk.c: Likewise.
41092 * debug/vsnprintf_chk.c: Likewise.
41093 * debug/vsprintf_chk.c: Likewise.
41094 * malloc/mtrace.c: Likewise.
41095 * misc/error.c: Likewise.
41096 * misc/syslog.c: Likewise.
41097 * stdio-common/asprintf.c: Likewise.
41098 * stdio-common/fxprintf.c: Likewise.
41099 * stdio-common/getw.c: Likewise.
41100 * stdio-common/isoc99_fscanf.c: Likewise.
41101 * stdio-common/isoc99_scanf.c: Likewise.
41102 * stdio-common/isoc99_vfscanf.c: Likewise.
41103 * stdio-common/isoc99_vscanf.c: Likewise.
41104 * stdio-common/isoc99_vsscanf.c: Likewise.
41105 * stdio-common/printf-prs.c: Likewise.
41106 * stdio-common/printf_fp.c: Likewise.
41107 * stdio-common/printf_fphex.c: Likewise.
41108 * stdio-common/printf_size.c: Likewise.
41109 * stdio-common/putw.c: Likewise.
41110 * stdio-common/scanf.c: Likewise.
41111 * stdio-common/sprintf.c: Likewise.
41112 * stdio-common/tmpfile.c: Likewise.
41113 * stdio-common/vfprintf.c: Likewise.
41114 * stdio-common/vfscanf.c: Likewise.
41115 * stdlib/strfmon_l.c: Likewise.
41116 * sunrpc/openchild.c: Likewise.
41117 * sunrpc/xdr_stdio.c: Likewise.
41118 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41119 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41121 2012-05-24 Roland McGrath <roland@hack.frob.com>
41123 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41125 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41126 in the third column, to generate for the shared library an IFUNC
41127 that uses _dl_vdso_vsym.
41128 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41129 * Makeconfig (object-suffixes-noshared): New variable.
41131 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41132 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41133 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41134 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41137 * include/sys/time.h (__gettimeofday): Remove macro.
41138 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41139 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41141 (__gettimeofday): Add libc_hidden_def.
41142 (gettimeofday): Add libc_hidden_weak.
41143 * sysdeps/mach/gettimeofday.c: Likewise.
41144 * sysdeps/posix/gettimeofday.c: Likewise.
41145 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41146 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41148 (__gettimeofday_internal): Remove strong_alias.
41149 (__gettimeofday): Add libc_hidden_def.
41150 (gettimeofday): Add libc_hidden_weak.
41151 * sysdeps/unix/syscalls.list (gettimeofday):
41152 Remove __gettimeofday_internal alias.
41154 2012-05-24 Daniel Jacobowitz <drow@false.org>
41155 H.J. Lu <hongjiu.lu@intel.com>
41158 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41159 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41160 (largebin_index_32_big): New.
41161 (largebin_index): Use it for 16-byte alignment.
41162 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41163 correction with front_misalign.
41165 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41193 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41194 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41196 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41200 * math/libm-test.inc (exp_test): Add test from bug 14036.
41201 (pow_test): Add test from bug 10846.
41203 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41205 (special_function): Do not include flags in test name.
41206 (parse_args): Likewise.
41207 * sysdeps/i386/fpu/libm-test-ulps: Update.
41208 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41209 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41210 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41213 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41215 * math/libm-test.inc ("Philosophy"): Update comment about
41217 (UNDERFLOW_EXCEPTION): New macro.
41218 (UNDERFLOW_EXCEPTION_OK): Likewise.
41219 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41220 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41221 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41222 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41223 (INVALID_EXCEPTION_OK): Update value.
41224 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41225 (OVERFLOW_EXCEPTION_OK): Likewise.
41226 (IGNORE_ZERO_INF_SIGN): Likewise.
41227 (test_exceptions): Handle underflow exceptions.
41228 (acos_test): Update for underflow exception expectations.
41229 (cexp_test): Likewise.
41230 (clog_test): Likewise.
41231 (clog10_test): Likewise.
41232 (csqrt_test): Likewise.
41233 (ctan_test): Likewise.
41234 (ctanh_test): Likewise.
41235 (exp_test): Likewise.
41236 (exp10_test): Likewise.
41237 (exp2_test): Likewise.
41238 (expm1_test): Likewise.
41239 (fma_test): Likewise.
41240 (j0_test): Likewise.
41241 (jn_test): Likewise.
41242 (nexttoward_test): Likewise.
41243 (pow_test): Likewise.
41244 (scalbn_test): Likewise.
41245 (scalbln_test): Likewise.
41246 (tan_test): Likewise.
41247 (y1_test): Likewise.
41248 * sysdeps/i386/fpu/libm-test-ulps: Update.
41249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41251 2012-05-23 David S. Miller <davem@davemloft.net>
41253 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41254 (__libc_sigaction): Remove unused local variables.
41256 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41258 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41260 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41262 mktime: avoid signed integer overflow
41263 * time/mktime.c (__mktime_internal): Do not mishandle the case
41264 where diff == INT_MIN.
41266 mktime: simplify computation of average
41267 * time/mktime.c (ranged_convert): Use new time_t_avg function
41268 instead of rolling our own (probably-slower) code.
41270 mktime: do not assume signed right shift propagates sign bit
41271 * time/mktime.c (isdst_differ): New static function.
41272 (__mktime_internal): No need to normalize tm_isdst now.
41273 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41276 mktime: merge another wrapv change from gnulib
41277 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41278 from some compilers.
41280 mktime: remove incorrect attempt at unusual arithmetics
41281 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41282 The code didn't really work on such machines anyway.
41283 (TYPE_MINIMUM): Assume two's complement.
41284 (twos_complement_arithmetic): Verify that long_int and time_t
41285 are two's complement (or unsigned, in the latter case).
41287 mktime: check signed shifts on long_int and time_t, too
41288 * time/mktime.c (SHR): Check that shifts work as desired
41289 on the types long_int and time_t too, as SHR is used on
41292 mktime: do not assume 'long' is wide enough
41293 * time/mktime.c (verify): Move decl up.
41294 (long_int): New type.
41295 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41296 to remove assumption in the code that 'long' is wide enough to
41297 store year values. This assumption is not true on x32 and on
41298 some non-glibc platforms.
41300 mktime: merge wrapv change from gnulib
41301 * time/mktime.c (WRAPV): New macro.
41302 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41303 (guess_time_tm, __mktime_internal): Do not assume that signed
41304 integer overflow wraps around; modern compilers generate code
41305 where this assumption is no longer valid.
41307 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41309 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41310 Replace "jmp L(pseudo_end)" with "ret".
41311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41314 2012-05-23 Andreas Jaeger <aj@suse.de>
41316 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41317 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41319 2012-05-23 Andreas Jaeger <aj@suse.de>
41320 Maximilian Attems <max@stro.at>
41322 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41325 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41327 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41328 code so that pseudo_end is just ret and the stack pointer is
41329 correct also for static library in error case.
41331 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41333 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41334 move to syscalls.list.
41335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41340 * manual/install.texi (Running make install): Do not mention Linux
41341 kernel version for which pt_chown is not needed.
41342 (Linux): Do not mention problems with nscd with 2.0 kernels.
41343 * INSTALL: Regenerated.
41345 2012-05-23 Andreas Jaeger <aj@suse.de>
41347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41348 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41350 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41352 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41353 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41354 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41356 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41357 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41358 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41359 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41360 * sysdeps/unix/sysv/linux/bits/in.h
41361 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41363 2012-05-22 Roland McGrath <roland@hack.frob.com>
41365 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41366 (PREPARE_VERSION): Just use assert instead, it will be elided
41367 under [NDEBUG] anyway.
41369 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41371 * sysdeps/unix/sysv/linux/Makefile: Include
41372 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41373 (sysdep_routines): Remove sysctl.
41374 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41375 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41376 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41377 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41378 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41380 2012-05-22 Andreas Jaeger <aj@suse.de>
41382 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41383 that pseudo_end is just ret and the stack pointer is correct also
41384 for static library in error case.
41386 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41389 * nss/nsswitch.c (defconfig_entries): New variable.
41390 (__nss_database_lookup): Don't leak defconfig entries.
41391 (nss_parse_service_list): Don't leak on error paths.
41392 (free_database_entries): New function.
41393 (free_defconfig): New function.
41394 (free_mem): Move common code to free_database_entries.
41396 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41398 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41400 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41402 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41403 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41406 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41407 (INTERNAL_SYSCALL_TYPES): Likewise.
41408 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41409 (LOAD_REGS_TYPES_[1-6]): Likewise.
41410 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41411 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41413 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41416 copysignl for GLIBC_2_0.
41417 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41418 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41420 logbl for GLIBC_2_0.
41421 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41422 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41424 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41427 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41429 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41432 * time/mktime.c: Update copyright years.
41434 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41436 mktime: merge comment-quoting-style change from gnulib
41437 * time/mktime.c: Quote 'like this' in comments.
41438 The GNU coding standards suggest that we no longer quote `like this',
41439 as "`" and "'" are typically rendered asymmetrically nowadays.
41440 The typical gnulib style is to quote 'like this' when quoting
41441 code, and "like this" when quoting English.
41443 * time/mktime.c (compile-command): Add "-I.".
41445 mktime: merge mktime-internal.h change from gnulib
41446 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41448 mktime: merge time_r change from gnulib
41449 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41451 mktime: merge DEBUG change from gnulib
41452 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41453 case system <time.h> has a #define.
41455 mktime: merge <sys/types.h> change from gnulib
41456 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41457 since <time.t> is now guaranteed to define time_t.
41459 mktime: merge HAVE_CONFIG_H change from gnulib
41460 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41462 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41467 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41469 (struct rusage): Use anonymous union to pad each field to
41472 2012-05-21 David S. Miller <davem@davemloft.net>
41474 * Makefules (o-iterator): Remove .s cases.
41475 (compile-command.s): Delete.
41476 (COMPILE.s): Delete.
41477 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41479 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41481 * configure.in (libc_cv_predef_stack_protector): Only consider
41482 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41483 * configure: Regenerated.
41485 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41488 New macro. Use R*LP on int and pointer.
41489 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41490 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41491 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41492 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41494 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41495 [__WORDSIZE_TIME64_COMPAT32] instead of
41496 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41497 (struct utmp): Likewise.
41498 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41499 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41501 (__WORDSIZE_TIME64_COMPAT32): This.
41502 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41503 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41504 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41505 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41506 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41507 (__WORDSIZE_TIME64_COMPAT32): New macro.
41509 2012-05-21 Andreas Jaeger <aj@suse.de>
41511 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41512 only if [SHARED]. Add prototype for __wcschr_ia32.
41514 2012-05-21 Roland McGrath <roland@hack.frob.com>
41516 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41517 of %rbp unmolested in the jmp_buf while mangling the low bits.
41518 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41519 unmolested high bits of %rbp while demangling the low bits.
41520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41522 2012-05-21 Andreas Jaeger <aj@suse.de>
41524 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41525 * sunrpc/svc_simple.c: Use it for registerrpc.
41526 * sunrpc/xcrypt.c: Use it for passwd2des.
41528 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41530 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41532 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41533 Don't define if [__SYSCALL_WORDSIZE != 32].
41534 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41537 2012-05-21 Bruno Haible <bruno@clisp.org>
41538 Andreas Jaeger <aj@suse.de>
41540 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41541 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41542 inptr and inend for must_buffer_ch.
41543 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41544 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41545 * stdio-common/Makefile (tests): Remove bug15.
41546 (bug15-ENV): Remove macro.
41547 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41550 2012-05-19 Andreas Jaeger <aj@suse.de>
41551 Roland McGrath <roland@hack.frob.com>
41553 * manual/contrib.texi: Completely rewritten. It contains now an
41554 alphabetical list of contributors and their contributions.
41556 2012-05-21 Richard Henderson <rth@twiddle.net>
41558 * misc/getauxval.c (__getauxval): Use unsigned long int.
41559 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41560 (getauxval): Use unsigned long int.
41562 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41564 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41566 2012-05-21 Roland McGrath <roland@hack.frob.com>
41568 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41569 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41570 __alignof__ (long double).
41572 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41576 2012-05-20 Richard Henderson <rth@twiddle.net>
41578 * misc/getauxval.c: New file.
41579 * misc/sys/auxv.h: New file.
41580 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41581 (routines): Add getauxval.
41582 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41583 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41584 * elf/dl-sysdep.c (_dl_auxv): Remove.
41585 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41586 * elf/dl-support.c (_dl_auxv): New variable.
41587 (_dl_aux_init): Initialize it.
41588 * manual/startup.texi (Auxiliary Vector): New node.
41589 * sysdeps/generic/bits/hwcap.h: New file.
41590 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41591 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41592 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41593 * sysdeps/sparc/sysdep.h: ... here. Include it.
41594 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41595 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41607 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41611 2012-05-19 David S. Miller <davem@davemloft.net>
41613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41615 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41618 * math/s_ccosh.c: Include <float.h>
41619 (__ccosh): Avoid internal overflow calculating sinh and cosh
41620 values before multiplying by sin and cos values.
41621 * math/s_ccoshf.c: Likewise.
41622 * math/s_ccoshl.c: Likewise.
41623 * math/s_csin.c: Likewise.
41624 * math/s_csinf.c: Likewise.
41625 * math/s_csinl.c: Likewise.
41626 * math/s_csinh.c: Likewise.
41627 * math/s_csinhf.c: Likewise.
41628 * math/s_csinhl.c: Likewise.
41629 * math/libm-test.inc (ccos_test): Add more tests.
41630 (ccosh_test): Likewise.
41631 (csin_test): Likewise.
41632 (csinh_test): Likewise.
41633 * sysdeps/i386/fpu/libm-test-ulps: Update.
41634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41636 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41638 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41639 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41641 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41643 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41645 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41646 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41647 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41648 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41649 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41650 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41651 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41652 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41653 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41654 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41655 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41656 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41657 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41658 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41659 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41660 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41661 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41662 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41663 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41664 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41665 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41666 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41667 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41668 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41669 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41670 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41671 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41672 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41673 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41674 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41675 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41677 2012-05-18 Andreas Jaeger <aj@suse.de>
41679 * csu/.gitignore: Delete.
41681 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41683 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41684 (timex): Use __syscall_slong_t.
41686 2012-05-18 Andreas Jaeger <aj@suse.de>
41687 Carlos O'Donell <carlos_odonell@mentor.com>
41689 * manual/install.texi (Configuring and compiling): Update
41690 description about files modified in the source directory.
41691 * INSTALL: Regenerated.
41693 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41695 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41696 value. Use "or" to set return value to -1.
41697 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41698 negate return value.
41700 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41702 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41703 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41704 failure if the compiler has Graphite support disabled.
41705 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41707 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41708 (CFLAGS-memmove.c): Likewise.
41709 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41712 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41714 * sysdeps/x86_64/x32/_itoa.h: New file.
41716 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41717 getdents system call only if kernel and user dirents have the
41718 same d_ino and d_off.
41720 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41721 LLONG_MAX != LONG_MAX.
41722 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41723 (_fitoa_word): Likewise.
41725 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41727 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41728 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41729 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41731 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41732 include <bits/wordsize.h>. Check __x86_64__ instead of
41734 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41735 if __x86_64__ is defined. Use anonymous union on fpstate.
41737 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41740 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41742 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41743 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41744 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41745 Refer to _rtld_local_ro instead of _rtld_global_ro.
41746 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41748 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41750 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41752 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41753 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41754 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41756 * sysdeps/powerpc/powerpc32/dl-machine.c
41757 (__elf_machine_runtime_setup) [PROF]: Don't reference
41760 2012-05-18 Andreas Jaeger <aj@suse.de>
41762 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41763 function only available for GCCs before 3.4 since GCC 3.4
41764 introduced a builtin.
41766 (llrintf): Likewise.
41767 (llrint): Likewise.
41774 (nearbyint): Likewise.
41775 (nearbyintf): Likewise.
41779 (floorf): Likewise.
41781 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41783 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41784 on both fields and cast pointer to __syscall_ulong_t.
41786 * bits/types.h (__fsword_t): New type.
41787 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41788 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41790 (__FSWORD_T_TYPE): Likewise.
41791 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41792 (__FSWORD_T_TYPE): Likewise.
41793 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41794 (__FSWORD_T_TYPE): Likewise.
41795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41796 (__FSWORD_T_TYPE): Likewise.
41797 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41798 __SWORD_TYPE with __fsword_t.
41799 (statfs64): Likewise.
41801 2012-05-17 David S. Miller <davem@davemloft.net>
41803 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41805 2012-05-17 Andreas Jaeger <aj@suse.de>
41807 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41810 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41812 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41814 2012-05-17 Andreas Jaeger <aj@suse.de>
41816 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41819 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41821 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41823 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41825 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41826 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41828 2012-05-17 Andreas Jaeger <aj@suse.de>
41829 Carlos O'Donell <carlos_odonell@mentor.com>
41832 * sysdeps/x86_64/multiarch/init-arch.h
41833 (bit_YMM_Usable): Rename to...
41834 (bit_AVX_Usable): ... this.
41835 (bit_FMA4_Usable): New macro.
41836 (bit_XMM_state): New macro.
41837 (bit_YMM_state): New macro.
41838 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41839 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41840 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41841 (CPUID_OSXSAVE): New macro.
41842 (CPUID_AVX): New macro.
41843 (CPUID_FMA4): New macro.
41844 (index_YMM_Usable): Rename to...
41845 (index_AVX_Usable): ... this.
41846 (HAS_AVX): Use HAS_ARCH_FEATURE.
41847 (HAS_FMA4): Likewise.
41848 (HAS_YMM_USABLE): Remove.
41849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41850 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41852 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41853 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41854 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41855 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41856 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41858 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41860 * math/libm-test.c: Support platforms without multiple rounding modes.
41861 * math/bug-nextafter.c: Support platforms without FP exceptions.
41862 * math/bug-nexttoward.c: Likewise.
41863 * math/test-fenv.c: Likewise.
41864 * math/test-misc.c: Likewise.
41865 * stdlib/bug-getcontext.c: Likewise.
41867 2012-05-17 Andreas Jaeger <aj@suse.de>
41869 * manual/examples/search.c (critter_cmp): Change signature to
41871 * manual/string.texi (Collation Functions): Likewise.
41873 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41875 * bits/types.h: Fold copyright years.
41876 * bits/typesizes.h: Likewise.
41877 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41880 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41881 * time/time.h: Likewise.
41883 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41886 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41887 in instead of returning them. Return void.
41888 (__libc_mallinfo): Accumulate over all arenas.
41889 (__malloc_stats): Adjust for change in int_mallinfo interface.
41891 2012-05-16 Roland McGrath <roland@hack.frob.com>
41894 * configure.in (NM): Add AC_CHECK_TOOL for it.
41895 (libc_extra_cflags): New substituted variable.
41896 Check for -fstack-protector being used implicitly.
41897 * configure: Regenerated.
41898 * config.make.in (config-extra-cflags): New variable,
41899 gets @libc_extra_cflags@.
41900 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41903 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41904 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41905 * configure: Regenerated.
41906 * config.make.in (CPPUNDEFS): New substituted variable.
41907 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41908 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41909 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41911 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41913 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41914 (mq_attr): Use __syscall_slong_t.
41916 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41918 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41919 Check __x86_64__ instead of __WORDSIZE.
41920 (_STAT_VER_LINUX): Likewise.
41921 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41922 __syscall_ulong_t and __syscall_slong_t.
41923 (stat64): Likewise.
41925 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41927 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41929 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41931 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41933 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41935 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41938 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41939 include <bits/wordsize.h>. Check __x86_64__ instead of
41941 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41943 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41946 include <bits/wordsize.h>. Check __x86_64__ instead of
41948 (user_regs_struct): Use "__extension__ unsigned long long"
41949 instead of "unsigned long" if __x86_64__ is defined.
41950 (user): Likewise. Pad after pointer field if __ILP32__ is
41953 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41955 * configure.in (makeinfo): Require version 4.5 or later. Allow
41957 * configure: Regenerated.
41958 * manual/install.texi (texinfo): Increase version requirement to
41960 * INSTALL: Regenerated.
41962 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41964 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41966 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41968 * sysdeps/x86_64/x32/ffs.c: New file.
41970 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41972 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41973 defined. Use __syscall_ulong_t.
41974 (shminfo): Use __syscall_ulong_t.
41975 (shm_info): Likewise.
41977 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41980 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41982 (msgqnum_t): Use __syscall_ulong_t.
41983 (msglen_t): Likewise.
41984 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41987 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41988 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41990 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41992 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41993 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41995 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41998 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41999 include <bits/wordsize.h>. Check __x86_64__ instead of
42002 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42003 "unsigned long long int" if __x86_64__ is defined.
42004 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42006 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42007 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42008 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42010 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42012 (GET_PC): Cast to uintptr_t first.
42013 (GET_FRAME): Likewise.
42014 (GET_STACK): Likewise.
42016 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42017 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42018 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42019 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42020 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42021 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42022 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42023 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42024 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42025 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42026 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42027 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42028 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42029 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42030 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42031 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42032 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42033 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42034 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42035 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42036 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42037 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42038 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42039 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42040 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42041 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42042 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42043 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42044 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42046 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42048 * Makerules (+depfiles): Also collect depfiles from .oS in
42050 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42051 .oS, $(libnldbl-routines)).
42053 * Makerules (native-compile-mkdep-flags): Define.
42054 * sunrpc/Makefile (extra-objs): Add $(addprefix
42055 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42056 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42057 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42058 calling $(make-target-directory).
42060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42062 * bits/types.h (__snseconds_t): Removed.
42063 * time/time.h (struct timespec): Replace __snseconds_t with
42065 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42066 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42069 (__SNSECONDS_T_TYPE): Likewise.
42070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42071 (__SNSECONDS_T_TYPE): Likewise.
42072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42073 (__SNSECONDS_T_TYPE): Likewise.
42075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42077 * sysdeps/mach/hurd/bits/typesizes.h
42078 (__SYSCALL_SLONG_TYPE): New macro.
42079 (__SYSCALL_ULONG_TYPE): Likewise.
42081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42083 * bits/types.h (__syscall_slong_t): New type.
42084 (__syscall_ulong_t): Likewise.
42086 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42087 (__SYSCALL_ULONG_TYPE): Likewise.
42088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42089 (__SYSCALL_SLONG_TYPE): Likewise.
42090 (__SYSCALL_ULONG_TYPE): Likewise.
42091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42092 (__SYSCALL_SLONG_TYPE): Likewise.
42093 (__SYSCALL_ULONG_TYPE): Likewise.
42094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42095 (__SYSCALL_SLONG_TYPE): Likewise.
42096 (__SYSCALL_ULONG_TYPE): Likewise.
42098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42100 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42101 Add sigaltstack-offsets.sym.
42102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42103 <sigaltstack-offsets.h>.
42104 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42105 longjmp_msg pointer.
42106 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42107 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42109 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42111 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42113 * elf/stackguard-macros.h: Remove file.
42114 * sysdeps/generic/stackguard-macros.h: New file.
42115 * sysdeps/i386/stackguard-macros.h: Likewise.
42116 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42117 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42118 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42119 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42120 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42121 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42122 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42123 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42124 <elf/stackguard-macros.h>.
42127 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42128 __aligned__ in attribute.
42129 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42130 (gregset_t): Likewise.
42132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42134 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42135 * sysdeps/x86_64/64/Implies-after: Here. New file.
42136 * sysdeps/x86_64/x32/Implies-after: New file.
42138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42140 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42141 and access return value for _dl_profile_fixup. Use R10_LP to
42144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42146 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42150 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42151 * sysdeps/x86_64/x32/sysdep.h: New file.
42153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42155 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42156 * sysdeps/x86_64/setjmp.S: Likewise.
42158 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42160 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42161 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42162 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42163 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42164 remove unused global constant.
42166 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42168 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42169 include of <not-cancel.h>.
42171 2012-05-15 Roland McGrath <roland@hack.frob.com>
42173 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42175 2012-05-15 Jeff Law <law@redhat.com>
42176 Andreas Jaeger <aj@suse.de>
42179 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42181 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42182 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42183 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42184 code changing __hst_map_handle.map.
42186 2012-05-15 Roland McGrath <roland@hack.frob.com>
42188 * configure.in (sysnames): Look for Implies-before and Implies-after
42190 * configure: Regenerated.
42192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42194 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42195 8-byte data alignment with LP_SIZE alignment.
42197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42199 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42204 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42208 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42209 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42210 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42212 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42216 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42217 (stackinfo_sub_sp): Likewise.
42219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42221 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42231 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42236 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42240 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42241 into R11_LP and load __x86_64_shared_cache_size_half into
42244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42246 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42249 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42258 powerpc32/power7/fpu/s_logb.c via #include.
42259 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42260 powerpc32/power7/fpu/s_logbf.c via #include.
42261 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42262 powerpc32/power7/fpu/s_logbl.c via #include.
42264 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42266 * README.libm: Remove file.
42268 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42270 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42271 count for x32. Use R*_LP and omit operand-size suffix.
42273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42275 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42276 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42277 * sysdeps/x86_64/x32/shlib-versions: New file.
42279 2012-05-14 Roland McGrath <roland@hack.frob.com>
42281 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42282 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42283 Use _dl_fatal_printf instead.
42285 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42287 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42288 set if not set by the user. Do not allow for being unset.
42289 * sysdeps/unix/sysv/linux/configure: Regenerated.
42291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42293 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42294 the `q' suffix from lea and replace .quad with ASM_ADDR.
42296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42299 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42301 (PTR_DEMANGLE): Likewise.
42303 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42305 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42307 (ASM_ADDR): Likewise.
42308 (RAX_LP): Likewise.
42309 (RBP_LP): Likewise.
42310 (RBX_LP): Likewise.
42311 (RCX_LP): Likewise.
42312 (RDI_LP): Likewise.
42313 (RSI_LP): Likewise.
42314 (RSP_LP): Likewise.
42317 (R10_LP): Likewise.
42318 (R10_LP): Likewise.
42319 (R11_LP): Likewise.
42320 (R12_LP): Likewise.
42321 (R13_LP): Likewise.
42322 (R14_LP): Likewise.
42323 (R15_LP): Likewise.
42325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42327 * sysdeps/x86_64/x32/dl-machine.h: New file.
42329 2012-05-14 Andreas Jaeger <aj@suse.de>
42331 * manual/Makefile (subdir): Remove export of subdir.
42332 (all): Remove target.
42333 (.PHONY): Remove all from list.
42334 (mkinstalldirs): Remove.
42335 (.PHONY): Remove installdirs from list.
42336 ($(inst_infodir)/libc.info): Use make-target-directory.
42337 (installdirs): Remove.
42338 (subdir_%): Remove.
42339 (glibc-targets): Remove.
42342 ($(objpfx)stubs ../po/manual.pot): Remove.
42343 ($(objpfx)stamp%): Remove.
42344 (make-target-directory): Remove.
42345 (subdir_install): Remove.
42346 (routines): Remove.
42353 * manual/.gitignore: Remove, it's not needed anymore.
42354 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42356 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42358 (texis): Renamed to $(objpfx)texis.
42359 (texis-path): New, contains path to generated files.
42360 (chapters.%): Use texis-path for complete path, add extra argument
42362 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42363 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42364 (summary,texi, stamp-summary): Use complete path of
42365 files. Generate files in build dir.
42366 (dir-add.texi): Build in build dir.
42367 (libm-err.texi,stamp-libm-err): Likewise.
42368 (version.texi, stamp-version): Likewise.
42369 (.%c.texi): Likewise.
42370 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42371 (mostlyclean): Remove target.
42372 (realclean): Remove target.
42373 (generated): Add new variable with contents from mostlyclean and
42374 realclean, remove entries duplicated in common-mostlyclean, add
42375 stamp-libm-err and stamp-version.
42376 (generated-dirs): Add libc directory.
42377 ($(inst_infodir)/libc.info): Install files from build dir.
42379 * manual/install.texi (Configuring and compiling): Adjust since
42380 the info files are not part of the tar ball anymore.
42382 2012-05-14 Andreas Jaeger <aj@suse.de>
42384 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42387 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42391 to 2.2.0 where earlier.
42392 * sysdeps/unix/sysv/linux/configure: Regenerated.
42393 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42394 Remove conditional code.
42395 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42396 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42397 Remove conditional code.
42398 [!__NR_lchown]: Likewise.
42399 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42400 [__NR_lchown]: Likewise.
42401 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42402 comment referencing __ASSUME_LCHOWN_SYSCALL.
42403 * sysdeps/unix/sysv/linux/i386/sigaction.c
42404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42406 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42407 Remove conditional code.
42408 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42409 (__protocol_available): Remove #if 0 code.
42410 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42412 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42413 * sysdeps/unix/sysv/linux/kernel-features.h
42414 (__ASSUME_GETCWD_SYSCALL): Don't define.
42415 (__ASSUME_REALTIME_SIGNALS): Likewise.
42416 (__ASSUME_PREAD_SYSCALL): Likewise.
42417 (__ASSUME_PWRITE_SYSCALL): Likewise.
42418 (__ASSUME_POLL_SYSCALL): Likewise.
42419 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42420 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42422 (__ASSUME_SIOCGIFNAME): Don't define.
42423 (__ASSUME_MSG_NOSIGNAL): Likewise.
42424 (__ASSUME_SENDFILE): Define unconditionally.
42425 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42426 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42428 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42429 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42430 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42431 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42432 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42433 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42434 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42436 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42439 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42442 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42445 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42448 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42451 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42452 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42454 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42457 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42458 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42459 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42460 Remove conditional code.
42461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42462 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42463 Remove conditional code.
42464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42465 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42466 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42467 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42468 Remove conditional code.
42469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42470 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42471 Remove conditional code.
42472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42473 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42474 Remove conditional code.
42475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42476 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42477 Remove conditional code.
42478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42479 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42480 Remove conditional code.
42481 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42482 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42483 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42484 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42485 * sysdeps/unix/sysv/linux/sigaction.c
42486 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42487 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42488 * sysdeps/unix/sysv/linux/sigpending.c
42489 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42490 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42491 * sysdeps/unix/sysv/linux/sigprocmask.c
42492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42494 * sysdeps/unix/sysv/linux/sigsuspend.c
42495 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42496 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42497 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42498 (__libc_missing_rt_sigs): Remove.
42499 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42500 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42501 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42502 Remove conditional code.
42503 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42504 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42506 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42507 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42508 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42509 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42511 2012-05-14 Andreas Jaeger <aj@suse.de>
42513 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42514 it's not used in glibc.
42515 (__coshm1): Likewise.
42516 (__acosh1p): Likewise.
42519 * manual/string.texi (Copying and Concatenation): Add missing
42520 variable in concat example.
42521 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42523 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42526 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42527 __builtin_clzl with __builtin_clzll.
42529 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42532 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42535 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42537 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42538 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42539 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42540 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42542 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42544 * NEWS: Update ia64 info.
42546 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42548 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42551 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42553 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42554 * sysdeps/unix/syscalls.list (dup3): Likewise.
42555 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42556 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42558 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42560 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42561 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42563 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42565 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42567 (TLS_IE): Use mov/add instead of movq/addq to load thread
42569 (TLS_GD_PREFIX): New.
42572 2012-05-11 David S. Miller <davem@davemloft.net>
42574 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42575 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42576 (_FPU_SETCW): Likewise.
42578 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42580 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42581 is 32-byte aligned.
42583 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42586 * iconvdata/gb18030.c: Update tables.
42587 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42588 characters specially.
42589 (BODY for TO_LOOP): Add encoding of missing ranges.
42591 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42594 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42595 * sysdeps/mach/hurd/dup3.c: Likewise.
42596 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42597 * sysdeps/powerpc/memmove.c:: Likewise.
42599 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42602 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42604 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42606 * elf/elf.h (R_X86_64_RELATIVE64): New.
42607 (R_X86_64_NUM): Updated.
42608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42609 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42610 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42611 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42612 tst-quad1pie tst-quad2pie
42613 (modules-names): Add tst-quadmod1 tst-quadmod2.
42614 ($(objpfx)tst-quad1): New dependency.
42615 ($(objpfx)tst-quad2): Likewise.
42616 ($(objpfx)tst-quad1pie): Likewise.
42617 ($(objpfx)tst-quad2pie): Likewise.
42618 * sysdeps/x86_64/tst-quad1.c: New file.
42619 * sysdeps/x86_64/tst-quad1pie.c: New file.
42620 * sysdeps/x86_64/tst-quad2.c: Likewise.
42621 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42622 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42623 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42624 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42625 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42627 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42629 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42630 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42631 * streams/stropts.h (t_scalar_t): Define type.
42633 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42634 (_PATH_PRESERVE): Set to "/var/lib".
42635 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42637 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42640 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42641 if __dir_mkfile succeeded.
42643 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42644 checking for _hurd_dtablesize. Unlock it right after having
42645 finished _hurd_dtable allocation.
42647 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42649 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42650 * sysdeps/mach/hurd/configure: Regenerated.
42651 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42652 special-casing to...
42653 * sysdeps/gnu/configure.in: ... this new file.
42654 * sysdeps/unix/sysv/linux/configure: Regenerated.
42655 * sysdeps/gnu/configure: New generated file.
42657 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42658 for Linux: use nsec instead of usec, as well as:
42659 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42660 members of type struct timespec.
42661 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42663 (struct stat64): Likewise.
42664 (_STATBUF_ST_NSEC): New macro.
42665 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42667 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42668 __strtoul_internal rather than strtoul.
42670 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42672 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42677 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42678 which preserves existing values.
42679 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42681 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42683 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42684 TIMEOUT values. Return EINVAL for NFDS values either negative or
42685 greater than FD_SETSIZE.
42687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42689 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42690 allocated, call __vm_protect to finish enabling the existing space, and
42691 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42692 allocate the remainder.
42694 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42696 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42697 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42699 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42701 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42702 sysdeps/mach/hurd/readlink.c.
42704 * posix/tst-sysconf.c (posix_options): Only use
42705 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42706 _POSIX_SYNCHRONIZED_IO when they are defined
42707 * sysdeps/mach/hurd/bits/posix_opt.h:
42708 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42709 (_XOPEN_REALTIME): Undefine macro.
42710 (_XOPEN_REALTIME_THREADS): Undefine macro.
42711 (_XOPEN_SHM): Undefine macro.
42712 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42714 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42716 (_POSIX_ASYNC_IO): Undefine macro.
42717 (_POSIX_PRIORITIZED_IO): Undefine macro.
42718 (_POSIX_SPIN_LOCKS): Define macro to -1.
42720 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42721 SA_NODEFER, SA_RESETHAND.
42722 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42723 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42728 * elf/Makefile (pldd-modules): Define unconditionally.
42730 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42732 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42734 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42736 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42737 Return ENOENT when name is empty.
42738 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42742 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42744 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42748 Fix mlock in all cases except non-readable pages.
42749 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42750 instead of VM_PROT_ALL as parameter to __vm_wire function.
42752 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42753 (__mkdir): When path is `/', just fail with EEXIST.
42754 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42758 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42759 <sys/uio.h> (for writev).
42760 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42761 and <sys/param.h> (for MIN).
42763 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42765 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42766 REQUESTED_TIME. Properly set the remaining time and return EINTR
42769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42771 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42772 Depend on against $(link-rpcuserlibs).
42774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42776 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42777 (__libc_stack_end): Do not use attribute_relro.
42778 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42779 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42780 to libthread-provided value.
42781 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42784 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42787 * bits/libc-lock.h (__libc_once_get): New macro.
42788 * sysdeps/mach/bits/libc-lock.h: Likewise.
42789 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42791 instead of using implementation details.
42793 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42794 * libio/freopen.c: Likewise.
42795 * libio/freopen64.c: Likewise.
42796 * misc/syslog.c: Likewise.
42797 * nscd/connections.c: Likewise.
42798 * nscd/netgroupcache.c: Likewise.
42799 * sysdeps/posix/getcwd.c: Likewise.
42801 2012-05-10 Roland McGrath <roland@hack.frob.com>
42803 * math/w_ilogbf.c: Add #include <limits.h>.
42805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42807 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42808 path instead of returning without unlocking.
42810 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42811 immediate-write ioctls.
42812 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42814 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42816 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42817 __builtin_frame_address instead of making assumptions about the
42818 location of the return address relative to DATA. Force early load of
42819 the return address.
42820 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42821 __builtin_frame_address.
42824 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42825 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42826 implement dup3 and do some further code clean-ups.
42827 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42828 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42830 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42832 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42834 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42835 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42836 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42837 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42838 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42841 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42842 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42843 when handler == SIG_ERR, not when handler != SIG_ERR.
42845 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42847 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42848 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42851 accept4 for GNU Hurd.
42852 * include/sys/socket.h (__libc_accept4): New prototype.
42853 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42854 to implement __libc_accept4.
42855 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42857 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42859 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42860 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42861 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42862 signal-defines.sym.
42864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42866 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42870 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42871 assertion on O_CLOEXEC flag.
42872 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42873 * hurd/intern-fd.c: Likewise.
42874 * hurd/port2fd.c: Likewise.
42876 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42879 * bits/in.h (IPV6_PKTINFO): Define new macro.
42880 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42882 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42887 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42889 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42890 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42891 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42892 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42893 * math/libm-test.inc (logb_test) : Additional logb tests.
42895 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42896 Andreas Jaeger <aj@suse.de>
42898 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42899 * configure: Regenerated.
42900 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42901 * config.make.in (link-obsolete-rpc): New substituted variable.
42902 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42903 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42904 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42905 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42906 so that libc.a contains the symbols.
42907 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42908 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42909 * sunrpc/auth_none.c: Likewise.
42910 * sunrpc/auth_unix.c: Likewise.
42911 * sunrpc/authdes_prot.c: Likewise.
42912 * sunrpc/authuxprot.c: Likewise.
42913 * sunrpc/clnt_gen.c: Likewise.
42914 * sunrpc/clnt_perr.c: Likewise.
42915 * sunrpc/clnt_raw.c: Likewise.
42916 * sunrpc/clnt_simp.c: Likewise.
42917 * sunrpc/clnt_tcp.c: Likewise.
42918 * sunrpc/clnt_udp.c: Likewise.
42919 * sunrpc/clnt_unix.c: Likewise.
42920 * sunrpc/des_crypt.c: Likewise.
42921 * sunrpc/des_soft.c: Likewise.
42922 * sunrpc/get_myaddr.c: Likewise.
42923 * sunrpc/key_call.c: Likewise.
42924 * sunrpc/key_prot.c: Likewise.
42925 * sunrpc/netname.c: Likewise.
42926 * sunrpc/pm_getmaps.c: Likewise.
42927 * sunrpc/pm_getport.c: Likewise.
42928 * sunrpc/pmap_clnt.c: Likewise.
42929 * sunrpc/pmap_prot.c: Likewise.
42930 * sunrpc/pmap_prot2.c: Likewise.
42931 * sunrpc/pmap_rmt.c: Likewise.
42932 * sunrpc/publickey.c: Likewise.
42933 * sunrpc/rpc_cmsg.c: Likewise.
42934 * sunrpc/rpc_common.c: Likewise.
42935 * sunrpc/rpc_dtable.c: Likewise.
42936 * sunrpc/rpc_prot.c: Likewise.
42937 * sunrpc/rpc_thread.c: Likewise.
42938 * sunrpc/rtime.c: Likewise.
42939 * sunrpc/svc.c: Likewise.
42940 * sunrpc/svc_auth.c: Likewise.
42941 * sunrpc/svc_raw.c: Likewise.
42942 * sunrpc/svc_run.c: Likewise.
42943 * sunrpc/svc_tcp.c: Likewise.
42944 * sunrpc/svc_udp.c: Likewise.
42945 * sunrpc/svc_unix.c: Likewise.
42946 * sunrpc/svcauth_des.c: Likewise.
42947 * sunrpc/xcrypt.c: Likewise.
42948 * sunrpc/xdr.c: Likewise.
42949 * sunrpc/xdr_array.c: Likewise.
42950 * sunrpc/xdr_float.c: Likewise.
42951 * sunrpc/xdr_intXX_t.c: Likewise.
42952 * sunrpc/xdr_mem.c: Likewise.
42953 * sunrpc/xdr_rec.c: Likewise.
42954 * sunrpc/xdr_ref.c: Likewise.
42955 * sunrpc/xdr_sizeof.c: Likewise.
42956 * sunrpc/xdr_stdio.c: Likewise.
42958 2012-05-10 Roland McGrath <roland@hack.frob.com>
42960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42961 change. Update copyright years.
42963 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42965 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42967 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42968 Joseph Myers <joseph@codesourcery.com>
42969 Paul Pluzhnikov <ppluzhnikov@google.com>
42972 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42974 [cross-compiling] (extra-libs): Likewise.
42975 [cross-compiling] (extra-libs-others): Likewise.
42976 [cross-compiling] (librpcsvc-routines): Likewise.
42977 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42978 [cross-compiling] (omit-deps): Likewise.
42979 (sunrpc-CPPFLAGS): New variable.
42980 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42981 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42982 (cross-rpcgen-objs): New variable.
42983 (extra-objs): Append $(cross-rpcgen-objs).
42984 ($(cross-rpcgen-objs)): New rule.
42985 ($(objpfx)cross-rpcgen): Likewise.
42986 (rpcgen-cmd): Define to use $(built-program-file). Expand
42988 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42989 ($(objpfx)x%.stmp): Likewise.
42990 * sunrpc/proto.h [IS_IN_build] (_): Define.
42991 [IS_IN_build] (_libc_intl_domainname): Likewise.
42993 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42996 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42997 and R_X86_64_TPOFF64.
42999 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43001 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43002 sysdeps/unix/sysv/syscalls.list.
43005 * sysdeps/unix/sysv/syscalls.list: Remove file.
43007 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43010 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43011 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43012 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43013 (__LC_IDENTIFICATION): Make these macros useful in #if
43014 expressions, as required by C99.
43016 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43018 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43019 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43022 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43024 * stdlib/longlong.h: Updated from GCC.
43026 2012-05-09 Andreas Jaeger <aj@suse.de>
43028 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43029 default is first entry.
43030 (run_mode): Set type.
43031 (main): Remove informal message about syslog.
43032 (options): Fix typo.
43035 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43038 (llrintf): Likewise.
43039 (llrint): Likewise.
43042 (nearbyint): Likewise.
43043 (nearbyintf): Likewise.
43045 2012-05-09 Andreas Jaeger <aj@suse.de>
43046 Pedro Alves <palves@redhat.com>
43048 * nscd/nscd.c (run_mode): Use enum.
43049 (main): Cleanup coding style issue.
43051 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43052 Andreas Jaeger <aj@suse.de>
43054 * nscd/nscd.c (go_background): Replaced with...
43055 (run_mode): ... this.
43056 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43057 (options): Add -F --foreground.
43058 (main): Implement it.
43059 (parse_opt): Parse it.
43061 2012-05-09 Andreas Jaeger <aj@suse.de>
43064 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43065 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43066 -Wconversion warning.
43067 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43070 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43072 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43074 (LC_ALL): Use macro-int-constant.
43075 (LC_COLLATE): Likewise.
43076 (LC_CTYPE): Likewise.
43077 (LC_MESSAGES): Likewise.
43078 (LC_MONETARY): Likewise.
43079 (LC_NUMERIC): Likewise.
43080 (LC_TIME): Likewise.
43081 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43082 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43083 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43084 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43086 [C99-based standards] (float_t): Expect type.
43087 [C99-based standards] (double_t): Expect type.
43088 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43090 [C99-based standards] (HUGE_VALL): Likewise.
43091 [C99-based standards] (INFINITY): Likewise.
43092 [C99-based standards] (NAN): Likewise.
43093 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43094 [C99-based standards] (FP_NAN): Likewise.
43095 [C99-based standards] (FP_NORMAL): Likewise.
43096 [C99-based standards] (FP_SUBNORMAL): Likewise.
43097 [C99-based standards] (FP_ZERO): Likewise.
43098 [C99-based standards] (FP_FAST_FMA): Use
43099 optional-macro-int-constant. Specify type. Require == 1.
43100 [C99-based standards] (FP_FAST_FMAF): Likewise.
43101 [C99-based standards] (FP_FAST_FMAL): Likewise.
43102 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43103 [C99-based standards] (FP_ILOGBNAN): Likewise.
43104 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43106 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43107 [C99-based standards] (math_errhandling): Specify type.
43108 [ISO99 || ISO11] (signgam): Do not allow.
43109 [non-C99-based standards] (copysignf): Do not allow.
43110 [non-C99-based standards] (exp2f): Likewise.
43111 [non-C99-based standards] (log2f): Likewise.
43112 [non-C99-based standards] (modff): Allow.
43113 [non-C99-based standards] (erff): Do not allow.
43114 [non-C99-based standards] (erfcf): Likewise.
43115 [non-C99-based standards] (gammaf): Likewise.
43116 [non-C99-based standards] (hypotf): Likewise.
43117 [non-C99-based standards] (j0f): Likewise.
43118 [non-C99-based standards] (j1f): Likewise.
43119 [non-C99-based standards] (jnf): Likewise.
43120 [non-C99-based standards] (lgammaf): Likewise.
43121 [non-C99-based standards] (tgammaf): Likewise.
43122 [non-C99-based standards] (y0f): Likewise.
43123 [non-C99-based standards] (y1f): Likewise.
43124 [non-C99-based standards] (ynf): Likewise.
43125 [non-C99-based standards] (isnanf): Likewise.
43126 [non-C99-based standards] (acoshf): Likewise.
43127 [non-C99-based standards] (asinhf): Likewise.
43128 [non-C99-based standards] (atanhf): Likewise.
43129 [non-C99-based standards] (cbrtf): Likewise.
43130 [non-C99-based standards] (expm1f): Likewise.
43131 [non-C99-based standards] (ilogbf): Likewise.
43132 [non-C99-based standards] (log1pf): Likewise.
43133 [non-C99-based standards] (logbf): Likewise.
43134 [non-C99-based standards] (nextafterf): Likewise.
43135 [non-C99-based standards] (remainderf): Likewise.
43136 [non-C99-based standards] (rintf): Likewise.
43137 [non-C99-based standards] (scalbf): Likewise.
43138 [non-C99-based standards] (copysignl): Likewise.
43139 [non-C99-based standards] (exp2l): Likewise.
43140 [non-C99-based standards] (log2l): Likewise.
43141 [non-C99-based standards] (modfl): Allow.
43142 [non-C99-based standards] (erfl): Do not allow.
43143 [non-C99-based standards] (erfcl): Likewise.
43144 [non-C99-based standards] (gammal): Likewise.
43145 [non-C99-based standards] (hypotl): Likewise.
43146 [non-C99-based standards] (j0l): Likewise.
43147 [non-C99-based standards] (j1l): Likewise.
43148 [non-C99-based standards] (jnl): Likewise.
43149 [non-C99-based standards] (lgammal): Likewise.
43150 [non-C99-based standards] (tgammal): Likewise.
43151 [non-C99-based standards] (y0l): Likewise.
43152 [non-C99-based standards] (y1l): Likewise.
43153 [non-C99-based standards] (ynl): Likewise.
43154 [non-C99-based standards] (isnanl): Likewise.
43155 [non-C99-based standards] (acoshl): Likewise.
43156 [non-C99-based standards] (asinhl): Likewise.
43157 [non-C99-based standards] (atanhl): Likewise.
43158 [non-C99-based standards] (cbrtl): Likewise.
43159 [non-C99-based standards] (expm1l): Likewise.
43160 [non-C99-based standards] (ilogbl): Likewise.
43161 [non-C99-based standards] (log1pl): Likewise.
43162 [non-C99-based standards] (logbl): Likewise.
43163 [non-C99-based standards] (nextafterl): Likewise.
43164 [non-C99-based standards] (remainderl): Likewise.
43165 [non-C99-based standards] (rintl): Likewise.
43166 [non-C99-based standards] (scalbl): Likewise.
43167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43168 [non-C99-based standards] (FP_*): Do not allow.
43169 [C99-based standards] (FP_*): Change to
43170 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43171 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43173 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43174 (SIG_ERR): Likewise.
43175 [X/Open-based standards] (SIG_HOLD): Likewise.
43176 (SIG_IGN): Likewise.
43177 (SIGABRT): Use macro-int-constant. Specify type. Require
43179 (SIGFPE): Likewise.
43180 (SIGILL): Likewise.
43181 (SIGINT): Likewise.
43182 (SIGSEGV): Likewise.
43183 (SIGTER): Likewise.
43184 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43185 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43186 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43187 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43188 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43189 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43190 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43191 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43192 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43193 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43194 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43195 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43196 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43197 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43198 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43199 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43200 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43201 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43202 [X/Open-based standards] (SIGTRAP): Likewise.
43203 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43204 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43205 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43206 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43207 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43210 2012-05-08 Ian Wienand <ianw@vmware.com>
43213 * time/tzset.c (__tzset_parse_tz): Update default rules for
43214 daylight time changes in the Energy Policy Act of 2005.
43216 2012-05-09 Andreas Jaeger <aj@suse.de>
43219 * elf/ldconfig.c (parse_conf): Change string to make clear that
43220 ldconfig only issued a warning if ld.so.conf does not exist.
43222 2012-05-08 David S. Miller <davem@davemloft.net>
43224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43225 movxtod instead of popping the value on the stack.
43227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43229 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43231 * config.h.in: Add HAVE_ARM_PCS_VFP.
43233 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43236 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43237 checking but the checks are disabled for any reason.
43239 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43241 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43242 and ELF64_R_TYPE with ELFW(R_TYPE).
43244 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43246 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43247 (ulimit): Likewise.
43249 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43250 (settimeofday): Likewise.
43252 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43254 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43255 a struct th_u2 inside the union, and move tu_block/tu_code into
43256 a new th_u3 union of tu_block/tu_code inside of that. Move
43257 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43258 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43259 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43260 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43261 (th_stuff): Change to th_u1.tu_stuff.
43263 (th_msg): Change to th_u1.th_u2.tu_data.
43265 2012-05-07 David S. Miller <davem@davemloft.net>
43267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43270 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43271 (SETUP_PIC_REG): Use it.
43272 (SETUP_PIC_REG_LEAF): Use it.
43274 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43278 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43280 (EXPL_FINITE): Likewise.
43281 (FLDLOG): Likewise.
43282 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43283 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43285 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43287 (EXPL_FINITE): Likewise.
43288 (FLDLOG): Likewise.
43289 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43290 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43292 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43293 test of -max_value argument for long double.
43294 * sysdeps/i386/fpu/libm-test-ulps: Update.
43295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43297 2012-05-06 David S. Miller <davem@davemloft.net>
43299 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43300 quad soft-float symbols whose references which are compiler
43302 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43304 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43308 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43310 (EXPL_FINITE): Likewise.
43311 (FLDLOG): Likewise.
43314 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43315 Adjust comments for base varying.
43316 (__expl_finite): Change alias to EXPL_FINITE.
43317 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43319 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43320 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43321 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43322 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43323 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43325 (EXPL_FINITE): Likewise.
43326 (FLDLOG): Likewise.
43329 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43330 Adjust comments for base varying.
43331 (__expl_finite): Change alias to EXPL_FINITE.
43332 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43337 * math/libm-test.inc (check_float_internal): Correct ulp
43338 calculation for subnormal expected results.
43340 2012-05-06 Andreas Jaeger <aj@suse.de>
43342 * Makeconfig (+math-flags): New, set to -frounding-math.
43343 (+cflags): Add +math-flags so that all of glibc gets compiled with
43346 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43348 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43350 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43356 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43357 (__ieee754_expl): Allow for and saturate large arguments.
43358 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43359 (u_threshold): Likewise.
43360 (__exp): Call __ieee754_exp before checking for overflow and
43362 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43363 (u_threshold): Likewise.
43364 (__expf): Call __ieee754_expf before checking for overflow and
43366 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43367 (u_threshold): Likewise.
43368 (__expl): Call __ieee754_expl before checking for overflow and
43370 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43371 (__ieee754_expl): Allow for and saturate large arguments.
43372 * math/libm-test.inc (exp_test): Add another test. Do not allow
43373 missing overflow exception on overflow.
43374 (expm1_test): Do not allow missing overflow exception on overflow.
43376 * sysdeps/i386/fpu/e_expl.c: Move to ...
43377 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43378 rather than using inline asm.
43379 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43380 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43381 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43383 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43386 (signal): Likewise.
43390 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43392 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43393 sysdeps/unix/common/syscalls.list.
43394 (fchmod): Likewise.
43395 (fchown): Likewise.
43396 (ftruncate): Likewise.
43397 (getrusage): Likewise.
43398 (gettimeofday): Likewise.
43399 (setpgid): Likewise.
43400 (setregid): Likewise.
43401 (setreuid): Likewise.
43402 (sigaction): Likewise.
43403 (truncate): Likewise.
43404 (vhangup): Likewise.
43405 * sysdeps/unix/common/syscalls.list: Remove file.
43406 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43407 * sysdeps/unix/sysv/linux/Implies: Likewise.
43409 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43411 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43413 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43417 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43420 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43423 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43426 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43429 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43432 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43435 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43439 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43443 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43446 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43450 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43454 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43456 * sysdeps/unix/common/bits/dirent.h: Remove file.
43457 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43459 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43460 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43461 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43462 * sysdeps/unix/bsd/isatty.c: Likewise.
43463 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43464 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43465 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43467 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43470 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43471 long double comparison inaccuracies.
43472 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43475 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43477 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43478 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43480 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43483 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43484 nonzero digits before rounding a hex value.
43485 * stdlib/tst-strtod.c (tests): Add another test.
43487 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43489 * sysdeps/s390/fpu/libm-test-ulps: Update.
43491 2012-05-03 Andreas Jaeger <aj@suse.de>
43493 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43494 does not get optimized out.
43495 (malloc_opt_barrier): New.
43497 2012-05-03 Andreas Jaeger <aj@suse.de>
43498 Roland McGrath <roland@hack.frob.com>
43500 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43501 intermediate file deletion.
43502 (generated): Add .symlist files.
43504 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43507 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43508 Redirect under this condition.
43509 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43510 [__USE_GNU] (__dprintf_chk): Not under this condition.
43511 [__USE_GNU] (__vdprintf_chk): Likewise.
43512 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43513 under this condition.
43514 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43515 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43516 [__USE_XOPEN2K8] (vdprintf): Likewise.
43517 [__USE_GNU] (__dprintf_chk): Not under this condition.
43518 [__USE_GNU] (__vdprintf_chk): Likewise.
43519 [__USE_GNU] (dprintf): Likewise.
43520 [__USE_GNU] (vdprintf): Likewise.
43522 2012-05-03 Roland McGrath <roland@hack.frob.com>
43524 * elf/Makefile (common-generated): Set this instead of generated for
43525 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43526 $(all-built-dso)-derived lists.
43528 2012-05-03 Andreas Jaeger <aj@suse.de>
43530 * sysdeps/i386/fpu/libm-test-ulps: Update.
43533 * FAQ.in: Likewise.
43534 * scripts/gen-FAQ.pl: Likewise.
43535 * manual/install.texi (Installation): Point to online location of
43537 * Makefile (files-for-dist): Remove FAQ.
43540 2012-05-02 Allan McRae <allan@archlinux.org>
43542 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43543 (LDFLAGS-reldepmod5.so): Likewise.
43544 (LDFLAGS-reldep6mod1.so): Likewise.
43545 (LDFLAGS-reldep6mod4.so): Likewise.
43546 (LDFLAGS-reldep8mod3.so): Likewise.
43547 (LDFLAGS-unload4mod1.so): Likewise.
43548 (LDFLAGS-unload4mod2.so): Likewise.
43549 (LDFLAGS-tst-initorder): Likewise.
43550 (LDFLAGS-tst-initordera2.so): Likewise.
43551 (LDFLAGS-tst-initordera3.so): Likewise.
43552 (LDFLAGS-tst-initordera4.so): Likewise.
43553 (LDFLAGS-tst-initorderb2.so): Likewise.
43554 (LDFLAGS-noload): Likewise.
43555 (LDFLAGS-next): Likewise.
43556 (LDFLAGS-order2mod1.so): Likewise.
43557 (LDFLAGS-order2mod2.so): Likewise.
43558 (LDFLAGS-tst-initorder2): Likewise.
43559 (LDFLAGS-tst-initorder2a.so): Likewise.
43560 (LDFLAGS-tst-initorder2b.so): Likewise.
43561 (LDFLAGS-tst-initorder2c.so): Likewise.
43562 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43564 2012-05-02 David S. Miller <davem@davemloft.net>
43566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43568 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43571 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43573 2012-05-02 Andreas Jaeger <aj@suse.de>
43575 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43576 since we manipulate rounding mode.
43577 (CPPFLAGS-test-idouble.c): Likewise.
43578 (CPPFLAGS-test-ifloat.c): Likewise.
43579 (CFLAGS-test-ldouble.c): Likewise.
43580 (CFLAGS-test-double.c): Likewise.
43581 (CFLAGS-test-float.c): Likewise.
43582 (CFLAGS-test-misc.c): Likewise.
43583 (CFLAGS-test-test-fenv.c): Likewise.
43585 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43590 comparisons to determine direction to adjust input.
43592 2012-05-01 Roland McGrath <roland@hack.frob.com>
43594 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43595 output to the target.
43597 * scripts/localplt.awk: New file.
43598 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43599 (check-localplt-CFLAGS): Variable removed.
43600 ($(all-built-dso:=.jmprel)): New static pattern rule.
43601 (generated): Add those targets.
43602 (localplt-built-dso): New variable.
43603 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43605 * elf/check-localplt.c: File removed.
43607 * scripts/check-execstack.awk: New file.
43608 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43609 (check-execstack-CFLAGS): Variable removed.
43610 ($(objpfx)check-execstack.h): Target removed.
43611 ($(objpfx)execstack-default): New target.
43612 (generated): Add that instead of check-execstack.h.
43613 ($(all-built-dso:=.phdr)): New static pattern rule.
43614 (generated): Add those targets.
43615 * elf/check-execstack.c: File removed.
43617 * scripts/check-textrel.awk: New file.
43618 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43619 (check-textrel-CFLAGS): Variable removed.
43620 (all-built-dso): Use := to define.o
43621 ($(all-built-dso:=.dyn)): New static pattern rule.
43622 (generated): Add those targets.
43623 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43624 * config.make.in (READELF): New substituted variable.
43625 * elf/check-textrel.c: File removed.
43627 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43629 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43631 * conform/data/ctype.h-data [C99-based standards] (isblank):
43633 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43634 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43635 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43636 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43637 Specify type. Require positive value.
43638 (EILSEQ): Likewise.
43639 (ERANGE): Likewise.
43640 [ISO || POSIX] (EILSEQ): Do not expect.
43641 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43642 Specify type. Require positive value.
43643 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43644 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43645 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43646 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43647 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43648 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43649 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43650 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43651 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43652 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43653 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43654 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43655 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43656 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43657 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43658 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43659 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43660 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43661 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43662 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43663 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43664 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43665 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43666 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43667 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43668 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43669 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43670 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43671 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43672 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43673 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43674 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43675 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43676 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43677 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43678 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43679 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43680 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43681 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43682 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43683 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43684 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43685 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43686 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43687 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43688 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43689 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43690 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43691 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43692 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43693 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43694 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43695 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43696 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43697 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43698 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43699 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43700 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43701 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43702 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43703 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43704 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43705 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43706 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43707 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43708 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43709 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43710 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43711 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43712 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43713 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43714 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43715 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43716 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43717 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43718 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43719 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43721 (FLT_ROUNDS): Expect as macro, not constant.
43722 (FLT_MANT_DIG): Use macro-int-constant.
43723 (DBL_MANT_DIG): Likewise.
43724 (LDBL_MANT_DIG): Likewise.
43725 (FLT_DIG): Likewise.
43726 (DBL_DIG): Likewise.
43727 (LDBL_DIG): Likewise.
43728 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43729 (DBL_MIN_EXP): Likewise.
43730 (LDBL_MIN_EXP): Likewise.
43731 (FLT_MAX_EXP): Use macro-int-constant.
43732 (DBL_MAX_EXP): Likewise.
43733 (LDBL_MAX_EXP): Likewise.
43734 (FLT_MAX_10_EXP): Likewise.
43735 (DBL_MAX_10_EXP): Likewise.
43736 (LDBL_MAX_10_EXP): Likewise.
43737 (FLT_MAX): Use macro-constant.
43738 (DBL_MAX): Likewise.
43739 (LDBL_MAX): Likewise.
43740 (FLT_EPSILON): Use macro-constant. Give upper bound.
43741 (DBL_EPSILON): Likewise.
43742 (LDBL_EPSILON): Likewise.
43743 (FLT_MIN): Likewise.
43744 (DBL_MIN): Likewise.
43745 (LDBL_MIN): Likewise.
43746 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43747 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43748 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43749 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43750 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43751 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43752 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43753 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43754 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43755 [ISO11] (FLT_TRUE_MIN): Likewise.
43756 [ISO11] (LDBL_TRUE_MIN): Likewise.
43757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43758 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43759 (SCHAR_MIN): Use macro-int-constant. Specify type.
43760 (SCHAR_MAX): Likewise.
43761 (UCHAR_MAX): Likewise.
43762 (CHAR_MIN): Likewise.
43763 (CHAR_MAX): Likewise.
43764 (MB_LEN_MAX): Use macro-int-constant.
43765 (SHRT_MIN): Use macro-int-constant. Specify type.
43766 (SHRT_MAX): Likewise.
43767 (USHRT_MAX): Likewise.
43768 (INT_MAX): Likewise.
43769 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43771 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43773 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43775 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43776 bound negative. Suffix upper bound with "L".
43777 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43779 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43781 [C99-based standards] (LLONG_MAX): Likewise.
43782 [C99-based standards] (ULLONG_MAX): Likewise.
43783 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43785 [ISO11] (max_align_t): Require type.
43786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43788 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43789 from $CFLAGS, without defining away __attribute__ calls.
43790 (checknamespace): Use $CFLAGS_namespace.
43792 * conform/conformtest.pl (@keywords): Only include C99 keywords
43793 for standards based on C99 or C11.
43795 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43797 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43800 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43801 usability of symbols in #if.
43803 * conform/conformtest.pl: If macro or constant types start
43804 "promoted:", expect the symbol to be of the following type
43805 promoted by the integer promotions.
43807 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43808 in one place. Also handle "macro-constant".
43810 * conform/conformtest.pl: Only accept expected macro values with
43811 "==". Parse all "macro" lines in one place.
43812 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43814 * conform/conformtest.pl: Handle braced types on "constant" lines
43815 instead of handling "typed-constant".
43816 * conform/data/signal.h-data: Use "constant" instead of
43819 * conform/conformtest.pl: Handle "optional-" at start of lines in
43820 one place rather than duplicating several cases. Handle each
43821 format of "macro" line with initial "optional-".
43823 * conform/conformtest.pl: Only accept expected constant or
43824 optional-constant values with "==". Parse all "constant" lines in
43825 one place. Parse all "optional-constant" lines in one place.
43826 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43827 * conform/data/fmtmsg.h-data: Likewise.
43828 * conform/data/netinet/in.h-data: Likewise.
43829 * conform/data/tar.h-data: Likewise.
43830 * conform/data/limits.h-data: Use "==" form on "constant" and
43831 "optional-constant" lines.
43833 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43834 Use -std=c99 for XOPEN2K.
43835 (@knownproblems): Remove.
43836 (newtoken): Don't check %isknown.
43838 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43839 Do not expect macro.
43840 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43841 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43842 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43843 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43844 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43845 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43846 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43847 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43848 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43849 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43850 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43851 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43852 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43853 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43854 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43855 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43856 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43857 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43858 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43859 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43860 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43861 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43862 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43863 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43864 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43865 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43866 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43867 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43868 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43869 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43870 [XPG3] (acosh): Likewise.
43871 [XPG3] (asinh): Likewise.
43872 [XPG3] (atanh): Likewise.
43873 [XPG3] (cbrt): Likewise.
43874 [XPG3] (expm1): Likewise.
43875 [XPG3] (ilogb): Likewise.
43876 [XPG3] (log1p): Likewise.
43877 [XPG3] (logb): Likewise.
43878 [XPG3] (nextafter): Likewise.
43879 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43880 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43881 [XPG3] (remainder): Likewise.
43882 [XPG3] (rint): Likewise.
43883 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43884 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43885 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43886 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43887 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43888 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43889 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43890 [UNIX98 || XOPEN2K] (scalb): Expect.
43891 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43892 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43893 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43894 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43895 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43896 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43897 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43898 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43899 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43900 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43901 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43902 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43903 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43904 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43905 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43906 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43907 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43908 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43909 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43910 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43911 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43912 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43913 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43914 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43915 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43916 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43917 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43918 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43919 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43920 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43921 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43922 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43923 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43924 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43925 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43926 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43927 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43928 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43929 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43930 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43931 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43932 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43933 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43934 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43935 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43936 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43937 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43938 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43939 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43940 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43941 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43942 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43943 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43944 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43945 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43946 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43947 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43948 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43949 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43950 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43951 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43952 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43953 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43954 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43955 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43956 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43957 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43958 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43959 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43960 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43961 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43962 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43963 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43964 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43965 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43966 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43967 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43968 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43969 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43970 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43971 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43972 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43973 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43974 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43975 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43976 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43977 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43978 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43979 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43980 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43981 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43982 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43983 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43984 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43985 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43986 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43987 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43988 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43989 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43990 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43991 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43992 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43993 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43994 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43995 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43996 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43997 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43998 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43999 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44000 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44001 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44002 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44003 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44004 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44005 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44006 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44007 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44008 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44009 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44010 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44011 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44012 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44013 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44014 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44015 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44016 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44017 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44018 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44019 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44020 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44021 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44022 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44023 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44024 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44025 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44026 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44027 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44029 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44030 _XOPEN_SOURCE_EXTENDED for XPG4.
44032 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44034 * Makeconfig (localtime): Remove variable.
44035 (inst_localtime-file): Likewise.
44037 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44058 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44062 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44063 comparisons to determine direction to adjust input.
44064 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44065 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44066 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44068 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44070 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44072 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44073 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44075 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44077 * math/libm-test.inc (nexttoward_test): Add more tests.
44079 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44082 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44083 in version GLIBC_2.1, not GLIBC_2.0.
44084 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44087 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44090 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44092 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44093 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44094 * math/libm-test.inc (acos_test): Add more tests.
44095 (asin_test): Likewise.
44096 * sysdeps/i386/fpu/libm-test-ulps: Update.
44097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44100 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44102 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44103 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44104 * math/libm-test.inc (acos_test_tonearest): New function.
44105 (acos_test_towardzero): Likewise.
44106 (acos_test_downward): Likewise.
44107 (acos_test_upward): Likewise.
44108 (asin_test_tonearest): Likewise.
44109 (asin_test_towardzero): Likewise.
44110 (asin_test_downward): Likewise.
44111 (asin_test_upward): Likewise.
44112 (main): Call the new functions.
44113 * sysdeps/i386/fpu/libm-test-ulps: Update.
44114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44118 * math/e_exp10.c: Include <float.h>.
44119 (__ieee754_exp10): Handle underflow here rather than multiplying
44120 large negative argument by M_LN10.
44121 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44123 * math/e_exp10l.c: Include <float.h>.
44124 (__ieee754_exp10l): Handle underflow here rather than multiplying
44125 large negative argument by M_LN10l.
44126 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44127 spurious overflow exception on underflow.
44129 2012-04-29 Marek Polacek <polacek@redhat.com>
44131 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44132 (__fortify_function): New macro.
44133 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44134 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44135 __extern_always_inline.
44136 * libio/bits/stdio2.h: Likewise.
44137 * libio/bits/stdio.h: Likewise.
44138 * string/string.h: Likewise.
44139 * string/bits/string3.h: Likewise.
44140 * include/stdio.h: Likewise.
44141 * stdlib/bits/stdlib.h: Likewise.
44142 * stdlib/stdlib.h: Likewise.
44143 * rt/bits/mqueue2.h: Likewise.
44144 * rt/mqueue.h: Likewise.
44145 * posix/bits/unistd.h: Likewise.
44146 * posix/unistd.h: Likewise.
44147 * io/bits/poll2.h: Likewise.
44148 * io/bits/fcntl2.h: Likewise.
44149 * io/fcntl.h: Likewise.
44150 * io/sys/poll.h: Likewise.
44151 * misc/bits/syslog.h: Likewise.
44152 * misc/bits/syslog-ldbl.h: Likewise.
44153 * misc/sys/syslog.h: Likewise.
44154 * socket/bits/socket2.h: Likewise.
44155 * socket/sys/socket.h: Likewise.
44156 * debug/tst-chk1.c: Likewise.
44157 * wcsmbs/bits/wchar2.h: Likewise.
44158 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44159 * wcsmbs/wchar.h: Likewise.
44161 2012-04-29 Andreas Jaeger <aj@suse.de>
44163 * Makerules (tests): Remove enable-check-abi protection.
44164 (check-abi-warn): Remove.
44165 (check-abi-%): Remove check-abi-warn usage.
44167 * configure.in: Remove check-abi configure option.
44168 * configure: Regenerated.
44169 * config.make.in (enable-check-abi): Remove.
44171 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44174 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44175 double functions to double *_finite functions.
44178 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44179 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44181 * stdio-common/Makefile (tests): Add tst-sprintf3.
44182 * stdio-common/tst-sprintf3.c: New file.
44184 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44185 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44187 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44189 * conform/conformtest.pl: Remove duplicate typed-constant
44192 2012-04-28 David S. Miller <davem@davemloft.net>
44194 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44195 (check-abi-%): Remove AWK script prerequisite and explicit
44197 (check-abi): Rewrite to just diff the symlist with the abilist.
44198 (config-tls, config-abi-config): Delete, no longer used.
44199 (update-abi-%): Remove AWK script and explicit abilist directory.
44200 (update-abi): Rewrite to simply compare and conditionally copy the
44201 symlist and the sysdep abilist file. Remove update-abi-config
44203 * abilist/ld.abilist: Remove.
44204 * abilist/libBrokenLocale.abilist: Remove.
44205 * abilist/libanl.abilist: Remove.
44206 * abilist/libcrypt.abilist: Remove.
44207 * abilist/libdl.abilist: Remove.
44208 * abilist/librt.abilist: Remove.
44209 * abilist/libthread_db.abilist: Remove.
44210 * abilist/libutil.abilist: Remove.
44211 * scripts/extract-abilist.awk: Remove.
44212 * scripts/merge-abilist.awk: Remove.
44213 * sysdeps/generic/libcidn.abilist: New file.
44214 * sysdeps/generic/libnss_compat.abilist: New file.
44215 * sysdeps/generic/libnss_db.abilist: New file.
44216 * sysdeps/generic/libnss_dns.abilist: New file.
44217 * sysdeps/generic/libnss_files.abilist: New file.
44218 * sysdeps/generic/libnss_hesiod.abilist: New file.
44219 * sysdeps/generic/libnss_nis.abilist: New file.
44220 * sysdeps/generic/libnss_nisplus.abilist: New file.
44221 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44222 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44223 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44225 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44226 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44227 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44228 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44229 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44230 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44231 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44232 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44233 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44235 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44236 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44237 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44238 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44240 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44241 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44242 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44243 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44244 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44245 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44247 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44248 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44249 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44251 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44354 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44355 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44356 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44359 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44360 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44361 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44362 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44363 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44364 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44365 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44366 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44367 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44419 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44421 * conform/conformtest.pl: Fix typo in handling typed-constant from
44424 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44426 * README: Cut down references to pre-2.6 Linux kernels and
44427 Linuxthreads. Update lists of configurations in libc and ports
44428 and sort alphabetically. Say "or newer" with Linux kernel version
44431 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44433 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44436 * math/libm-test.inc (logb_test_downward): New test to expose
44437 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44440 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44443 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44445 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44446 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44448 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44450 * sysdeps/unix/i386/brk.S: Remove file.
44451 * sysdeps/unix/i386/dl-brk.S: Likewise.
44452 * sysdeps/unix/i386/pipe.S: Likewise.
44453 * sysdeps/unix/i386/sigreturn.S: Likewise.
44454 * sysdeps/unix/i386/syscall.S: Likewise.
44455 * sysdeps/unix/i386/vfork.S: Likewise.
44456 * sysdeps/unix/i386/wait.S: Likewise.
44458 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44459 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44461 * configure.in (arm*-none*): Do not allow without
44462 --enable-hacker-mode.
44463 (netbsd*): Remove case setting base_os.
44464 (386bsd*): Likewise.
44465 (freebsd*): Likewise.
44468 (sunos*): Likewise.
44469 (ultrix*): Likewise.
44470 (newsos*): Likewise.
44471 (dynix*): Likewise.
44477 (minix*): Likewise.
44478 (irix4*): Likewise.
44479 (irix6*): Likewise.
44480 (solaris[2-9]*): Likewise.
44482 * configure: Regenerated.
44484 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44487 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44488 overflow or cancellation in calculating denominator.
44489 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44490 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44491 down expression to avoid unexpected rounding in newer GCCs.
44492 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44494 2012-04-26 David S. Miller <davem@davemloft.net>
44496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44497 long-double compat symbols.
44498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44512 2012-04-25 David S. Miller <davem@davemloft.net>
44514 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44515 HWCAP_* values only after the memory barriers have been defined.
44516 (atomic_full_barrier): Define.
44517 (atomic_read_barrier): Define.
44518 (atomic_write_barrier): Define.
44520 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44522 * shlib-versions: Add libgcc_s version information.
44523 * sysdeps/generic/libgcc_s.h: Remove.
44524 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44526 * sysdeps/gnu/unwind-resume.c: Likewise.
44527 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44529 2012-04-25 David S. Miller <davem@davemloft.net>
44531 * sysdeps/unix/sparc/brk.S: Delete.
44532 * sysdeps/unix/sparc/dl-brk.S: Delete.
44533 * sysdeps/unix/sparc/pipe.S: Delete.
44534 * sysdeps/unix/sparc/sysdep.S: Delete.
44535 * sysdeps/unix/sparc/sysdep.h: Delete.
44536 * sysdeps/unix/sparc/vfork.S: Delete.
44537 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44538 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44539 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44540 (ret_ERRVAL, r0, r1, MOVE): Define.
44541 (JUMPTARGET): Remove.
44542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44543 sysdeps/unix/sparc/sysdep.h
44544 (ENTRY, END): Remove.
44545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44547 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44549 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44550 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44553 * timezone/README: Update upstream location and email address for
44555 * timezone/zdump.c: Update from tzcode 2012b.
44556 * timezone/zic.c: Likewise.
44558 * configure.in (libc_cv_as_needed): Remove test.
44559 * configure: Regenerated.
44560 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44561 conditional definition.
44562 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44563 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44564 * config.make.in (have-as-needed): Remove variable.
44566 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44567 Paul Pluzhnikov <ppluzhnikov@google.com>
44569 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44572 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44574 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44575 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44576 * sysdeps/sh/strlen.S: Likewise.
44578 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44580 * sysdeps/unix/fork.S: Remove file.
44581 * sysdeps/unix/i386/fork.S: Likewise.
44582 * sysdeps/unix/sparc/fork.S: Likewise.
44584 * sysdeps/unix/system.c: Remove file.
44585 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44587 * sysdeps/unix/getegid.S: Remove file.
44588 * sysdeps/unix/geteuid.S: Likewise.
44590 2012-04-24 Roland McGrath <roland@hack.frob.com>
44592 * scripts/check-localplt.awk: New file.
44593 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44595 * scripts/data/localplt-generic.data: Add a comment.
44597 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44598 NODE when __dir_mkfile failed.
44599 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44600 Reported by Ludovic Courtès <ludo@gnu.org>.
44602 2012-04-24 Andreas Jaeger <aj@suse.de>
44604 * Makerules (common-clean): Also remove gen-as-const-headers
44607 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44609 * Makerules (native-compile): Do not change working directory for
44610 build. Use $(OUTPUT_OPTION) in command.
44611 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44613 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44616 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44617 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44618 * math/libm-test.inc (floor_test): Add more tests.
44619 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44621 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44623 * sysdeps/unix/getdents.c: Remove file.
44624 * sysdeps/unix/sysv/getdents.c: Likewise.
44625 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44627 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44628 sysdeps/unix/mman/syscalls.list.
44630 (mprotect): Likewise.
44632 (munmap): Likewise.
44633 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44634 * sysdeps/unix/mman/syscalls.list: Remove.
44635 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44637 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44638 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44639 * configure: Regenerated.
44640 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44641 $(libgcc_s_suffix).
44642 * config.make.in (libgcc_s_suffix): Remove variable.
44644 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44646 * sysdeps/unix/sysv/gethostname.c: Move to ...
44647 * sysdeps/posix/gethostname.c: ... here.
44649 * sysdeps/unix/execve.S: Remove file.
44651 * sysdeps/unix/_exit.S: Remove file.
44653 2012-04-23 Andreas Jaeger <aj@suse.de>
44656 * manual/Makefile: Remove make dist support, there's no
44657 need for a stand-alone documentation tar ball.
44658 (TEXI2DVI): Define always, it's not in Makeconfig.
44661 (edition): Removed.
44662 (glibc-doc-$(edition).tar): Removed
44666 (ETAGS): Remove, it's in Makeconfig.
44667 (move-if-change): Remove, it's in Makeconfig.
44669 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44672 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44673 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44674 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44675 (strtod_l, strtof_l, strtold_l): Remove __wur.
44676 It is not necessarily an error to ignore strtol's return value.
44677 One can reliably look at the stored endptr to decide whether
44678 the number had valid syntax.
44680 2012-04-21 Andreas Jaeger <aj@suse.de>
44683 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44685 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44687 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44688 * sysdeps/unix/sysv/Versions: Remove file.
44690 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44695 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44699 version from __vm86.
44701 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44703 * sysdeps/unix/common/lxstat.c: Remove file.
44704 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44706 * sysdeps/unix/sysv/Makefile: Remove file.
44708 * sysdeps/unix/sysv/direct.h: Remove file.
44710 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44711 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44712 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44713 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44714 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44715 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44716 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44718 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44720 * sysdeps/unix/xmknod.c: Remove file.
44721 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44723 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44725 * sysdeps/unix/sysv/i386/time.S: Remove file.
44727 * sysdeps/unix/fxstat.c: Remove file.
44728 * sysdeps/unix/xstat.c: Likewise.
44729 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44731 * sysdeps/unix/sysv/sigaction.c: Remove file.
44733 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44734 (sysdep_headers): Remove variable.
44735 [termio.h not in sysdep_headers] (generated): Likewise.
44736 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44737 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44738 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44739 * sysdeps/unix/sysv/tcflow.c: Likewise.
44740 * sysdeps/unix/sysv/tcflush.c: Likewise.
44741 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44742 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44743 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44744 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44745 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44747 * sysdeps/unix/siglist.c: Remove file.
44749 * sysdeps/unix/getppid.S: Remove file.
44751 * sysdeps/unix/mkdir.c: Remove file.
44752 * sysdeps/unix/rmdir.c: Likewise.
44754 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44756 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44758 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44759 errlist-compat value.
44761 2012-04-18 David S. Miller <davem@davemloft.net>
44763 * sysdeps/generic/memcopy.h (reg_char): Delete.
44764 * debug/strcat_chk.c: Use char, not reg_char.
44765 * debug/strcpy_chk.c: Likewise.
44766 * debug/strncat_chk.c: Likewise.
44767 * debug/strncpy_chk.c: Likewise.
44768 * string/memchr.c: Likewise.
44769 * string/memrchr.c: Likewise.
44770 * string/rawmemchr.c: Likewise.
44771 * string/strcat.c: Likewise.
44772 * string/strchr.c: Likewise.
44773 * string/strchrnul.c: Likewise.
44774 * string/strcmp.c: Likewise.
44775 * string/strcpy.c: Likewise.
44776 * string/strncat.c: Likewise.
44777 * string/strncmp.c: Likewise.
44778 * string/strncpy.c: Likewise.
44780 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44782 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44783 __builtin_memcopy is called when src and dest ranges are known to not
44786 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44788 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44789 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44790 fwd_align_merge macro call.
44791 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44792 bwd_align_merge macro call.
44793 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44795 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44797 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44798 bwd_align_merge macros.
44799 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44800 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44801 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44803 2012-04-18 David S. Miller <davem@davemloft.net>
44805 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44807 2012-04-18 Andreas Jaeger <aj@suse.de>
44810 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44811 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44812 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44814 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44815 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44816 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44818 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44819 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44820 Adjust for changed ldbl-128 files.
44822 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44823 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44824 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44826 2012-04-17 David S. Miller <davem@davemloft.net>
44828 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44830 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44832 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44833 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44834 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44835 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44836 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44837 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44839 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44842 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44843 * math/libm-test.inc: Add ilogb errno and exception tests.
44844 * math/w_ilogb.c: New file: ilogb wrapper.
44845 * math/w_ilogbf.c: New file: ilogbf wrapper.
44846 * math/w_ilogbl.c: New file: ilogbl wrapper.
44847 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44848 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44849 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44850 exception being thrown with 0.0 as argument.
44851 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44852 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44853 exception being thrown with 0.0 as argument.
44854 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44855 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44856 exception being thrown with 0.0 as argument.
44857 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44858 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44859 exception being thrown with 0.0 as argument.
44860 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44861 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44862 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44863 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44865 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44866 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44867 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44868 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44870 2012-04-17 Petr Baudis <pasky@ucw.cz>
44872 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44875 2012-04-16 Marek Polacek <polacek@redhat.com>
44877 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44879 2012-04-16 Marek Polacek <polacek@redhat.com>
44881 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44882 operands of fdivp instruction.
44884 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44886 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44887 * elf/tst-auditmod3b.c: Likewise.
44888 * elf/tst-auditmod4b.c: Likewise.
44889 * elf/tst-auditmod5b.c: Likewise.
44890 * elf/tst-auditmod6b.c: Likewise.
44891 * elf/tst-auditmod6c.c: Likewise.
44892 * elf/tst-auditmod7b.c: Likewise.
44893 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44894 * sysdeps/x86_64/preconfigure.in: Likewise.
44895 * sysdeps/x86_64/preconfigure: Regenerated.
44897 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44899 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44902 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44905 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44907 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44910 * locale/iso-639.def: Fix gl language name. Spotted by
44913 2012-04-12 Roland McGrath <roland@hack.frob.com>
44916 * libio/libio.h (__io_write_fn): Update comment.
44918 2012-04-12 Petr Baudis <pasky@ucw.cz>
44921 * stdio.texi (Hook Functions): The user provided writer function
44922 is not allowed to return -1.
44924 2012-04-11 David S. Miller <davem@davemloft.net>
44926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44928 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44930 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44931 Add a leading slash to rtkaio.
44933 2012-04-11 Jim Meyering <meyering@redhat.com>
44936 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44937 It is not necessarily an error to ignore fwrite's return
44938 value. One can reliably use ferror to test for errors after
44941 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44943 * bits/types.h (__snseconds_t): New type.
44944 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44946 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44948 (__SNSECONDS_T_TYPE): Likewise.
44949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44950 (__SNSECONDS_T_TYPE): Likewise.
44951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44952 (__SNSECONDS_T_TYPE): Likewise.
44954 2012-04-10 Andreas Jaeger <aj@suse.de>
44957 * manual/time.texi (Processor Time): Return type of times is
44958 elapsed real time since an arbitrary point in the past.
44959 (CPU Time): Move CLK_TCK from here...
44960 (Processor Time): ...to here. Correct description.
44961 * manual/conf.texi (Constants for Sysconf): Correct description of
44964 2012-04-10 David S. Miller <davem@davemloft.net>
44967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44968 where the is a gap between DT_REL(A) and DT_JMPREL.
44970 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44972 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44973 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44974 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44976 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44978 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44979 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44980 (dl_main): Handle --inhibit-cache.
44981 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44983 * elf/dl-load.c (_dl_map_object): Use it.
44984 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44986 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44989 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44990 (__ieee754_powl): Saturate large exponents rather than testing for
44991 overflow of y*log2(x).
44992 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44993 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44997 * math/s_ctan.c: Include <float.h>.
44998 (__ctan): Avoid internal overflow or cancellation in calculating
45000 * math/s_ctanf.c: Likewise.
45001 * math/s_ctanl.c: Likewise.
45002 * math/s_ctanh.c: Likewise.
45003 * math/s_ctanhf.c: Likewise.
45004 * math/s_ctanhl.c: Likewise.
45005 * math/libm-test.inc (ctan_test): Add more tests.
45006 (ctanh_test): Likewise.
45007 * sysdeps/i386/fpu/libm-test-ulps: Update.
45008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45010 2012-04-09 Andreas Jaeger <aj@suse.de>
45013 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45014 is an optional BSD extension.
45017 * manual/stdio.texi (Opening Streams): Document additional fopen
45020 2012-04-09 Roland McGrath <roland@hack.frob.com>
45022 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45023 %eax without telling the compiler.
45025 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45028 * manual/install.texi: Use sourceware.org.
45030 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45033 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45034 (__ieee754_pow): Generate overflow and underflow using huge*huge
45035 and tiny*tiny rather than just returning constant infinity or zero
45036 for large exponents.
45037 * math/libm-test.inc (pow_test): Require overflow exceptions for
45038 applicable cases of large exponents.
45041 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45042 (__ieee754_pow): Use iterative multiplication algorithm only for
45043 integer exponents with absolute value below 1024. Check for odd
45044 integer exponents when using algorithm for real exponents.
45045 * math/libm-test.inc (pow_test): Add more tests.
45046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45048 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45051 * math/libm-test.inc (exp_test): Do not allow overflow exception
45054 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45057 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45058 instead of __kernel_standard_f.
45060 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45062 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45063 * sysdeps/x86_64/memset_chk.S: Likewise.
45065 2012-04-08 Andreas Jaeger <aj@suse.de>
45068 * manual/startup.texi (Environment Access): Describe return value
45069 for putenv and setenv.
45072 * manual/filesys.texi (Directory Entries): Add description for
45076 * manual/filesys.texi (Directory Entries): Clarify that it's file
45077 system not operating system in the description of DT_UNKNOWN.
45080 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45082 2012-04-08 Stephen Compall <s11@member.fsf.org>
45085 * manual/llio.texi (Opening and Closing Files): Add cross
45086 reference to explain mode argument.
45088 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45090 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45091 * sysdeps/x86_64/memset_chk.S: Likewise.
45093 2012-04-07 David S. Miller <davem@davemloft.net>
45095 * elf/elf.h (R_SPARC_WDISP10): Define.
45096 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45099 R_SPARC_SIZE64 and R_SPARC_H34.
45101 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45103 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45104 conditions and remove no longer applicable assertion.
45106 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45108 * bits/byteswap.h: Include <features.h>.
45109 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45110 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45112 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45114 * bits/byteswap.h (__bswap_16): Removed.
45115 Include <bits/byteswap-16.h> to get __bswap_16.
45116 * sysdeps/i386/bits/byteswap.h: Likewise.
45117 * sysdeps/s390/bits/byteswap.h: Likewise.
45118 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45119 * bits/byteswap-16.h: New file.
45120 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45121 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45122 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45123 * string/Makefile (headers): Add bits/byteswap-16.h.
45125 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45128 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45130 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45131 * nss/tst-nss-static.c: New.
45133 2012-04-06 Robert Millan <rmh@gnu.org>
45136 * manual/llio.texi (File Position Primitive): lseek
45137 refers to WHENCE when it really means OFFSET.
45139 2012-04-06 Andreas Jaeger <aj@suse.de>
45141 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45142 strncmp declarations.
45144 * abilist/libc.abilist: Add __poll and __ppoll.
45146 2012-04-05 David S. Miller <davem@davemloft.net>
45148 * scripts/check-local-headers.sh: Accept a host triplet in the
45149 path matched by the exclude regexp.
45151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45153 * sysdeps/powerpc/powerpc32/dl-machine.h
45154 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45155 * sysdeps/s390/s390-32/dl-machine.h
45156 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45157 * sysdeps/sparc/sparc32/dl-machine.h
45158 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45159 * sysdeps/sparc/sparc64/dl-machine.h
45160 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45162 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45164 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45165 undefined symbol errors.
45167 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45170 2012-04-05 Michael Matz <matz@suse.de>
45173 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45175 2012-04-05 Andreas Jaeger <aj@suse.de>
45178 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45181 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45183 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45184 which ROUND is no valid rounding mode.
45186 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45188 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45190 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45192 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45194 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45195 an exception using FPU order intentionally.
45197 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45199 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45200 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45201 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45202 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45204 2012-04-05 Simon Josefsson <simon@josefsson.org>
45207 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45208 EINVAL when BUFLEN is too smal.
45210 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45213 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45214 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45216 2012-04-03 Andreas Jaeger <aj@suse.de>
45219 * manual/setjmp.texi (System V contexts): Fix sentence.
45222 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45223 New macro for this case.
45224 [!__GNUC__] (__bswap_64): New inline function for this case.
45225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45226 * bits/byteswap.h: Likewise.
45227 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45228 ull, guard with __GLIBC_HAVE_LONG_LONG.
45230 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45231 __GLIBC_HAVE_LONG_LONG.
45233 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45234 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45236 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45239 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45240 inptr and inend, rather than using last_ch.
45242 2012-04-02 David S. Miller <davem@davemloft.net>
45244 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45245 * stdio-common/printf-parse.h (read_int): Change return type to
45246 'int', return -1 on INT_MAX overflow.
45247 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45248 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45249 overflows INT_MAX. Check for overflow of in-format-string precision
45250 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45251 SIZE_MAX not INT_MAX for integer overflow test.
45252 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45253 skip the construct in the format string but do not record anything.
45254 * stdio-common/bug22.c: Adjust to test both width/prevision
45255 INT_MAX overflow as well as total length INT_MAX overflow. Check
45256 explicitly for proper errno values.
45258 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45260 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45262 * string/test-strcmp.c [! WIDE]: Likewise.
45263 * time/tst-mktime2.c: Likewise for INT_MAX.
45264 * string/test-string.h: #include <sys/param.h> for MIN.
45266 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45267 * sysdeps/i386/init-first.c (init): Likewise.
45268 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45269 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45270 * sysdeps/sh/init-first.c (init): Likewise.
45272 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45274 * po/ru.po: Update from translation team.
45275 * po/vi.po: Likewise.
45277 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45279 * resolv/nss_dns/dns-host.c: Merge copyright years.
45281 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45283 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45284 Optimize memcpy with prefetch if
45285 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45286 src, dst pointers have unequal 16 byte alignments.
45288 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45291 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45292 from a CNAME entry and return the minimum ttl for the query.
45293 (gaih_getanswer_slice): Likewise.
45295 2012-03-30 Jeff Law <law@redhat.com>
45297 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45299 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45300 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45302 * resolv/nss_dns/dns-host.c: Update copyright year.
45304 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45306 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45307 requests to save a system call. Fix check that all bytes are sent.
45309 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45310 comments for sendmmsg.
45312 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45315 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45316 with only 1 character between 0x0041 and 0x01b0.
45317 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45318 * wcsmbs/tst-mbsnrtowcs.c: New file.
45320 2012-03-29 David S. Miller <davem@davemloft.net>
45322 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45323 small copies by hand.
45325 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45328 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45329 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45332 2012-03-28 David S. Miller <davem@davemloft.net>
45334 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45335 that branches into memcpy.
45336 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45337 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45339 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45342 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45343 implementation too.
45344 * sysdeps/sparc/mempcpy.S: New file.
45346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45347 the IFUNC routine in the libc case.
45348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45350 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45351 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45352 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45353 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45354 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45355 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45356 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45357 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45359 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45360 loop to 256 bytes instead of 64 bytes and fix test signedness.
45362 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45363 * sysdeps/sparc/sparc32/Makefile: rather than here...
45364 * sysdeps/sparc/sparc64/Makefile: and here.
45366 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45368 * malloc/mallocbug.c: Avoid warnings about unused variables.
45370 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45373 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45374 in the right place. Discard and retry query if response is
45375 larger than input buffer size.
45377 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45382 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45383 x for large integer exponent.
45384 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45385 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45386 sign of result as needed afterwards.
45387 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45388 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45389 result for underflowing pow the same as for overflow.
45390 (__kernel_standard_l): Handle powl overflow and underflow here
45391 rather than calling __kernel_standard.
45392 * math/libm-test.inc (pow_test): Add more tests.
45407 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45408 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45409 (__kernel_standard_l): New function.
45410 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45412 * math/w_acosl.c (__acosl): Likewise.
45413 * math/w_asinl.c (__asinl): Likewise.
45414 * math/w_atan2l.c (__atan2l): Likewise.
45415 * math/w_atanhl.c (__atanhl): Likewise.
45416 * math/w_coshl.c (__coshl): Likewise.
45417 * math/w_exp10l.c (__exp10l): Likewise.
45418 * math/w_exp2l.c (__exp2l): Likewise.
45419 * math/w_fmodl.c (__fmodl): Likewise.
45420 * math/w_hypotl.c (__hypotl): Likewise.
45421 * math/w_j0l.c (__j0l, __y0l): Likewise.
45422 * math/w_j1l.c (__j1l, __y1l): Likewise.
45423 * math/w_jnl.c (__jnl, __ynl): Likewise.
45424 * math/w_lgammal.c (__lgammal): Likewise.
45425 * math/w_log10l.c (__log10l): Likewise.
45426 * math/w_log2l.c (__log2l): Likewise.
45427 * math/w_logl.c (__logl): Likewise.
45428 * math/w_powl.c (__powl): Likewise.
45429 * math/w_remainderl.c (__remainderl): Likewise.
45430 * math/w_scalbl.c (sysv_scalbl): Likewise.
45431 * math/w_sinhl.c (__sinhl): Likewise.
45432 * math/w_sqrtl.c (__sqrtl): Likewise.
45433 * math/w_tgammal.c (__tgammal): Likewise.
45434 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45435 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45436 * math/libm-test.inc (acos_test): Add more tests.
45437 (acosh_test): Likewise.
45438 (asin_test): Likewise.
45439 (atanh_test): Likewise.
45440 (exp_test): Likewise.
45441 (exp10_test): Likewise.
45442 (exp2_test): Likewise.
45443 (expm1_test): Likewise.
45444 (lgamma_test): Likewise.
45445 (log_test): Likewise.
45446 (log10_test): Likewise.
45447 (log1p_test): Likewise.
45448 (log2_test): Likewise.
45449 (pow_test): Do not allow some spurious overflow exceptions.
45450 (sqrt_test): Add more tests.
45451 (tgamma_test): Likewise.
45452 (y0_test): Likewise.
45453 (y1_test): Likewise.
45454 (yn_test): Likewise.
45456 2012-03-27 Anton Blanchard <anton@samba.org>
45458 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45460 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45461 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45464 2012-03-27 David S. Miller <davem@davemloft.net>
45466 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45468 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45469 have-as-vis3 check.
45471 2012-03-27 Andreas Jaeger <aj@suse.de>
45473 * sysdeps/x86_64/elf/configure.in: Moved to ...
45474 * sysdeps/x86_64/configure.in: ... here.
45475 * sysdeps/x86_64/elf/start.S: Moved to ...
45476 * sysdeps/x86_64/start.S: ... here.
45477 * sysdeps/x86_64/elf/configure: Delete.
45479 * sysdeps/x86_64/configure.in: Merge contents from
45480 sysdeps/i386/configure.in (without i686 check).
45482 * sysdeps/i386/elf/Versions: Merge into ...
45483 * sysdeps/i386/Versions: ... this.
45484 * sysdeps/i386/elf/Versions: Delete file.
45485 * sysdeps/i386/elf/start.S: Moved to ...
45486 * sysdeps/i386/start.S: ...here.
45487 * sysdeps/i386/elf/configure.in: Merge into...
45488 * sysdeps/i386/configure.in: ...here.
45489 * sysdeps/i386/elf/configure.in: Delete file.
45490 * sysdeps/i386/elf/configure: Delete file.
45492 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45493 * debug/backtracesyms.c: ... here.
45494 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45495 * debug/backtracesymsfd.c: ... here.
45496 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45497 * sysdeps/generic/ifunc-sel.h: ... here.
45499 * sysdeps/unix/i386/start.c: Delete file.
45500 * sysdeps/unix/sparc/start.c: Delete file.
45501 * sysdeps/unix/start.c: Delete file.
45503 * sysdeps/sh/elf/configure.in: Moved to ...
45504 * sysdeps/sh/configure.in: ... here.
45505 * sysdeps/sh/elf/start.S: Moved to ...
45506 * sysdeps/sh/start.S: ... here.
45507 * sysdeps/sh/elf/configure: Delete file.
45509 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45510 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45511 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45512 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45513 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45514 * sysdeps/powerpc/powerpc64/start.S: here.
45515 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45516 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45517 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45518 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45519 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45521 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45522 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45523 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45524 * sysdeps/powerpc/powerpc32/start.S: ... here.
45525 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45526 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45527 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45529 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45530 * sysdeps/powerpc/ifunc-sel.h: ... here.
45531 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45532 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45534 * sysdeps/sparc/elf/configure.in: Moved to ...
45535 * sysdeps/sparc/configure.in: ... here.
45536 * sysdeps/sparc/elf/configure: Delete file.
45537 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45538 * sysdeps/sparc/sparc32/start.S: ... here.
45539 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45540 * sysdeps/sparc/sparc64/start.S: ... here.
45541 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45542 * sysdeps/sparc/sparc32/Makefile: ... this.
45543 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45544 * sysdeps/sparc/sparc64/Makefile: ... this.
45546 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45547 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45548 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45549 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45550 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45551 * sysdeps/s390/s390-32/setjmp.S: ... here.
45552 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45553 * sysdeps/s390/s390-32/configure.in: ... here.
45554 * sysdeps/s390/s390-32/elf/configure: Delete file.
45555 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45556 * sysdeps/s390/s390-32/start.S: ... here.
45558 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45559 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45560 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45561 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45562 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45563 * sysdeps/s390/s390-64/setjmp.S: ... here.
45564 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45565 * sysdeps/s390/s390-64/configure.in: ... here
45566 * sysdeps/s390/s390-64/elf/configure: Delete file.
45567 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45568 * sysdeps/s390/s390-64/start.S: ... here.
45569 * sysdeps/s390/s390-64/elf/configure: Delete.
45571 * configure.in: Remove support for elf directories in sysdeps.
45573 * configure: Regenerated.
45574 * sysdeps/i386/configure: Regenerated.
45575 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45576 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45577 * sysdeps/s390/s390-32/configure: Regenerated.
45578 * sysdeps/s390/s390-64/configure: Regenerated.
45579 * sysdeps/sh/configure: Regenerated.
45580 * sysdeps/sparc/configure: Regenerated.
45581 * sysdeps/x86_64/configure: Regenerated.
45583 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45587 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45588 denormal result into account.
45590 2012-03-25 Roland McGrath <roland@hack.frob.com>
45592 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45593 Reported by Allan McRae <allan@archlinux.org>.
45595 2012-03-23 Jeff Law <law@redhat.com>
45597 * nss/getnssent.c (__nss_getent): Fix typo.
45599 2012-03-23 David S. Miller <davem@davemloft.net>
45601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45603 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45605 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45606 to pad to uint64_t for each field.
45607 (dl_tls_index): Replace unsigned long with uint64_t.
45609 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45610 Paul Pluzhnikov <ppluzhnikov@google.com>
45613 * grp/Makefile (otherlibs): Don't set it.
45614 * inet/Makefile (otherlibs): Likewise.
45615 * login/Makefile (otherlibs): Likewise.
45616 * nscd/Makefile (otherlibs): Likewise.
45617 * posix/Makefile (otherlibs): Likewise.
45618 * pwd/Makefile (otherlibs): Likewise.
45619 * rt/Makefile (otherlibs): Likewise.
45620 * sunrpc/Makefile (otherlibs): Likewise.
45621 * nss/Makefile (otherlibs): Likewise.
45622 Add libnss_files to routines and static-only-routines.
45623 ($(objpfx)getent): Remove rule.
45624 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45625 static-only-routines.
45627 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45630 * math/s_cexp.c: Include <float.h>.
45631 (__cexp): Handle exp result overflowing not necessarily
45632 overflowing both real and imaginary parts of result.
45633 * math/s_cexpf.c: Likewise.
45634 * math/s_cexpl.c: Likewise.
45635 * math/libm-test.inc (cexp_test): Add more tests.
45636 * sysdeps/i386/fpu/libm-test-ulps: Update.
45637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45639 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45641 * include/link.h (ELFW): New macro.
45642 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45643 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45645 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45647 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45650 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45652 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45654 (struct La_x32_retval): Likewise.
45656 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45658 * sysdeps/x86_64/preconfigure.in: New file.
45659 * sysdeps/x86_64/preconfigure: New generated file.
45661 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45664 * math/e_exp2l.c: Include <float.h>.
45665 (__ieee754_exp2l): Handle overflow and underflow cases
45666 separately. Only pass fractional part of argument to
45668 * math/libm-test.inc (exp2_test): Add more tests.
45670 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45671 negating x to take absolute value.
45672 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45674 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45675 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45677 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45678 computing low part if x was negated.
45679 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45681 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45683 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45684 la_x32_gnu_pltexit.
45685 (pltexit): Cast int_retval to ptrdiff_t.
45686 * elf/tst-auditmod3b.c: Likewise.
45687 * elf/tst-auditmod4b.c: Likewise.
45688 * elf/tst-auditmod5b.c: Likewise.
45689 * elf/tst-auditmod6b.c: Likewise.
45690 * elf/tst-auditmod6c.c: Likewise.
45691 * elf/tst-auditmod7b.c: Likewise.
45693 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45694 and x32_gnu_pltexit.
45696 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45697 __ELF_NATIVE_CLASS.
45698 (La_x32_regs): New macro.
45699 (La_x32_retval): Likewise.
45700 (la_x32_gnu_pltenter): New function prototype.
45701 (la_x32_gnu_pltexit): Likewise.
45703 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45705 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45710 * configure.in (libc_cv_cc_nofma): Check for option to disable
45711 generation of FMA instructions.
45712 * configure: Regenerate.
45713 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45714 * sysdeps/ieee754/dbl-64/Makefile: New file.
45715 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45716 Remove brandred-fma4.
45717 (CFLAGS-brandred-fma4.c): Remove.
45718 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45719 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45721 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45724 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45726 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45727 LLONG_MAX != LONG_MAX.
45728 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45729 (_fitoa_word): Likewise.
45730 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45731 LLONG_MAX != LONG_MAX.
45732 * stdio-common/_itowa.h: Include <_itoa.h>.
45733 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45734 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45735 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45736 only if not defined.
45737 (_ITOA_WORD_TYPE): Likewise.
45738 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45739 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45741 2012-03-21 David S. Miller <davem@davemloft.net>
45743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45745 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45747 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45748 of x86_64 when setting libc_cv_slibdir, libdir and
45750 * sysdeps/unix/sysv/linux/configure: Regenerated.
45752 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45754 * manual/lang.texi (Old Varargs): Remove section.
45755 (How Variadic): Update menu.
45756 (va_start): Do not mention varargs.h.
45758 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45759 Joseph Myers <joseph@codesourcery.com>
45761 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45763 * configure: Regenerated.
45765 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45767 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45768 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45771 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45774 * Makefile (files-for-dist): Remove NOTES.
45775 (NOTES): Remove rule.
45776 * README: Don't refer to NOTES.
45777 * manual/creature.texi: Don't include macros.texi.
45778 * manual/intro.texi (creature.texi): Remove comment referring to
45781 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45782 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45783 * configure: Regenerated.
45784 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45785 LIBC_TRY_CC_OPTION.
45786 (libc_cv_as_i686): Likewise.
45787 (libc_cv_cc_avx): Likewise.
45788 (libc_cv_cc_sse2avx): Likewise.
45789 (libc_cv_cc_fma4): Likewise.
45790 (libc_cv_cc_novzeroupper): Likewise.
45791 * sysdeps/i386/configure: Regenerated.
45794 * sysdeps/i386/fpu/s_cexp.S: Remove.
45795 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45796 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45797 * math/libm-test.inc (cexp_test): Add more tests.
45798 * sysdeps/i386/fpu/libm-test-ulps: Update.
45799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45801 2012-03-21 Allan McRae <allan@archlinux.org>
45803 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45805 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45808 * math/w_exp2.c: Do not include <float.h>.
45809 (o_threshold, u_threshold): Remove.
45810 (__exp2): Calculate result before checking finiteness and calling
45812 * math/w_exp2f.c: Likewise.
45813 * math/w_exp2l.c: Likewise.
45814 * math/libm-test.inc (exp2_test): Require overflow exception for
45818 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45819 range of signed 64-bit integers before using fistpll. Remove
45820 checks for whether integers fit in mantissa bits.
45821 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45822 the range of signed 32-bit integers before using fistpl. Remove
45823 checks for whether integers fit in mantissa bits.
45824 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45825 (__ieee754_powl): Test for y outside the range of signed 64-bit
45826 integers before using fistpll. Reduce 64-bit values to 63-bit
45828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45829 divide-by-zero is raised for zero to large negative powers.
45830 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45831 (__ieee754_powl): Test for y outside the range of signed 64-bit
45832 integers before using fistpll. Reduce 64-bit values to 63-bit
45834 * math/libm-test.inc (pow_test): Add more tests.
45836 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45838 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45839 <stdio-common/_itoa.h>.
45840 * debug/segfault.c: Likewise.
45841 * elf/dl-cache.c: Likewise.
45842 * elf/dl-minimal.c: Likewise.
45843 * elf/dl-misc.c: Likewise.
45844 * elf/dl-sysdep.c: Likewise.
45845 * elf/dl-version.c: Likewise.
45846 * elf/rtld.c: Likewise.
45847 * hurd/hurdsock.c: Likewise.
45848 * hurd/lookup-retry.c: Likewise.
45849 * malloc/malloc.c: Likewise.
45850 * malloc/mtrace.c: Likewise.
45851 * nscd/nscd_getgr_r.c: Likewise.
45852 * nscd/nscd_getpw_r.c: Likewise.
45853 * nscd/nscd_getserv_r.c: Likewise.
45854 * posix/getopt_init.c: Likewise.
45855 * posix/wordexp.c: Likewise.
45856 * stdio-common/_itoa.c: Likewise.
45857 * stdio-common/printf_fphex.c: Likewise.
45858 * stdio-common/vfprintf.c: Likewise.
45859 * string/_strerror.c: Likewise.
45860 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45861 * sysdeps/i386/i686/hp-timing.h: Likewise.
45862 * sysdeps/mach/_strerror.c: Likewise.
45863 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45864 * sysdeps/mach/hurd/sethostid.c: Likewise.
45865 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45866 * sysdeps/mach/xpg-strerror.c: Likewise.
45867 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45868 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45869 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45870 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45871 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45872 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45873 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45874 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45875 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45876 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45877 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45878 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45879 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45880 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45881 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45882 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45883 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45884 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45885 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45886 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45887 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45889 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45891 * stdio-common/_itoa.h: Moved to ...
45892 * sysdeps/generic/_itoa.h: Here.
45894 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45896 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45897 instead of "_itoa.h" and "_itowa.h".
45898 * stdio-common/vfprintf.: Likewise.
45900 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45902 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45904 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45905 (__signbit): Likwise.
45906 (llrintf): Likwise.
45909 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45911 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45914 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45916 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45917 OVERFLOW_EXCEPTION_OK.
45918 * math/libm-test.inc ("Philosophy"): Update comment about
45920 (OVERFLOW_EXCEPTION): Define.
45921 (OVERFLOW_EXCEPTION_OK): Likewise.
45922 (INVALID_EXCEPTION_OK): Renumber.
45923 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45924 (IGNORE_ZERO_INF_SIGN): Likewise.
45925 (test_exceptions): Handle FE_OVERFLOW.
45926 (exp10_test): Expect overflow exceptions.
45927 (exp2_test): Likewise.
45928 (expm1_test): Likewise.
45929 (nextafter_test): Likewise.
45930 (pow_test): Likewise.
45931 (scalbn_test): Likewise.
45932 (scalbln_test): Likewise.
45934 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45936 * sysdeps/x86_64/bits/atomic.h
45937 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45939 (atomic_exchange_acq): Likewise.
45940 (__arch_exchange_and_add_body): Likewise.
45941 (__arch_add_body): Likewise.
45942 (atomic_add_negative): Likewise.
45943 (atomic_add_zero): Likewise.
45945 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45947 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45948 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45950 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45952 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45953 Check __x86_64__ instead of __WORDSIZE.
45955 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45957 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45959 2012-03-19 David S. Miller <davem@davemloft.net>
45961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45963 * sysdeps/sparc/fpu/fenv_private.h: New file.
45964 * sysdeps/sparc/fpu/math_private.h: Use it.
45965 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45967 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45968 (libc_feholdexcept_setroundl): Remove.
45969 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45971 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45972 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45974 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45976 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45977 int64_t instead of long int.
45978 (INSERT_WORDS64): Likwise.
45980 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45982 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45983 _Unwind_GetCFA return to _Unwind_Ptr first.
45985 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45988 * math/s_clog.c: Include <float.h>.
45989 (__clog): Scale large or subnormal inputs.
45990 * math/s_clogf.c: Likewise.
45991 * math/s_clogl.c: Likewise.
45992 * math/s_clog10.c: Include <float.h>.
45993 (M_LOG10_2): Define.
45994 (__clog10): Scale large or subnormal inputs.
45995 * math/s_clog10f.c: Likewise.
45996 * math/s_clog10l.c: Likewise.
45997 * math/libm-test.inc (clog_test): Add more tests.
45998 (clog10_test): Likewise.
45999 * sysdeps/i386/fpu/libm-test-ulps: Update.
46000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46003 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46005 * math/libm-test.inc (atan2_test): Add another test.
46007 * Makerules (common-objdir-compile): Remove.
46008 * sysdeps/unix/Makefile (config-generated): Do not add
46009 $(unix-generated) to variable.
46010 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46011 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46013 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46015 [generic bits/local_lim.h] (before-compile): Do not append to
46017 [generic bits/local_lim.h] (common-generated): Likewise.
46018 [generic sys/param.h] (before-compile): Do not append to variable.
46019 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46020 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46021 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46022 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46024 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46025 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46026 [generic sys/param.h] ($(addprefix
46027 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46028 [generic sys/param.h] (common-generated): Do not append to
46030 [generic sys/param.h] (sysdep_headers): Likewise.
46031 [generic bits/errno.h] (before-compile): Do not append to
46033 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46035 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46036 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46037 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46038 [generic bits/errno.h] (common-generated): Do not append to
46040 [generic bits/ioctls.h] (before-compile): Do not append to
46042 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46044 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46045 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46046 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46048 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46049 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46050 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46051 [generic bits/ioctls.h] (common-generated): Do not append to
46053 [generic sys/syscall.h] (syscall.h): Remove variable.
46054 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46056 [generic sys/syscall.h] (before-compile): Do not append to
46058 [generic sys/syscall.h] (common-generated): Likewise.
46059 * sysdeps/unix/errnos-tmpl.c: Remove file.
46060 * sysdeps/unix/errnos.awk: Likewise.
46061 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46062 * sysdeps/unix/ioctls.awk: Likewise.
46063 * sysdeps/unix/mk-local_lim.c: Likewise.
46064 * sysdeps/unix/snarf-ioctls: Likewise.
46066 2012-03-19 Richard Henderson <rth@twiddle.net>
46068 * sysdeps/i386/fpu/fenv_private.h: New file.
46069 * sysdeps/i386/fpu/math_private.h: Use it.
46070 (math_opt_barrier, math_force_eval): Remove.
46071 (libc_feholdexcept_setround_53bit): Remove.
46072 (libc_feupdateenv_53bit): Remove.
46073 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46074 (math_opt_barrier, math_force_eval): Remove.
46075 (libc_feholdexcept): Remove.
46076 (libc_feholdexcept_setround): Remove.
46077 (libc_fetestexcept, libc_fesetenv): Remove.
46078 (libc_feupdateenv_test): Remove.
46079 (libc_feupdateenv, libc_feholdsetround): Remove.
46080 (libc_feresetround): Remove.
46082 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46083 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46085 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46086 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46087 (libc_feupdateenv_testl): New.
46088 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46089 (libc_feupdateenv_testf): New.
46090 (libc_feupdateenv): Use libc_feupdateenv_test.
46091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46094 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46095 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46096 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46097 (libc_feresetround_noex): New.
46098 (libc_feresetround_noexf): New.
46099 (libc_feresetround_noexl): New.
46100 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46101 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46102 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46103 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46105 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46108 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46109 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46110 SET_RESTORE_ROUND_NOEX.
46111 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46112 SET_RESTORE_ROUND_NOEXF.
46113 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46114 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46115 (libc_feholdsetroundf): New.
46116 (libc_feresetround, libc_feresetroundf): New.
46118 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46119 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46120 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46122 * sysdeps/generic/math_private.h: Include <fenv.h>.
46123 (default_libc_feholdexcept): New.
46124 (default_libc_feholdexcept_setround): New.
46125 (default_libc_fesetenv, default_libc_feupdateenv): New.
46126 (libc_feholdexcept): Only define if undefined.
46127 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46128 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46129 (libc_feholdexcept_setroundl): Likewise.
46130 (libc_feholdexcept_setround_53bit): Likewise.
46131 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46132 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46133 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46134 (libc_feupdateenv_53bit): Likewise.
46135 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46136 (libc_feholdexcept): Convert from macro to inline function.
46137 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46138 (libc_fesetenv, libc_feupdateenv): Likewise.
46140 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46141 not previously defined.
46142 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46143 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46144 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46145 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46146 * sysdeps/ieee754/flt-32/math_private.h: New file.
46147 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46148 math_private.h below SET_FLOAT_WORD.
46149 (__isnan, __isinf_ns, __finite): Remove.
46150 (__isnanf, __isinf_nsf, __finitef): Remove.
46152 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46156 2012-03-17 David S. Miller <davem@davemloft.net>
46159 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46162 2012-03-16 David S. Miller <davem@davemloft.net>
46164 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46168 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46170 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46171 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46172 sysdep_routines when subdir is sysvipc.
46173 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46174 __getshmlba helper.
46176 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46178 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46180 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46183 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46185 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46186 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46187 (__lround): Renamed to ...
46188 (__llround): This. Replace long int with long long int.
46189 Define lround functions as aliases of llround functions.
46190 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46192 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46194 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46195 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46196 adresses to uintptr_t. Replace "long int" and "unsigned long
46197 int" with "greg_t" on va_arg.
46199 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46201 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46202 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46204 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46205 Move e_machine check before EI_CLASS check. Handle x32
46206 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46207 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46208 SKIP_EM_IA_64 and include
46209 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46211 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46212 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46213 (add_system_dir): New macro.
46215 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46216 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46218 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46229 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46231 * math/w_j0f.c (j0f): Likewise.
46233 * math/w_j0l.c (__j0l): Likewise.
46235 * math/w_j1.c (j1): Likewise.
46237 * math/w_j1f.c (j1f): Likewise.
46239 * math/w_j1l.c (__j1l): Likewise.
46241 * math/w_jn.c (jn): Likewise.
46243 * math/w_jnf.c (jnf): Likewise.
46245 * math/w_jnl.c (__jnl): Likewise.
46247 * math/libm-test.inc (j0_test): Add more tests.
46248 (j1_test): Likewise.
46249 (jn_test): Likewise. Add trailing semicolon to existing test.
46250 (y0_test): Likewise.
46251 (y1_test): Likewise.
46252 * sysdeps/i386/fpu/libm-test-ulps: Update.
46253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46257 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46258 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46259 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46261 (__tanl): Set errno for infinite argument.
46262 * sysdeps/i386/fpu/mptan.c: Remove.
46263 * sysdeps/i386/fpu/s_tan.S: Likewise.
46264 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46265 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46266 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46267 * math/libm-test.inc (tan_test): Add more tests and enable more
46268 tests for double and long double.
46269 * sysdeps/i386/fpu/libm-test-ulps: Update.
46270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46272 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46274 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46275 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46277 2012-03-16 Roland McGrath <roland@hack.frob.com>
46279 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46280 * configure.in: Use it for both main tree and add-ons.
46281 * configure: Regenerated.
46283 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46285 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46287 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46289 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46293 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46294 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46295 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46296 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46297 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46299 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46300 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46301 != 0 for prec == 2.
46302 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46303 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46304 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46305 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46306 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46307 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46308 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46309 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46310 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46311 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46312 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46313 * math/libm-test.inc (cos_test): Add more tests and enable more
46314 tests for long double.
46315 (sin_test): Likewise.
46316 (sincos_test): Likewise.
46317 * sysdeps/i386/fpu/libm-test-ulps: Update.
46318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46320 2012-03-16 David S. Miller <davem@davemloft.net>
46322 * sysdeps/sparc/fpu/math_private.h: New file.
46324 2012-03-15 David S. Miller <davem@davemloft.net>
46326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46340 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46341 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46343 * sysdeps/sparc/sparc-ifunc.h: New file.
46344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46382 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46389 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46391 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46395 2012-03-15 Andreas Jaeger <aj@suse.de>
46398 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46399 ieee754/flt-32 implementation for sin, cos and sincos.
46400 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46401 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46402 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46403 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46404 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46405 ieee754/flt-32 implementation for tan.
46407 * math/libm-test.inc (cos_test): Enable some large input tests for
46409 (sin_test): Likewise.
46410 (sincos_test): Likewise.
46411 (tan_test): Add tests for large input.
46413 * sysdeps/i386/fpu/libm-test-ulps: Update.
46415 2012-03-15 Andreas Jaeger <aj@suse.de>
46418 * math/libm-test.inc (cos_test): Add more test cases.
46419 (sin_test): Likewise.
46420 (sincos_test): Likewise.
46422 2012-03-15 Andreas Jaeger <aj@suse.de>
46425 * math/libm-test.inc (cos_test): Add a test case for large input
46427 (sin_test): Likewise.
46428 (sincos_test): Likewise.
46430 2012-03-15 Andreas Jaeger <aj@suse.de>
46431 Joseph Myers <joseph@codesourcery.com>
46434 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46435 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46436 * sysdeps/i386/fpu/branred.c: Likewise.
46437 * sysdeps/i386/fpu/dosincos.c: Likewise.
46438 * sysdeps/i386/fpu/mpa.c: Likewise.
46439 * sysdeps/i386/fpu/s_cos.S: Likewise.
46440 * sysdeps/i386/fpu/s_sin.S: Likewise.
46441 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46442 * sysdeps/i386/fpu/sincos32.c: Likewise.
46444 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46446 (libc_feupdateenv_53bit): Define.
46447 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46449 (libc_feupdateenv_53bit): Define.
46451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46452 53 bit (without extend i386 double precision).
46454 * math/libm-test.inc (sincos_test): Add tests for large input.
46458 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46460 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46464 2012-03-15 David S. Miller <davem@davemloft.net>
46466 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46467 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46468 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46469 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46493 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46494 fmin/fmax sysdep routines.
46495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46497 2012-03-14 David S. Miller <davem@davemloft.net>
46499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46503 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46504 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46505 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46506 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46525 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46526 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46571 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46576 * sysdeps/sparc/configure.in: New file.
46577 * sysdeps/sparc/configure: Generate.
46578 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46579 * configure: Regenerate.
46580 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46581 * config.make.in (have-as-vis3): New.
46582 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46583 available use -Av9d instead of -Av9a.
46584 * sysdeps/sparc/sparc64/Makefile: Likewise.
46585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46600 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46601 fzeros/fnegs to load 0x80000000 into a float register instead of
46603 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46605 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46609 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46610 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46611 ($(inst_includedir)/bits/syscall.h): Remove rule.
46612 ($(objpfx)bits/syscall.d): Include instead of
46613 $(objpfx)syscall-list.d.
46614 (generated): Change syscall-list.h and syscall-list.d to
46615 bits/syscall.h and bits/syscall.d.
46617 2012-03-14 Roland McGrath <roland@hack.frob.com>
46620 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46622 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46625 * math/s_csqrt.c: Include <float.h>.
46626 (__csqrt): Scale large or subnormal inputs.
46627 * math/s_csqrtf.c: Likewise.
46628 * math/s_csqrtl.c: Likewise.
46629 * math/libm-test.inc (csqrt_test): Add more tests.
46630 * sysdeps/i386/fpu/libm-test-ulps: Update.
46631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46634 * math/libm-test.inc (hypot_test): Add more tests.
46636 2012-03-13 David S. Miller <davem@davemloft.net>
46639 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46640 double-precision for the calculation instead of scaling.
46642 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46644 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46645 manipulate bits before adding and subtracting TWO52[sx].
46646 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46647 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46649 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46651 2012-03-13 David S. Miller <davem@davemloft.net>
46653 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46654 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46656 rtld-global-offsets.h
46657 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46659 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46662 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46664 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46665 'err' in the ifdef scope in which it is actually used.
46667 * nss/nss_db/db-init.c: Include string.h
46669 2012-03-12 David S. Miller <davem@davemloft.net>
46671 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46672 masking out of the most significant byte of random value used.
46673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46674 Fix coding style in previous change.
46676 * sysdeps/unix/sysv/linux/kernel-features.h
46677 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46678 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46680 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46683 2012-03-11 David S. Miller <davem@davemloft.net>
46685 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46686 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46687 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46688 for 'resultvar' otherwise things get truncated on 64-bit.
46690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46691 Fix masking out of the most significant byte of random value used.
46693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46695 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46699 2012-03-09 David S. Miller <davem@davemloft.net>
46701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46702 variables with appropriate CPP guards.
46703 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46704 from the frame pointer, not the stack pointer. Correct layout
46705 comments. Fix test on resulting framesize and the management of
46706 the outregs buffer for pltexit. Preserve floating point return
46707 values across _dl_call_pltexit call.
46708 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46709 framesize and the management of the outregs buffer for pltexit.
46710 Preserve floating point return values across _dl_call_pltexit
46712 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46713 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46714 (la_sparc64_gnu_pltexit): New functions.
46715 (print_exit): Fix format string for return register value.
46717 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46719 * sunrpc/Makefile (others): Add rpcgen.
46720 ($(objpfx)rpcgen): Remove special build rule and dependency on
46722 * sunrpc/rpcgen.c: New file.
46724 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46727 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46728 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46729 * sysdeps/i386/crti.S: Likewise.
46730 * sysdeps/i386/crtn.S: Likewise.
46731 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46732 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46733 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46734 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46735 * sysdeps/sh/crti.S: Likewise.
46736 * sysdeps/sh/crtn.S: Likewise.
46737 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46740 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46742 * locale/programs/locfile-kw.gperf: Likewise.
46743 * locale/programs/charmap-kw.h: Regenerated.
46744 * locale/programs/locfile-kw.h: Likewise.
46747 * intl/plural.y: Replace FSF snail mail address with URL.
46748 * intl/plural.c: Regenerated.
46750 2012-03-09 Richard Henderson <rth@twiddle.net>
46752 * include/math_private.h: Remove file.
46753 * math/math_private.h: Move file ...
46754 * sysdeps/generic/math_private.h: ... here.
46756 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46757 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46758 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46760 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46761 and <math_private.h>.
46762 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46763 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46764 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46765 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46766 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46767 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46768 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46770 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46771 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46773 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46774 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46775 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46779 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46780 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46781 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46783 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46784 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46786 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46787 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46788 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46789 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46791 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46792 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46794 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46795 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46796 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46797 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46798 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46799 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46800 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46802 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46803 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46804 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46805 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46806 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46807 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46808 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46810 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46820 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46821 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46823 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46825 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46826 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46827 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46828 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46829 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46830 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46831 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46833 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46834 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46836 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46839 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46840 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46841 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46842 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46843 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46844 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46849 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46850 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46851 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46852 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46853 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46854 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46855 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46856 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46857 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46858 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46859 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46860 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46861 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46862 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46863 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46864 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46865 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46866 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46867 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46868 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46869 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46870 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46871 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46872 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46873 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46874 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46875 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46876 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46877 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46878 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46879 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46881 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46882 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46883 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46884 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46885 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46886 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46887 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46888 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46889 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46890 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46891 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46892 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46893 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46894 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46895 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46896 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46897 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46898 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46899 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46900 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46901 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46902 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46904 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46905 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46906 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46907 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46908 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46909 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46910 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46911 * sysdeps/ieee754/k_standard.c: Likewise.
46912 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46913 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46914 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46915 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46916 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46917 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46918 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46919 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46920 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46921 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46922 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46924 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46925 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46926 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46927 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46928 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46929 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46931 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46932 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46933 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46934 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46935 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46936 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46937 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46938 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46939 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46940 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46941 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46942 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46943 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46944 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46945 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46946 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46947 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46948 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46949 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46950 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46951 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46952 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46953 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46954 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46955 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46956 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46957 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46958 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46959 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46960 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46961 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46962 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46963 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46964 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46965 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46966 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46967 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46968 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46969 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46970 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46971 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46972 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46973 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46974 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46978 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46979 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46985 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46988 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46989 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46991 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46992 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46993 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46994 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46995 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46996 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46997 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46998 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46999 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47000 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47001 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47002 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47003 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47004 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47005 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47006 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47007 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47008 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47009 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47010 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47011 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47013 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47014 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47016 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47017 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47018 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47019 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47020 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47021 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47022 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47023 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47024 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47025 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47026 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47027 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47028 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47029 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47030 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47031 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47033 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47034 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47035 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47036 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47037 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47038 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47039 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47040 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47041 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47042 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47043 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47044 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47045 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47046 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47048 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47049 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47050 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47051 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47052 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47054 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47055 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47056 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47057 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47058 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47059 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47060 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47061 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47062 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47064 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47065 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47066 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47067 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47068 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47069 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47070 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47071 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47072 * sysdeps/ieee754/s_lib_version.c: Likewise.
47073 * sysdeps/ieee754/s_matherr.c: Likewise.
47074 * sysdeps/ieee754/s_signgam.c: Likewise.
47075 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47076 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47078 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47079 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47080 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47081 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47082 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47083 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47084 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47085 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47086 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47087 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47088 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47089 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47090 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47092 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47093 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47094 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47097 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47099 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47100 * sunrpc/rpc_main.c: Likewise.
47101 * sunrpc/rpc_svcout.c: Likewise.
47103 2012-03-09 David S. Miller <davem@davemloft.net>
47105 * include/math_private.h: New file.
47107 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47109 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47110 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47111 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47112 from <bits/socket_type.h>.
47113 (enum __socket_type): Don't define here.
47114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47116 bits/socket_type.h.
47119 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47120 checking __USE_GNU.
47122 * Makerules ($(inst_includedir)/%.h): New rule.
47123 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47124 (install-others): Remove variable setting.
47125 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47127 2012-03-08 Richard Henderson <rth@twiddle.net>
47129 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47130 from macro to inline function; merge with the
47131 !__LIBC_INTERNAL_MATH_INLINES version.
47132 (__ieee754_sqrtf): Likewise.
47134 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47135 to inline function.
47136 (__rintf, __floor, __floorf): Likewise.
47138 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47139 macro to inline function.
47140 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47143 not <math/math_private.h>.
47145 2012-03-08 David S. Miller <davem@davemloft.net>
47147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47149 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47151 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47153 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47155 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47156 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47158 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47160 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47161 be defined individually, they must be defined as a block. Define
47162 S for printing a string instead of hidint the different by using a
47163 macro for adding the 'l'.
47164 * stdio-common/tst-fphex-wide.c: Adjust.
47166 2012-03-07 Marek Polacek <polacek@redhat.com>
47168 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47170 2012-03-08 Marek Polacek <polacek@redhat.com>
47173 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47174 * stdio-common/tst-fphex.c: Define a few macros to make the
47175 test reusable. Use them.
47176 * stdio-common/tst-fphex-wide.c: New file.
47178 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47181 * manual/macros.texi (gnusystems): New macro.
47182 (nongnusystems): Likewise.
47183 (gnulinuxhurdsystems): Likewise.
47184 (gnuhurdsystems): Likewise..
47185 (gnulinuxsystems): Likewise.
47186 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47187 variants of the GNU system, not "GNU system".
47188 * manual/conf.texi: Likewise.
47189 * manual/errno.texi: Likewise. Update example of errno macro
47191 * manual/filesys.texi: Likewise.
47192 (getumask): Document as specific to GNU/Hurd.
47193 * manual/install.texi: Likewise. Reword some references to
47195 * manual/intro.texi: Likewise.
47196 * manual/io.texi: Likewise.
47197 (File Name Portability): Detail which constraints are inapplicable
47198 to all GNU systems and which are only inapplicable to GNU/Hurd.
47199 * manual/job.texi: Likewise.
47200 * manual/llio.texi: Likewise.
47201 (O_NOCTTY): Document as present on GNU/Linux.
47202 * manual/maint.texi: Likewise.
47203 * manual/memory.texi: Likewise.
47204 * manual/pattern.texi: Likewise.
47205 * manual/pipe.texi: Likewise.
47206 * manual/process.texi: Likewise.
47207 * manual/resource.texi: Likewise.
47208 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47210 * manual/setjmp.texi: Likewise.
47211 * manual/signal.texi: Likewise.
47212 * manual/startup.texi: Likewise.
47213 * manual/stdio.texi: Likewise.
47214 * manual/terminal.texi: Likewise.
47215 (ONLCR): Document as POSIX.
47216 (OXTABS): Document availability on GNU/Linux as XTABS.
47217 (ONOEOT): Document availability separately from other bits.
47218 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47219 * manual/time.texi: Likewise.
47220 * manual/users.texi: Likewise.
47221 * INSTALL: Regenerated.
47222 * sysdeps/gnu/errlist.c: Regenerated.
47224 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47225 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47226 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47228 * configure: Regenerated.
47230 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47232 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47233 default includes instead of AC_HEADER_CHECK.
47234 * sysdeps/i386/configure: Regenerated.
47237 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47238 * math/s_cacoshf.c (__cacoshf): Likewise.
47239 * math/s_cacoshl.c (__cacoshl): Likewise.
47240 * math/s_casinh.c (__casinh): Set signs of result from argument.
47241 * math/s_casinhf.c (__casinhf): Likewise.
47242 * math/s_casinhl.c (__casinhl): Likewise.
47243 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47244 (casinh_test): Add more tests.
47245 * sysdeps/i386/fpu/libm-test-ulps: Update.
47246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47248 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47250 * po/zh_TW.po: Update from translation team.
47252 * login/Makefile (distribute): Remove variable.
47253 * catgets/Makefile: Likewise.
47254 * mach/Makefile: Likewise.
47255 * malloc/Makefile: Likewise.
47256 * misc/Makefile: Likewise.
47257 * iconv/Makefile: Likewise.
47258 * nscd/Makefile: Likewise.
47259 * hurd/Makefile: Likewise.
47260 * manual/Makefile: Likewise.
47261 * locale/Makefile: Likewise.
47262 * intl/Makefile: Likewise.
47263 * conform/Makefile: Likewise.
47264 * nss/Makefile: Likewise.
47265 * time/Makefile: Likewise.
47266 * soft-fp/Makefile: Likewise.
47267 * dirent/Makefile: Likewise.
47268 * gmon/Makefile: Likewise.
47269 * po/Makefile: Likewise.
47270 * rt/Makefile: Likewise.
47271 * socket/Makefile: Likewise.
47272 * math/Makefile: Likewise.
47273 * signal/Makefile: Likewise.
47274 * debug/Makefile: Likewise.
47275 * elf/Makefile: Likewise.
47276 * timezone/Makefile: Likewise.
47277 * stdlib/Makefile: Likewise.
47278 * iconvdata/Makefile: Likewise.
47279 * sunrpc/Makefile: Likewise.
47280 * io/Makefile: Likewise.
47281 * argp/Makefile: Likewise.
47282 * inet/Makefile: Likewise.
47283 * hesiod/Makefile: Likewise.
47284 * grp/Makefile: Likewise.
47285 * csu/Makefile: Likewise.
47286 * wctype/Makefile: Likewise.
47287 * crypt/Makefile: Likewise.
47288 * libio/Makefile: Likewise.
47289 * string/Makefile: Likewise.
47290 * nis/Makefile: Likewise.
47291 * resolv/Makefile: Likewise.
47292 * stdio-common/Makefile: Likewise.
47293 * wcsmbs/Makefile: Likewise.
47294 * dlfcn/Makefile: Likewise.
47295 * posix/Makefile: Likewise.
47298 * timezone/Makefile: Don't install timezone files, just the programs
47301 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47303 * nss/databases.def: Add missing gshadow entry.
47305 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47307 2012-03-06 Marek Polacek <polacek@redhat.com>
47310 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47311 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47312 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47313 * stdio-common/tst-long-dbl-fphex.c: New file.
47315 2012-03-06 David S. Miller <davem@davemloft.net>
47317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47318 (set_obp_int): New function.
47319 (get_obp_int): New function.
47320 (__get_clockfreq_via_dev_openprom): Likewise.
47321 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47322 Avoid unused variable warnings on 'val' and use builtin_expect.
47323 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47325 (INLINE_CLONE_SYSCALL): Likewise.
47327 2012-03-05 David S. Miller <davem@davemloft.net>
47329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47331 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47335 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47336 only for |x| >= 40.
47337 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47339 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47342 Replace gettimeofday with __vdso_gettimeofday.
47344 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47345 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47346 __vdso_clock_gettime and __vdso_getcpu.
47348 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47349 time with __vdso_time.
47351 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47353 * manual/lang.texi (size_t): Note types to which size_t may be
47354 equivalent with the GNU C Library, but do not describe when
47355 differences between them are significant.
47357 2012-03-05 Andreas Jaeger <aj@suse.de>
47359 * sysdeps/i386/fpu/libm-test-ulps: Update.
47361 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47364 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47365 (__ieee754_pow): Save and restore rounding mode and use
47366 round-to-nearest for main computations.
47367 * math/libm-test.inc (pow_test_tonearest): New function.
47368 (pow_test_towardzero): Likewise.
47369 (pow_test_downward): Likewise.
47370 (pow_test_upward): Likewise.
47371 (main): Call the new functions.
47372 * sysdeps/i386/fpu/libm-test-ulps: Update.
47373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47376 * math/libm-test.inc (cosh_test_tonearest): New function.
47377 (cosh_test_towardzero): Likewise.
47378 (cosh_test_downward): Likewise.
47379 (cosh_test_upward): Likewise.
47380 (sinh_test_tonearest): Likewise.
47381 (sinh_test_towardzero): Likewise.
47382 (sinh_test_downward): Likewise.
47383 (sinh_test_upward): Likewise.
47384 (main): Call the new functions.
47385 * sysdeps/i386/fpu/libm-test-ulps: Update.
47386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47388 2012-03-05 Tom de Vries <tom@codesourcery.com>
47390 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47391 default stack guard is set in last bytes.
47392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47394 2012-03-05 Kees Cook <keescook@chromium.org>
47396 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47399 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47400 possibly allocate from heap instead of stack.
47401 * stdio-common/bug-vfprintf-nargs.c: New file.
47402 * stdio-common/Makefile (tests): Add nargs overflow test.
47404 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47408 2012-03-03 Marek Polacek <polacek@redhat.com>
47410 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47411 * math/math_private.h: Likewise.
47412 * stdlib/tst-strtod.c: Likewise.
47413 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47414 * sysdeps/x86_64/bits/atomic.h: Likewise.
47416 2012-03-02 David S. Miller <davem@davemloft.net>
47418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47422 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47423 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47424 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47425 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47427 2012-03-02 Roland McGrath <roland@hack.frob.com>
47430 * manual/examples/README: New file, says the example source files
47431 can be used under GPL>=2.
47432 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47433 line containing just "*/".
47434 * manual/examples/add.c: Add copyright header (GPL>=2).
47435 * manual/examples/argp-ex1.c: Likewise.
47436 * manual/examples/argp-ex2.c: Likewise.
47437 * manual/examples/argp-ex3.c: Likewise.
47438 * manual/examples/argp-ex4.c: Likewise.
47439 * manual/examples/atexit.c: Likewise.
47440 * manual/examples/db.c: Likewise.
47441 * manual/examples/dir.c: Likewise.
47442 * manual/examples/dir2.c: Likewise.
47443 * manual/examples/execinfo.c: Likewise.
47444 * manual/examples/filecli.c: Likewise.
47445 * manual/examples/filesrv.c: Likewise.
47446 * manual/examples/fmtmsgexpl.c: Likewise.
47447 * manual/examples/genpass.c: Likewise.
47448 * manual/examples/inetcli.c: Likewise.
47449 * manual/examples/inetsrv.c: Likewise.
47450 * manual/examples/isockad.c: Likewise.
47451 * manual/examples/longopt.c: Likewise.
47452 * manual/examples/memopen.c: Likewise.
47453 * manual/examples/memstrm.c: Likewise.
47454 * manual/examples/mkfsock.c: Likewise.
47455 * manual/examples/mkisock.c: Likewise.
47456 * manual/examples/mygetpass.c: Likewise.
47457 * manual/examples/pipe.c: Likewise.
47458 * manual/examples/popen.c: Likewise.
47459 * manual/examples/rprintf.c: Likewise.
47460 * manual/examples/search.c: Likewise.
47461 * manual/examples/select.c: Likewise.
47462 * manual/examples/setjmp.c: Likewise.
47463 * manual/examples/sigh1.c: Likewise.
47464 * manual/examples/sigusr.c: Likewise.
47465 * manual/examples/stpcpy.c: Likewise.
47466 * manual/examples/strdupa.c: Likewise.
47467 * manual/examples/strftim.c: Likewise.
47468 * manual/examples/strncat.c: Likewise.
47469 * manual/examples/subopt.c: Likewise.
47470 * manual/examples/swapcontext.c: Likewise.
47471 * manual/examples/termios.c: Likewise.
47472 * manual/examples/testopt.c: Likewise.
47473 * manual/examples/testpass.c: Likewise.
47474 * manual/examples/timeval_subtract.c: Likewise.
47477 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47479 * manual/timeval_subtract.c.texi: ... here, new file.
47481 2012-03-02 David S. Miller <davem@davemloft.net>
47483 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47485 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47488 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47489 (__sin): Save and restore rounding mode and use round-to-nearest
47490 for all computations.
47491 (__cos): Save and restore rounding mode and use round-to-nearest
47492 for all computations.
47493 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47495 (tan): Save and restore rounding mode and use round-to-nearest for
47497 * math/libm-test.inc (cos_test_tonearest): New function.
47498 (cos_test_towardzero): Likewise.
47499 (cos_test_downward): Likewise.
47500 (cos_test_upward): Likewise.
47501 (sin_test_tonearest): Likewise.
47502 (sin_test_towardzero): Likewise.
47503 (sin_test_downward): Likewise.
47504 (sin_test_upward): Likewise.
47505 (tan_test_tonearest): Likewise.
47506 (tan_test_towardzero): Likewise.
47507 (tan_test_downward): Likewise.
47508 (tan_test_upward): Likewise.
47509 (main): Call the new functions.
47510 * sysdeps/i386/fpu/libm-test-ulps: Update.
47511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47514 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47515 small n, then large n, before computing and testing k+n.
47516 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47521 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47522 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47525 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47526 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47527 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47528 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47529 * math/libm-test.inc (scalbn_test): Add more tests.
47530 (scalbln_test): Likewise.
47532 * manual/filesys.texi (mode_t): Describe constraints on size and
47533 signedness, not exact equivalence to a particular type.
47535 (ino64_t): Likewise.
47537 (nlink_t): Likewise.
47538 (blkcnt_t): Likewise.
47539 (blkcnt64_t): Likewise.
47540 * manual/llio.texi (off_t): Likewise.
47543 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47544 (__ieee754_exp): Save and restore rounding mode and use
47545 round-to-nearest for all computations.
47546 * math/libm-test.inc (exp_test_tonearest): New function.
47547 (exp_test_towardzero): Likewise.
47548 (exp_test_downward): Likewise.
47549 (exp_test_upward): Likewise.
47550 (main): Call the new functions.
47551 * sysdeps/i386/fpu/libm-test-ulps: Update.
47552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47554 2012-03-01 Chris Demetriou <cgd@google.com>
47556 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47557 have predictable order.
47559 2012-03-01 David S. Miller <davem@davemloft.net>
47561 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47563 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47564 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47565 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47566 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47568 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47569 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47570 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47572 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47573 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47574 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47575 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47576 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47580 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47581 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47582 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47584 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47585 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47586 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47587 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47588 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47589 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47591 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47592 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47593 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47594 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47597 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47598 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47600 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47601 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47602 * sysdeps/sparc/elf/configure: Regenerated.
47604 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47606 * configure.in (AS, LD): Require binutils 2.20 or later.
47607 * configure: Regenerated.
47608 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47609 as required minimum version.
47610 * INSTALL: Regenerated.
47614 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47615 before squaring exponent.
47616 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47617 bottom long double and 27 bits of top long double before squaring
47619 * math/libm-test.inc (erfc_test): Add more tests.
47620 * sysdeps/i386/fpu/libm-test-ulps: Update.
47621 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47624 2012-03-01 Kai Tietz <ktietz@redhat.com>
47626 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47627 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47628 containing bit-fields.
47629 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47630 * soft-fp/single.h (_FP_UNION_S): Likewise.
47631 * soft-fp/double.h (_FP_UNION_D): Likewise.
47633 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47636 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47637 not include ../strcmp.S.
47638 [USE_AS_STRNCASECMP_L]: Likewise.
47639 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47640 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47641 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47642 (__strncasecmp_l_ia32): Define as alias to
47643 __strncasecmp_l_nonascii.
47646 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47647 * sysdeps/i386/fpu/libm-test-ulps: Update.
47648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47650 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47653 2012-02-29 Jeff Law <law@redhat.com>
47655 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47656 out of bounds read.
47658 2012-02-29 Marek Polacek <polacek@redhat.com>
47661 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47662 * elf/Makefile: Add rules to run tst-unused-dep.out.
47664 2012-02-28 David S. Miller <davem@davemloft.net>
47666 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47667 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47668 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47669 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47670 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47671 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47673 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47675 * math/libm-test.inc (llround_test): Move one test from
47676 lround_test. Use TEST_f_L in moved test.
47677 (lround_test): Move misplaced test to llround_test. Add testcase
47680 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47682 * sysdeps/x86_64/fpu/e_expf.S: New file.
47683 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47685 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47688 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47689 of remain_len that may cause incomplete multi-byte character and
47691 * posix/bug-regex33.c: New file.
47692 * posix/Makefile (tests): Add bug-regex33.
47694 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47696 * manual/macros.texi: New file.
47697 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47698 * manual/libc.texinfo: Include macros.texi.
47699 * manual/creatute.texi: Likewise.
47700 * manual/install.texi: Likewise.
47701 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47702 @glibcadj{} in references to the GNU C Library.
47703 * manual/charset.texi: Likewise.
47704 * manual/conf.texi: Likewise.
47705 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47706 when not using those macros.
47707 * manual/creature.texi: Likewise.
47708 * manual/crypt.texi: Likewise.
47709 * manual/errno.texi: Likewise.
47710 * manual/filesys.texi: Likewise.
47711 * manual/header.texi: Likewise.
47712 * manual/install.texi: Likewise.
47713 * manual/intro.texi: Likewise.
47714 * manual/io.texi: Likewise.
47715 * manual/job.texi: Likewise.
47716 * manual/lang.texi: Likewise.
47717 * manual/libc.texiinfo: Likewise.
47718 * manual/llio.texi: Likewise.
47719 * manual/locale.texi: Likewise.
47720 * manual/maint.texi: Likewise.
47721 * manual/math.texi: Likewise.
47722 * manual/memory.texi: Likewise.
47723 * manual/message.texi: Likewise.
47724 * manual/nss.texi: Likewise.
47725 * manual/pattern.texi: Likewise.
47726 * manual/process.texi: Likewise.
47727 * manual/resource.texi: Likewise.
47728 * manual/search.texi: Likewise.
47729 * manual/setjmp.texi: Likewise.
47730 * manual/signal.texi: Likewise.
47731 * manual/socket.texi: Likewise.
47732 * manual/startup.texi: Likewise.
47733 * manual/stdio.texi: Likewise.
47734 * manual/string.texi: Likewise.
47735 * manual/sysinfo.texi: Likewise.
47736 * manual/syslog.texi: Likewise.
47737 * manual/terminal.texi: Likewise.
47738 * manual/time.texi: Likewise.
47739 * manual/users.texi: Likewise.
47740 * INSTALL: Regenerated.
47741 * NOTES: Regenerated.
47742 * sysdeps/gnu/errlist.c: Regenerated.
47744 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47746 * include/dirent.h: Include <dirstream.h> before
47749 2012-02-28 David S. Miller <davem@davemloft.net>
47751 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47752 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47753 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47754 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47756 2012-02-27 David S. Miller <davem@davemloft.net>
47758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47760 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47761 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47764 frame pointer instead of stack pointer relative arg slot.
47765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47766 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47767 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47769 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47772 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47774 2012-02-27 David S. Miller <davem@davemloft.net>
47776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47780 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47781 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47782 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47783 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47785 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47787 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47788 later. Allow versions 5-9.
47789 * configure: Regenerated.
47790 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47791 required minimum version and 4.6 as recommended version. Do not
47792 mention bugs in GCC 2.7 and 2.8.
47793 * INSTALL: Regenerated.
47795 2012-02-27 David S. Miller <davem@davemloft.net>
47797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47801 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47802 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47803 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47804 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47806 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47807 manipulate bits before adding and subtracting TWO112[sx].
47808 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47810 2012-02-27 Roland McGrath <roland@hack.frob.com>
47813 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47814 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47815 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47816 being in POSIX, because they are in 1003.1-2008.
47818 * rt/tst-aio.c: Include <fcntl.h>.
47819 * rt/tst-aio7.c: Likewise.
47820 * rt/tst-aio64.c: Likewise.
47822 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47824 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47826 * manual/install.texi (--with-headers): Describe headers as
47827 interface headers, not private headers.
47828 (Specific advice for GNU/Linux systems): Describe use of headers
47829 from "make headers_install", not private headers from older
47831 * INSTALL: Regenerated.
47832 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47834 * sysdeps/unix/sysv/linux/configure: Regenerated.
47836 * manual/llio.texi (fclean): Remove documentation.
47838 * manual/Makefile (libc-texi-generated): New variable. Include
47840 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47841 $(libc-texi-generated), not duplicated list of files.
47842 (version.texi, stamp-version): New rules.
47843 (realclean): Remove $(libc-texi-generated), not individual files
47844 from that list. Do not remove dir-add.texinfo.
47845 * manual/libc.texinfo: Comment out uses of edition numbers and
47846 references to printed manual. Remove last-updated dates.
47847 (EDITION): Comment out.
47849 (VERSION, UPDATED): Remove.
47850 (version.texi): Include.
47852 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47854 * sysdeps/posix/spawni.c: Include <signal.h>.
47855 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47856 * sysdeps/pthread/aio_fsync.c: Likewise.
47858 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47860 * conform/Makefile (tests): Run only when not cross-compiling and
47861 when fast-check is not defined.
47863 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47864 * conform/data/limits.h-data: Fixes for POSIX2008.
47865 * conform/run-conformtest.sh: Run all tests.
47866 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47868 * include/bits/dlfcn.h: Likewise.
47869 * include/langinfo.h: Likewise.
47870 * include/monetary.h: Likewise.
47871 * include/sys/poll.h: Likewise.
47873 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47875 * posix/spawn.h: Define __need_sigset_t.
47876 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47877 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47878 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47879 to get sigevent_t only.
47880 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47881 only for __USE_GNU.
47882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47883 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47884 process_vm_writev only for __USE_GNU.
47885 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47887 * conform/Makefile: For now ignore errors from run-conformtest.
47888 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47889 POSIX to avoid namespace pollution. Don't prepend headers.
47890 * conform/data/aio.h-data: Fixes for POSIX testing.
47891 * conform/data/fcntl.h-data: Likewise.
47892 * conform/data/glob.h-data: Likewise.
47893 * conform/data/grp.h-data: Likewise.
47894 * conform/data/pthread.h-data: Likewise.
47895 * conform/data/pwd.h-data: Likewise.
47896 * conform/data/signal.h-data: Likewise.
47897 * conform/data/spawn.h-data: Likewise.
47898 * conform/data/stdio.h-data: Likewise.
47899 * conform/data/stdlib.h-data: Likewise.
47900 * conform/data/stropts.h-data: Likewise.
47901 * conform/data/sys/mman.h-data: Likewise.
47902 * conform/data/sys/stat.h-data: Likewise.
47903 * conform/data/sys/types.h-data: Likewise.
47904 * conform/data/sys/wait.h-data: Likewise.
47905 * conform/data/time.h-data: Likewise.
47906 * conform/data/unistd.h-data: Likewise.
47907 * conform/data/utime.h-data: Likewise.
47909 * io/sys/stat.h: fchmod was always in POSIX.
47910 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47911 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47912 * rt/aio.h: Define __need_timespec before including <time.h>.
47913 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47914 struct. Add forward declaration of pthread_attr_t and use it in
47916 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47917 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47918 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47919 always remove CLK_TCK definition.
47921 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47923 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47925 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47927 * conform/run-conformtest.sh: New file.
47928 * conform/Makefile: Run run-conformtest for tests.
47929 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47932 * conform/data/uchar.h-data: New file.
47933 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47934 * conform/data/arpa/inet.h-data: Likewise.
47935 * conform/data/assert.h-data: Likewise.
47936 * conform/data/complex.h-data: Likewise.
47937 * conform/data/cpio.h-data: Likewise.
47938 * conform/data/ctype.h-data: Likewise.
47939 * conform/data/dirent.h-data: Likewise.
47940 * conform/data/dlfcn.h-data: Likewise.
47941 * conform/data/errno.h-data: Likewise.
47942 * conform/data/fcntl.h-data: Likewise.
47943 * conform/data/float.h-data: Likewise.
47944 * conform/data/fmtmsg.h-data: Likewise.
47945 * conform/data/fnmatch.h-data: Likewise.
47946 * conform/data/ftw.h-data: Likewise.
47947 * conform/data/glob.h-data: Likewise.
47948 * conform/data/grp.h-data: Likewise.
47949 * conform/data/iconv.h-data: Likewise.
47950 * conform/data/inttypes.h-data: Likewise.
47951 * conform/data/langinfo.h-data: Likewise.
47952 * conform/data/libgen.h-data: Likewise.
47953 * conform/data/limits.h-data: Likewise.
47954 * conform/data/locale.h-data: Likewise.
47955 * conform/data/math.h-data: Likewise.
47956 * conform/data/monetary.h-data: Likewise.
47957 * conform/data/mqueue.h-data: Likewise.
47958 * conform/data/ndbm.h-data: Likewise.
47959 * conform/data/net/if.h-data: Likewise.
47960 * conform/data/netdb.h-data: Likewise.
47961 * conform/data/netinet/in.h-data: Likewise.
47962 * conform/data/nl_types.h-data: Likewise.
47963 * conform/data/poll.h-data: Likewise.
47964 * conform/data/pthread.h-data: Likewise.
47965 * conform/data/pwd.h-data: Likewise.
47966 * conform/data/regex.h-data: Likewise.
47967 * conform/data/sched.h-data: Likewise.
47968 * conform/data/search.h-data: Likewise.
47969 * conform/data/semaphore.h-data: Likewise.
47970 * conform/data/setjmp.h-data: Likewise.
47971 * conform/data/signal.h-data: Likewise.
47972 * conform/data/spawn.h-data: Likewise.
47973 * conform/data/stdarg.h-data: Likewise.
47974 * conform/data/stdio.h-data: Likewise.
47975 * conform/data/stdlib.h-data: Likewise.
47976 * conform/data/string.h-data: Likewise.
47977 * conform/data/strings.h-data: Likewise.
47978 * conform/data/stropts.h-data: Likewise.
47979 * conform/data/sys/ipc.h-data: Likewise.
47980 * conform/data/sys/mman.h-data: Likewise.
47981 * conform/data/sys/msg.h-data: Likewise.
47982 * conform/data/sys/resource.h-data: Likewise.
47983 * conform/data/sys/select.h-data: Likewise.
47984 * conform/data/sys/sem.h-data: Likewise.
47985 * conform/data/sys/shm.h-data: Likewise.
47986 * conform/data/sys/socket.h-data: Likewise.
47987 * conform/data/sys/stat.h-data: Likewise.
47988 * conform/data/sys/statvfs.h-data: Likewise.
47989 * conform/data/sys/time.h-data: Likewise.
47990 * conform/data/sys/timeb.h-data: Likewise.
47991 * conform/data/sys/times.h-data: Likewise.
47992 * conform/data/sys/types.h-data: Likewise.
47993 * conform/data/sys/uio.h-data: Likewise.
47994 * conform/data/sys/un.h-data: Likewise.
47995 * conform/data/sys/utsname.h-data: Likewise.
47996 * conform/data/sys/wait.h-data: Likewise.
47997 * conform/data/syslog.h-data: Likewise.
47998 * conform/data/tar.h-data: Likewise.
47999 * conform/data/termios.h-data: Likewise.
48000 * conform/data/utime.h-data: Likewise.
48001 * conform/data/utmpx.h-data: Likewise.
48002 * conform/data/varargs.h-data: Likewise.
48003 * conform/data/wchar.h-data: Likewise.
48004 * conform/data/wctype.h-data: Likewise.
48005 * conform/data/wordexp.h-data: Likewise.
48007 * include/stropts.h: New file.
48008 * include/uchar.h: New file.
48009 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48010 * include/assert.h: Likewise.
48011 * include/ctype.h: Likewise.
48012 * include/dirent.h: Likewise.
48013 * include/dlfcn.h: Likewise.
48014 * include/fcntl.h: Likewise.
48015 * include/fnmatch.h: Likewise.
48016 * include/glob.h: Likewise.
48017 * include/grp.h: Likewise.
48018 * include/libio.h: Likewise.
48019 * include/locale.h: Likewise.
48020 * include/math.h: Likewise.
48021 * include/net/if.h: Likewise.
48022 * include/netdb.h: Likewise.
48023 * include/netinet/in.h: Likewise.
48024 * include/pthread.h: Likewise.
48025 * include/pwd.h: Likewise.
48026 * include/regex.h: Likewise.
48027 * include/sched.h: Likewise.
48028 * include/search.h: Likewise.
48029 * include/setjmp.h: Likewise.
48030 * include/signal.h: Likewise.
48031 * include/stdio.h: Likewise.
48032 * include/stdlib.h: Likewise.
48033 * include/string.h: Likewise.
48034 * include/sys/cdefs.h: Likewise.
48035 * include/sys/mman.h: Likewise.
48036 * include/sys/msg.h: Likewise.
48037 * include/sys/resource.h: Likewise.
48038 * include/sys/select.h: Likewise.
48039 * include/sys/socket.h: Likewise.
48040 * include/sys/stat.h: Likewise.
48041 * include/sys/statvfs.h: Likewise.
48042 * include/sys/time.h: Likewise.
48043 * include/sys/times.h: Likewise.
48044 * include/sys/uio.h: Likewise.
48045 * include/sys/utsname.h: Likewise.
48046 * include/sys/wait.h: Likewise.
48047 * include/termios.h: Likewise.
48048 * include/time.h: Likewise.
48049 * include/ulimit.h: Likewise.
48050 * include/unistd.h: Likewise.
48051 * include/utime.h: Likewise.
48052 * include/wchar.h: Likewise.
48053 * include/wctype.h: Likewise.
48054 * include/wordexp.h: Likewise.
48056 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48058 * time/time.h: TIME_UTC must be a macro.
48059 Make timespec_get available for ISO C11 only as well.
48061 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48063 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48064 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48066 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48068 * configure.in: Use -o not -a in test for unsupported multi-arch.
48070 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48072 * manual/texinfo.tex: Update to version 2012-01-19.16.
48074 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48076 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48078 2012-02-24 Roland McGrath <roland@hack.frob.com>
48081 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48082 * manual/fdl-1.3.texi: New file.
48083 * manual/fdl-1.1.texi: File removed.
48086 * manual/libc.texinfo (FDL_VERSION): New @set.
48087 Use it for mention of FDL in cover text.
48088 (Documentation License): Use it in @include file name.
48090 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48091 Roland McGrath <roland@hack.frob.com>
48094 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48095 (not LONG_LONG_MAX and LONG_LONG_MIN.
48096 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48097 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48099 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48101 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48105 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48106 manipulate bits before adding and subtracting TWO23[sx].
48107 * math/libm-test.inc (nearbyint_test): Add more tests.
48109 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48112 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48113 bits before adding and subtracting TWO23[sx].
48114 * math/libm-test.inc (rint_test): Add more tests.
48115 (rint_test_tonearest): Likewise.
48116 (rint_test_towardzero): Likewise.
48117 (rint_test_downward): Likewise.
48118 (rint_test_upward: Likewise.
48120 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48123 * include/stdc-predef.h: New file. Extracted from features.h.
48124 * include/features.h: Include stdc-predef.h.
48125 * Makefile (headers): Add stdc-predef.h.
48126 * CONFORMANCE (Compiler limitations): Update.
48128 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48130 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48132 2012-02-21 David S. Miller <davem@davemloft.net>
48134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48137 2012-02-20 David S. Miller <davem@davemloft.net>
48139 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48140 using a normal save/restore sequence, rather than allocating a
48141 dummy stack frame just to store a frame pointer and restore.
48142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48144 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48146 * manual/install.texi: Fix stray word in line-wrapped comment.
48148 2012-02-20 David S. Miller <davem@davemloft.net>
48150 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48151 both binutils and gcc support GOTDATA.
48153 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48154 "rd %pc" in the PIC register setup sequences.
48156 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48157 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48158 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48159 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48160 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48162 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48163 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48165 (SYSCALL_ERROR_HANDLER): Likewise.
48166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48169 (SYSCALL_ERROR_HANDLER): Likewise.
48171 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48172 (HAVE_GCC_GOTDATA): New.
48173 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48174 relocation support in both binutils and gcc.
48175 * sysdeps/sparc/elf/configure: Regenerate.
48177 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48178 * sysdeps/sparc/sparc32/elf/configure: Delete.
48179 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48180 * sysdeps/sparc/sparc64/elf/configure: Delete.
48181 * sysdeps/sparc/elf/configure.in: New file.
48182 * sysdeps/sparc/elf/configure: Generate.
48184 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48185 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48186 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48187 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48188 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48190 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48192 * manual/install.texi: Do not mention specific glibc version
48194 * manual/libc.texinfo (VERSION, UPDATED): Update.
48195 (@copying): Use @copyright{} and range of years.
48197 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48200 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48201 [crti.S not in sysdirs] (generated): Do not append.
48202 [crti.S not in sysdirs] (omit-deps): Likewise.
48203 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48204 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48205 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48206 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48207 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48209 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48210 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48211 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48212 * csu/defs.awk: Remove file.
48213 * sysdeps/generic/initfini.c: Likewise.
48214 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48216 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48219 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48221 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48222 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48223 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48224 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48225 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48226 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48228 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48229 (__EPOLL_PACKED): Define to empty if not defined by
48231 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48235 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48237 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48238 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48239 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48240 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48242 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48246 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48248 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48251 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48255 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48260 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48262 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48263 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48265 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48267 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48270 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48272 * math/w_acos.c: Use non-signaling floating-point comparisons.
48273 * math/w_acosf.c: Likewise.
48274 * math/w_acosh.c: Likewise.
48275 * math/w_acoshf.c: Likewise.
48276 * math/w_acoshl.c: Likewise.
48277 * math/w_acosl.c: Likewise.
48278 * math/w_asin.c: Likewise.
48279 * math/w_asinf.c: Likewise.
48280 * math/w_asinl.c: Likewise.
48281 * math/w_atanh.c: Likewise.
48282 * math/w_atanhf.c: Likewise.
48283 * math/w_atanhl.c: Likewise.
48284 * math/w_exp2.c: Likewise.
48285 * math/w_exp2f.c: Likewise.
48286 * math/w_exp2l.c: Likewise.
48287 * math/w_j0.c: Likewise.
48288 * math/w_j0f.c: Likewise.
48289 * math/w_j0l.c: Likewise.
48290 * math/w_j1.c: Likewise.
48291 * math/w_j1f.c: Likewise.
48292 * math/w_j1l.c: Likewise.
48293 * math/w_jn.c: Likewise.
48294 * math/w_jnf.c: Likewise.
48295 * math/w_log.c: Likewise.
48296 * math/w_log10.c: Likewise.
48297 * math/w_log10f.c: Likewise.
48298 * math/w_log10l.c: Likewise.
48299 * math/w_log2.c: Likewise.
48300 * math/w_log2f.c: Likewise.
48301 * math/w_log2l.c: Likewise.
48302 * math/w_logf.c: Likewise.
48303 * math/w_logl.c: Likewise.
48304 * math/w_sqrt.c: Likewise.
48305 * math/w_sqrtf.c: Likewise.
48306 * math/w_sqrtl.c: Likewise.
48307 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48308 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48309 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48310 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48311 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48313 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48316 * manual/string.texi (strnlen): Use correct parameter name in
48317 equivalent expression.
48319 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48322 * manual/users.texi (seteuid): Consistently use neweuid for
48325 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48328 * manual/nss.texi (Services in the NSS configuration): Correct
48329 list of services in example configuration file.
48331 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48334 * manual/arith.texi: Remove statements about negative zero
48335 behaving identically to zero.
48337 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48340 * manual/install.texi: Do not document upgrading from libc5.
48342 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48345 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48347 2012-02-18 David S. Miller <davem@davemloft.net>
48349 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48350 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48351 %o7 across the call.
48352 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48355 SETUP_PIC_REG_LEAF.
48356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48357 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48358 * sysdeps/sparc/crtn.S: Likewise.
48360 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48362 * aout/Makefile: Remove.
48364 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48367 * manual/examples/argp-ex1.c (main): Format definition in GNU
48369 * manual/examples/argp-ex2.c (main): Likewise.
48370 * manual/examples/argp-ex3.c (main): Likewise.
48371 * manual/examples/argp-ex4.c (main): Likewise.
48372 * manual/examples/longopt.c (main): Use new-style prototype
48374 * manual/examples/strncat.c (main): Specify return type and use
48375 (void) for arguments.
48376 * manual/examples/subopt.c (main): Use char **argv argument.
48378 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48381 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48384 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48387 * manual/string.texi (strchr): Change when strchrnul is
48390 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48393 * manual/locale.texi (setlocale): Document LOCPATH.
48395 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48398 * manual/process.texi (execle): Move @dots{} before last argument.
48400 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48403 * manual/charset.texi (Generic Charset Conversion): Fix typo
48404 (LC_TYPE -> LC_CTYPE).
48406 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48409 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48410 (scalbnf): Likewise.
48411 (scalbnl): Likewise.
48412 (scalbln): Likewise.
48413 (scalblnf): Likewise.
48414 (scalblnl): Likewise.
48415 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48416 (vwarnx): Likewise.
48419 * manual/filesys.texi (telldir): Use braces around return type.
48420 * manual/llio.texi (mmap): Add space after comma.
48421 (mmap64): Likewise.
48422 * manual/math.texi (jn): Use @var{} on parameter names.
48428 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48430 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48432 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48433 (sched_get_priority_max): Likewise.
48434 * manual/signal.texi (sigvec): Add space after comma.
48435 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48437 (if_indextoname): Likewise.
48438 (if_freenameindex): Likewise.
48439 (sendto): Use ',' instead of '.' in prototype.
48440 * manual/startup.texi (syscall): Use @dots{} instead of literal
48442 * manual/stdio.texi (__fpending): Separate initial words of
48443 paragraph from @deftypefun line.
48444 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48446 (vsyslog): Use @var{} on parameter names.
48447 * manual/terminal.texi (stty): Use @var{} on parameter names.
48448 * manual/users.texi (getutmp): Use @var{} on parameter names.
48449 (getutmpx): Likewise.
48451 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48454 * manual/stdio.texi (fopen): Fix typos in description of
48457 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48460 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48461 get clock_id definition.
48463 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48466 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48467 (madvise): Cast every argument to void on its own.
48469 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48472 * manual/startup.texi (Exit Status): Fix typo.
48474 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48477 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48478 * manual/examples/argp-ex2.c: Likewise.
48479 * manual/examples/argp-ex3.c: Likewise.
48481 2012-02-16 Richard Henderson <rth@redhat.com>
48483 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48484 * sysdeps/s390/s390-32/initfini.c: Remove.
48485 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48486 * sysdeps/s390/s390-64/initfini.c: Remove.
48488 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48490 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48491 compiler output for sysdeps/generic/initfini.c.
48492 * sysdeps/sh/elf/initfini.c: Remove file.
48494 2012-02-16 David S. Miller <davem@davemloft.net>
48497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48499 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48500 * sysdeps/sparc/crti.S: New file.
48501 * sysdeps/sparc/crtn.S: New file.
48502 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48503 * sysdeps/sparc/sparc64/Makefile: Likewise.
48505 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48508 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48510 2012-02-15 Roland McGrath <roland@hack.frob.com>
48513 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48515 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48516 (write, read, close): Likewise.
48517 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48519 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48521 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48522 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48523 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48524 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48526 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48530 2012-02-14 Marek Polacek <polacek@redhat.com>
48532 * sysdeps/x86_64/crti.S: New file.
48533 * sysdeps/x86_64/crtn.S: New file.
48534 * sysdeps/x86_64/elf/initfini.c: Remove file.
48536 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48538 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48539 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48540 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48541 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48543 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48547 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48549 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48550 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48551 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48552 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48554 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48558 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48560 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48561 __feraiseexcept instead of feraiseexcept.
48563 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48564 nanosleep invocations.
48565 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48566 strings, and add error checking for a nanosleep invocations.
48568 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48570 Replace FSF snail mail address with URLs, as per GNU coding standards.
48571 Most of the snail mail addresses were wrong anyway, and omitting
48572 them makes the source code easier to maintain. Almost all of the
48573 changes are to license notices and to locale LC_IDENTIFICATION
48574 addresses, except for this one:
48575 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48576 not its snail mail address.
48578 2012-02-09 Richard Henderson <rth@twiddle.net>
48580 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48581 of kernel-features.h.
48583 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48585 2012-02-08 Marek Polacek <polacek@redhat.com>
48587 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48588 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48589 * sysdeps/gnu/_G_config.h: Likewise.
48590 * sysdeps/generic/_G_config.h: Likewise.
48592 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48594 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48598 * sysdeps/powerpc/powerpc32/crti.S: New file.
48599 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48600 * sysdeps/powerpc/powerpc64/crti.S: New file.
48601 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48603 * Makeconfig (have-initfini): Don't set.
48604 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48605 * configure.in (nopic_initfini): Don't substitute.
48606 * config.h.in (HAVE_INITFINI): Don't #undef.
48607 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48608 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48610 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48612 Support crti.S and crtn.S provided directly by architectures.
48613 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48614 [crti.S in sysdirs] (omit-deps): Likewise.
48615 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48616 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48617 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48618 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48619 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48620 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48621 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48622 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48623 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48624 compiler output for sysdeps/generic/initfini.c.
48625 * sysdeps/i386/elf/Makefile: Remove file.
48626 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48628 2012-02-07 Marek Polacek <polacek@redhat.com>
48630 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48631 * sysdeps/gnu/_G_config.h: Likewise.
48632 * sysdeps/mach/hurd/_G_config.h: Likewise.
48634 2012-02-07 Marek Polacek <polacek@redhat.com>
48636 * math/Makefile (tests): Add tst-CMPLX2.
48637 * math/tst-CMPLX2.c: New file.
48639 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48641 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48643 * math/libm-test.inc (jn_test): Add missing L suffix.
48645 2012-02-06 Marek Polacek <polacek@redhat.com>
48647 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48648 * sysdeps/i386/fpu/e_powf.S: Likewise.
48649 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48650 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48652 * sysdeps/i386/fpu/e_pow.S: Likewise.
48653 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48655 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48656 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48657 * sysdeps/i386/fpu/e_log2.S: Likewise.
48658 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48659 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48660 * sysdeps/i386/fpu/e_powl.S: Likewise.
48661 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48663 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48664 * sysdeps/i386/fpu/e_logl.S: Likewise.
48665 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48666 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48667 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48668 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48669 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48670 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48671 * sysdeps/i386/fpu/e_log.S: Likewise.
48672 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48673 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48674 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48675 * sysdeps/i386/fpu/e_logf.S: Likewise.
48676 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48677 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48678 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48679 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48680 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48681 * sysdeps/i386/fpu/e_log10.S: Likewise.
48682 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48683 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48684 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48685 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48686 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48687 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48688 * sysdeps/i386/asm-syntax.h: Likewise.
48689 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48691 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48692 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48693 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48694 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48695 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48696 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48697 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48698 * sysdeps/powerpc/sysdep.h: Likewise.
48699 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48700 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48702 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48705 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48707 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48709 * sysdeps/i386/sysdep.h: Include <features.h>.
48710 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48713 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48715 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48717 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48720 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48722 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48723 (SETUP_PIC_REG): Use GET_PC_THUNK.
48724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48727 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48729 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48730 for non-PIC compilation.
48731 (SETUP_PIC_REG): Add .p2align directive.
48732 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48733 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48734 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48735 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48736 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48737 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48738 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48740 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48741 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48742 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48743 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48744 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48745 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48746 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48747 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48748 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48749 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48750 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48751 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48752 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48753 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48754 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48755 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48758 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48759 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48760 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48761 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48762 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48763 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48764 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48765 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48766 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48767 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48768 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48769 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48770 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48771 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48772 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48774 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48776 * math/tst-CMPLX.c: Include <stdio.h>.
48778 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48780 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48782 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48783 * sysdeps/sparc/bits/mathdef.h: Likewise.
48785 2012-01-31 Marek Polacek <polacek@redhat.com>
48787 * libio/libio.h: Don't define _PARAMS.
48788 * locale/programs/config.h: Don't define PARAMS.
48789 * stdlib/strtol_l.c: Likewise.
48790 (__strtol_l): Remove PARAMS from the prototype.
48792 2012-01-31 Ulrich Drepper <drepper@gmail.com>
48794 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48795 names. Just use the correct names. Remove unnecessary wrapper
48797 * malloc/arena.c: Likewise.
48798 * malloc/hooks.c: Likewise.
48800 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48801 ARENA_TEST says not to. Simplify test for creation of a new arena.
48802 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48804 2012-01-30 Ulrich Drepper <drepper@gmail.com>
48806 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48808 (update_get_addr): New function.
48809 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48810 GET_ADDR_MODULE parameter.
48812 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48814 * crypt/cert.c: Remove __STDC__ conditionals.
48815 * crypt/crypt-entry.c: Likewise.
48816 * crypt/crypt_util.c: Likewise.
48817 * libio/filedoalloc.c: Likewise.
48818 * libio/fileops.c: Likewise.
48819 * libio/genops.c: Likewise.
48820 * libio/iofclose.c: Likewise.
48821 * libio/iofdopen.c: Likewise.
48822 * libio/iofopen.c: Likewise.
48823 * libio/iofopen64.c: Likewise.
48824 * libio/iogetdelim.c: Likewise.
48825 * libio/iopopen.c: Likewise.
48826 * libio/obprintf.c: Likewise.
48827 * libio/oldfileops.c: Likewise.
48828 * libio/oldiofclose.c: Likewise.
48829 * libio/oldiofdopen.c: Likewise.
48830 * libio/oldiofopen.c: Likewise.
48831 * libio/oldiopopen.c: Likewise.
48832 * libio/wfiledoalloc.c: Likewise.
48833 * libio/wgenops.c: Likewise.
48834 * locale/programs/xmalloc.c: Likewise.
48835 * misc/syslog.c: Likewise.
48836 * stdio-common/xbug.c: Likewise.
48837 * string/memchr.c: Likewise.
48838 * string/memcmp.c: Likewise.
48839 * string/memrchr.c: Likewise.
48840 * string/rawmemchr.c: Likewise.
48841 * sysdeps/posix/getcwd.c: Likewise.
48842 * time/strftime_l.c: Likewise.
48844 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48846 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48847 * config.make.in (config-cflags-sse2avx): Define.
48848 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48851 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48853 * scripts/config.guess: Update from upstream config git repository.
48854 * scripts/config.sub: Likewise.
48856 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48858 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48860 (R_TILEPRO_*, R_TILEGX_*): New macros.
48862 * scripts/firstversions.awk: Fix bug in version range handling.
48864 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48866 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48868 * include/sys/epoll.h: New file.
48869 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48872 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48874 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48875 Avoid unnecessary __WORDSIZE == 64 test.
48876 (fmaxf): Use VEX format if possible.
48881 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48882 * math/math_private.h: Remove libc_fegetround* and
48884 * sysdeps/i386/configure.in: Check for -msse2avx.
48885 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48886 also if SSE2AVX is defined.
48887 Remove libc_fegetround* and libc_fesetround*.
48888 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48889 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48898 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48900 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48902 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48904 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48906 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48909 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48911 * Makeconfig (libm): Define.
48912 * elf/Makefile: Add rules to build and run tst-relsort1.
48913 * elf/tst-relsort1.c: New file.
48914 * elf/tst-relsort1mod1.c: New file.
48915 * elf/tst-relsort1mod2.c: New file.
48917 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48919 * math/s_ldexp.c: Remove __STDC__ conditionals.
48920 * math/s_ldexpf.c: Likewise.
48921 * math/s_ldexpl.c: Likewise.
48922 * math/s_nextafter.c: Likewise.
48923 * math/s_nexttowardf.c: Likewise.
48924 * math/s_significand.c: Likewise.
48925 * math/s_significandf.c: Likewise.
48926 * math/s_significandl.c: Likewise.
48927 * math/w_jnl.c: Likewise.
48928 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48929 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48930 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48931 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48932 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48933 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48934 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48935 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48936 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48937 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48938 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48939 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48940 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48941 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48942 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48943 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48944 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48945 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48946 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48947 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48948 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48949 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48950 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48951 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48952 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48953 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48954 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48955 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48956 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48958 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48959 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48960 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48961 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48962 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48963 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48965 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48966 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48967 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48968 * sysdeps/ieee754/k_standard.c: Likewise.
48969 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48970 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48971 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48972 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48973 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48974 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48976 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48977 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48978 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48979 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48980 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48981 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48982 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48983 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48985 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48986 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48987 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48988 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48989 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48990 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48991 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48992 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48993 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48994 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48995 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48996 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48999 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49000 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49001 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49002 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49004 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49005 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49006 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49007 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49008 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49009 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49011 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49012 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49013 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49014 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49015 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49016 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49017 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49018 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49019 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49020 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49021 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49022 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49023 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49024 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49025 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49027 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49028 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49029 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49030 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49031 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49032 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49033 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49034 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49035 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49036 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49037 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49038 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49039 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49040 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49041 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49042 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49043 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49044 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49045 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49046 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49047 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49048 * sysdeps/ieee754/s_matherr.c: Likewise.
49049 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49050 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49051 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49054 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49056 * crypt/md5.h: Remove __STDC__ conditionals.
49057 * libio/libioP.h: Likewise.
49058 * locale/programs/config.h: Likewise.
49059 * sysdeps/generic/sysdep.h: Likewise.
49060 * sysdeps/i386/asm-syntax.h: Likewise.
49061 * sysdeps/s390/asm-syntax.h: Likewise.
49062 * sysdeps/unix/sysdep.h: Likewise.
49063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49066 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49068 * libio/libio.h: Remove __STDC__ conditionals.
49069 * malloc/obstack.h: Likewise.
49070 * math/complex.h: Likewise.
49071 * math/math.h: Likewise.
49072 * sysdeps/generic/_G_config.h: Likewise.
49073 * sysdeps/gnu/_G_config.h: Likewise.
49074 * sysdeps/mach/hurd/_G_config.h: Likewise.
49075 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49076 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49077 * sysdeps/sparc/bits/mathdef.h: Likewise.
49079 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49082 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49083 Clean up HAS_* macros.
49084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49085 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49087 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49095 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49097 * elf/tst-unique3.cc (gets): Remove declaration.
49098 * elf/tst-unique3lib.cc (gets): Likewise.
49099 * elf/tst-unique3lib2.cc (gets): Likewise.
49100 * elf/tst-unique4.cc (gets): Likewise.
49102 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49104 * include/stdio.h: Add C++ protection. Add gets declarations and
49106 * debug/tst-chk1.c: Don't declare gets here.
49107 * stdio-common/tst-gets.c: Likewise.
49109 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49111 * posix/glob: Remove directory.
49113 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49115 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49117 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49119 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49120 of the non-standard EPFNOSUPPORT.
49122 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49124 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49125 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49126 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49128 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49130 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49132 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49134 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49136 * nscd/grpcache.c (cache_addgr): Likewise.
49137 * nscd/hstcache.c (cache_addhst): Likewise.
49138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49139 * nscd/pwdcache.c (cache_addpw): Likewise.
49140 * nscd/servicescache.c (cache_addserv): Likewise.
49142 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49144 * malloc/malloc.c: Various cleanups.
49145 * malloc/hooks.c: Likewise.
49147 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49148 * stdlib/bug-fmtmsg1.c: New file.
49150 * stdlib/fmtmsg.c (init): Add missing unlock.
49151 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49153 2012-01-12 Marek Polacek <polacek@redhat.com>
49155 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49158 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49160 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49161 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49162 macro to ensure uniqueness of label name.
49163 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49164 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49166 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49168 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49170 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49171 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49172 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49175 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49177 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49179 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49180 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49181 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49183 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49185 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49186 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49187 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49190 * math/bits/math-finite.h: Add ldexp support.
49192 2012-01-10 Marek Polacek <polacek@redhat.com>
49194 * locale/programs/localedef.h (show_archive_content): Add noreturn
49197 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49199 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49201 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49203 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49205 * io/Makefile (headers): Add bits/poll2.h.
49207 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49210 typo #include statement.
49212 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49214 * include/sys/cdefs.h: Define __attribute_alloc_size.
49215 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49216 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49217 * elf/pldd.c: Likewise.
49218 * iconv/iconv_charmap.c: Likewise.
49219 * iconv/iconvconfig.c: Likewise.
49220 * iconv/strtab.c: Likewise.
49221 * locale/programs/locale.c: Likewise.
49222 * locale/programs/localedef.h: Likewise.
49223 * locale/programs/simple-hash.c: Likewise.
49224 * nscd/nscd.h: Likewise.
49225 * nss/makedb.c: Likewise.
49226 * sysdeps/generic/ldconfig.h: Likewise.
49227 * locale/programs/localedef.c: Remove xmalloc prototype.
49228 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49230 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49232 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49235 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49237 * math/Makefile (tests): Add tst-CMPLX.
49238 * math/tst-CMPLX.c: New file.
49240 * math/complex.h (CMPLXL): Fix typo.
49242 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49243 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49245 * debug/tst-chk1.c: Add poll and ppoll tests.
49246 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49247 * include/sys/poll.h: Add hidden proto for ppoll.
49248 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49249 * sysdeps/mach/hurd/ppoll.c: Likewise.
49250 * io/ppoll.c: Likewise.
49251 * debug/poll_chk.c: New file.
49252 * debug/ppoll_chk.c: New file.
49253 * include/bits/poll2.h: New file.
49254 * io/bits/poll2.h: New file.
49257 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49259 * configure.in: static is always set to yes. Remove.
49260 * config.make.in: Don't set build-static.
49261 * Makeconfig: Remove use of build-static.
49262 * dlfcn/Makefile: Likewise.
49263 * elf/Makefile: Likewise.
49264 * math/Makefile: Likewise.
49265 * misc/Makefile: Likewise.
49266 * nptl/Makefile: Likewise.
49267 * sysdeps/mach/hurd/Makefile: Likewise.
49269 * configure.in: PWD_P is not used anymore.
49270 * config.make.in: Remove PWD_P entry.
49272 * configure.in: Remove last remnants of RANLIB.
49273 No need to check for signed size_t anymore.
49274 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49276 Remove __builtin_expect test because we require at least gcc 3.4.
49277 * aclocal.m4: Likewise.
49279 * wcsmbs/mbrtoc16.c: Implement using towc function.
49280 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49281 * wcsmbs/wcsmbsload.c: Likewise.
49282 * iconv/gconv_simple.c: Likewise.
49283 * iconv/gconv_int.h: Likewise.
49284 * iconv/gconv_builtin.h: Likewise.
49285 * iconv/iconv_prog.c: Remove CHAR16 handling.
49287 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49289 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49291 * configure.in: Remove --with-elf and --enable-bounded options.
49292 Dont set base_machine for ia64. More non-ELF conditions removed.
49293 Remove testing and setting of leading underscore information.
49294 * config.make.in (build-bounded): Set to no.
49295 * config.h.in: Remove NO_UNDERSCORES entry.
49296 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49298 * csu/start.c: Remove !NO_UNDERSCORE code.
49299 * locale/localeinfo.h: Likewise.
49300 * sysdeps/generic/machine-gmon.h: Likewise.
49301 * sysdeps/generic/sysdep.h: Likewise.
49302 * sysdeps/i386/sysdep.h: Likewise.
49303 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49304 * sysdeps/mach/sysdep.h: Likewise.
49305 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49306 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49307 * sysdeps/sh/sysdep.h: Likewise.
49308 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49309 * sysdeps/unix/i386/sysdep.S: Likewise.
49310 * sysdeps/unix/sparc/start.c: Likewise.
49311 * sysdeps/unix/sparc/sysdep.S: Likewise.
49312 * sysdeps/unix/sparc/sysdep.h: Likewise.
49313 * sysdeps/unix/start.c: Likewise.
49314 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49315 * sysdeps/x86_64/sysdep.h: Likewise.
49317 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49320 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49322 * argp/argp-fmtstream.h: Use const instead __const.
49323 * argp/argp.h: Likewise.
49324 * assert/assert.h: Likewise.
49325 * bits/fenv.h: Likewise.
49326 * bits/sched.h: Likewise.
49327 * bits/sigset.h: Likewise.
49328 * bits/sigthread.h: Likewise.
49329 * catgets/nl_types.h: Likewise.
49330 * conform/data/pthread.h-data: Likewise.
49331 * crypt/crypt-private.h: Likewise.
49332 * crypt/crypt.h: Likewise.
49333 * crypt/crypt_util.c: Likewise.
49334 * ctype/ctype.h: Likewise.
49335 * debug/execinfo.h: Likewise.
49336 * debug/mbsnrtowcs_chk.c: Likewise.
49337 * debug/mbsrtowcs_chk.c: Likewise.
49338 * debug/wcsnrtombs_chk.c: Likewise.
49339 * debug/wcsrtombs_chk.c: Likewise.
49340 * debug/wcstombs_chk.c: Likewise.
49341 * dirent/dirent.h: Likewise.
49342 * dlfcn/dlfcn.h: Likewise.
49343 * elf/neededtest4.c: Likewise.
49344 * grp/grp.h: Likewise.
49345 * gshadow/gshadow.h: Likewise.
49346 * iconv/gconv.h: Likewise.
49347 * iconv/gconv_int.h: Likewise.
49348 * iconv/gconv_simple.c: Likewise.
49349 * iconv/iconv.h: Likewise.
49350 * iconv/loop.c: Likewise.
49351 * iconv/skeleton.c: Likewise.
49352 * include/aio.h: Likewise.
49353 * include/aliases.h: Likewise.
49354 * include/argz.h: Likewise.
49355 * include/arpa/inet.h: Likewise.
49356 * include/assert.h: Likewise.
49357 * include/dirent.h: Likewise.
49358 * include/dlfcn.h: Likewise.
49359 * include/execinfo.h: Likewise.
49360 * include/fcntl.h: Likewise.
49361 * include/fenv.h: Likewise.
49362 * include/glob.h: Likewise.
49363 * include/grp.h: Likewise.
49364 * include/libintl.h: Likewise.
49365 * include/mntent.h: Likewise.
49366 * include/netdb.h: Likewise.
49367 * include/pwd.h: Likewise.
49368 * include/rpc/netdb.h: Likewise.
49369 * include/sched.h: Likewise.
49370 * include/search.h: Likewise.
49371 * include/shadow.h: Likewise.
49372 * include/signal.h: Likewise.
49373 * include/stdio.h: Likewise.
49374 * include/stdlib.h: Likewise.
49375 * include/string.h: Likewise.
49376 * include/sys/socket.h: Likewise.
49377 * include/sys/stat.h: Likewise.
49378 * include/sys/statfs.h: Likewise.
49379 * include/sys/statvfs.h: Likewise.
49380 * include/sys/syslog.h: Likewise.
49381 * include/sys/time.h: Likewise.
49382 * include/sys/uio.h: Likewise.
49383 * include/time.h: Likewise.
49384 * include/unistd.h: Likewise.
49385 * include/utmp.h: Likewise.
49386 * include/wchar.h: Likewise.
49387 * include/wctype.h: Likewise.
49388 * inet/aliases.h: Likewise.
49389 * inet/arpa/inet.h: Likewise.
49390 * inet/netinet/ether.h: Likewise.
49391 * inet/netinet/in.h: Likewise.
49392 * intl/libintl.h: Likewise.
49393 * io/bits/fcntl2.h: Likewise.
49394 * io/fcntl.h: Likewise.
49395 * io/ftw.h: Likewise.
49396 * io/sys/poll.h: Likewise.
49397 * io/sys/stat.h: Likewise.
49398 * io/sys/statfs.h: Likewise.
49399 * io/sys/statvfs.h: Likewise.
49400 * io/utime.h: Likewise.
49401 * libio/bits/stdio.h: Likewise.
49402 * libio/bits/stdio2.h: Likewise.
49403 * libio/libio.h: Likewise.
49404 * libio/libioP.h: Likewise.
49405 * libio/stdio.h: Likewise.
49406 * locale/lc-ctype.c: Likewise.
49407 * locale/locale.h: Likewise.
49408 * login/utmp.h: Likewise.
49409 * malloc/arena.c: Likewise.
49410 * malloc/malloc.c: Likewise.
49411 * malloc/malloc.h: Likewise.
49412 * malloc/mcheck.c: Likewise.
49413 * malloc/mtrace.c: Likewise.
49414 * math/bits/mathcalls.h: Likewise.
49415 * math/fenv.h: Likewise.
49416 * math/math_private.h: Likewise.
49417 * misc/bits/error.h: Likewise.
49418 * misc/bits/syslog.h: Likewise.
49419 * misc/err.h: Likewise.
49420 * misc/error.h: Likewise.
49421 * misc/fstab.h: Likewise.
49422 * misc/mntent.h: Likewise.
49423 * misc/regexp.h: Likewise.
49424 * misc/search.h: Likewise.
49425 * misc/sgtty.h: Likewise.
49426 * misc/sys/mman.h: Likewise.
49427 * misc/sys/syslog.h: Likewise.
49428 * misc/sys/uio.h: Likewise.
49429 * misc/sys/xattr.h: Likewise.
49430 * misc/ttyent.h: Likewise.
49431 * nis/rpcsvc/ypclnt.h: Likewise.
49432 * nss/nss.h: Likewise.
49433 * posix/bits/unistd.h: Likewise.
49434 * posix/fnmatch.h: Likewise.
49435 * posix/glob.h: Likewise.
49436 * posix/sched.h: Likewise.
49437 * posix/spawn.h: Likewise.
49438 * posix/sys/wait.h: Likewise.
49439 * posix/unistd.h: Likewise.
49440 * posix/wordexp.h: Likewise.
49441 * pwd/pwd.h: Likewise.
49442 * resolv/netdb.h: Likewise.
49443 * resource/sys/resource.h: Likewise.
49444 * rt/aio.h: Likewise.
49445 * rt/bits/mqueue2.h: Likewise.
49446 * rt/mqueue.h: Likewise.
49447 * shadow/shadow.h: Likewise.
49448 * signal/signal.h: Likewise.
49449 * socket/send.c: Likewise.
49450 * socket/sendto.c: Likewise.
49451 * socket/sys/socket.h: Likewise.
49452 * stdio-common/printf.h: Likewise.
49453 * stdlib/bits/stdlib.h: Likewise.
49454 * stdlib/fmtmsg.h: Likewise.
49455 * stdlib/monetary.h: Likewise.
49456 * stdlib/stdlib.h: Likewise.
49457 * stdlib/ucontext.h: Likewise.
49458 * streams/stropts.h: Likewise.
49459 * string/argz.h: Likewise.
49460 * string/bits/string2.h: Likewise.
49461 * string/string.h: Likewise.
49462 * string/strings.h: Likewise.
49463 * sunrpc/rpc/auth.h: Likewise.
49464 * sunrpc/rpc/auth_des.h: Likewise.
49465 * sunrpc/rpc/clnt.h: Likewise.
49466 * sunrpc/rpc/netdb.h: Likewise.
49467 * sunrpc/rpc/pmap_clnt.h: Likewise.
49468 * sunrpc/rpc/xdr.h: Likewise.
49469 * sysdeps/generic/inttypes.h: Likewise.
49470 * sysdeps/generic/net/if.h: Likewise.
49471 * sysdeps/generic/sys/swap.h: Likewise.
49472 * sysdeps/gnu/net/if.h: Likewise.
49473 * sysdeps/gnu/utmpx.h: Likewise.
49474 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49475 * sysdeps/i386/i486/bits/string.h: Likewise.
49476 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49477 * sysdeps/s390/bits/string.h: Likewise.
49478 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49479 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49480 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49481 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49482 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49483 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49484 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49485 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49486 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49487 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49488 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49489 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49490 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49491 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49492 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49493 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49494 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49496 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49497 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49499 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49500 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49501 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49502 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49503 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49504 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49505 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49506 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49507 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49508 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49509 * sysvipc/sys/ipc.h: Likewise.
49510 * sysvipc/sys/msg.h: Likewise.
49511 * sysvipc/sys/sem.h: Likewise.
49512 * sysvipc/sys/shm.h: Likewise.
49513 * termios/termios.h: Likewise.
49514 * time/sys/time.h: Likewise.
49515 * time/time.h: Likewise.
49516 * wcsmbs/bits/wchar2.h: Likewise.
49517 * wcsmbs/uchar.h: Likewise.
49518 * wcsmbs/wchar.h: Likewise.
49519 * wctype/wctype.h: Likewise.
49522 * Makeconfig: Remove all but ELF support including AIX support.
49523 * Makerules: Likewise.
49524 * config.h.in: Likewise.
49525 * config.make.in: Likewise.
49526 * configure: Likewise.
49527 * configure.in: Likewise.
49528 * csu/Makefile: Likewise.
49529 * csu/version.c: Likewise.
49530 * debug/Makefile: Likewise.
49531 * dlfcn/Makefile: Likewise.
49532 * elf/Makefile: Likewise.
49533 * extra-lib.mk: Likewise.
49534 * iconv/Makefile: Likewise.
49535 * include/libc-symbols.h: Likewise.
49536 * include/shlib-compat.h: Likewise.
49537 * resolv/Makefile: Likewise.
49538 * resolv/res_libc.c: Likewise.
49539 * rt/Makefile: Likewise.
49540 * sysdeps/i386/asm-syntax.h: Likewise.
49541 * sysdeps/i386/sysdep.h: Likewise.
49542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49543 * sysdeps/mach/sysdep.h: Likewise.
49544 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49545 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49546 * sysdeps/s390/asm-syntax.h: Likewise.
49547 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49548 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49549 * sysdeps/sh/sysdep.h: Likewise.
49550 * sysdeps/unix/sparc/sysdep.h: Likewise.
49551 * sysdeps/wordsize-32/divdi3.c: Likewise.
49552 * sysdeps/x86_64/sysdep.h: Likewise.
49554 * argp/Versions: Remove _argp_unlock_xxx.
49557 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49558 * abilist/libBrokenLocale.abilist: Likewise.
49559 * abilist/libanl.abilist: Likewise.
49560 * abilist/libc.abilist: Likewise.
49561 * abilist/libcrypt.abilist: Likewise.
49562 * abilist/libdl.abilist: Likewise.
49563 * abilist/libm.abilist: Likewise.
49564 * abilist/libnsl.abilist: Likewise.
49565 * abilist/libpthread.abilist: Likewise.
49566 * abilist/libresolv.abilist: Likewise.
49567 * abilist/librt.abilist: Likewise.
49568 * abilist/libthread_db.abilist: Likewise.
49569 * abilist/libutil.abilist: Likewise.
49570 * abilist/libnss_db.abilist: New file.
49572 * scripts/abilist.awk: Add support for indirect functions.
49574 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49576 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49578 * shlib-versions: Remove entries for ports architectures.
49580 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49582 * elf/stackguard-macros.h: Remove support for IA-64.
49583 * elf/tst-auditmod1.c: Likewise.
49584 * sysdeps/generic/ldsodefs.h: Likewise.
49586 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49587 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49591 * configure.in: Remove --enable-omitfp support.
49593 * config.make.in: Likewise.
49594 * Makeconfig: Likewise.
49595 * manual/install.texi: Likewise.
49597 In case anyone cares, the IA-64 architecture could move to ports.
49598 * sysdeps/ia64/*: Removed.
49599 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49600 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49603 * configure.in: Remove entries for unsupported architectures.
49606 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49607 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49609 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49610 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49611 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49612 fall back to using wcrtomb.
49613 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49614 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49616 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49617 * wcsmbs/tst-c16c32-1.c: New file.
49619 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49622 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49624 * elf/tst-unique3.cc: Add explicit declaration of gets.
49625 * elf/tst-unique3lib.cc: Likewise.
49626 * elf/tst-unique3lib2.cc: Likewise.
49627 * elf/tst-unique4.cc: Likewise.
49629 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49631 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49634 * assert/assert.h (static_assert): Don't define for C++.
49635 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49636 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49638 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49640 * iconv/loop.c (single loop): Fix assertion in storing of
49643 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49645 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49647 * posix/getconf.c: Update copyright year.
49648 * nss/getent.c: Likewise.
49649 * nss/makedb.c: Likewise.
49650 * iconv/iconvconfig.c: Likewise.
49651 * iconv/iconv_prog.c: Likewise.
49652 * elf/ldconfig.c: Likewise.
49653 * elf/pldd.c: Likewise.
49654 * elf/sotruss.ksh: Likewise.
49655 * catgets/gencat.c: Likewise.
49656 * csu/version.c: Likewise.
49657 * elf/ldd.bash.in: Likewise.
49658 * elf/sprof.c (print_version): Likewise.
49659 * locale/programs/locale.c: Likewise.
49660 * locale/programs/localedef.c: Likewise.
49661 * login/programs/pt_chown.c: Likewise.
49662 * nscd/nscd.c (print_version): Likewise.
49663 * debug/xtrace.sh: Likewise.
49664 * malloc/memusage.sh: Likewise.
49665 * malloc/mtrace.pl: Likewise.
49666 * debug/catchsegv.sh: Likewise.
49668 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49670 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49673 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49676 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49677 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49679 * iconv/gconv_int.h: Likewise.
49680 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49681 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49682 from libc for GLIBC_2.16.
49683 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49684 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49685 * wcsmbs/uchar.h: Really define mbstate_t.
49686 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49687 * wcsmbs/c16rtomb.c: New file.
49688 * wcsmbs/mbrtoc16.c: New file.
49689 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49690 for C/POSIX locale.
49691 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49692 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49694 * wcsmbs/wchar.h: Add missing __restrict.
49696 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49699 * time/Makefile (routines): Add timespec_get.
49700 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49701 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49702 timespec for ISO C11.
49703 * time/timespec_get.c: New file.
49704 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49705 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49708 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49709 * stdlib/stdlib.h: Declare aligned_alloc.
49710 * Versions.def: Add GLIBC_2.16 for libc.
49711 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49714 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49717 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49721 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49724 * assert/assert.h (static_assert): Define.
49726 * version.h: Update for 2.16 development version.
49729 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49732 * version.h (RELEASE): Bump for 2.15 release.
49733 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49735 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49736 Patch by Marek Polacek <mpolacek@redhat.com>.
49738 * bits/byteswap.h: Protect long long constants with __extension__.
49739 * sysdeps/i386/bits/byteswap.h: Likewise.
49740 * sysdeps/ia64/bits/byteswap.h: Likewise.
49741 * sysdeps/s390/bits/byteswap.h: Likewise.
49742 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49744 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49748 destination buffer.
49749 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49751 2011-12-23 Marek Polacek <polacek@redhat.com>
49753 * elf/dl-addr.c (determine_info): Add inline keyword.
49754 * elf/tst-auditmod4b.c (check_avx): Likewise.
49755 * elf/tst-auditmod6b.c (check_avx): Likewise.
49756 * elf/tst-auditmod6c.c (check_avx): Likewise.
49757 * elf/tst-auditmod7b.c (check_avx): Likewise.
49759 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49761 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49764 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49767 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49768 processing for last bytes.
49770 2011-08-06 Bruno Haible <bruno@clisp.org>
49773 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49774 U+0385, not to U+1FEE.
49777 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49778 entry for U+00A5 U+0301.
49780 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49783 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49784 buffer for the output is too small.
49786 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49790 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49791 SSE flags if possible.
49793 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49796 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49797 processing for last bytes.
49799 2011-12-22 Joseph Myers <joseph@codesourcery.com>
49801 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49802 (syscall-list-default-options, syscall-list-default-condition)
49803 (syscall-list-includes): Define.
49804 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49805 list of ABIs and options and #if conditions for each ABI. Do not
49806 handle common syscalls between ABIs specially.
49807 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49809 (syscall-list-variants, syscall-list-32bit-options)
49810 (syscall-list-32bit-condition, syscall-list-64bit-options)
49811 (syscall-list-64bit-condition): Define.
49812 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49813 (syscall-list-variants, syscall-list-32bit-options)
49814 (syscall-list-32bit-condition, syscall-list-64bit-options)
49815 (syscall-list-64bit-condition): Define.
49816 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49818 (syscall-list-variants, syscall-list-32bit-options)
49819 (syscall-list-32bit-condition, syscall-list-64bit-options)
49820 (syscall-list-64bit-condition): Define.
49821 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49823 (syscall-list-variants, syscall-list-32bit-options)
49824 (syscall-list-32bit-condition, syscall-list-64bit-options)
49825 (syscall-list-64bit-condition): Define.
49827 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49829 * locale/iso-639.def: Add brx entry.
49832 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49833 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49835 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49836 __feraiseexcept_renamed.
49838 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49841 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49842 EPOLLET with unsigned values.
49843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49844 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49846 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49847 to large cancellation.
49848 * math/s_cacoshf.c: Likewise.
49849 * math/s_cacoshl.c: Likewise.
49851 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49855 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49856 * math/s_cacoshf.c: Likewise.
49857 * math/s_cacoshl.c: Likewise.
49859 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49862 * iconv/gconv.h: Define __GCONV_SWAP.
49863 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49864 * iconvdata/utf-16.c: Likewise.
49865 * iconvdata/utf-32.c: Likewise.
49867 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49871 numerator after shifting it by one limb.
49873 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49876 under [__USE_EXTERN_INLINES].
49878 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49881 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49883 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49885 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49886 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49888 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49889 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49890 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49891 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49892 for strncasecmp/strncasecmp_l compilation.
49893 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49894 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49896 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49899 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49902 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49905 * time/tzfile.c (__tzfile_read): Check values from file header.
49907 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49909 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49910 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49911 * powerpc/powerpc32/dl-start.S: Likewise.
49912 * powerpc/powerpc32/elf/start.S: Likewise.
49913 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49914 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49915 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49916 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49917 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49918 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49919 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49920 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49921 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49922 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49923 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49924 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49925 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49926 * powerpc/powerpc32/memset.S: Likewise.
49927 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49928 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49929 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49930 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49931 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49932 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49933 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49934 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49935 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49936 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49937 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49938 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49939 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49941 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49943 * math/libm-test.inc: Added more nearbyint tests.
49944 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49945 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49946 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49947 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49949 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49951 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49954 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49956 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49957 Add wcscpy-ssse3 wcscpy-c.
49958 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49959 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49960 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49961 * sysdeps/x86_64/wcschr.S: New file.
49962 * sysdeps/x86_64/wcsrchr.S: New file.
49963 * string/test-strcmp.c: Remove checking of wcscmp function for
49965 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49966 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49967 wcsrchr-sse2 wcsrchr-c.
49968 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49969 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49970 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49971 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49972 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49973 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49974 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49975 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49976 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49977 * wcsmbc/wcschr.c (WCSCHR): New macro.
49979 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49981 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49982 * wcsmbs/test-wcsrchr.c: New file.
49983 * string/test-strrchr.c: Add wcsrchr support.
49985 * wcsmbs/test-wcscpy.c: New file.
49986 * string/test-strcpy.c: Add wcscpy support.
49989 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49991 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49994 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49997 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49999 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50001 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50002 Minor optimizations.
50004 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50005 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50006 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50008 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50010 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50011 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50012 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50013 for gcc to avoid warnings.
50014 * inet/Makefile (tests): Add tst-checks.
50015 * inet/tst-checks.c: New file.
50017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50020 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50023 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50024 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50026 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50028 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50030 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50033 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50035 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50037 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50038 conditional on GCC version.
50039 (__arch_compare_and_exchange_val_8_acq)
50040 (__arch_compare_and_exchange_val_16_acq)
50041 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50042 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50043 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50045 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50047 * sysdeps/sh/backtrace.c: New file.
50049 2011-12-02 Andreas Schwab <schwab@redhat.com>
50051 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50054 2011-12-01 Andreas Schwab <schwab@redhat.com>
50056 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50057 falling back to utime.
50059 2011-11-30 Andreas Schwab <schwab@redhat.com>
50061 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50062 expectations for float.
50064 2011-11-29 Andreas Schwab <schwab@redhat.com>
50066 * locale/weight.h (findidx): Add parameter len.
50067 * locale/weightwc.h (findidx): Likewise.
50068 * posix/fnmatch_loop.c (FCT): Adjust caller.
50069 * posix/regcomp.c (build_equiv_class): Likewise.
50070 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50071 * posix/regexec.c (check_node_accept_bytes): Likewise.
50072 * string/strcoll_l.c (STRCOLL): Likewise.
50073 * string/strxfrm_l.c (STRXFRM): Likewise.
50075 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50077 * Makefile.in: Remove CVSOPT handling.
50078 * configure.in: Remove use of AC_REVISION.
50079 * iconvdata/Makefile (distribute): No need to filter out CVS.
50080 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50083 2011-11-16 Andreas Schwab <schwab@redhat.com>
50085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50086 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50087 [USE_AS_STRNCASECMP_L]: Likewise.
50088 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50089 NO_TLS_DIRECT_SEG_REFS.
50090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50091 Fix argument offsets for non-PIC.
50092 [USE_AS_STRNCASECMP_L]: Likewise.
50093 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50094 NO_TLS_DIRECT_SEG_REFS.
50096 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50098 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50100 * locale/loadlocale.c (_nl_load_locale): Likewise.
50102 2011-11-15 Andreas Schwab <schwab@redhat.com>
50104 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50105 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50107 (SYSCALL_GETTIME): Set errno on error.
50109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50110 count references to noai6ai_cached.
50112 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50114 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50116 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50117 FD_CLOEXEC for /proc/self/maps.
50119 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50120 FD_CLOEXEC for /proc/meminfo.
50122 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50125 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50126 FD_CLOEXEC for given file.
50128 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50130 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50131 FD_CLOEXEC for /etc/hosts.
50132 (_gethtent): Likewise.
50134 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50136 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50137 cancellation and set FD_CLOEXEC for /etc/netgroup.
50139 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50140 reading /etc/publickey.
50142 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50143 allow cancellation when reading /etc/group.
50145 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50147 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50149 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50150 when using data file.
50152 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50154 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50155 (write_nis_obj): Use "c" and "e" in fopen.
50157 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50159 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50161 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50163 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50165 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50168 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50170 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50172 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50174 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50175 file parsing and set FD_CLOEXEC.
50177 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50179 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50181 2011-11-14 Andreas Schwab <schwab@redhat.com>
50183 * malloc/arena.c (arena_get2): Don't call reused_arena when
50184 _int_new_arena failed.
50186 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50188 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50189 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50190 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50192 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50194 to compile strcasecmp and strncasecmp.
50195 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50196 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50200 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50202 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50203 locale-defines.sym to gen-as-const-headers.
50204 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50205 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50207 to compile strcasecmp and strncasecmp.
50208 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50209 strcasecmp_l and strncasecmp_l.
50210 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50211 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50212 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50214 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50215 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50216 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50217 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50218 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50219 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50220 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50222 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50224 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50225 result of SYSDEP_GETTIME_CPU to retval.
50226 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50227 parameter list to macro. Remove trailing semicolon. Adjust users.
50229 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50232 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50234 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50236 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50237 from unused variable.
50239 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50241 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50244 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50247 * sunrpc/rpc_prot.c (rejected): Fix case value.
50249 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50250 unsigned long long int to avoid warnings in shift.
50252 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50254 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50257 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50258 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50259 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50261 * nis/nis_table.c (nis_list): Use variable of correct type for
50262 result of __follow_path call.
50264 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50266 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50267 of math functions ceil, trunc, floor, round, and sqrt, when
50268 avaliable on the platform.
50269 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50272 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50273 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50275 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50277 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50280 2011-11-11 Roland McGrath <roland@hack.frob.com>
50282 * include/unistd.h: Fix __readlink return type.
50283 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50285 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50287 * stdlib/ucontext.h: Undo last change for makecontext.
50289 2011-11-11 Andreas Schwab <schwab@redhat.com>
50291 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50293 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50294 * setjmp/setjmp.h: Mark functions as non-leaf.
50295 * setjmp/bits/setjmp2.h: Likewise.
50296 * stdlib/ucontext.h: Likewise.
50298 2011-11-10 Andreas Schwab <schwab@redhat.com>
50300 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50301 (reused_arena): Don't check arena limit.
50302 (arena_get2): Atomically check arena limit.
50304 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50306 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50307 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50312 2011-11-07 Andreas Schwab <schwab@redhat.com>
50314 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50315 handler when locking.
50317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50318 Fix size of allocated buffer.
50320 2011-11-04 Andreas Schwab <schwab@redhat.com>
50323 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50324 declarations for long double functions.
50325 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50327 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50329 2011-11-03 Andreas Schwab <schwab@redhat.com>
50331 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50334 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50337 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50339 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50341 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50343 * include/alloca.h (stackinfo_alloca_round): Define.
50344 (extend_alloca): Use it.
50345 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50346 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50349 * scripts/check-local-headers.sh: Ignore libaudit.h.
50351 * nscd/Makefile (extra-objs): Make recursively expanded.
50353 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50355 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50356 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50358 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50359 * posix/tst-rfc3484-2.c: Likewise.
50360 * posix/tst-rfc3484-3.c: Likewise.
50362 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50364 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50366 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50367 process_vm_writev from libc using GLIBC_2.15 version.
50369 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50371 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50373 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50376 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50379 * nss/getent.c (initgroups_keys): Show error message in case no group
50382 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50383 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50384 __bump_nl_timestamp.
50385 * nscd/connections (nscd_init): When host database is served open
50386 netlink socket and request notification about configuration changes.
50387 (main_loop_poll): Track netlink file descriptor and bump timestamp
50388 in case data becomes available.
50389 (main_loop_epoll): Likewise.
50390 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50391 (database_pers_head): Add extra_data fileds.
50392 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50393 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50394 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50396 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50397 in6ai data, call __free_in6ai.
50398 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50399 Add -DHAVE_NETLINK.
50400 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50401 interface information. Reuse previous data if netlink timestamp
50403 (__bump_nl_timestamp): New function.
50404 (__free_in6ai): New function.
50406 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50408 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50409 close_not_cancel_no_status here.
50410 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50412 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50415 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50418 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50419 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50420 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50422 2011-07-03 Andreas Jaeger <aj@suse.de>
50425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50426 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50427 * math/libm-test.inc (sin_test): Add test case.
50429 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50432 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50433 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50435 * elf/chroot_canon.c (chroot_canon): Cleanups.
50437 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50440 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50441 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50443 * string/test-strchr.c: Make usable for strchrnul testing.
50444 * string/test-strchrnul.c: New file.
50445 * string/Makefile (strop-tests): Add strchrnul.
50447 * po/it.po: Update from translation team.
50448 * po/es.po: Likewise.
50450 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50452 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50453 the three constants needed as parameters. Drop the others.
50454 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50455 __m128i_strloadu_tolower.
50456 Create and initialize variable zero and use it in all the places
50457 where _mm_setzero_si128 was used.
50459 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50460 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50461 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50462 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50464 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50465 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50466 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50467 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50468 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50469 __mpranred, __mptan.
50470 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50471 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50472 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50473 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50474 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50475 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50477 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50478 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50480 2011-10-28 Andreas Schwab <schwab@redhat.com>
50482 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50483 redefine if SHARED.
50484 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50487 wide char related routines to wcsmbs subdir.
50489 2011-10-27 Andreas Schwab <schwab@redhat.com>
50492 * misc/sys/cdefs.h (__THROWNL): Define.
50493 * posix/unistd.h: Use __THREADNL instead of __THREAD
50494 for memory synchronization functions.
50496 2011-10-26 Roland McGrath <roland@hack.frob.com>
50499 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50501 * manual/stdio.texi (Obstack Streams): Node removed.
50503 2011-10-26 Andreas Schwab <schwab@redhat.com>
50505 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50506 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50507 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50509 * math/math_private.h (math_force_eval): Allow non-addressable
50511 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50513 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50515 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50516 file is not needed.
50518 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50519 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50521 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50525 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50527 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50528 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50529 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50530 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50531 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50532 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50533 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50534 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50535 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50536 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50537 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50538 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50540 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50541 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50542 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50543 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50544 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50545 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50547 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50548 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50551 place. Use VEX encoding when compiling for AVX.
50553 2011-10-25 Andreas Schwab <schwab@redhat.com>
50555 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50556 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50558 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50560 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50562 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50563 useless if() expression.
50564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50566 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50567 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50568 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50571 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50572 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50573 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50575 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50576 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50577 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50578 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50579 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50580 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50582 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50584 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50586 2011-10-25 Andreas Schwab <schwab@redhat.com>
50588 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50590 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50592 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50594 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50595 .text section. Avoid duplicate constants.
50596 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50604 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50605 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50606 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50607 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50608 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50609 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50610 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50611 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50612 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50613 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50616 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50617 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50618 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50619 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50620 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50621 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50622 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50623 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50624 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50626 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50627 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50628 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50629 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50630 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50631 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50632 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50633 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50634 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50635 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50636 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50637 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50638 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50639 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50640 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50642 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50644 * sysdeps/x86_64/dla.h: Move to ...
50645 * sysdeps/x86_64/fpu/dla.h: ...here.
50646 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50647 situations. Use __builtin_fma only for gcc 4.6 and up.
50649 * config.make.in: Add have-mfma4 entry.
50650 * configure.in: Substitute libc_cv_cc_fma4.
50651 * math/Makefile (dbl-only-routines): Add sincostab.
50652 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50653 Use __sincostab not sincos.
50654 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50661 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50662 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50663 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50664 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50667 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50669 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50670 define aliases when function name is a macro.
50671 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50672 sysdeps/ieee754/dbl-64/sincos.tbl.
50673 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50674 fma4-enabled routines.
50675 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50676 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50677 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50678 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50679 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50680 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50682 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50684 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50685 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50687 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50688 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50689 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50690 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50691 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50692 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50693 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50694 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50695 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50696 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50698 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50699 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50700 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50701 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50702 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50703 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50704 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50706 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50714 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50715 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50717 2011-10-24 Andreas Schwab <schwab@redhat.com>
50719 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50721 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50723 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50725 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50727 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50729 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50730 Remove unused variable magic_bits.
50731 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50733 * string/strnlen.c: Define and use STRNLEN macro.
50734 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50735 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50736 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50737 * wcsmbs/wcslen.c: Define and use WCSLEN.
50738 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50739 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50740 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50741 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50742 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50743 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50744 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50746 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50749 strnlen-sse2-no-bsf.
50750 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50752 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50753 Add strnlen support.
50754 (USE_AS_STRNLEN): New macro.
50755 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50756 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50757 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50758 * sysdeps/x86_64/wcslen.S: New file.
50760 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50762 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50763 XMM-moves are used for copying on small sizes.
50765 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50767 * wcsmbs/Makefile (strop-tests): Add wcschr.
50768 * wcsmbs/test-wcschr.c: New file.
50769 * string/test-strchr.c: Update.
50770 Add wcschr support.
50773 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50775 * wcsmbs/Makefile (strop-tests): Add wcslen.
50776 * wcsmbs/test-wcslen.c: New file.
50777 * string/test-strlen.c: Update.
50778 Add wcslen support.
50781 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50783 * po/it.po: Update from translation team.
50785 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50787 * sysdeps/x86_64/wcscmp.S: Update.
50788 Fix wrong comparison semantics.
50789 wcscmp shall use signed comparison not unsigned.
50790 Don't use substraction to avoid overflow bug.
50791 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50792 * wcsmbc/wcscmp.c: Likewise.
50793 * string/test-strcmp.c: Likewise.
50794 Add new tests to check cases with negative values.
50796 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50798 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50799 * sysdeps/x86_64/dla.h: ...here. New file.
50800 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50804 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50805 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50807 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50808 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50810 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50813 __ynl_finite aliases.
50815 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50819 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50821 [DLA_FMA] (EMULV): Use DLA_FMA.
50822 [DLA_FMA] (MUL12): Use EMULV.
50823 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50824 that are not needed.
50825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50833 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50835 * math/s_nan.c: Undef __nan.
50836 * math/s_nanf.c: Undef __nanf.
50837 * math/s_nanl.c: Undef __nanl.
50838 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50841 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50843 * math/s_catan.c: Add branch predictions.
50844 * math/s_catanf.c: Likewise.
50845 * math/s_catanh.c: Likewise.
50846 * math/s_catanhf.c: Likewise.
50847 * math/s_catanhl.c: Likewise.
50848 * math/s_catanl.c: Likewise.
50849 * math/s_cexp.c: Likewise.
50850 * math/s_cexpf.c: Likewise.
50851 * math/s_cexpl.c: Likewise.
50852 * math/s_clog.c: Likewise.
50853 * math/s_clog10.c: Likewise.
50854 * math/s_clog10f.c: Likewise.
50855 * math/s_clog10l.c: Likewise.
50856 * math/s_clogf.c: Likewise.
50857 * math/s_clogl.c: Likewise.
50858 * math/s_csqrt.c: Likewise.
50859 * math/s_csqrtf.c: Likewise.
50860 * math/s_csqrtl.c: Likewise.
50861 * math/s_ctanf.c: Likewise.
50862 * math/s_ctanh.c: Likewise.
50863 * math/s_ctanhf.c: Likewise.
50864 * math/s_ctanhl.c: Likewise.
50865 * math/s_ctanl.c: Likewise.
50867 * math/math_private.h: Define __nan, __nanf, __nanl.
50868 * math/s_cacosh.c: Include <math_private.h>.
50869 * math/s_cacoshl.c: Likewise.
50870 * math/s_casinh.c: Likewise.
50871 * math/s_casinhf.c: Likewise.
50872 * math/s_casinhl.c: Likewise.
50873 * math/s_ccos.c: Rely entire on ccosh.
50874 * math/s_ccosf.c: Rely entire on ccoshf.
50875 * math/s_ccosl.c: Rely entirely on ccoshl.
50876 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50877 Remove tests for FE_INVALID.
50878 * math/s_ccoshf.c: Likewise.
50879 * math/s_ccoshl.c: Likewise.
50880 * math/s_csin.c: Likewise.
50881 * math/s_csinf.c: Likewise.
50882 * math/s_csinh.c Likewise.
50883 * math/s_csinhf.c: Likewise.
50884 * math/s_csinhl.c: Likewise.
50885 * math/s_csinl.c: Likewise.
50886 * math/s_ctan.c: Likewise.
50887 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50888 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50889 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50891 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50894 compilation problems.
50896 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50899 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50901 * sysdeps/i386/configure.in: Test for -mfma4 option.
50902 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50903 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50904 COMMON_CPUID_INDEX_80000001.
50905 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50906 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50907 use it if FMA3 is not supported.
50908 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50910 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50911 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50913 2011-10-20 Andreas Schwab <schwab@redhat.com>
50916 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50917 it would create a cycle with a link time dependency.
50919 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50921 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50923 * string/Makefile (strop-tests): Add rawmemchr.
50924 * string/test-rawmemchr.c: New file.
50926 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50928 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50929 when compiling str{,n}casecmp and when AVX is available. Hook up
50930 new optimized code in initializers.
50932 2011-10-19 Andreas Schwab <schwab@redhat.com>
50934 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50935 __feraiseexcept instead of feraiseexcept.
50937 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50939 * math/math_private.h: Define defaults for libc_fetestexcept and
50941 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50942 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50943 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50944 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50945 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50946 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50947 libc_fetestexcept and libc_feupdateenv.
50949 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50950 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50951 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50952 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50953 libc_feholdexcept_setround.
50955 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50956 Add s_nearbyint-c and s_nearbyintf-c.
50957 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50958 nearbyintf inlines.
50959 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50960 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50961 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50962 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50964 * math/math_private.h: Define defaults for libc_fegetround,
50965 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50966 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50967 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50968 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50969 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50970 standard functions.
50971 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50972 Remove comments and hacks for old compiler versions.
50973 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50974 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50975 libc_feholdexceptl.
50977 2011-10-18 Andreas Schwab <schwab@redhat.com>
50979 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50980 (__feraiseexcept_renamed): Add __NTH.
50981 (feraiseexcept): Add __NTH. Rename local variables to fix
50982 namespace violations.
50984 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50986 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50988 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50990 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50991 recently added interfaces.
50992 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50994 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50995 about macro parameter expansion.
50997 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50998 __NO_MATH_INLINES is defined. Cleanups.
51000 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51001 and __floorf is target has SSE4.1.
51002 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51003 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51004 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51005 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51007 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51009 (floorf): Likewise.
51011 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51013 2011-10-17 Andreas Schwab <schwab@redhat.com>
51015 * misc/sys/cdefs.h: Fix last change.
51017 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51020 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51022 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51024 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51029 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51030 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51031 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51032 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51033 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51034 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51035 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51036 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51037 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51038 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51039 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51040 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51041 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51042 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51043 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51044 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51045 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51047 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51048 ceil, ceilf, floor, floorf.
51050 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51051 Perform IRELATIVE relocations last.
51053 * elf/do-rel.h: Add another parameter nrelative, replacing the
51054 local variable with the same name. Change name of the function
51055 to end in Rel or Rela (uppercase).
51056 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51057 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51058 elf_dynamic_do_##reloc function.
51060 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51062 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51063 is sufficient, at least on modern CPUs.
51065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51067 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51070 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51072 * math/bits/math-finite.h: Add entries for exp.
51073 * math/e_expl.c: Add __*_finite alias.
51074 * sysdeps/i386/fpu/e_exp.S: Likewise.
51075 * sysdeps/i386/fpu/e_expf.S: Likewise.
51076 * sysdeps/i386/fpu/e_expl.c: Likewise.
51077 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51078 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51079 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51080 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51081 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51082 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51083 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51085 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51086 is sufficient, at least on modern CPUs.
51088 * ctype/ctype-info.c (__ctype_init): Define.
51089 * include/ctype.h (__ctype_init): Declare.
51090 (__ctype_b_loc): The variable is always initialized.
51091 (__ctype_toupper_loc): Likewise.
51092 (__ctype_tolower_loc): Likewise.
51093 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51094 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51096 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51098 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51100 * configure.in: Also look in $cxxmachine/include for C++ system
51103 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51105 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51106 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51107 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51108 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51109 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51110 (USE_AS_WMEMCMP): New macro.
51112 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51113 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51114 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51115 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51117 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51118 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51119 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51120 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51121 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51122 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51123 (USE_AS_WMEMCMP): New macro.
51124 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51125 * sysdeps/string/test-memcmp.c: Update.
51126 Fix simple_wmemcmp.
51128 * wcsmbs/wmemcmp.c: Update.
51129 (WMEMCMP): New macro.
51132 2011-10-12 Andreas Jaeger <aj@suse.de>
51135 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51137 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51139 * libio/iofwide.c (do_length): Avoid warning.
51141 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51143 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51145 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51147 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51148 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51149 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51150 * sysdeps/i386/i686/fpu/e_log.S: New file.
51151 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51152 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51154 * ctype/ctype.h: Add support for inlined isXXX functions when
51155 compiling C++ code.
51157 2011-10-14 Andreas Schwab <schwab@redhat.com>
51159 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51161 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51163 2011-10-13 Roland McGrath <roland@hack.frob.com>
51166 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51168 2011-10-13 Andreas Schwab <schwab@redhat.com>
51170 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51171 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51174 * sysdeps/x86_64/memrchr.S: Check for zero size.
51176 * string/stratcliff.c: Add memrchr tests.
51178 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51181 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51182 rawmemchr-sse2 rawmemchr-sse2-bsf.
51183 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51184 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51185 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51186 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51187 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51188 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51189 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51190 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51191 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51192 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51193 * string/memrchr.c (MEMRCHR): New macro.
51195 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51197 Add integration with gcc's -ffinite-math-only and optimize wrapper
51199 * Versions.def: Define GLIBC_2.15 version for libm.
51200 * math/Makefile (headers): Add bits/math-finite.h.
51201 * math/bits/math-finite.h: New file.
51202 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51203 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51204 * math/e_acoshl.c: Add __*_finite alias.
51205 * math/e_acosl.c: Likewise.
51206 * math/e_asinl.c: Likewise.
51207 * math/e_atan2l.c: Likewise.
51208 * math/e_atanhl.c: Likewise.
51209 * math/e_coshl.c: Likewise.
51210 * math/e_exp10.c: Likewise.
51211 * math/e_exp10f.c: Likewise.
51212 * math/e_exp10l.c: Likewise.
51213 * math/e_exp2l.c: Likewise.
51214 * math/e_fmodl.c: Likewise.
51215 * math/e_gammal_r.c: Likewise.
51216 * math/e_hypotl.c: Likewise.
51217 * math/e_j0l.c: Likewise.
51218 * math/e_j1l.c: Likewise.
51219 * math/e_jnl.c: Likewise.
51220 * math/e_lgammal_r.c: Likewise.
51221 * math/e_log10l.c: Likewise.
51222 * math/e_log2l.c: Likewise.
51223 * math/e_logl.c: Likewise.
51224 * math/e_powl.c: Likewise.
51225 * math/e_sinhl.c: Likewise.
51226 * math/e_sqrtl.c: Likewise.
51227 * math/e_scalb.c: Completely rewritten and optimized.
51228 * math/e_scalbf.c: Likewise.
51229 * math/e_scalbl.c: Likewise.
51230 * math/w_acos.c: Likewise.
51231 * math/w_acosf.c: Likewise.
51232 * math/w_acosl.c: Likewise.
51233 * math/w_acosh.c: Likewise.
51234 * math/w_acoshf.c: Likewise.
51235 * math/w_acoshl.c: Likewise.
51236 * math/w_asin.c: Likewise.
51237 * math/w_asinf.c: Likewise.
51238 * math/w_asinl.c: Likewise.
51239 * math/w_atan2.c: Likewise.
51240 * math/w_atan2f.c: Likewise.
51241 * math/w_atan2l.c: Likewise.
51242 * math/w_atanh.c: Likewise.
51243 * math/w_atanhf.c: Likewise.
51244 * math/w_atanhl.c: Likewise.
51245 * math/w_exp10.c: Likewise.
51246 * math/w_exp10f.c: Likewise.
51247 * math/w_exp10l.c: Likewise.
51248 * math/w_fmod.c: Likewise.
51249 * math/w_fmodf.c: Likewise.
51250 * math/w_fmodl.c: Likewise.
51251 * math/w_j0.c: Likewise.
51252 * math/w_j0f.c: Likewise.
51253 * math/w_j0l.c: Likewise.
51254 * math/w_j1.c: Likewise.
51255 * math/w_j1f.c: Likewise.
51256 * math/w_j1l.c: Likewise.
51257 * math/w_jn.c: Likewise.
51258 * math/w_jnf.c: Likewise.
51259 * math/w_log.c: Likewise.
51260 * math/w_logf.c: Likewise.
51261 * math/w_logl.c: Likewise.
51262 * math/w_log10.c: Likewise.
51263 * math/w_log10f.c: Likewise.
51264 * math/w_log10l.c: Likewise.
51265 * math/w_log2.c: Likewise.
51266 * math/w_log2f.c: Likewise.
51267 * math/w_log2l.c: Likewise.
51268 * math/w_pow.c: Likewise.
51269 * math/w_powf.c: Likewise.
51270 * math/w_powl.c: Likewise.
51271 * math/w_remainder.c: Likewise.
51272 * math/w_remainderf.c: Likewise.
51273 * math/w_remainderl.c: Likewise.
51274 * math/w_scalb.c: Likewise.
51275 * math/w_scalbf.c: Likewise.
51276 * math/w_scalbl.c: Likewise.
51277 * math/w_sqrt.c: Likewise.
51278 * math/w_sqrtf.c: Likewise.
51279 * math/w_sqrtl.c: Likewise.
51280 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51281 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51283 * math/math_private.h: Declare __kernel_standard_f.
51284 * math/w_cosh.c: Remove cruft and optimize a bit.
51285 * math/w_coshf.c: Likewise.
51286 * math/w_coshl.c: Likewise.
51287 * math/w_exp2.c: Likewise.
51288 * math/w_exp2f.c: Likewise.
51289 * math/w_exp2l.c: Likewise.
51290 * math/w_hypot.c: Likewise.
51291 * math/w_hypotf.c: Likewise.
51292 * math/w_hypotl.c: Likewise.
51293 * math/w_lgamma.c: Likewise.
51294 * math/w_lgamma_r.c: Likewise.
51295 * math/w_lgammaf.c: Likewise.
51296 * math/w_lgammaf_r.c: Likewise.
51297 * math/w_lgammal.c: Likewise.
51298 * math/w_lgammal_r.c: Likewise.
51299 * math/w_sinh.c: Likewise.
51300 * math/w_sinhf.c: Likewise.
51301 * math/w_sinhl.c: Likewise.
51302 * math/w_tgamma.c: Likewise.
51303 * math/w_tgammaf.c: Likewise.
51304 * math/w_tgammal.c: Likewise.
51305 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51306 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51307 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51308 Minor optimizations. Pretty printing. Remove cruft.
51309 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51310 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51311 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51312 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51313 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51314 * sysdeps/i386/fpu/e_asin.S: Likewise.
51315 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51316 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51317 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51318 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51319 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51320 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51321 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51322 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51323 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51324 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51325 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51326 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51327 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51328 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51329 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51330 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51331 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51332 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51333 * sysdeps/i386/fpu/e_log.S: Likewise.
51334 * sysdeps/i386/fpu/e_log10.S: Likewise.
51335 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51336 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51337 * sysdeps/i386/fpu/e_log2.S: Likewise.
51338 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51339 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51340 * sysdeps/i386/fpu/e_logf.S: Likewise.
51341 * sysdeps/i386/fpu/e_logl.S: Likewise.
51342 * sysdeps/i386/fpu/e_pow.S: Likewise.
51343 * sysdeps/i386/fpu/e_powf.S: Likewise.
51344 * sysdeps/i386/fpu/e_powl.S: Likewise.
51345 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51346 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51347 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51348 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51349 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51351 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51352 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51353 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51354 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51355 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51357 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51358 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51359 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51360 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51361 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51362 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51363 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51364 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51365 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51367 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51368 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51370 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51371 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51372 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51374 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51375 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51376 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51377 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51378 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51379 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51380 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51381 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51382 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51383 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51384 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51385 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51386 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51387 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51388 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51389 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51390 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51391 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51392 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51393 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51394 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51395 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51396 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51397 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51398 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51399 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51400 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51401 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51402 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51404 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51405 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51406 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51408 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51409 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51410 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51411 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51412 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51413 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51414 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51415 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51416 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51418 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51419 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51420 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51421 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51422 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51424 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51425 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51426 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51428 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51430 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51431 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51432 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51433 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51434 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51435 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51436 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51437 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51439 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51440 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51441 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51442 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51443 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51444 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51445 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51447 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51448 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51449 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51450 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51451 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51452 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51453 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51454 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51455 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51456 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51457 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51458 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51460 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51462 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51464 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51465 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51466 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51467 (__isnanf): Likewise.
51468 (__isinf_ns): Likewise.
51469 (__isinf_nsf): Likewise.
51470 (__finite): Likewise.
51471 (__finitef): Likewise.
51472 (__ieee754_sqrt): Define as macro.
51473 (__ieee754_sqrtf): Define as macro.
51474 (__ieee754_sqrtl): Define as macro.
51475 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51477 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51478 __FINITE_MATH_ONLY__ consistent.
51479 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51481 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51483 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51486 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51488 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51490 * po/ja.po: Update from translation team.
51492 2011-10-08 Roland McGrath <roland@hack.frob.com>
51494 * locale/programs/locarchive.c (prepare_address_space): New function.
51495 (create_archive, enlarge_archive, open_archive): Use it.
51497 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51498 inside [SHARED], where it is used.
51500 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51502 * nss/getent.c (netgroup_keys): Remove unused variable.
51503 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51505 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51507 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51508 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51510 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51511 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51512 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51513 * math/Makefile (libm-calls): Add s_isinf_ns.
51514 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51515 * math/multc3.c: Likewise.
51516 * math/s_casin.c: Likewise.
51517 * math/s_casinf.c: Likewise.
51518 * math/s_casinl.c: Likewise.
51519 * math/s_ccos.c: Likewise.
51520 * math/s_ccosf.c: Likewise.
51521 * math/s_ccosl.c: Likewise.
51522 * math/s_ctan.c: Likewise.
51523 * math/s_ctanf.c: Likewise.
51524 * math/s_ctanh.c: Likewise.
51525 * math/s_ctanhf.c: Likewise.
51526 * math/s_ctanhl.c: Likewise.
51527 * math/s_ctanl.c: Likewise.
51528 * math/w_fmod.c: Likewise.
51529 * math/w_fmodf.c: Likewise.
51530 * math/w_fmodl.c: Likewise.
51531 * math/w_remainder.c: Likewise.
51532 * math/w_remainderf.c: Likewise.
51533 * math/w_remainderl.c: Likewise.
51534 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51535 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51536 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51538 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51539 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51540 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51541 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51543 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51545 * stdio-common/printf_fphex.c: Likewise.
51546 * stdio-common/printf_size.c: Likewise.
51548 * math/e_exp10.c: Include math_private.h using <...> not "...".
51549 * math/e_exp10f.c: Likewise.
51550 * math/e_exp10l.c: Likewise.
51551 * math/e_exp2l.c: Likewise.
51552 * math/e_j0l.c: Likewise.
51553 * math/e_j1l.c: Likewise.
51554 * math/e_jnl.c: Likewise.
51555 * math/e_lgammal_r.c: Likewise.
51556 * math/e_rem_pio2l.c: Likewise.
51557 * math/e_scalb.c: Likewise.
51558 * math/e_scalbf.c: Likewise.
51559 * math/e_scalbl.c: Likewise.
51560 * math/k_cosl.c: Likewise.
51561 * math/k_sinl.c: Likewise.
51562 * math/k_tanl.c: Likewise.
51563 * math/s_cacoshf.c: Likewise.
51564 * math/s_catan.c: Likewise.
51565 * math/s_catanf.c: Likewise.
51566 * math/s_catanh.c: Likewise.
51567 * math/s_catanhf.c: Likewise.
51568 * math/s_catanhl.c: Likewise.
51569 * math/s_catanl.c: Likewise.
51570 * math/s_ccosh.c: Likewise.
51571 * math/s_ccoshf.c: Likewise.
51572 * math/s_ccoshl.c: Likewise.
51573 * math/s_cexp.c: Likewise.
51574 * math/s_cexpf.c: Likewise.
51575 * math/s_cexpl.c: Likewise.
51576 * math/s_clog.c: Likewise.
51577 * math/s_clog10.c: Likewise.
51578 * math/s_clog10f.c: Likewise.
51579 * math/s_clog10l.c: Likewise.
51580 * math/s_clogf.c: Likewise.
51581 * math/s_clogl.c: Likewise.
51582 * math/s_csin.c: Likewise.
51583 * math/s_csinf.c: Likewise.
51584 * math/s_csinh.c: Likewise.
51585 * math/s_csinhf.c: Likewise.
51586 * math/s_csinhl.c: Likewise.
51587 * math/s_csinl.c: Likewise.
51588 * math/s_csqrt.c: Likewise.
51589 * math/s_csqrtf.c: Likewise.
51590 * math/s_csqrtl.c: Likewise.
51591 * math/s_ctan.c: Likewise.
51592 * math/s_ctanf.c: Likewise.
51593 * math/s_ctanh.c: Likewise.
51594 * math/s_ctanhf.c: Likewise.
51595 * math/s_ctanhl.c: Likewise.
51596 * math/s_ctanl.c: Likewise.
51597 * math/s_ldexp.c: Likewise.
51598 * math/s_ldexpf.c: Likewise.
51599 * math/s_ldexpl.c: Likewise.
51600 * math/s_significand.c: Likewise.
51601 * math/s_significandf.c: Likewise.
51602 * math/s_significandl.c: Likewise.
51603 * math/w_acos.c: Likewise.
51604 * math/w_acosf.c: Likewise.
51605 * math/w_acosh.c: Likewise.
51606 * math/w_acoshf.c: Likewise.
51607 * math/w_acoshl.c: Likewise.
51608 * math/w_acosl.c: Likewise.
51609 * math/w_asin.c: Likewise.
51610 * math/w_asinf.c: Likewise.
51611 * math/w_asinl.c: Likewise.
51612 * math/w_atan2.c: Likewise.
51613 * math/w_atan2f.c: Likewise.
51614 * math/w_atan2l.c: Likewise.
51615 * math/w_atanh.c: Likewise.
51616 * math/w_atanhf.c: Likewise.
51617 * math/w_atanhl.c: Likewise.
51618 * math/w_cosh.c: Likewise.
51619 * math/w_coshf.c: Likewise.
51620 * math/w_coshl.c: Likewise.
51621 * math/w_dremf.c: Likewise.
51622 * math/w_exp10.c: Likewise.
51623 * math/w_exp10f.c: Likewise.
51624 * math/w_exp10l.c: Likewise.
51625 * math/w_exp2.c: Likewise.
51626 * math/w_exp2f.c: Likewise.
51627 * math/w_fmod.c: Likewise.
51628 * math/w_fmodf.c: Likewise.
51629 * math/w_fmodl.c: Likewise.
51630 * math/w_hypot.c: Likewise.
51631 * math/w_hypotf.c: Likewise.
51632 * math/w_hypotl.c: Likewise.
51633 * math/w_j0.c: Likewise.
51634 * math/w_j0f.c: Likewise.
51635 * math/w_j0l.c: Likewise.
51636 * math/w_j1.c: Likewise.
51637 * math/w_j1f.c: Likewise.
51638 * math/w_j1l.c: Likewise.
51639 * math/w_jn.c: Likewise.
51640 * math/w_jnf.c: Likewise.
51641 * math/w_jnl.c: Likewise.
51642 * math/w_lgamma.c: Likewise.
51643 * math/w_lgamma_r.c: Likewise.
51644 * math/w_lgammaf.c: Likewise.
51645 * math/w_lgammaf_r.c: Likewise.
51646 * math/w_lgammal.c: Likewise.
51647 * math/w_lgammal_r.c: Likewise.
51648 * math/w_log.c: Likewise.
51649 * math/w_log10.c: Likewise.
51650 * math/w_log10f.c: Likewise.
51651 * math/w_log10l.c: Likewise.
51652 * math/w_log2.c: Likewise.
51653 * math/w_log2f.c: Likewise.
51654 * math/w_log2l.c: Likewise.
51655 * math/w_logf.c: Likewise.
51656 * math/w_logl.c: Likewise.
51657 * math/w_pow.c: Likewise.
51658 * math/w_powf.c: Likewise.
51659 * math/w_powl.c: Likewise.
51660 * math/w_remainder.c: Likewise.
51661 * math/w_remainderf.c: Likewise.
51662 * math/w_remainderl.c: Likewise.
51663 * math/w_scalb.c: Likewise.
51664 * math/w_scalbf.c: Likewise.
51665 * math/w_scalbl.c: Likewise.
51666 * math/w_sinh.c: Likewise.
51667 * math/w_sinhf.c: Likewise.
51668 * math/w_sinhl.c: Likewise.
51669 * math/w_sqrt.c: Likewise.
51670 * math/w_sqrtf.c: Likewise.
51671 * math/w_sqrtl.c: Likewise.
51672 * math/w_tgamma.c: Likewise.
51673 * math/w_tgammaf.c: Likewise.
51674 * math/w_tgammal.c: Likewise.
51676 * po/ja.po: Update from translation team.
51678 2011-09-29 Andreas Jaeger <aj@suse.de>
51681 * sunrpc/netname.c (netname2host): Fix logic.
51685 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51687 * math/w_remainder.c (__remainder): Likewise.
51688 * math/w_remainderf.c (__remainderf): Likewise.
51689 * math/libm-test.inc (remainder_test): Add test cases.
51691 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51693 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51696 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51698 * string/test-memcmp.c: Avoid unncessary #defines.
51699 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51701 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51703 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51704 Use new sse2 version for core i3 - i7 as it's faster
51705 than sse42 version.
51706 (bit_Prefer_PMINUB_for_stringop): New.
51707 * sysdeps/x86_64/rawmemchr.S: Update.
51708 Replace with faster SSE2 version.
51709 * sysdeps/x86_64/memrchr.S: New file.
51710 * sysdeps/x86_64/memchr.S: Update.
51711 Replace with faster SSE2 version.
51713 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51715 * elf/dl-load.c (lose): Add cast to avoid warning.
51717 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51719 * po/ca.po: Update from translation team.
51721 * inet/getnetgrent_r.c: Hook up nscd.
51722 * nscd/Makefile (routines): Add nscd_netgroup.
51723 (nscd-modules): Add netgroupcache.
51724 (CFLAGS-netgroupcache.c): Define.
51725 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51726 (cache_search): Add const to second parameter.
51727 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51729 (dbs): Add netgrdb entry.
51730 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51731 (verify_persistent_db): Handle netgrdb.
51732 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51733 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51735 (netgroup_response_header): Define.
51736 (innetgroup_response_header): Define.
51737 (datahead): Add netgroup_response_header and innetgroup_response_header
51739 * nscd/nscd.conf: Add entries for netgroup cache.
51740 * nscd/nscd.h (dbtype): Add netgrdb.
51741 (_PATH_NSCD_NETGROUP_DB): Define.
51742 (netgroup_iov_disabled): Declare.
51743 (xmalloc, xcalloc, xrealloc): Move declarations here.
51744 (cache_search): Adjust prototype.
51745 Add netgroup-related prototypes.
51746 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51747 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51748 (__nscd_innetgr): Declare.
51749 * nscd/selinux.c (perms): Use access_vector_t as element type and
51750 add netgroup-related initializers.
51751 * nscd/netgroupcache.c: New file.
51752 * nscd/nscd_netgroup.c: New file.
51753 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51754 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51755 For four parameters use innetgr.
51756 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51757 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51758 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51759 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51761 * nscd/connections.c (register_traced_file): Don't register file
51762 for disabled databases.
51764 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51766 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51768 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51769 from tree and freeing node.
51771 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51773 * nss/nsswitch.c (__nss_database_lookup): Handle
51774 nss_parse_service_list out of memory case.
51776 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51778 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51779 out of memory case.
51781 2011-10-04 Andreas Schwab <schwab@redhat.com>
51783 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51784 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51786 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51787 elf_machine_rela, elf_machine_lazy_rel.
51788 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51789 (ELF_DYNAMIC_DO_REL): Likewise.
51790 (ELF_DYNAMIC_DO_RELA): Likewise.
51791 (ELF_DYNAMIC_RELOCATE): Likewise.
51792 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51793 to ELF_DYNAMIC_DO_REL.
51794 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51795 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51796 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51798 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51799 skip_ifunc, don't call ifunc function if non-zero.
51800 (elf_machine_rela): Likewise.
51801 (elf_machine_lazy_rel): Likewise.
51802 (elf_machine_lazy_rela): Likewise.
51803 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51804 (elf_machine_lazy_rel): Likewise.
51805 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51807 (elf_machine_lazy_rel): Likewise.
51808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51810 (elf_machine_lazy_rel): Likewise.
51811 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51812 (elf_machine_lazy_rel): Likewise.
51813 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51814 (elf_machine_lazy_rel): Likewise.
51815 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51816 (elf_machine_lazy_rel): Likewise.
51817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51818 (elf_machine_lazy_rel): Likewise.
51819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51820 (elf_machine_lazy_rel): Likewise.
51821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51822 (elf_machine_lazy_rel): Likewise.
51824 2011-09-28 Ulrich Drepper <drepper@gmail.com>
51826 * nss/nss_files/files-init.c (_nss_files_init): Use static
51827 initialization for all the *_traced_file variables.
51829 2011-09-28 Andreas Schwab <schwab@redhat.com>
51831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51833 2011-09-27 Roland McGrath <roland@hack.frob.com>
51836 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51838 2011-09-27 Andreas Schwab <schwab@redhat.com>
51840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51841 Reread the line before reparsing it.
51843 2011-09-26 Andreas Schwab <schwab@redhat.com>
51845 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51847 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51848 Maxim Kuvyrkov <maxim@codesourcery.com>
51849 Joseph Myers <joseph@codesourcery.com>
51851 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51852 if needed for __stack_chk_guard.
51854 2011-09-19 Roland McGrath <roland@hack.frob.com>
51856 * sysdeps/posix/spawni.c (script_execute): Always define it.
51857 It will be optimized away if unused.
51858 (maybe_script_execute): New function.
51859 (__spawni): Call it.
51861 * Makerules: Don't include tls.make.
51862 (config-tls): Always set to thread.
51863 * tls.make.c: File removed.
51865 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51867 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51868 * config.make.in (CPPFLAGS-config): New substituted variable.
51870 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51872 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51875 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51876 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51878 2011-09-15 Roland McGrath <roland@hack.frob.com>
51880 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51881 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51883 (CALL_FAIL): Likewise.
51884 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51885 (CALL_FAIL): Macro removed.
51886 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51888 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51890 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51891 for __FINITE_MATH_ONLY__ == 1.
51893 2011-09-15 Andreas Schwab <schwab@redhat.com>
51895 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51896 __ieee754_sqrt instead of sqrt.
51897 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51898 __ieee754_sqrtf instead of sqrtf.
51899 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51900 __floorf instead of floorf.
51901 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51902 __floorf, __truncf instead of floorf, truncf.
51904 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51906 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51908 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51909 __extern_always_inline.
51910 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51913 2011-09-14 Andreas Schwab <schwab@redhat.com>
51915 * elf/rtld.c (dl_main): Also relocate in dependency order when
51916 doing symbol dependency testing.
51918 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51921 Always define `refsym'.
51923 2011-09-13 Andreas Schwab <schwab@redhat.com>
51925 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51926 (__FD_ELT): Renamed from __FDELT.
51927 * misc/bits/select2.h (__FD_ELT): Likewise.
51928 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51929 __FD_MASK instead of __FDELT, __FDMASK.
51930 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51932 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51935 * elf/Makefile (gen-ldd): Fix pattern.
51937 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51938 (init_tls): Likewise.
51940 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51942 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51944 2011-09-12 Andreas Schwab <schwab@redhat.com>
51946 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51947 `struct cmsghdr *' instead of `void *'.
51948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51951 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51953 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51955 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51956 ldd_rewrite_script.
51958 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51960 * configure.in: Remove --with-tls option.
51961 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51962 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51963 out in case it is missing.
51964 * sysdeps/ia64/elf/configure.in: Likewise.
51965 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51966 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51967 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51968 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51969 * sysdeps/sh/elf/configure.in: Likewise.
51970 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51971 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51972 * sysdeps/x86_64/elf/configure.in: Likewise.
51973 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51974 * sysdeps/mach/hurd/tls.h: Likewise.
51977 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51980 * configure.in: Fix use of AC_INIT.
51982 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51984 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51986 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51988 * malloc/hooks.c: Likewise.
51991 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51992 variables statically.
51993 (narenas): Initialize.
51994 (list_lock): Initialize.
51995 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51996 initializtion of main_arena and list_lock. Small cleanups.
51997 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51998 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51999 Add initializers to main_arena and mp_.
52000 (malloc_state): Remove pagesize member. Change all users to use
52003 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52004 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52005 is always initialized.
52007 * malloc/malloc.c: Removed unused configurations and dead code.
52008 * malloc/arena.c: Likewise.
52009 * malloc/hooks.c: Likewise.
52010 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52012 * include/tls.h: Removed. USE___THREAD must always be defined.
52013 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52014 * elf/dl-libc.c: Likewise.
52015 * elf/dl-tsd.c: Likewise.
52016 * include/errno.h: Likewise.
52017 * include/netdb.h: Likewise.
52018 * include/resolv.h: Likewise.
52019 * inet/herrno-loc.c: Likewise.
52020 * inet/herrno.c: Likewise.
52021 * malloc/arena.c: Likewise.
52022 * malloc/hooks.c: Likewise.
52023 * malloc/malloc.c: Likewise.
52024 * resolv/res-state.c: Likewise.
52025 * resolv/res_libc.c: Likewise.
52026 * sysdeps/i386/dl-machine.h: Likewise.
52027 * sysdeps/ia64/dl-machine.h: Likewise.
52028 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52029 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52030 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52031 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52032 * sysdeps/sh/dl-machine.h: Likewise.
52033 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52034 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52035 * sysdeps/unix/i386/sysdep.S: Likewise.
52036 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52037 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52042 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52047 * sysdeps/x86_64/dl-machine.h: Likewise.
52048 * tls.make.c: Likewise.
52050 * configure.in: Remove --with-__thread option. Make tests for
52051 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52052 tls_model attribute fail if no support is available. Remove
52054 * Makeconfig: Adjust for dropped configure option. All features are
52056 * Makerules: Likewise.
52057 * Versions.def: Likewise.
52058 * argp/argp-fmtstream.c: Likewise.
52059 * argp/argp-fmtstream.h: Likewise.
52060 * argp/argp-help.c: Likewise.
52061 * assert/assert.c: Likewise.
52062 * config.h.in: Likewise.
52063 * config.make.in: Likewise.
52064 * configure: Likewise.
52065 * configure.in: Likewise.
52066 * csu/Versions: Likewise.
52067 * csu/init.c: Likewise.
52068 * elf/tst-audit2.c: Likewise.
52069 * elf/tst-tls10.c: Likewise.
52070 * elf/tst-tls10.h: Likewise.
52071 * elf/tst-tls11.c: Likewise.
52072 * elf/tst-tls12.c: Likewise.
52073 * elf/tst-tls14.c: Likewise.
52074 * elf/tst-tlsmod11.c: Likewise.
52075 * elf/tst-tlsmod12.c: Likewise.
52076 * elf/tst-tlsmod13.c: Likewise.
52077 * elf/tst-tlsmod13a.c: Likewise.
52078 * elf/tst-tlsmod14a.c: Likewise.
52079 * elf/tst-tlsmod15b.c: Likewise.
52080 * elf/tst-tlsmod16a.c: Likewise.
52081 * elf/tst-tlsmod16b.c: Likewise.
52082 * elf/tst-tlsmod7.c: Likewise.
52083 * elf/tst-tlsmod8.c: Likewise.
52084 * elf/tst-tlsmod9.c: Likewise.
52085 * gmon/gmon.c: Likewise.
52086 * grp/fgetgrent_r.c: Likewise.
52087 * grp/putgrent.c: Likewise.
52088 * hurd/fopenport.c: Likewise.
52089 * include/libc-symbols.h: Likewise.
52090 * include/tls.h: Likewise.
52091 * intl/gettextP.h: Likewise.
52092 * intl/loadinfo.h: Likewise.
52093 * locale/global-locale.c: Likewise.
52094 * locale/localeinfo.h: Likewise.
52095 * mach/devstream.c: Likewise.
52096 * malloc/arena.c: Likewise.
52097 * malloc/set-freeres.c: Likewise.
52098 * misc/err.c: Likewise.
52099 * misc/getttyent.c: Likewise.
52100 * misc/mntent_r.c: Likewise.
52101 * posix/getopt.c: Likewise.
52102 * posix/wordexp.c: Likewise.
52103 * pwd/fgetpwent_r.c: Likewise.
52104 * resolv/Versions: Likewise.
52105 * resolv/res_hconf.c: Likewise.
52106 * shadow/fgetspent_r.c: Likewise.
52107 * shadow/putspent.c: Likewise.
52108 * stdio-common/printf_fphex.c: Likewise.
52109 * stdio-common/tmpfile.c: Likewise.
52110 * stdlib/abort.c: Likewise.
52111 * stdlib/fmtmsg.c: Likewise.
52112 * sunrpc/auth_unix.c: Likewise.
52113 * sunrpc/clnt_perr.c: Likewise.
52114 * sunrpc/clnt_tcp.c: Likewise.
52115 * sunrpc/clnt_udp.c: Likewise.
52116 * sunrpc/clnt_unix.c: Likewise.
52117 * sunrpc/openchild.c: Likewise.
52118 * sunrpc/svc_simple.c: Likewise.
52119 * sunrpc/svc_tcp.c: Likewise.
52120 * sunrpc/svc_udp.c: Likewise.
52121 * sunrpc/svc_unix.c: Likewise.
52122 * sunrpc/xdr.c: Likewise.
52123 * sunrpc/xdr_array.c: Likewise.
52124 * sunrpc/xdr_rec.c: Likewise.
52125 * sunrpc/xdr_ref.c: Likewise.
52126 * sunrpc/xdr_stdio.c: Likewise.
52128 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52130 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52132 2011-07-03 Andreas Jaeger <aj@suse.de>
52134 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52135 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52136 regenerate with gen-libm-tests.pl.
52138 2010-05-12 Petr Baudis <pasky@suse.cz>
52141 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52142 around j0() zero points by switching to j1().
52143 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52148 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52150 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52152 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52155 Patch in part by Pavel Roskin <proski@gnu.org>.
52158 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52160 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52161 Free memory block if necessary.
52164 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52165 be NULL. Don't lock in this case.
52167 2011-09-09 Roland McGrath <roland@hack.frob.com>
52169 * elf/elf.h (ELFOSABI_GNU): New macro.
52170 (ELFOSABI_LINUX): Define to that.
52172 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52174 * string/strncat.c (strncat): Undef the symbol in case it has been
52175 defined in bits/string.h.
52177 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52179 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52181 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52184 2011-08-17 Andreas Jaeger <aj@suse.de>
52186 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52188 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52189 Ian Lance Taylor <iant@google.com>
52191 * math/libm-test.inc (lround_test): New testcase.
52192 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52194 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52196 * Makefile: Remove support for automatic cvs check-ins.
52197 * Makerules: Likewise.
52198 * config.make.in: Likewise.
52199 * configure.in: Likewise.
52200 * intl/Makefile: Likewise.
52201 * locale/Makefile: Likewise.
52202 * po/Makefile: Likewise.
52203 * posix/Makefile: Likewise.
52204 * sysdeps/gnu/Makefile: Likewise.
52205 * sysdeps/mach/hurd/Makefile: Likewise.
52206 * sysdeps/sparc/sparc32/Makefile: Likewise.
52209 * posix/Makefile (bug-regex32-ENV): Define.
52210 Patch by John Stanley <jpsinthemix@verizon.net>.
52212 * misc/Makefile (headers): Add bits/select2.h.
52213 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52214 * misc/bits/select2.h: New file.
52215 * include/bits/select2.h: New file.
52216 * debug/Makefile (routines): Add fdelt_chk.
52217 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52218 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52220 * debug/fdelt_chk.c: New file.
52222 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52223 * wcsmbs/test-wmemcmp.c: Likewise.
52224 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52225 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52227 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52229 * string/Makefile (strop-tests): Add memcmp.
52230 * string/test-wmemcmp.c: New file.
52231 * string/test-memcmp.c: Add wmemcmp support.
52233 2011-09-08 Roland McGrath <roland@hack.frob.com>
52236 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52239 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52240 garbage value in a __mach_port_mod_refs call in the cases of the
52241 task-self and thread-self ports.
52243 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52245 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52247 2011-09-08 Andreas Schwab <schwab@redhat.com>
52249 * elf/dl-load.c (lose): Check for non-null L.
52251 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52253 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52255 * elf/dl-libc.c (dlerror_run): Pass back error code from
52259 * elf/dl-load.c (lose): Free l_origin if it is valid.
52261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52263 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52264 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52265 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52266 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52267 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52268 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52270 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52272 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52273 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52274 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52275 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52276 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52277 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52278 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52279 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52280 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52281 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52283 2011-08-15 Alan Modra <amodra@gmail.com>
52286 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52287 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52288 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52289 ppc_mcount to static-only-routines.
52290 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52292 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52293 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52295 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52297 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52298 for finite and infinity parameters.
52300 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52302 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52303 and add nop instructions for throughput optimization.
52304 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52306 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52309 aligned copy for power7 with vector-scalar instructions.
52310 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52312 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52317 2011-09-07 Andreas Schwab <schwab@redhat.com>
52320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52323 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52325 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52326 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52327 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52328 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52331 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52333 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52334 Forgot to demangle the pointer.
52336 * sysdeps/i386/sysdep.h: Define atom_text_section.
52337 * sysdeps/x86_64/sysdep.h: Likewise.
52338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52339 section with atom_text_section.
52340 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52341 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52342 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52344 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52346 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52347 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52348 already be defined. Change to take two parameters and don't assign
52349 result to variable. Adjust all users.
52350 Define INTERNAL_GETTIME if not already defined.
52351 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52354 HAVE_CLOCK_GETTIME_VSYSCALL.
52355 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52357 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52358 gettimeofday vsyscall, just use time.
52360 2011-09-06 Andreas Schwab <schwab@redhat.com>
52362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52365 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52367 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52371 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52372 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52373 syscall if possible.
52375 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52377 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52378 e_ident. Don't pass to find_mapsXX.
52379 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52381 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52384 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52385 * sysdeps/x86_64/multiarch/strchr.S: Update.
52386 Check bit_slow_BSF bit.
52387 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52388 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52389 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52391 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52394 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52396 (tryshell): Define.
52397 (__spawni): Change last parameter to be flag. Test
52398 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52399 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52400 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52401 * posix/spawni.c: Likewise.
52402 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52403 * posix/spawnp.c: Likewise. Change normal version to use
52404 SPAWN_XFLAGS_USE_PATH.
52405 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52406 SPAWN_XFLAGS_TRY_SHELL.
52409 * posix/glob.h: Remove gcc 1.x support.
52412 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52414 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52417 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52419 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52420 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52421 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52422 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52423 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52424 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52426 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52428 * sysdeps/x86_64/wcscmp.S: New file.
52430 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52431 wcscmp-c wcscmp-sse2
52432 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52433 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52434 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52435 * wcsmbs/wcscmp.c: Allow renaming.
52437 2011-09-05 David S. Miller <davem@davemloft.net>
52439 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52440 stack slot, rather than the struct return pointer slot.
52441 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52442 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52444 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52446 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52448 * po/ja.po: Update from translation team.
52451 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52452 kernel in 64-bit binaries.
52454 2011-09-01 David S. Miller <davem@davemloft.net>
52456 * elf/elf.h (HWCAP_SPARC_*): Move to..
52457 * sysdeps/sparc/sysdep.h: this new file and add new values.
52458 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52459 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52460 _DL_HWCAP_COUNT to 24.
52461 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52463 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52464 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52465 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52467 instead of magic constants.
52468 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52470 2011-08-31 David S. Miller <davem@davemloft.net>
52472 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52474 Reimplement to do errno handling inline.
52475 (SYSCALL_ERROR_HANDLER): New macro.
52476 (__SYSCALL_STRING): Do not do errno handling in asm.
52477 (__CLONE_SYSCALL_STRING): Delete.
52478 (__INTERNAL_SYSCALL_STRING): Delete.
52479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52480 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52481 (PSEUDO): Reimplement to do errno handling inline.
52482 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52483 (SYSCALL_ERROR_HANDLER): New macro.
52484 (__SYSCALL_STRING): Do not do errno handling in asm.
52485 (__CLONE_SYSCALL_STRING): Delete.
52486 (__INTERNAL_SYSCALL_STRING): Delete.
52487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52488 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52490 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52491 (inline_syscall*): Add 'err' argument.
52492 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52493 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52494 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52495 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52497 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52498 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52500 2011-08-30 Andreas Schwab <schwab@redhat.com>
52502 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52504 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52506 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52509 2011-08-24 David S. Miller <davem@davemloft.net>
52511 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52513 2011-08-24 Andreas Schwab <schwab@redhat.com>
52515 * elf/Makefile: Add rules to build and run unload8 test.
52516 * elf/unload8.c: New file.
52517 * elf/unload8mod1.c: New file.
52518 * elf/unload8mod1x.c: New file.
52519 * elf/unload8mod2.c: New file.
52520 * elf/unload8mod3.c: New file.
52522 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52525 2011-08-23 David S. Miller <davem@davemloft.net>
52527 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52528 subtract stack bias.
52529 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52530 %sp not %fp in calculations.
52531 (_JMPBUF_UNWINDS_ADJ): Likewise.
52533 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52534 (aio_suspend): Call it to force an exception region around the
52535 AIO_MISC_WAIT() invocation.
52537 2011-08-23 Andreas Schwab <schwab@redhat.com>
52539 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52542 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52544 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52546 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52547 and <dl-machine.h>.
52548 (Elf64_FuncDesc): Remove.
52550 2011-08-22 David S. Miller <davem@davemloft.net>
52552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52553 sigaltstack check, add missing cfi directives.
52554 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52555 missing cfi directives, and sigaltstack handling.
52557 2011-08-16 Andreas Schwab <schwab@redhat.com>
52560 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52561 object is seen twice.
52562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52564 * elf/Makefile (distribute): Add tst-initorder2.c.
52565 (tests): Add tst-initorder2.
52566 (modules-names): Add tst-initorder2a tst-initorder2b
52567 tst-initorder2c tst-initorder2d. Add rules to build them.
52568 ($(objpfx)tst-initorder2.out): New rule.
52569 * elf/tst-initorder2.c: New file.
52570 * elf/tst-initorder2.exp: New file.
52572 2011-08-22 Andreas Schwab <schwab@redhat.com>
52574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52576 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52577 dependencies back to end of function.
52579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52580 $(elfobjdir)/ld.so.
52582 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52585 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52587 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52588 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52589 of __vdso_gettimeofday.
52590 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52591 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52593 (_libc_vdso_platform_setup): Remove initialization of
52594 __vdso_gettimeofday and __vdso_time.
52596 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52598 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52599 and fgetc_unlocked.
52600 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52603 * elf/dl-open.c (add_to_global): Report additions to the global scope
52604 for LD_DEBUG=scopes.
52605 (dl_open_worker): Also print scope of newly loaded dependencies.
52606 (_dl_show_scope): Indicate if there is no scope.
52609 * stdio-common/Makefile (tests): Add bug24.
52610 * stdio-common/bug24.c: New file.
52612 2011-08-19 Andreas Jaeger <aj@suse.de>
52615 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52616 non-existant file when using close-on-exec mode.
52618 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52621 the very first instruction.
52623 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52624 the CFI state in the end.
52625 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52626 inclusion of dl-trampoline.h.
52627 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52629 2011-08-19 Andreas Schwab <schwab@redhat.com>
52631 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52632 expectations for long double.
52634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52635 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52637 2011-08-14 David S. Miller <davem@davemloft.net>
52639 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52640 artificual limit depends upon the system page size.
52642 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52644 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52645 * resolv/Makefile: Define CFLAGS-libresolv.
52647 2011-08-17 Andreas Schwab <schwab@redhat.com>
52649 * nss/makedb.c (compute_tables): Make variables used in nested
52652 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52654 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52655 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52656 if buffer was too small.
52658 * elf/pldd.c (main): Attach to all threads in the process.
52659 Rewrite /proc handling to use *at functions.
52661 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52663 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52664 specifies first scope to show.
52665 (dl_open_worker): Update callers. Move printing scope of new
52666 object to before the relocation.
52667 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52668 * sysdeps/generic/ldsodefs.h: Update declaration.
52670 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52671 string for the scope number.
52673 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52675 * nscd/servicescache.c (cache_addserv): Make sure written is always
52678 2011-08-14 Roland McGrath <roland@hack.frob.com>
52680 * sysdeps/i386/i486/bits/atomic.h
52681 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52682 statement expression, so as to suppress "set but not used" warning.
52683 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52685 * string/strncat.c (STRNCAT): Use prototype definition.
52687 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52688 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52690 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52691 (localedef-modules): Add localedef.
52692 (locale-modules): Add locale.
52694 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52695 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52696 to avoid a warning.
52698 2011-08-14 David S. Miller <davem@davemloft.net>
52700 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52701 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52703 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52705 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52706 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52707 * elf/rtld.c (dl_main): Set l_name of vDSO.
52708 Call _dl_show_scope when DL_DEBUG_SCOPES.
52709 (process_dl_debug): Recognize scopes flag and also set it for all.
52710 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52711 Declare _dl_show_scope.
52713 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52714 (do_dlopen): Pass caller_dlopen to dl_open.
52715 (__libc_dlopen_mode): Initialize caller_dlopen.
52717 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52718 of libc. Make tolower call locale-independent. Optimize a bit by
52719 using isdigit instead of isalnum.
52720 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52722 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52724 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52725 was a dependency or dynamically loaded.
52727 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52729 * intl/l10nflist.c: Allow architecture-specific pop function.
52730 * sysdeps/x86_64/l10nflist.c: New file.
52732 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52735 2011-08-10 Andreas Schwab <schwab@redhat.com>
52737 * include/dirent.h: Add libc_hidden_proto for scandirat and
52738 scandirat64. Don't declare __scandirat64.
52739 * dirent/scandirat.c: Add libc_hidden_def.
52740 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52741 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52743 2011-08-10 David S. Miller <davem@davemloft.net>
52745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52751 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52753 * Versions.def [libc]: Add GLIBC_2.15.
52754 * dirent/Makefile (routines): Add scandirat and scandirat64.
52755 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52757 * dirent/dirent.h: Declare scandirat and scandirat64.
52758 * dirent/scandirat.c: New file.
52759 * dirent/scandirat64.c: New file.
52760 * sysdeps/wordsize-64/scandirat.c: New file.
52761 * sysdeps/wordsize-64/scandirat64.c: New file.
52762 * dirent/opendir.c: Define opendirat.
52763 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52765 * dirent/scandir64.c: Adjust for scandir.c change.
52766 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52767 __scandirat64, and __scandir_cancel_handler.
52768 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52769 additional parameter and use openat instead of open (outside of ld.so).
52770 Add new __opendir as wrapper around __opendirat.
52771 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52772 here without requiring old scandirat implementation.
52774 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52776 * dirent/scandir.c (cancel_handler): Renamed to
52777 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52778 defined. Adjust users.
52779 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52780 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52782 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52784 * string/test-string.h (IMPL): Use __STRING to expand name and then
52787 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52790 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52792 * string/Makefile: Update.
52793 (strop-tests): Append strncat.
52794 * string/test-wcscmp.c: New file.
52795 New comprehensive test for wcscmp.
52796 * string/test-strcmp.c: Update.
52797 (WIDE): New define.
52799 2011-07-22 Andreas Schwab <schwab@redhat.com>
52801 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52804 2011-07-26 Andreas Schwab <schwab@redhat.com>
52806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52807 encoding to ACE if AI_IDN.
52809 2011-08-01 Jakub Jelinek <jakub@redhat.com>
52811 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52812 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52814 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52817 Fix overflow bug in strncat.
52818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52820 * string/test-strncat.c: Update.
52821 Add new tests for checking overflow bugs.
52823 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52826 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52827 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52828 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52829 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52830 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52831 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52832 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52833 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52835 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52836 (USE_AS_STRCAT): Define.
52837 Add strcat and strncat support.
52838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52840 2011-07-25 Andreas Schwab <schwab@redhat.com>
52842 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52843 __n bigger than INT_MAX+1.
52844 (__strncmp_g): Likewise.
52846 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52848 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52849 * libio/stido.h: Likewise.
52851 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52856 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52859 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52863 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52868 (_dl_x86_64_save_sse): Likewise.
52870 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52874 (_dl_x86_64_save_sse): Likewise.
52876 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52878 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52880 2011-07-21 Andreas Schwab <schwab@redhat.com>
52882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52884 (_dl_x86_64_save_sse): Use correct AVX check.
52886 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52888 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52889 bug in strncpy/strncat.
52890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52892 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52894 * string/tester.c (test_strcat): Add tests for different alignments
52895 of source and destination.
52896 (test_strncat): Likewise.
52898 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52901 * posix/glob.c (glob): Check passed in values before using them in
52902 expressions to avoid some overflows.
52903 (glob_in_dir): Likewise.
52906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52907 check for AVX enablement so that we don't crash with old kernels and
52909 * elf/tst-audit4.c: Add same checks here.
52910 * elf/tst-audit6.c: Likewise.
52912 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52914 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52916 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52918 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52920 * po/cs.po: Update from translation team.
52921 * po/bg.po: Likewise.
52923 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52925 * misc/sys/cdefs.h: Add support for const attribute.
52926 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52927 to gnu_dev_{major,minor,makedev} functions.
52929 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52931 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52933 2011-07-20 Andreas Schwab <schwab@redhat.com>
52935 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52938 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52941 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52942 register in order to avoid conflicts with the soft frame pointer
52943 being held in r11 when necessary.
52944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52945 (INTERNAL_VSYSCALL_NCS): Likewise.
52947 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52949 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52950 * elf/dl-fini.c (_dl_fini): Adjust caller.
52951 * elf/dl-close.c (_dl_close_worker): Likewise.
52952 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52954 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52956 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52957 "aux_cache->nlibs < 0".
52959 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52960 in the reload-count case.
52962 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52965 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52966 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52967 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52968 * sysdeps/x86_64/multiarch/strcat.S: New file.
52969 * sysdeps/x86_64/multiarch/strncat.S: New file.
52970 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52971 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52972 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52973 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52974 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52975 (USE_AS_STRCAT): Define.
52976 Add strcat and strncat support.
52977 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52979 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52980 * string/strncat.c: Update.
52981 (USE_AS_STRNCAT): Define.
52982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52983 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52985 * sysdeps/x86_64/multiarch/init-arch.h
52986 (bit_Prefer_PMINUB_for_stringop): New.
52987 (index_Prefer_PMINUB_for_stringop): Likewise.
52988 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52989 bit_Prefer_PMINUB_for_stringop.
52991 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52993 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52995 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52996 of casting of buffer.
52997 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52998 buffer32 and buffer64.
52999 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53000 writes instead of casting of buffer.
53001 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53003 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53006 2011-07-19 Andreas Schwab <schwab@redhat.com>
53008 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53010 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53012 * nscd/nscd.c (termination_handler): Don't do anything for a database
53013 if it has not yet been initialized.
53015 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53017 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53019 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53021 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53023 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53025 * po/nl.po: Update from translation team.
53026 * po/sv.po: Likewise.
53028 2011-07-16 Roland McGrath <roland@hack.frob.com>
53030 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53031 now disallowed by GCC.
53033 * configure.in (use-default-link): Default to yes if a test -shared
53034 link meets our qualifications.
53035 * configure: Regenerated.
53037 * config.make.in (output-format): New variable.
53038 * configure.in: Check for ld --print-output-format support.
53039 * configure: Regenerated.
53040 * Makerules ($(common-objpfx)format.lds)
53041 [$(output-format) != unknown]: Just use $(output-format),
53042 instead of the linker-script munging.
53044 2011-07-14 Roland McGrath <roland@hack.frob.com>
53046 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53047 of $(common-objpfx)shlib.lds.
53048 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53050 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53051 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53053 * configure.in (-z relro check): Adjust test code to add a large
53054 writable data section after it.
53055 * configure: Regenerated.
53057 2011-07-11 Roland McGrath <roland@hack.frob.com>
53059 * configure.in (-z relro check): Fix test code to make the variable
53061 * configure: Regenerated.
53063 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53065 * nscd/nscd.h (struct traced_file): Define.
53066 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53067 elements. Add traced_files.
53068 (inotify_fd): Declare.
53069 (register_traced_file): Declare.
53070 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53071 (inotify_fd): Export.
53072 (resolv_conf_descr): Remove.
53073 (nscd_init): Move inotify descriptor creation to main.
53074 Don't register files for notification here.
53075 (register_traced_file): New function.
53076 (invalidate_cache): Don't use reset_res to determine whether to call
53077 res_init, go through the list of registered files.
53078 (main_loop_poll): The inotify descriptors are now stored in the
53079 structures for the traced files.
53080 (main_loop_epoll): Likewise
53081 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53082 to __nss_disable_nscd.
53083 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53084 for a database anymore. Check the records for all the registered
53086 * nss/Makefile (libnss_files-routines): Add files-init.
53087 (libnss_db-routines): Add db-init.
53088 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53089 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53090 * nss/nss_db/db-init.c: New file.
53091 * nss/nss_files/files-init.c: New file.
53092 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53093 __nss_lookup_function.
53094 (__nss_lookup_function): Call nss_load_library.
53095 (nss_load_all_libraries): New function.
53096 (__nss_disable_nscd): Take parameter with callback function for files
53097 to register. Set is_nscd. Load all the DSOs for the NSS modules
53098 used for the cached services.
53099 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53100 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53101 options for features to all the files in nscd.
53103 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53105 2011-07-10 Roland McGrath <roland@hack.frob.com>
53107 * csu/elf-init.c (__libc_csu_init): Comment typo.
53109 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53111 * po/pl.po: Update from translation team.
53112 * po/ja.po: Likewise.
53113 * po/ru.po: Likewise.
53114 * po/ko.po: Likewise.
53115 * po/fr.po: Likewise.
53117 2011-07-09 Roland McGrath <roland@hack.frob.com>
53119 * configure.in (.ctors/.dtors header and trailer check):
53120 Use an empirical test on a built program.
53121 * configure: Regenerated.
53123 * configure.in (-z relro check): Use an empirical test on a built DSO.
53124 Detect, but do not require, on ia64.
53125 * configure: Regenerated.
53127 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53128 Update tests that use readelf to use $READELF instead.
53129 * configure: Regenerated.
53131 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53133 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53134 if the result is not used.
53136 2011-07-05 Andreas Jaeger <aj@suse.de>
53139 * stdlib/tst-strtod.c: Add testcase.
53141 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53143 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53144 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53145 The latter has a higher limit. Take additional parameter to pass to
53147 (__pathconf): Pass file to __statfs_link_max.
53148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53150 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53154 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53155 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53157 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53158 (__statfs_filesize_max): Likewise.
53159 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53161 2011-07-05 Andreas Jaeger <aj@suse.de>
53163 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53165 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53167 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53169 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53172 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53174 * Makefile (strop-tests): Add strncat.
53175 * string/test-strncat.c: New file.
53177 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53179 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53181 2011-06-21 Andreas Jaeger <aj@suse.de>
53183 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53184 Copy rule from iconvdata/Makefile.
53186 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53189 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53190 but no long options are defined, just return 'W'.
53192 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53195 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53197 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53199 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53201 (innetgr): Likewise.
53203 2011-07-05 Roland McGrath <roland@hack.frob.com>
53205 * config.make.in (install_root): Default to $(DESTDIR).
53207 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53209 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53211 2011-07-02 Roland McGrath <roland@hack.frob.com>
53213 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53215 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53216 containing directory rather than embedding absolute directory names.
53218 * scripts/check-local-headers.sh: Rewritten using awk.
53219 Match by word, not by line. Print error messages for matches.
53220 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53222 * Makerules [shlib-lds-flags empty]:
53223 ($(common-objpfx)libc_pic.opts): New target.
53224 ($(common-objpfx)libc_pic.os.clean): New target.
53225 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53227 * config.make.in (OBJCOPY): New variable.
53228 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53229 * configure: Regenerated.
53231 * config.make.in (use-default-link): New variable.
53232 * configure.in (use_default_link): Grok --with-default-link to set it.
53233 * configure: Regenerated.
53234 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53235 (shlib-lds, shlib-lds-flags): Define to empty.
53237 * Makerules (shlib-lds): New variable.
53238 (shlib-lds-flags): New variable.
53239 (build-shlib, build-moduile, build-module-asneeded): Use it.
53240 ($(common-objpfx)libc.so): Use $(shlib-lds).
53241 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53242 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53244 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53245 DT_FLAGS/DT_FLAGS_1 with zero flags.
53247 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53248 linker script munging.
53250 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53252 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53254 * crypt/sha512.c (sha512_process_block): Perform total addition using
53255 128-bit if possible.
53256 (__sha512_finish_ctx): Likewise.
53257 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53259 * crypt/sha256.c (SWAP64): Define.
53260 (sha256_process_block): Perform total addition using 64-bit if
53262 (__sha256_finish_ctx): Likewise.
53264 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53266 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53267 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53268 * nscd/hstcache.c (cache_addhst): Likewise.
53269 * nscd/grpcache.c (cache_addgr): Likewise.
53270 * nscd/aicache.c (addhstaiX): Likewise
53271 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53273 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53275 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53277 * nscd/hstcache.c (cache_addhst): Likewise.
53278 * nscd/grpcache.c (cache_addgr): Likewise.
53279 * nscd/aicache.c (addhstaiX): Likewise
53281 2011-07-01 Andreas Schwab <schwab@redhat.com>
53283 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53284 domain only when needed.
53286 2011-06-30 Andreas Schwab <schwab@redhat.com>
53288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53289 is always restored.
53291 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53293 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53294 are re-adding the entry.
53295 * nscd/servicescache.c (cache_addserv): Likewise.
53297 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53299 * sysdeps/generic/dl-irel.h: fix protection against multiple
53301 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53303 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53306 * malloc/memusage.sh: Fix quoting in message.
53307 * debug/xtrace.sh: Likewise.
53309 * configure.in: Remove support for --experimental-malloc option, make
53311 * config.make.in: Likewise.
53312 * malloc/Makefile: Likewise.
53314 2011-06-27 Andreas Schwab <schwab@redhat.com>
53316 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53317 two-byte characters.
53319 2011-06-27 Roland McGrath <roland@hack.frob.com>
53321 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53322 AC_CACHE_CHECK invocation.
53323 * configure: Regenerated.
53325 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53327 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53330 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53331 bit from old_res_options.
53333 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53335 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53336 value type for setfct.
53338 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53340 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53341 __gettimeofday instead of gettimeofday.
53343 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53345 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53347 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53349 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53354 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53357 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53358 strcpy-sse2-unaligned strncpy-sse2-unaligned
53359 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53360 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53361 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53362 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53363 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53364 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53365 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53366 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53367 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53368 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53369 (STRCPY): Support SSE2 and SSSE3 versions.
53371 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53375 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53376 kernels which artificially limit size of requests.
53378 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53381 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53382 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53383 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53384 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53385 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53386 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53387 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53388 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53390 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53391 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53392 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53393 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53394 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53396 Enable unaligned load optimization for Intel Core i3, i5 and i7
53398 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53400 (index_Fast_Unaligned_Load): Define.
53401 (HAS_FAST_UNALIGNED_LOAD): Define.
53403 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53405 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53407 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53411 until it is clear that the information is realy needed.
53412 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53414 2011-06-22 Andreas Schwab <schwab@redhat.com>
53416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53418 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53421 /sys/devices/system/cpu/online if it is usable.
53423 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53424 reading the information from the /proc filesystem to once a second.
53426 2011-06-21 Andreas Jaeger <aj@suse.de>
53428 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53429 NULL after inclusion of kernel headers.
53431 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53433 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53434 calls to internal_setent.
53437 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53438 addresses using gethostbyname4_r ignore IPv4 addresses.
53440 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53441 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53443 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53445 2011-06-20 David S. Miller <davem@davemloft.net>
53447 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53449 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53451 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53452 (elf_irel): Use it.
53453 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53454 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53455 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53456 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53457 * sysdeps/x86_64/dl-irel.h: Likewise.
53459 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53460 * elf/dl-sym.c: Likewise.
53462 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53464 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53465 need to dereference resplen2.
53467 2011-06-14 Andreas Schwab <schwab@redhat.com>
53469 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53471 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53473 * Makeconfig: Define vardbdir and inst_vardbdir.
53474 * nss/Makefile: Add rules to install db-Makefile.
53476 * nss/nss_db/db-XXX.c: Cleanup.
53478 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53479 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53481 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53482 * nss/makedb.c: Implement -g option to specify that value strings
53483 are generated and should not be added to table iterated over for
53485 * nss/nss_db/db-initgroups.c: New file.
53487 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53490 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53491 (internal_getgrouplist): Adjust to name change.
53492 Update use_initgroups_entry if this is not the first call.
53493 * nss/databases.def: Add initgroups entry.
53495 * nss/makedb.c (compute_tables): Check result of multiple hash table
53496 sizes to minimize maximum chain length.
53498 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53500 * Versions.def: Add entry for libnss_db.
53501 * shlib-versions: Likewise.
53502 * nss/Makefile: Add rules to build libnss_db.
53503 * nss/Versions: Add libnss_db information. Organize libnss_files
53505 * nss/db-Makefile: Add gshadow support. Change rules for the new
53506 makedb progra. Some minor improvements to generate smaller files.
53507 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53509 * nss/makedb.c: ...here.
53510 Improve database format to be smaller and require less memory at
53512 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53514 * nss/nss_db/db-netgrp.c: Likewise.
53515 * nss/nss_db/db-open.c: Likewise.
53516 * nss/nss_files/flies-XXX.x: Adjust comments.
53517 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53518 * nss/nss_files/files-grp.c: Likewise.
53519 * nss/nss_files/files-hosts.c: Likewise.
53520 * nss/nss_files/files-network.c: Likewise.
53521 * nss/nss_files/files-proto.c: Likewise.
53522 * nss/nss_files/files-pwd.c: Likewise.
53523 * nss/nss_files/files-rpc.c: Likewise.
53524 * nss/nss_files/files-service.c: Likewise.
53525 * nss/nss_files/files-sgrp.c: Likewise.
53526 * nss/nss_files/files-spwd.c: Likewise.
53527 * nss/nss_db/db-alias.c: Removed.
53528 * nss/nss_db/dummy-db.h: Removed.
53530 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53532 * nss/makedb.c: Rewritten to not use database library.
53533 * nss/Makefile: Update to build new makedb program.
53535 2011-06-14 Andreas Jaeger <aj@suse.de>
53537 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53538 memset declaration.
53540 2011-06-10 Andreas Schwab <schwab@redhat.com>
53542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53545 2011-06-10 Roland McGrath <roland@hack.frob.com>
53547 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53548 * elf/Makefile ($(objpfx)ld.so): Likewise.
53550 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53551 Don't list ld.so twice in dependencies.
53553 * posix/bug-regex31.c: Include <stdlib.h>.
53555 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53557 * nis/nss_compat/compat-spwd.c
53558 (getspent_next_nss_netgr): Remove unused variable.
53559 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53561 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53562 nonmembers" output to use the right array.
53564 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53566 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53568 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53569 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53570 * catgets/gencat.c (read_input_file): Likewise.
53571 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53573 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53574 variable definition inside #if's controlling its use.
53576 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53578 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53580 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53582 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53585 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53587 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53588 * configure: Regenerated.
53590 * Makerules: Revert last change.
53591 * elf/Makefile: Likewise.
53593 2011-06-09 Roland McGrath <roland@hack.frob.com>
53595 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53596 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53597 (reloc-link): Likewise.
53599 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53601 * elf/Makefile: Add rules to build pldd.
53602 * elf/pldd.c: New file.
53603 * elf/pldd-xx.c: New file.
53605 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53607 * version.h: Update for 2.15 development version.
53609 2011-06-07 David S. Miller <davem@davemloft.net>
53611 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53613 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53614 elf_machine_lazy_rel): Likewise.
53615 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53617 elf_machine_lazy_rel): Likewise.
53618 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53619 dl_hwcap via passed in argument.
53620 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53623 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53625 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53627 2011-06-06 Roland McGrath <roland@hack.frob.com>
53630 * manual/fdl-1.1.texi: New file, verbatim from:
53631 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53632 * manual/lgpl-2.1.texi: New file, verbatim from:
53633 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53634 * manual/Makefile (licenses): New variable, list those new file names.
53636 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53638 * manual/fdl.texi: File removed.
53639 * manual/lesser.texi: File removed.
53640 * manual/libc.texinfo (Copying, Documentation License):
53641 Use new @include file names, put @appendix directive before @include.
53643 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53646 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53647 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53648 (mq_open): Add __NTH.
53650 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53653 Assume Intel Core i3/i5/i7 processor if AVX is available.
53655 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53660 2011-05-31 Andreas Schwab <schwab@redhat.com>
53662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53663 memory. Use alloca_account. Fix memory leak when retrying.
53665 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53667 * version.h (RELEASE): Bump for 2.14 release.
53668 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53670 * config.make.in (RANLIB): Remove entry.
53672 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53674 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53675 (libc.pot): Work around missing support for .ksh extension in xgettext.
53678 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53679 if both request failed.
53680 (send_dg): In case of server errors clear resplen or *resplen2.
53683 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53684 when there are multiple maps.
53685 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53686 (_dl_fini): Remove test here.
53688 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53690 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53693 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53694 bit from old_res_options.
53695 (gaih_inet): Likewise.
53698 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53701 * resolv/res_init.c (res_setoptions): Make the code more compact.
53704 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53708 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53710 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53713 * malloc/malloc.h: Declare malloc hook variables as volatile.
53715 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53719 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53720 raise in the comment.
53721 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53722 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53723 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53725 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53728 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53729 grow the buffers more if it already has to be sufficient.
53730 (build_wcs_upper_buffer): Likewise.
53731 * posix/regexec.c (check_matching): Likewise.
53732 (clean_state_log_if_needed): Likewise.
53733 (extend_buffers): Don't enlarge buffers beyond size of the input
53735 Patches mostly by Emil Wojak <emil@wojak.eu>.
53736 * posix/bug-regex32.c: New file.
53737 * posix/Makefile (tests): Add bug-regex32.
53739 * locale/findlocale.c (_nl_find_locale): Return right away if
53740 _nl_explode_name failed.
53741 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53743 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53745 * debug/xtrace.sh: Unify messages.
53746 * malloc/memusage.sh: Likewise.
53749 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53750 time symbol from vDSO. Substitute with vsyscall if not available.
53751 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53754 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53755 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53756 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53757 Add sendmmsg and internal_sendmmsg.
53758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53759 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53762 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53763 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53764 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53766 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53769 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53770 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53776 * iconvdata/Makefile (tests): Add bug-iconv9.
53777 * iconvdata/bug-iconv9.c: New file.
53779 2011-05-27 Andreas Schwab <schwab@redhat.com>
53782 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53784 2011-05-25 Jakub Jelinek <jakub@redhat.com>
53786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53787 (struct user_regs_struct): Change intcs field back to cs.
53789 2011-05-25 Ulrich Drepper <drepper@gmail.com>
53791 * po/ja.po: Update from translation team.
53793 2011-05-23 Ulrich Drepper <drepper@gmail.com>
53796 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53799 2011-05-20 Andreas Schwab <schwab@redhat.com>
53801 * stdlib/longlong.h: Update from GCC.
53803 2011-05-23 Andreas Schwab <schwab@redhat.com>
53805 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53807 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53808 Add parameter name.
53809 (__sysconf): Pass it down.
53811 2011-05-22 Ulrich Drepper <drepper@gmail.com>
53814 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53816 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53817 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53818 add in in __libc_use_alloca calls. Adjust callers.
53819 (glob): Use malloc in some situations.
53821 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53822 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53825 2011-05-21 Ulrich Drepper <drepper@gmail.com>
53827 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53828 and CLOCK_BOOTTIME_ALARM.
53831 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53834 * string/_strerror.c (__strerror_r): Print negative errors as signed
53838 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53839 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53840 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53842 * configure.in: Fix typo in redirection and correct removal of test
53843 files in two cases.
53846 * locale/setlocale.c (new_composite_name): Fix test to check for
53847 identical name of all categories.
53850 * libio/filedoalloc.c (local_isatty): New function.
53851 (_IO_file_doallocate): Use local_isatty.
53852 * stdio-common/perror.c (perror): In case a new stream is used
53853 forward the stream error.
53854 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53857 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53862 * include/alloca.h (extend_alloca_account): Define.
53865 * posix/regex.h: Fix comments with documentation of user-accessible
53866 fields after compilation and describe correct free'ing of pattern
53867 after re_compile_pattern.
53868 Patch by Reuben Thomas <rrt@sc3d.org>.
53870 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53872 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53873 and -mno-altivec to prevent the compiler from using Altivec and/or
53874 VSX instructions when the corresponding registers are not available.
53876 2011-05-19 Andreas Schwab <schwab@redhat.com>
53878 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53880 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53882 * libio/freopen.c (freopen): Use __dup2, not dup2.
53883 * libio/freopen64.c (freopen64): Likewise.
53885 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53888 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53889 * math/Makefile (tests): Add test-powl.
53890 (CFLAGS-test-powl.c): Define.
53891 * math/test-powl.c: New file.
53893 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53895 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53897 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53900 * iconvdata/gb18030.c: Update to GB18020-2005.
53902 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53904 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53905 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53906 Patch by Aharon Robbins <arnold@skeeve.com>.
53909 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53913 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53914 through underflows.
53917 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53918 point to strings before performing equality test for error_one_per_line
53922 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53925 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53926 (struct user_fpregs_struct): Avoid __uint*_t types.
53929 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53930 symbol info. Use it instead of calling _dl_addr locally.
53931 (lock_and_info): New function.
53932 (tr_freehook): Call lock_and_info and pass symbol info as additional
53933 parameter to tr_where.
53934 (tr_mallochook): Likewise.
53935 (tr_reallochook): Likewise.
53936 (tr_memalignhook): Likewise.
53938 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53939 used and couldn't be at all thread-safe.
53941 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53943 * libio/freopen.c (freopen): Don't close old file descriptor
53944 before the new one is opened. Instead dup the new file descriptor
53945 to the old one after the new stream is created.
53946 * libio/freopen64.c (freopen64): Likewise.
53947 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53948 * libio/fileops.c (_IO_new_file_close_it): Handle new
53949 _IO_FLAGS2_NOCLOSE flag.
53950 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53951 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53952 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53953 _IO_FLAGS2_NOCLOSE flag.
53954 * include/unistd.h: Add hidden_proto for dup3.
53955 Define __have_dup3.
53956 * io/dup3.c: Define hidden symbol.
53957 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53960 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53961 when an incomplete long option is used.
53962 * posix/tst-getopt_long1.c: New file.
53963 * posix/Makefile (tests): Add tst-getopt_long1.
53966 * scripts/config.guess: Update from autoconf-2.68.
53967 * scripts/config.sub: Likewise.
53970 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53972 (has_cpuclock): ...this. New function.
53973 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53974 macro here based on has_cpuclock code.
53977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53978 First byte (not low byte) is now always NUL.
53979 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53982 Use non-cancelable interfaces.
53985 * locale/iso-639.def: Add entry for Sorani.
53988 * include/stdlib.h: Move include protection to the right place.
53989 Define abort_msg_s. Declare __abort_msg with it.
53990 * stdlib/abort.c (__abort_msg): Adjust type.
53991 * assert/assert.c (__assert_fail_base): New function. Majority
53992 of code from __assert_fail. Allocate memory for __abort_msg with
53994 (__assert_fail): Now call __assert_fail_base.
53995 * assert/assert-perr.c: Remove bulk of implementation. Use
53996 __assert_fail_base.
53997 * include/assert.hL Declare __assert_fail_base.
53998 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54000 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54002 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54006 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54007 until all modules are registered in the DTV.
54008 * elf/Makefile: Add rules to build and run tst-tls19.
54009 * elf/tst-tls19.c: New file.
54010 * elf/tst-tls19mod1.c: New file.
54011 * elf/tst-tls19mod2.c: New file.
54012 * elf/tst-tls19mod3.c: New file.
54013 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54016 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54020 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54021 two-byte sequence errors.
54022 * iconvdata/Makefile (tests): Add bug-iconv8.
54023 * iconvdata/bug-iconv8.c: New file.
54026 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54029 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54032 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54033 (dummy_getcfa): New function.
54034 (init): Get _Unwind_GetCFA address, use dummy if not found.
54035 (backtrace_helper): In recursion check, also check whether CFA changes.
54036 (__backtrace): Completely initialize arg.
54038 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54039 storing incomplete byte sequence in state object. Avoid testing for
54040 guaranteed too small input if we know there is enough data available.
54042 2011-05-11 Andreas Schwab <schwab@redhat.com>
54044 * Makeconfig (+link-pie): Indent.
54045 * Rules (binaries-pie): Define if $(have-fpie) and
54047 (binaries-shared): Also filter out $(binaries-pie).
54048 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54049 * nscd/Makefile (others-pie): Add nscd.
54050 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54051 ($(objpfx)nscd): Remove command override.
54052 * login/Makefile (others-pie): Add pt_chown.
54053 ($(objpfx)pt_chown): Remove command override.
54054 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54055 remove command overrides.
54057 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54059 * libio/tst_putwc.c: Fix error messages.
54062 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54063 currently writing and seek to current position when not.
54064 * libio/Makefile (tests): Add bug-fclose1.
54065 * libio/bug-fclose1.c: New file.
54067 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54070 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54071 don't set DF_1_NODELETE here.
54072 (do_lookup_x): When entering new entry test for copy relocation
54073 and if necessary set DF_1_NODELETE flag.
54074 * elf/tst-unique4.cc: New file.
54075 * elf/tst-unique4.h: New file.
54076 * elf/tst-unique4lib.cc: New file.
54077 * elf/Makefile: Add rules to build and run tst-unique4.
54078 Patch by Piotr Bury <pbury@goahead.com>.
54080 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54083 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54086 * misc/mntent_r.c (addmntent): Flush the stream after the output
54089 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54090 (is_trusted_path_normalize): Skip initial colon. Append slash
54091 to empty buffer. Duplicate is_trusted_path code but allow
54092 constructed patch to be prefix.
54093 (is_dst): Allow $ORIGIN followed by /.
54094 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54095 Correct testing of result of is_trusted_path_normalize
54096 (decompose_rpath): Fix warning.
54098 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54101 * grp/initgroups.c (internal_getgrouplist): When we found the service
54102 list through the initgroups entry in nsswitch.conf do not always
54103 continue on a successful lookup. Don't always use the
54104 __nss_group_database value if it is set.
54105 * nss/nsswitch.conf (initgroups): Change action for successful db
54106 lookup to continue for compatibility.
54108 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54111 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54113 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54115 * iconvdata/tst-tables.sh: Likewise.
54116 * iconvdata/cp770.c: New file.
54117 * iconvdata/cp771.c: New file.
54118 * iconvdata/cp772.c: New file.
54119 * iconvdata/cp773.c: New file.
54120 * iconvdata/cp774.c: New file.
54121 * iconvdata/testdata/CP770: New file.
54122 * iconvdata/testdata/CP770..UTF8: New file.
54123 * iconvdata/testdata/CP771: New file.
54124 * iconvdata/testdata/CP771..UTF8: New file.
54125 * iconvdata/testdata/CP772: New file.
54126 * iconvdata/testdata/CP772..UTF8: New file.
54127 * iconvdata/testdata/CP773: New file.
54128 * iconvdata/testdata/CP773..UTF8: New file.
54129 * iconvdata/testdata/CP774: New file.
54130 * iconvdata/testdata/CP774..UTF8: New file.
54132 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54134 * iconvdata/gen-8bit-gap.sh: Likewise.
54135 * iconvdata/gen-8bit.sh: Likewise.
54137 * locale/iso-639.def: Add ary entry.
54140 * locale/C-translit.h.in: Add U20A1 transliteration.
54143 * locale/iso-639.def: Add wae entry.
54144 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54147 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54151 * locale/C-translit.h.in: Add entry for U20B9.
54152 Patch by pravin.d.s@gmail.com.
54154 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54157 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54158 ENAMETOOLONG use generic getcwd.
54159 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54160 in rtld. Use *stat64.
54161 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54162 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54163 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54164 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54165 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54166 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54167 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54168 __fstatat64 macros.
54169 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54170 * dirent/rewinddir.c: Add libc_hidden_def.
54171 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54172 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54174 * include/dirent.h (__alloc_dir): Add flags parameter.
54175 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54176 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54178 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54179 from fdopendir if O_CLOEXEC is already set.
54181 2011-03-15 Alan Modra <amodra@gmail.com>
54183 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54184 l_tls_firstbyte_offset non-zero. Save padding offset in
54185 l_tls_firstbyte_offset for later use.
54186 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54187 freeing static tls block.
54189 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54191 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54192 where #ifdef was intended. The intent is to prevent ARG_MAX from
54193 being defined by the kernel headers.
54195 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54198 * resolv/resolv.h: Define RES_NOTLDQUERY.
54199 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54200 no-tld-query and set RES_NOTLDQUERY.
54201 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54202 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54203 modern BIND to search name as TLD unless forbidden.
54205 2011-05-07 Petr Baudis <pasky@suse.cz>
54206 Ulrich Drepper <drepper@gmail.com>
54209 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54210 (is_trusted_path): ...to here.
54211 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54212 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54213 using is_trusted_path_normalize() in setuid scripts.
54215 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54217 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54218 __BEGIN/__END_DECLS.
54220 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54222 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54223 NSS_STATUS_NOTFOUND if no record was found.
54225 2011-05-05 Andreas Schwab <schwab@redhat.com>
54227 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54228 (headers-not-in-tirpc): Remove rpc/netdb.h
54229 * resolv/netdb.h: Revert last change.
54231 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54233 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54234 circular dependency between libgcc.a and libc.a.
54236 2011-05-05 Andreas Schwab <schwab@redhat.com>
54238 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54239 * nis/Makefile: Don't install rpcsvc/*.
54240 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54241 instead of <rpc/types.h>.
54242 (MAXHOSTNAMELEN): Define.
54244 2011-05-03 Andreas Schwab <schwab@redhat.com>
54246 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54248 2011-04-28 Maciej Babinski <mbabinski@google.com>
54251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54252 gethostbyname4_r when IPv6 results are possible.
54254 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54257 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54258 _PC_PIPE_BUF handling.
54260 2011-04-30 Bruno Haible <bruno@clisp.org>
54263 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54264 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54266 * inet/getnameinfo.c (getnameinfo): Likewise.
54268 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54270 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54271 to groups setting in database lookup.
54272 * nss/nsswitch.conf: Add initgroups entry.
54274 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54277 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54279 Patch by Eric Blake <eblake@redhat.com>.
54281 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54283 * sunrpc/Makefile (need-export-routines): Add svc_run.
54284 (routines): Remove svc_run.
54285 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54286 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54287 * sunrpc/svc_run.c (svc_run): Likewise.
54288 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54290 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54292 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54293 problem in reallocation in last patch.
54295 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54297 * sunrpc/Makefile: Move inclusion of Rules.
54299 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54301 * nss/nss_files/files-initgroups.c: New file.
54302 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54303 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54304 _nss_files_initgroups_dyn.
54306 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54308 * elf/elf.h (R_ARM_IRELATIVE): Define.
54310 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54312 * po/ru.po: Update from translation team.
54314 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54316 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54319 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54322 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54323 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54324 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54326 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54328 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54330 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54332 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54333 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54334 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54336 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54339 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54341 * stdlib/bug-getcontext.c: New file.
54342 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54344 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54346 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54347 instructions into .machine "z9-109".
54348 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54349 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54351 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54353 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54354 between environment variables and auxiliary vector.
54356 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54358 * Makefile: Add rules to build linkobj/libc.so.
54359 * include/libc-symbols.h: Define libc_hidden_nolink.
54360 * include/rpc/auth.h: Mark functions which are to be hidden.
54361 * include/rpc/auth_des.h: Likewise.
54362 * include/rpc/auth_unix.h: Likewise.
54363 * include/rpc/clnt.h: Likewise.
54364 * include/rpc/des_crypt.h: Likewise.
54365 * include/rpc/key_prot.h: Likewise.
54366 * include/rpc/pmap_clnt.h: Likewise.
54367 * include/rpc/pmap_prot.h: Likewise.
54368 * include/rpc/pmap_rmt.h: Likewise.
54369 * include/rpc/rpc_msg.h: Likewise.
54370 * include/rpc/svc.h: Likewise.
54371 * include/rpc/svc_auth.h: Likewise.
54372 * include/rpc/xdr.h: Likewise.
54373 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54374 * nss/Makefile: Likewise.
54375 * sunrpc/Makefile: Don't install headers. Build library with normal
54376 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54377 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54378 for the compat linking library. Remove use of INTDEF/INTUSE.
54379 * sunrpc/auth_none.c: Likewise.
54380 * sunrpc/auth_unix.c: Likewise.
54381 * sunrpc/authdes_prot.c: Likewise.
54382 * sunrpc/authuxprot.c: Likewise.
54383 * sunrpc/clnt_gen.c: Likewise.
54384 * sunrpc/clnt_perr.c: Likewise.
54385 * sunrpc/clnt_raw.c: Likewise.
54386 * sunrpc/clnt_simp.c: Likewise.
54387 * sunrpc/clnt_tcp.c: Likewise.
54388 * sunrpc/clnt_udp.c: Likewise.
54389 * sunrpc/clnt_unix.c: Likewise.
54390 * sunrpc/des_crypt.c: Likewise.
54391 * sunrpc/des_soft.c: Likewise.
54392 * sunrpc/get_myaddr.c: Likewise.
54393 * sunrpc/key_call.c: Likewise.
54394 * sunrpc/key_prot.c: Likewise.
54395 * sunrpc/netname.c: Likewise.
54396 * sunrpc/pm_getmaps.c: Likewise.
54397 * sunrpc/pm_getport.c: Likewise.
54398 * sunrpc/pmap_clnt.c: Likewise.
54399 * sunrpc/pmap_prot.c: Likewise.
54400 * sunrpc/pmap_prot2.c: Likewise.
54401 * sunrpc/pmap_rmt.c: Likewise.
54402 * sunrpc/publickey.c: Likewise.
54403 * sunrpc/rpc_cmsg.c: Likewise.
54404 * sunrpc/rpc_common.c: Likewise.
54405 * sunrpc/rpc_dtable.c: Likewise.
54406 * sunrpc/rpc_prot.c: Likewise.
54407 * sunrpc/rpc_thread.c: Likewise.
54408 * sunrpc/rtime.c: Likewise.
54409 * sunrpc/svc.c: Likewise.
54410 * sunrpc/svc_auth.c: Likewise.
54411 * sunrpc/svc_authux.c: Likewise.
54412 * sunrpc/svc_raw.c: Likewise.
54413 * sunrpc/svc_run.c: Likewise.
54414 * sunrpc/svc_simple.c: Likewise.
54415 * sunrpc/svc_tcp.c: Likewise.
54416 * sunrpc/svc_udp.c: Likewise.
54417 * sunrpc/svc_unix.c: Likewise.
54418 * sunrpc/svcauth_des.c: Likewise.
54419 * sunrpc/xcrypt.c: Likewise.
54420 * sunrpc/xdr.c: Likewise.
54421 * sunrpc/xdr_array.c: Likewise.
54422 * sunrpc/xdr_float.c: Likewise.
54423 * sunrpc/xdr_intXX_t.c: Likewise.
54424 * sunrpc/xdr_mem.c: Likewise.
54425 * sunrpc/xdr_rec.c: Likewise.
54426 * sunrpc/xdr_ref.c: Likewise.
54427 * sunrpc/xdr_sizeof.c: Likewise.
54428 * sunrpc/xdr_stdio.c: Likewise.
54430 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54433 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54434 * sysdeps/ia64/dl-tls.h: Likewise.
54435 * sysdeps/powerpc/dl-tls.h: Likewise.
54436 * sysdeps/s390/dl-tls.h: Likewise.
54437 * sysdeps/sh/dl-tls.h: Likewise.
54438 * sysdeps/sparc/dl-tls.h: Likewise.
54439 * sysdeps/x86_64/dl-tls.h: Likewise.
54440 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54442 2011-03-14 Andreas Schwab <schwab@redhat.com>
54444 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54445 rpath element also skip the following colon.
54446 (expand_dynamic_string_token): Add is_path parameter and pass
54447 down to DL_DST_REQUIRED and _dl_dst_substitute.
54448 (decompose_rpath): Call expand_dynamic_string_token with
54449 non-zero is_path. Ignore empty rpaths.
54450 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54453 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54458 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54461 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54462 Patch by Filipe David Manana <fdmanana@apache.org>.
54464 2011-04-07 Andreas Schwab <schwab@redhat.com>
54466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54467 Maintain aligned stack.
54468 (CHECK_RSP): Remove unused macro.
54470 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54472 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54473 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54475 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54477 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54479 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54481 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54484 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54485 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54486 * sysdeps/x86_64/memmove.c: New file.
54487 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54488 (memcpy): Renamed to ...
54489 (__new_memcpy): This.
54490 (memcpy): Provide GLIBC_2_14 memcpy.
54491 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54492 (memcpy): Provide GLIBC_2_2_5 memcpy.
54494 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54497 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54499 2011-03-30 Andreas Schwab <schwab@redhat.com>
54501 * misc/syncfs.c: New file.
54502 * misc/Makefile (routines): Add syncfs.
54503 * posix/unistd.h: Declare syncfs.
54504 * sysdeps/unix/syscalls.list: Add syncfs.
54506 2011-04-01 Andreas Schwab <schwab@redhat.com>
54508 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54511 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54513 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54515 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54518 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54520 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54521 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54522 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54523 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54524 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54526 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54528 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54529 sync_file_range.c with -fexceptions.
54530 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54531 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54532 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54533 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54534 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54535 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54537 sync_file_range as cancellation point
54538 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54539 now a wrapper around __call_sync_file_range with cancellation handling.
54540 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54541 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54542 function name to __call_sync_file_range.
54543 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54544 Add call_sync_file_range.
54546 2011-04-01 Andreas Schwab <schwab@redhat.com>
54548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54551 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54553 * iconv/iconv.h: Fix typo in comment.
54554 * io/fcntl.h: Likewise.
54555 * libio/stdio.h: Likewise.
54556 * posix/spawn.h: Likewise.
54557 * posix/unistd.h: Likewise.
54558 * stdlib/stdlib.h: Likewise.
54559 * time/time.h: Likewise.
54560 * wcsmbs/wchar.h: Likewise.
54562 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54563 open_by_handle): Add.
54564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54565 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54566 Augment a few comments.
54567 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54572 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54575 * io/fcntl.h (AT_EMPTY_PATH): Define.
54577 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54579 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54580 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54581 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54583 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54584 * Versions.def: Add GLIBC_2.14.
54585 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54588 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54590 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54592 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54594 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54597 * string/test-strncmp.c (do_page_test): New function.
54598 (check2): Likewise.
54599 (test_main): Call check2.
54600 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54602 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54605 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54606 Handle cache information in CPU leaf 4.
54607 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54609 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54612 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54613 character representation.
54614 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54616 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54618 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54619 END(__isnan) to END(__isnanf) to match function entry point/label
54620 EALIGN(__isnanf,...).
54622 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54624 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54626 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54629 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54630 copy from the symbol referenced in the relocation to initialize the
54632 Patch by Piotr Bury <pbury@goahead.com>.
54633 * elf/Makefile: Add rules to build and tst-unique3.
54634 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54635 * elf/tst-unique3.cc: New file.
54636 * elf/tst-unique3.h: New file.
54637 * elf/tst-unique3lib.cc: New file.
54638 * elf/tst-unique3lib2.cc: New file.
54640 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54642 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54644 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54645 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54648 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54650 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54651 to-be-loaded object along a path to loader is ld.so.
54653 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54654 Ulrich Drepper <drepper@gmail.com>
54656 * sysdeps/x86_64/memset.S: After aligning destination, code
54657 branches to different locations depending on the value of
54658 misalignment, when multiarch is enabled. Fix this.
54660 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54662 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54663 Set _x86_64_preferred_memory_instruction for AMD processsors.
54664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54665 Set bit_Prefer_SSE_for_memop for AMD processors.
54667 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54669 * libio/fmemopen.c (fmemopen): Optimize a bit.
54671 2011-03-03 Andreas Schwab <schwab@redhat.com>
54673 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54675 2011-03-03 Roland McGrath <roland@redhat.com>
54677 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54679 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54681 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54682 __bzero_ultra1 instead of __memset_ultra1.
54684 2011-02-23 Andreas Schwab <schwab@redhat.com>
54685 Ulrich Drepper <drepper@gmail.com>
54688 * include/link.h (struct link_map): Add l_orig_initfini.
54689 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54690 returning unsuccessfully.
54691 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54692 close of a file loaded at startup, restore the original l_initfini
54694 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54695 list, store the pointer.
54696 * elf/Makefile ($(objpfx)noload-mem): New rule.
54697 (noload-ENV): Define.
54698 (tests): Add $(objpfx)noload-mem.
54699 * elf/noload.c: Include <memcheck.h>.
54700 (main): Call mtrace. Close all opened handles.
54702 2011-02-17 Andreas Schwab <schwab@redhat.com>
54705 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54706 dependencies are missing.
54708 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54710 Fix __if_freereq crash: Unlike the generic version which uses free,
54712 * sysdeps/mach/hurd/ifreq.h: New file.
54714 2011-01-27 Petr Baudis <pasky@suse.cz>
54715 Ulrich Drepper <drepper@gmail.com>
54718 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54719 to extend_alloca().
54720 * stdio-common/bug23.c: New file.
54721 * stdio-common/Makefile (tests): Add bug23.
54723 2010-09-28 Andreas Schwab <schwab@redhat.com>
54724 Ulrich Drepper <drepper@gmail.com>
54727 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54728 before performing relro protection. At old place add assertion
54729 to make sure nothing changed.
54731 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54732 Glauber de Oliveira Costa <glommer@gmail.com>
54734 * elf/elf.h: Add new ARM TLS relocs.
54736 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54739 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54741 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54743 * sysdeps/wordsize-64/tst-writev.c: New file.
54745 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54747 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54748 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54749 insns in _dl_start to prevent a TOC reference before relocs are
54752 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54755 * Makeconfig: Remove RANLIB definition.
54756 * Makerules: Don't use RANLIB.
54757 * aclocal.m4: Remove ranlib test.
54758 * configure.in: No need to check for ranlib.
54759 * elf/rtld-Rules: Don't use RANLIB.
54761 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54763 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54765 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54766 inclusion protection macro.
54768 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54769 SIGRTMIN and SIGRTMAX and print information in that case only when
54770 SIGRTMIN is defined.
54772 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54774 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54775 arginfo fn returning -1.
54777 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54778 and thousands string is zero terminated.
54780 2011-02-03 Andreas Schwab <schwab@redhat.com>
54782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54783 sysdeps/unix/sysv/linux/bits/socket.h.
54785 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54787 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54788 (__CPU_COUNT): Remove old macros.
54789 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54790 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54791 (__CPU_ALLOC, __CPU_FREE): Add macros.
54792 (__sched_cpualloc, __sched_cpufree): Add declarations.
54794 2011-02-05 Ulrich Drepper <drepper@gmail.com>
54796 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54797 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54798 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54799 (readdhstai): Return value of addhstaiX call.
54800 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54801 (addgrbyX): Return value returned by cache_addgr.
54802 (readdgrbyname): Return value returned by addgrbyX.
54803 (readdgrbygid): Likewise.
54804 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54805 (addpwbyX): Return value returned by cache_addpw.
54806 (readdpwbyname): Return value returned by addhstbyX.
54807 (readdpwbyuid): Likewise.
54808 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54809 (addservbyX): Return value returned by cache_addserv.
54810 (readdservbyname): Return value returned by addservbyX:
54811 (readdservbyport): Likewise.
54812 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54813 (addhstbyX): Return value returned by cache_addhst.
54814 (readdhstbyname): Return value returned by addhstbyX.
54815 (readdhstbyaddr): Likewise.
54816 (readdhstbynamev6): Likewise.
54817 (readdhstbyaddrv6): Likewise.
54818 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54819 (readdinitgroups): Return value returned by addinitgroupsX.
54820 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54821 (prune_cache): Keep track of timeout value of re-added entries.
54822 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54823 * nscd/nscd.h: Adjust prototypes of readd* functions.
54825 2011-02-04 Roland McGrath <roland@redhat.com>
54827 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54828 (nis_stats): Likewise.
54829 * nis/nis_modify.c (nis_modify): Likewise.
54830 * nis/nis_remove.c (nis_remove): Likewise.
54831 * nis/nis_add.c (nis_add): Likewise.
54833 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54835 * posix/fnmatch_loop.c: Add some consts.
54837 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54839 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54842 * config.make.in (config-cflags-novzeroupper): Define.
54843 * configure.in: Substitute libc_cv_cc_novzeroupper.
54844 * elf/Makefile (AVX-CFLAGS): Define.
54845 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54846 (CFLAGS-tst-auditmod4a.c): Likewise.
54847 (CFLAGS-tst-auditmod4b.c): Likewise.
54848 (CFLAGS-tst-auditmod6b.c): Likewise.
54849 (CFLAGS-tst-auditmod6c.c): Likewise.
54850 (CFLAGS-tst-auditmod7b.c): Likewise.
54851 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54853 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54855 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54856 function to the callback.
54857 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54859 2011-02-02 Andreas Schwab <schwab@redhat.com>
54861 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54864 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54867 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54869 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54871 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54874 * elf/Makefile: Add rules to build and run new test.
54875 * elf/tst-initorder.c: New file.
54876 * elf/tst-initorder.exp: New file.
54877 * elf/tst-initordera1.c: New file.
54878 * elf/tst-initordera2.c: New file.
54879 * elf/tst-initordera3.c: New file.
54880 * elf/tst-initordera4.c: New file.
54881 * elf/tst-initorderb1.c: New file.
54882 * elf/tst-initorderb2.c: New file.
54883 * elf/tst-order-a1.c: New file.
54884 * elf/tst-order-a2.c: New file.
54885 * elf/tst-order-a3.c: New file.
54886 * elf/tst-order-a4.c: New file.
54887 * elf/tst-order-b1.c: New file.
54888 * elf/tst-order-b2.c: New file.
54889 * elf/tst-order-main.c: New file.
54890 New test case by George Gensure <werkt0@gmail.com>.
54892 2010-10-01 Andreas Schwab <schwab@redhat.com>
54894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54895 decoding ACE if AI_CANONIDN.
54897 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54899 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54901 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54903 * version.h (RELEASE): Bump for 2.13 release.
54904 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54906 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54910 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54911 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54912 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54913 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54914 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54917 * posix/getconf.c: Update copyright year.
54918 * catgets/gencat.c: Likewise.
54919 * csu/version.c: Likewise.
54920 * debug/catchsegv.sh: Likewise.
54921 * debug/xtrace.sh: Likewise.
54922 * elf/ldconfig.c: Likewise.
54923 * elf/ldd.bash.in: Likewise.
54924 * elf/sprof.c (print_version): Likewise.
54925 * iconv/iconv_prog.c: Likewise.
54926 * iconv/iconvconfig.c: Likewise.
54927 * locale/programs/locale.c: Likewise.
54928 * locale/programs/localedef.c: Likewise.
54929 * malloc/memusage.sh: Likewise.
54930 * malloc/mtrace.pl: Likewise.
54931 * nscd/nscd.c (print_version): Likewise.
54932 * nss/getent.c: Likewise.
54934 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54935 PF_CAIF, and PF_ALG.
54936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54938 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54940 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54941 (modules-names): Use them.
54942 (ifunc-test-modules, ifunc-pie-tests): Define.
54943 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54944 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54945 (test-extras): Likewise.
54946 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54947 $(compile-command.c).
54948 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54949 (all-built-dso): Define.
54950 (check-textrel.out, check-execstack.out): Depend on it.
54952 * configure.in: Don't override --enable-multi-arch.
54954 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54957 * nscd/hstcache.c (tryagain): Define.
54958 (cache_addhst): Return tryagain not notfound for temporary errors.
54959 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54962 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54965 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54966 to make the syscall.
54967 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54970 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54971 and fall back to matching as normal character if the string ends before
54972 the matching ']' is found. This is what POSIX requires.
54973 * posix/testfnm.c: Adjust test result.
54974 * posix/globtest.sh: Adjust test result. Add new test.
54975 * posix/tst-fnmatch.input: Likewise.
54976 * posix/tst-fnmatch2.c: Add new test.
54978 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54980 * elf/Makefile (check-execstack): Revert last change. Depend on
54982 (check-execstack.h): New target.
54983 (generated): Add check-execstack.h.
54984 * elf/check-execstack.c: Include "check-execstack.h".
54985 (main): Revert last change.
54986 (handle_file): Return zero if GNU_STACK is absent and
54987 DEFAULT_STACK_PERMS doesn't include PF_X.
54989 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54991 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54992 in child fails because the descriptor is already closed.
54993 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54994 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54995 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54998 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55002 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55003 temporary buffer used to handle multi lookups locally.
55004 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55006 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55008 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55011 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55013 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55014 alignment for SSE2.
55016 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55019 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55020 characters. When rounding increased number of integer digits recompute
55022 * stdio-common/tst-grouping.c: New file.
55023 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55025 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55027 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55028 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55030 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55032 * bits/select.h: Likewise.
55034 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55036 * po/ja.po: Update from translation team.
55038 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55041 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55042 implementation just like for lxstat, fxstatat, et al.
55044 2010-12-27 Jim Meyering <meyering@redhat.com>
55047 * posix/regexec.c (build_trtable): Return failure indication upon
55048 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55050 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55053 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55054 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55055 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55056 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55059 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55062 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55063 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55065 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55067 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55068 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55069 script has SORT_BY_INIT_PRIORITY.
55070 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55071 NO_CTORS_DTORS_SECTIONS is defined.
55072 * elf/soinit.c: Likewise.
55073 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55074 NO_CTORS_DTORS_SECTIONS is defined.
55075 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55076 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55077 * sysdeps/sh/init-first.c: Likewise.
55078 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55080 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55082 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55083 always use the slow path.
55085 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55087 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55088 similar rule which adds the sysdep directories to the header search in
55089 order to pick up the correct platform stackinfo.h.
55090 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55091 perform test if it is, otherwise return successfully without testing.
55092 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55093 DEFAULT_STACK_PERMS define in stackinfo.h.
55094 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55095 defined in stackinfo.h.
55096 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55097 DEFAULT_STACK_PERMS defined in stackinfo.h.
55098 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55099 * sysdeps/ia64/stackinfo.h: Likewise.
55100 * sysdeps/s390/stackinfo.h: Likewise.
55101 * sysdeps/sh/stackinfo.h: Likewise.
55102 * sysdeps/sparc/stackinfo.h: Likewise.
55103 * sysdeps/x86_64/stackinfo.h: Likewise.
55104 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55105 PF_X for powerpc64. Retain PF_X for powerpc32.
55107 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55109 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55111 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55112 GETDENTS_64BIT_ALIGNED.
55114 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55116 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55118 2010-12-10 Andreas Schwab <schwab@redhat.com>
55120 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55123 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55124 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55126 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55127 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55129 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55132 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55135 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55137 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55139 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55141 * po/it.po: Update from translation team.
55143 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55148 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55150 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55152 2010-11-24 Andreas Schwab <schwab@redhat.com>
55154 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55156 (gaih_getanswer_slice): Likewise.
55158 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55162 2010-05-31 Petr Baudis <pasky@suse.cz>
55165 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55166 silently even in the chroot mode.
55168 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55170 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55171 last patch a bit. Pretty printing
55173 2010-05-31 Petr Baudis <pasky@suse.cz>
55176 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55177 initialization of skip_initgroups_dyn.
55179 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55182 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55184 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55186 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55188 2010-11-11 Andreas Schwab <schwab@redhat.com>
55190 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55191 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55192 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55193 ($(objpfx)tst-fnmatch-mem): New rule.
55194 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55195 * posix/tst-fnmatch.c (main): Call mtrace.
55197 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55200 Support Intel processor model 6 and model 0x2c.
55202 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55204 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55207 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55210 * string/test-strncasecmp.c (check_result): New function.
55211 (do_one_test): Use it.
55212 (check1): New function.
55213 (test_main): Use it.
55214 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55215 Support strcasecmp and strncasecmp.
55217 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55220 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55223 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55225 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55229 * sysdeps/x86_64/multiarch/bzero.S: New file.
55230 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55231 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55232 * sysdeps/x86_64/multiarch/memset.S: New file.
55233 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55235 Set bit_Prefer_SSE_for_memop for Intel processors.
55236 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55238 (index_Prefer_SSE_for_memop): Define.
55239 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55241 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55243 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55244 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55246 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55249 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55250 (__x86_64_raw_data_cache_size_half): Likewise.
55251 (__x86_64_raw_shared_cache_size): Likewise.
55252 (__x86_64_raw_shared_cache_size_half): Likewise.
55254 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55255 (__x86_64_raw_data_cache_size_half): Likewise.
55256 (__x86_64_raw_shared_cache_size): Likewise.
55257 (__x86_64_raw_shared_cache_size_half): Likewise.
55258 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55259 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55260 and __x86_64_raw_shared_cache_size_half. Round
55261 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55262 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55263 to multiple of 256 bytes.
55265 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55268 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55269 of inacessible symlinks. Verify result of symlink before returning it.
55270 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55271 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55273 2010-10-28 Erich Ritz <erichritz@gmail.com>
55275 * math/math.h (isinf): Fix typo in comment.
55277 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55279 * po/da.po: Update from translation team.
55281 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55283 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55284 is added to the list.
55286 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55287 Ulrich Drepper <drepper@gmail.com>
55289 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55290 the global list here. Move code to...
55291 (_dl_add_to_namespace_list): ...here. New function.
55292 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55293 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55294 * elf/dl-load.c (lose): Don't remove the element from the list.
55295 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55296 (_dl_map_object): Likewise.
55298 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55301 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55302 into all bytes of SSE register.
55303 Patch by Richard Li <richardpku@gmail.com>.
55305 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55308 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55311 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55313 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55314 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55315 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55316 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55321 2010-10-22 Andreas Schwab <schwab@redhat.com>
55323 * include/dlfcn.h (__RTLD_SECURE): Define.
55324 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55325 mode & __RTLD_SECURE instead.
55326 (open_path): Rename preloaded parameter to secure.
55327 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55328 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55329 * elf/dl-deps.c (openaux): Likewise.
55330 * elf/rtld.c (struct map_args): Remove is_preloaded.
55331 (map_doit): Don't use it.
55332 (dl_main): Likewise.
55333 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55334 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55336 2010-09-09 Andreas Schwab <schwab@redhat.com>
55338 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55339 (sysd-rules-targets): Remove duplicates.
55340 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55341 rtld-%.$o dependency.
55343 2010-10-18 Andreas Schwab <schwab@redhat.com>
55345 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55346 _dl_map_object do it.
55348 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55350 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55351 fast fma builtins, define the macros in the C99 standard.
55352 (FP_FAST_FMAF): Likewise.
55353 (FP_FAST_FMAL): Likewise.
55354 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55356 * bits/mathdef.h: Update copyright year.
55357 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55359 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55361 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55362 builtins, define the macros in the C99 standard.
55363 (FP_FAST_FMAF): Likewise.
55364 (FP_FAST_FMAL): Likewise.
55365 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55367 (FP_FAST_FMAF): Likewise.
55369 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55372 * math/libm-test.inc (fma_test): Some new testcases.
55373 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55374 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55375 y and infinite z. Do multiplication by C already in long double.
55376 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55378 y and infinite z. Do bitwise or of inexact bit into u.d.
55379 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55380 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55381 * sysdeps/i386/fpu/s_fma.S: Removed.
55382 * sysdeps/i386/fpu/s_fmal.S: Removed.
55384 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55387 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55389 computation is not scheduled after fetestexcept. Fix value
55390 of minimum denormal long double.
55392 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55395 * math/libm-test.inc (fma_test): Add some more tests.
55396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55399 2010-10-15 Andreas Schwab <schwab@redhat.com>
55401 * scripts/data/localplt-s390-linux-gnu.data: New file.
55402 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55404 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55407 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55408 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55410 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55412 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55414 if one of x and y is very large and the other is subnormal.
55415 * sysdeps/s390/fpu/s_fmaf.c: New file.
55416 * sysdeps/s390/fpu/s_fma.c: New file.
55417 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55418 * sysdeps/powerpc/fpu/s_fma.S: New file.
55419 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55420 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55421 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55423 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55426 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55428 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55429 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55430 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55431 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55432 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55433 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55434 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55436 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55439 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55440 * posix/bug-regex31.input: Add test case.
55442 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55444 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55445 * posix/bug-regex31.input: New file.
55448 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55449 (parse_sub_exp): Fix last change, use postorder.
55451 * posix/bug-regex31.c: New file.
55452 * posix/Makefile: Add rules to build and run bug-regex31.
55454 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55457 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55460 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55461 to have entries in sys_siglist.
55464 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55467 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55470 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55471 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55472 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55473 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55474 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55475 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55476 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55477 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55478 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55479 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55480 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55481 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55482 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55483 * math/ftestexcept.c (fetestexcept): Likewise.
55484 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55485 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55486 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55487 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55488 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55489 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55490 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55492 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55495 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55498 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55500 * string/bug-strstr1.c: New file.
55501 * string/Makefile: Add rules to build and run bug-strstr1.
55503 2010-10-05 Eric Blake <eblake@redhat.com>
55506 * string/str-two-way.h (two_way_long_needle): Always clear memory
55507 when skipping input due to the shift table.
55509 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55512 * malloc/mcheck.c: Handle large requests.
55515 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55516 for strncmp and strncasecmp.
55517 * string/stratcliff.c: Add tests for strcmp and strncmp.
55518 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55520 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55522 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55525 2010-09-30 Andreas Jaeger <aj@suse.de>
55527 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55528 (CGROUP_SUPER_MAGIC): Define.
55529 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55530 Handle btrfs and cgroup file systems.
55531 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55534 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55536 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55537 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55539 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55542 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55543 trying to locate the ELF header.
55545 2010-09-27 Andreas Schwab <schwab@redhat.com>
55548 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55549 Mask out sign-bit copies when constructing f_fsid.
55551 2010-09-24 Petr Baudis <pasky@suse.cz>
55553 * debug/stack_chk_fail_local.c: Add missing licence exception.
55554 * debug/warning-nop.c: Likewise.
55556 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55558 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55559 implementing getdents64 using getdents syscall, set d_type if
55560 __ASSUME_GETDENTS32_D_TYPE.
55562 2010-09-16 Andreas Schwab <schwab@redhat.com>
55564 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55565 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55567 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55570 * posix/unistd.h: Undo change of feature selection for ftruncate from
55573 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55575 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55578 2010-09-20 Andreas Schwab <schwab@redhat.com>
55580 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55582 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55584 2010-09-14 Andreas Schwab <schwab@redhat.com>
55586 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55587 variables after CHECK_SP call.
55588 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55590 2010-09-13 Andreas Schwab <schwab@redhat.com>
55591 Ulrich Drepper <drepper@redhat.com>
55593 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55594 re-relocationg ld.so.
55595 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55596 _dl_init_paths call.
55597 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55600 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55602 * resolv/res_init.c (__res_vinit): Count the default server we added.
55604 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55605 Ulrich Drepper <drepper@redhat.com>
55608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55609 (____longjmp_chk): Use %ebx for saving value across system call.
55612 2010-09-06 Andreas Schwab <schwab@redhat.com>
55614 * manual/Makefile: Don't mix pattern rules with normal rules.
55616 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55618 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55620 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55621 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55622 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55623 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55627 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55630 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55631 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55633 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55635 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55636 * sysdeps/x86_64/addmul_1.S: Likewise.
55637 * sysdeps/x86_64/lshift.S: Likewise.
55638 * sysdeps/x86_64/mul_1.S: Likewise.
55639 * sysdeps/x86_64/rshift.S: Likewise.
55640 * sysdeps/x86_64/sub_n.S: Likewise.
55641 * sysdeps/x86_64/submul_1.S: Likewise.
55643 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55645 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55646 Define __sched_param instead of SCHED_* and sched_param when
55647 <bits/sched.h> is included with __need_schedparam defined.
55648 * bits/sched.h [__need_schedparam]
55649 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55650 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55651 (__defined_schedparam): Define to 1.
55652 (__sched_param): New structure, identical to sched_param.
55653 (__need_schedparam): Undefine.
55655 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55658 (epoll_create1): Declare.
55660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55662 2010-08-31 Andreas Schwab <schwab@redhat.com>
55665 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55666 shifting retval into place.
55668 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55670 * nis/rpcsvc/nis.h: Update copyright notice.
55671 * nis/rpcsvc/nis.x: Likewise.
55672 * nis/rpcsvc/nis_callback.h: Likewise.
55673 * nis/rpcsvc/nis_callback.x: Likewise.
55674 * nis/rpcsvc/nis_object.x: Likewise.
55675 * nis/rpcsvc/nis_tags.h: Likewise.
55676 * nis/rpcsvc/yp.h: Likewise.
55677 * nis/rpcsvc/yp.x: Likewise.
55678 * nis/rpcsvc/ypupd.h: Likewise.
55679 * nis/yp_xdr.c: Likewise.
55680 * nis/ypupdate_xdr.c: Likewise.
55682 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55683 mainly the body of pmap_getport. Add parameters to specify timeouts.
55684 (pmap_getport): Use __libc_rpc_getport.
55685 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55686 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55687 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55689 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55694 2010-08-27 Roland McGrath <roland@redhat.com>
55696 * sysdeps/i386/i686/multiarch/Makefile
55697 (CFLAGS-varshift.c): New variable.
55699 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55701 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55702 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55706 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55708 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55710 * sysdeps/x86_64/strlen.S: Unroll the loop.
55711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55712 strlen-sse2 strlen-sse2-bsf.
55713 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55714 __strlen_no_bsf if bit_Slow_BSF is set.
55715 (__strlen_sse42): Removed.
55716 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55717 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55719 2010-08-25 Roland McGrath <roland@redhat.com>
55721 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55722 * sysdeps/x86_64/multiarch/varshift.c: New file.
55723 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55724 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55725 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55726 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55728 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55731 strlen-sse2 strlen-sse2-bsf.
55732 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55733 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55734 (__strlen_sse2): Removed.
55735 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55736 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55738 bit_Slow_BSF for Atom.
55739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55740 (index_Slow_BSF): Define.
55741 (HAS_SLOW_BSF): Define.
55743 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55746 * resolv/res_init.c (__res_vinit): When no server address at all
55747 is given default to loopback.
55749 2010-08-24 Roland McGrath <roland@redhat.com>
55751 * configure.in: Remove config-name.h generation.
55752 * configure: Regenerated.
55753 * config-name.in: File removed.
55754 * scripts/config-uname.sh: New file.
55755 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55756 ($(objdir)config-name.h): New target.
55758 * sunrpc/rpc_parse.h: Avoid nested comment.
55760 2010-08-24 Richard Henderson <rth@redhat.com>
55761 Ulrich Drepper <drepper@redhat.com>
55762 H.J. Lu <hongjiu.lu@intel.com>
55764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55766 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55767 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55768 _mm_alignr_epi8 with _mm_loadu_si128.
55769 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55770 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55771 (__m128i_shift_right): Removed.
55772 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55773 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55774 * sysdeps/x86_64/multiarch/varshift.h: New file.
55775 * sysdeps/x86_64/multiarch/varshift.S: New file.
55777 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55779 * configure.in: Move assembler checks to before sysdep dir checking.
55781 2010-08-20 Petr Baudis <pasky@suse.cz>
55783 * LICENSES: Sync the sunrpc license.
55785 2010-08-19 Ulrich Drepper <drepper@redhat.com>
55787 * sunrpc/auth_des.c: Update copyright notice once again.
55788 * sunrpc/auth_none.c: Likewise.
55789 * sunrpc/auth_unix.c: Likewise.
55790 * sunrpc/authdes_prot.c: Likewise.
55791 * sunrpc/authuxprot.c: Likewise.
55792 * sunrpc/bindrsvprt.c: Likewise.
55793 * sunrpc/clnt_gen.c: Likewise.
55794 * sunrpc/clnt_perr.c: Likewise.
55795 * sunrpc/clnt_raw.c: Likewise.
55796 * sunrpc/clnt_simp.c: Likewise.
55797 * sunrpc/clnt_tcp.c: Likewise.
55798 * sunrpc/clnt_udp.c: Likewise.
55799 * sunrpc/clnt_unix.c: Likewise.
55800 * sunrpc/des_crypt.c: Likewise.
55801 * sunrpc/des_soft.c: Likewise.
55802 * sunrpc/get_myaddr.c: Likewise.
55803 * sunrpc/getrpcport.c: Likewise.
55804 * sunrpc/key_call.c: Likewise.
55805 * sunrpc/key_prot.c: Likewise.
55806 * sunrpc/openchild.c: Likewise.
55807 * sunrpc/pm_getmaps.c: Likewise.
55808 * sunrpc/pm_getport.c: Likewise.
55809 * sunrpc/pmap_clnt.c: Likewise.
55810 * sunrpc/pmap_prot.c: Likewise.
55811 * sunrpc/pmap_prot2.c: Likewise.
55812 * sunrpc/pmap_rmt.c: Likewise.
55813 * sunrpc/rpc/auth.h: Likewise.
55814 * sunrpc/rpc/auth_unix.h: Likewise.
55815 * sunrpc/rpc/clnt.h: Likewise.
55816 * sunrpc/rpc/des_crypt.h: Likewise.
55817 * sunrpc/rpc/key_prot.h: Likewise.
55818 * sunrpc/rpc/netdb.h: Likewise.
55819 * sunrpc/rpc/pmap_clnt.h: Likewise.
55820 * sunrpc/rpc/pmap_prot.h: Likewise.
55821 * sunrpc/rpc/pmap_rmt.h: Likewise.
55822 * sunrpc/rpc/rpc.h: Likewise.
55823 * sunrpc/rpc/rpc_des.h: Likewise.
55824 * sunrpc/rpc/rpc_msg.h: Likewise.
55825 * sunrpc/rpc/svc.h: Likewise.
55826 * sunrpc/rpc/svc_auth.h: Likewise.
55827 * sunrpc/rpc/types.h: Likewise.
55828 * sunrpc/rpc/xdr.h: Likewise.
55829 * sunrpc/rpc_clntout.c: Likewise.
55830 * sunrpc/rpc_cmsg.c: Likewise.
55831 * sunrpc/rpc_common.c: Likewise.
55832 * sunrpc/rpc_cout.c: Likewise.
55833 * sunrpc/rpc_dtable.c: Likewise.
55834 * sunrpc/rpc_hout.c: Likewise.
55835 * sunrpc/rpc_main.c: Likewise.
55836 * sunrpc/rpc_parse.c: Likewise.
55837 * sunrpc/rpc_parse.h: Likewise.
55838 * sunrpc/rpc_prot.c: Likewise.
55839 * sunrpc/rpc_sample.c: Likewise.
55840 * sunrpc/rpc_scan.c: Likewise.
55841 * sunrpc/rpc_scan.h: Likewise.
55842 * sunrpc/rpc_svcout.c: Likewise.
55843 * sunrpc/rpc_tblout.c: Likewise.
55844 * sunrpc/rpc_util.c: Likewise.
55845 * sunrpc/rpc_util.h: Likewise.
55846 * sunrpc/rpcinfo.c: Likewise.
55847 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55848 * sunrpc/rpcsvc/key_prot.x: Likewise.
55849 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55850 * sunrpc/rpcsvc/mount.x: Likewise.
55851 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55852 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55853 * sunrpc/rpcsvc/rex.x: Likewise.
55854 * sunrpc/rpcsvc/rstat.x: Likewise.
55855 * sunrpc/rpcsvc/rusers.x: Likewise.
55856 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55857 * sunrpc/rpcsvc/spray.x: Likewise.
55858 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55859 * sunrpc/rtime.c: Likewise.
55860 * sunrpc/svc.c: Likewise.
55861 * sunrpc/svc_auth.c: Likewise.
55862 * sunrpc/svc_authux.c: Likewise.
55863 * sunrpc/svc_raw.c: Likewise.
55864 * sunrpc/svc_run.c: Likewise.
55865 * sunrpc/svc_simple.c: Likewise.
55866 * sunrpc/svc_tcp.c: Likewise.
55867 * sunrpc/svc_udp.c: Likewise.
55868 * sunrpc/svc_unix.c: Likewise.
55869 * sunrpc/svcauth_des.c: Likewise.
55870 * sunrpc/xcrypt.c: Likewise.
55871 * sunrpc/xdr.c: Likewise.
55872 * sunrpc/xdr_array.c: Likewise.
55873 * sunrpc/xdr_float.c: Likewise.
55874 * sunrpc/xdr_mem.c: Likewise.
55875 * sunrpc/xdr_rec.c: Likewise.
55876 * sunrpc/xdr_ref.c: Likewise.
55877 * sunrpc/xdr_sizeof.c: Likewise.
55878 * sunrpc/xdr_stdio.c: Likewise.
55880 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55883 2010-08-19 Andreas Schwab <schwab@redhat.com>
55885 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55887 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55889 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55890 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55891 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55892 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55894 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55895 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55896 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55897 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55898 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55899 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55900 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55901 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55902 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55904 2010-07-26 Anton Blanchard <anton@samba.org>
55906 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55907 * malloc/arena.c (heap_trim): Likewise.
55909 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55911 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55914 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55916 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55918 * sysdeps/i386/elf/Makefile: New file.
55920 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55922 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55923 from fanotify_init.
55924 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55927 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55929 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55931 * sysdeps/multiarch/strcmp.S: Likewise.
55933 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55935 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55936 strncase_l-nonascii.
55937 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55938 Add strncase_l-ssse3.
55939 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55940 * sysdeps/x86_64/strcmp.S: Likewise.
55941 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55942 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55943 * sysdeps/x86_64/strncase.S: New file.
55944 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55945 * sysdeps/x86_64/strncase_l.S: New file.
55946 * string/Makefile (strop-tests): Add strncasecmp.
55947 * string/test-strncasecmp.c: New file.
55949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55952 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55953 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55955 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55957 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55959 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55961 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55963 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55965 2010-05-01 Alan Modra <amodra@gmail.com>
55967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55968 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55969 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55970 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55971 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55972 tidying. Don't tail-call __sigjmp_save for static lib.
55973 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55975 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55976 (CALL_MCOUNT): Add eh info, and nop after bl.
55977 (TAIL_CALL_SYSCALL_ERROR): New macro.
55978 (PSEUDO_RET): Use it.
55979 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55980 Correct save location of integer regs and cr.
55981 (_dl_profile_resolve): Correct cr save location. Delete nops
55982 after bl when SHARED. Reduce cfi size a little by better
55983 placement of cfi directives.
55984 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55985 make a stack frame. Instead use parm save area as a temp.
55986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55987 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55989 Don't make a stack frame for parent, use parm save area.
55990 Increase child stack frame to 112 bytes. Don't save unused reg,
55991 and adjust reg usage. Set up cfi on error recovery and
55992 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55994 (__makecontext): Add dummy nop after jump to exit.
55995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55996 Use correct parm save area and cr save, reduce stack frame.
55997 Correct cfi for possible PSEUDO_RET frame setup.
55998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55999 Branch to local label emitted by PSEUDO_RET rather than
56002 2010-08-12 Andreas Schwab <schwab@redhat.com>
56005 * locale/programs/locale.c (print_assignment): New function.
56006 (show_locale_vars): Use it.
56008 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56010 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56012 (struct statfs64): Likewise.
56013 (_STATFS_F_FLAGS): Define.
56014 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56015 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56016 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56017 (ST_VALID): Define locally.
56018 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56019 __statvfs_getflags, use the provided value.
56020 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56021 __ASSUME_STATFS_F_FLAGS.
56023 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56025 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56026 Add sys/fanotify.h.
56027 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56028 fanotify_mask for GLIBC_2.13.
56029 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56030 fanotify_init and fanotify_mark.
56031 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56032 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56034 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56036 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56037 prlimit64 for GLIBC_2.13.
56038 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56040 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56043 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56044 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56045 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56048 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56051 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56052 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56054 * nss/Makefile: Add rules to build and run tst-nss-test1.
56055 * shlib-versions: Add entry for libnss_test1.
56056 * nss/nss_test1.c: New file.
56057 * nss/tst-nss-test1.c: New file.
56059 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56060 (__nss_configure_lookup): Set appropriate entry in
56061 __nss_configure_lookup to true.
56062 * nss/nsswitch.h: Define enum with indeces of databases in
56063 databases and __nss_database_custom arrays. Declare
56064 __nss_database_custom.
56065 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56066 to avoid using nscd when custom rules are installed.
56067 * nss/getXXbyYY_r.c: Likewise.
56068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56070 * nss/nss_files/files-parse.c: Whitespace fixes.
56072 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56075 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56076 * posix/fnmatch_loop.c: Likewise.
56078 2010-07-17 Andi Kleen <ak@linux.intel.com>
56080 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56081 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56082 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56083 * Versions.def [GLIBC_2.13]: Add.
56085 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56087 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56088 Also fail if tpwd after pwuid call is NULL.
56090 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56092 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56093 when converting to ms.
56095 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56097 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56098 EOPNOTSUPP errors with ENOTTY.
56099 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56100 EOPNOTSUPP errors with ENOTTY.
56102 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56104 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56105 Add strcasecmp_l-ssse3.
56106 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56108 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56109 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56110 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56112 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56114 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56116 * string/Makefile (strop-tests): Add strcasecmp.
56117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56118 strcasecmp_l-nonascii.
56119 (gen-as-const-headers): Add locale-defines.sym.
56120 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56121 * sysdeps/x86_64/strcasecmp.S: New file.
56122 * sysdeps/x86_64/strcasecmp_l.S: New file.
56123 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56124 * sysdeps/x86_64/locale-defines.sym: New file.
56125 * string/test-strcasecmp.c: New file.
56127 * string/test-strcasestr.c: Test both ends of the range of characters.
56128 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56130 2010-07-29 Roland McGrath <roland@redhat.com>
56133 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56135 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56137 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56140 2010-07-27 Andreas Schwab <schwab@redhat.com>
56142 * manual/memory.texi (Malloc Tunable Parameters): Document
56145 2010-07-26 Roland McGrath <roland@redhat.com>
56148 * configure.in (-fgnu89-inline check): Set and substitute
56149 gnu89_inline, not libc_cv_gnu89_inline.
56150 * configure: Regenerated.
56151 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56153 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56155 * string/test-strnlen.c: New file.
56156 * string/Makefile (strop-tests): Add strnlen.
56157 * string/tester.c (test_strnlen): Add a few more test cases.
56158 * string/tst-strlen.c: Better error reporting.
56160 * sysdeps/x86_64/strnlen.S: New file.
56162 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56164 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56165 lower-latency instructions.
56167 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56169 * string/test-strcasestr.c: New file.
56170 * string/test-strstr.c: New file.
56171 * string/Makefile (strop-tests): Add strstr and strcasestr.
56172 * string/str-two-way.h: Don't undefine MAX.
56173 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56175 2010-07-21 Andreas Schwab <schwab@redhat.com>
56177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56178 strcasestr-nonascii.
56179 (CFLAGS-strcasestr-nonascii.c): Define.
56180 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56181 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56182 Remove unused attribute.
56184 2010-07-20 Roland McGrath <roland@redhat.com>
56186 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56187 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56188 ld.so.cache was broken. With it, there is no way to disable dsocaps
56189 like LD_HWCAP_MASK can disable hwcaps.
56191 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56193 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56195 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56197 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56198 call in strcasestr.
56199 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56200 __strcasestr_sse42_nonascii.
56201 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56202 strcasestr-nonascii.c.
56203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56205 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56207 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56209 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56210 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56212 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56214 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56217 2010-07-06 Andreas Schwab <schwab@redhat.com>
56220 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56223 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56226 _PC_PIPE_BUF using F_GETPIPE_SZ.
56228 2010-07-05 Roland McGrath <roland@redhat.com>
56230 * manual/arith.texi (Rounding Functions): Fix rint description
56231 implicit in round description.
56233 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56235 * elf/Makefile: Fix linking for a few tests to make recent linker
56238 2010-06-30 Andreas Schwab <schwab@redhat.com>
56240 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56241 $(common-objpfx)libc_nonshared.a.
56243 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56245 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56246 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56247 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56248 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56249 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56250 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56251 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56252 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56267 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56268 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56269 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56270 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56271 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56272 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56273 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56274 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56275 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56276 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56277 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56278 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56294 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56296 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56297 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56298 * string/memmove.c (memmove): Renamed to ...
56299 (MEMMOVE): ...this. Default to memmove.
56300 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56301 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56304 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56305 mempcpy-ssse3-back memmove-ssse3-back.
56306 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56309 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56310 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56311 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56312 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56313 * sysdeps/x86_64/multiarch/memmove.c: New file.
56314 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56315 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56316 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56317 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56318 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56319 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56321 (index_Fast_Copy_Backward): Define.
56322 (HAS_ARCH_FEATURE): Define.
56323 (HAS_FAST_REP_STRING): Define.
56324 (HAS_FAST_COPY_BACKWARD): Define.
56326 2010-06-21 Andreas Schwab <schwab@redhat.com>
56328 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56329 Restore proper fallback handling.
56331 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56334 * posix/group_member.c (__group_member): Correct checking loop.
56336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56337 OOM in getpwuid_r correctly. Return error number when the caller
56338 should return, otherwise -1.
56339 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56340 call returning > 0 value.
56341 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56343 2010-06-07 Andreas Schwab <schwab@redhat.com>
56345 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56346 libc_nonshared.a from targets in modules-names.
56348 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56350 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56353 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56355 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56356 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56357 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56358 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56360 2010-06-02 Andreas Schwab <schwab@redhat.com>
56362 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56364 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56368 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56373 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56375 2010-06-14 Roland McGrath <roland@redhat.com>
56377 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56379 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56381 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56382 __REDIRECT followed by __THROW.
56383 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56384 * posix/getopt.h (getopt): Likewise.
56386 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56388 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56389 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56390 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56392 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56393 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56395 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56399 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56403 Properly check family and model.
56405 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56407 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56409 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56411 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56413 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56415 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56418 2010-05-19 Andreas Schwab <schwab@redhat.com>
56420 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56423 2010-05-21 Andreas Schwab <schwab@redhat.com>
56425 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56426 and internal_recvmmsg.
56427 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56428 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56429 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56430 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56432 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56433 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56434 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56436 2010-05-20 Andreas Schwab <schwab@redhat.com>
56438 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56440 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56442 POWER7 optimizations.
56443 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56444 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56446 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56448 * version.h: Update for 2.13 development version.
56450 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56452 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56453 exceptions. Return 0.
56455 2010-05-07 Roland McGrath <roland@redhat.com>
56457 * elf/ldconfig.c (main): Add a const.
56459 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56461 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56462 (args_options): Add no-idn option.
56463 (ahosts_keys_int): Add idn_flags to ai_flags.
56464 (parse_option): Handle 'i' option to clear idn_flags.
56466 * malloc/malloc.c (_int_free): Possible race in the most recently
56467 added check. Only act on the data if no current modification
56470 See ChangeLog.17 for earlier changes.