1 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6 size in bytes. Store needed elements in wpmax. Use needed size
7 in bytes for extend_alloca.
9 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
11 * manual/install.texi: Latest tested versions are GCC 4.9.2,
12 binutls 2.25, and texinfo 5.2.
13 * INSTALL: Regenerate.
14 * sysdeps/nios2/configure: Regenerate.
15 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16 * manual/contrib.texi: Update.
40 * po/pt_BR.po: Update.
49 * po/zh_CN.po: Update.
50 * po/zh_TW.po: Update.
52 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
53 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
54 * sysdeps/hppa/dl-irel.h: Remove #warning.
55 * sysdeps/hppa/entry.h: Provide prototype for
56 __canonicalize_funcptr_for_compare and cast argument.
57 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
58 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
59 * sysdeps/hppa/sotruss-lib.c: New file.
60 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
61 (atomic_compare_and_exchange_val_acq): Use __typeof__.
62 (atomic_compare_and_exchange_bool_acq): Likewise.
63 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
64 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
66 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
67 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
68 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
70 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
72 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
73 called function in non-PIC case.
75 2015-01-31 David S. Miller <davem@davemloft.net>
77 * sysdeps/sparc/sparc32/bits/atomic.h
78 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
80 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
81 volatile register usage warnings from the compiler.
83 * sysdeps/sparc/nptl/sem_init.c: Delete.
84 * sysdeps/sparc/nptl/sem_post.c: Delete.
85 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
86 * sysdeps/sparc/nptl/sem_wait.c: Delete.
87 * sysdeps/sparc/sparc32/sem_init.c: New file.
88 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
89 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
90 padding explicitly initialized.
91 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
92 padding for in-semaphore spinlock.
93 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
94 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
95 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
96 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
97 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
98 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
99 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
100 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
102 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
103 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
105 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
109 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
110 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
112 (index_AVX_Fast_Unaligned_Load): Likewise.
113 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
114 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
115 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
116 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
117 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
118 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
119 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
120 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
121 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
123 2015-01-29 Andreas Schwab <schwab@suse.de>
125 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
127 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
130 * nscd/nscd_stat.c (send_stats): Initialize DATA.
132 2015-01-28 Martin Sebor <msebor@redhat.com>
134 * math/README.libm-test: Clarify. Add "How to read the test output."
136 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
138 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
141 2015-01-28 Joseph Myers <joseph@codesourcery.com>
143 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
144 (__HAVE_64B_ATOMICS): Define to 0.
146 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
149 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
150 value to set as new flag.
153 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
154 and use _ARCH_PPCSQ instead.
155 (__ieee754_sqrt): Likewise.
156 (__ieee754_sqrtf): Likewise.
157 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
158 _ARCH_PPCSQ is defined.
159 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
161 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
162 _ARCH_PPCSQ is defined.
163 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
165 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
167 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
169 * iconv/loop.c: Suppress array out of bound warning caused by GCC
172 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
174 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
175 Mark _retval as used.
176 (lll_futex_wake_unlock): Likewise.
177 (lll_futex_timed_wait_requeue_pi): Likewise.
179 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
180 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
183 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
186 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
187 (__bswap_64): Mark as __always_inline.
189 2015-01-25 Bram <bug_rh@spam.wizbit.be>
192 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
193 when none of the search directories exist.
195 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
198 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
199 power8 in .machine directive.
202 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
203 set dependency from opd value.
205 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
208 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
211 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
214 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
216 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
218 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
219 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
220 Replace 1UL with (uint64_t) 1.
221 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
224 2015-01-23 Roland McGrath <roland@hack.frob.com>
226 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
227 (if_freenameindex): Likewise.
229 * resource/getrlimit64.c: Add missing libc_hidden_def.
231 2015-01-22 Joseph Myers <joseph@codesourcery.com>
233 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
236 (_FP_TO_INT_ROUND): Likewise.
237 (_FP_FROM_INT): Likewise.
239 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
243 Make code racy and cancel safe.
245 2015-01-21 Carlos O'Donell <carlos@redhat.com>
247 * sysdeps/arm/unwind-resume.h: Fix copyright year.
248 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
251 * pwd/tst-getpw.c: Rewrite.
254 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
255 (modules-names): Add moddummy1 and moddummy2.
256 ($(objpfx)tst-rec-dlopen): Define.
257 * dlfcn/moddummy1.c: New file.
258 * dlfcn/moddummy2.c: New file.
259 * dlfcn/tst-rec-dlopen.c: New file.
260 * elf/dl-cache.c (_dl_load_cache_lookup):
261 Return char*. Copy result with alloca/strcpy/strdup.
262 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
263 returns char*. Free cached. If not saving realname
265 * elf/dl-open.c (dl_open_worker): Do not assert that
266 _r_debug->r_state is RT_CONSISTENT.
267 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
270 2015-01-21 Torvald Riegel <triegel@redhat.com>
271 Carlos O'Donell <carlos@redhat.com>
274 * nptl/sem_waitcommon.c: New file.
275 * nptl/sem_wait.c: Include sem_waitcommon.c.
276 (__sem_wait_cleanup, do_futex_wait): Remove.
277 (__new_sem_wait): Adapt.
278 (__new_sem_trywait): New function.
279 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
280 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
281 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
282 (sem_timedwait): Adapt.
283 * nptl/sem_post.c (__new_sem_post): Adapt.
284 (futex_wake): New function.
285 (__old_sem_post): Add release MO fence.
286 * nptl/sem_open.c (sem_open): Adapt.
287 * nptl/sem_init.c (__new_sem_init): Adapt.
288 (futex_private_if_supported): New function.
289 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
290 (__old_sem_getvalue): Add using previous code.
291 * sysdeps/nptl/internaltypes.h: Adapt.
292 * nptl/tst-sem13.c (do_test): Adapt.
293 * nptl/tst-sem11.c (main): Adapt.
294 * nptl/sem_trywait.c: Remove.
295 * nptl/DESIGN-sem.txt: Remove.
296 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
297 (gen-as-const-headers): Remove structsem.sym.
298 * nptl/structsem.sym: Remove.
299 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
300 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
301 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
302 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
303 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
304 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
305 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
306 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
307 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
308 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
309 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
310 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
311 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
312 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
313 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
314 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
315 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
316 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
317 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
318 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
319 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
320 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
322 2015-01-20 Carlos O'Donell <carlos@redhat.com>
324 * INSTALL: Regenerated.
326 * po/libc.pot: Regenerated.
328 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
329 Sandra Loosemore <sandra@codesourcery.com>
330 Andrew Jenner <andrew@codesourcery.com>
331 Joseph Myers <joseph@codesourcery.com>
332 Nathan Sidwell <nathan@codesourcery.com>
334 * NEWS: Mention new Nios II port.
335 * sysdeps/nios2/Implies: New file.
336 * sysdeps/nios2/Makefile: New file.
337 * sysdeps/nios2/Subdirs: New file.
338 * sysdeps/nios2/Versions: New file.
339 * sysdeps/nios2/__longjmp.S: New file.
340 * sysdeps/nios2/abort-instr.h: New file.
341 * sysdeps/nios2/backtrace.c: New file.
342 * sysdeps/nios2/bits/endian.h: New file.
343 * sysdeps/nios2/bits/fenv.h: New file.
344 * sysdeps/nios2/bits/link.h: New file.
345 * sysdeps/nios2/bits/setjmp.h: New file.
346 * sysdeps/nios2/bsd-_setjmp.S: New file.
347 * sysdeps/nios2/bsd-setjmp.S: New file.
348 * sysdeps/nios2/configure: New generated file.
349 * sysdeps/nios2/configure.ac: New file.
350 * sysdeps/nios2/crti.S: New file.
351 * sysdeps/nios2/crtn.S: New file.
352 * sysdeps/nios2/dl-init.c: New file.
353 * sysdeps/nios2/dl-machine.h: New file.
354 * sysdeps/nios2/dl-sysdep.h: New file.
355 * sysdeps/nios2/dl-tls.h: New file.
356 * sysdeps/nios2/dl-trampoline.S: New file.
357 * sysdeps/nios2/gccframe.h: New file.
358 * sysdeps/nios2/gmp-mparam.h: New file.
359 * sysdeps/nios2/jmpbuf-offsets.h: New file.
360 * sysdeps/nios2/jmpbuf-unwind.h: New file.
361 * sysdeps/nios2/ldsodefs.h: New file.
362 * sysdeps/nios2/libc-tls.c: New file.
363 * sysdeps/nios2/libm-test-ulps: New file.
364 * sysdeps/nios2/machine-gmon.h: New file.
365 * sysdeps/nios2/math-tests.h: New file.
366 * sysdeps/nios2/math_private.h: New file.
367 * sysdeps/nios2/memusage.h: New file.
368 * sysdeps/nios2/nptl/Makefile: New file.
369 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
370 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
371 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
372 * sysdeps/nios2/nptl/pthreaddef.h: New file.
373 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
374 * sysdeps/nios2/nptl/tls.h: New file.
375 * sysdeps/nios2/preconfigure: New file.
376 * sysdeps/nios2/s_fma.c: New file.
377 * sysdeps/nios2/s_fmaf.c: New file.
378 * sysdeps/nios2/setjmp.S: New file.
379 * sysdeps/nios2/sfp-machine.h: New file.
380 * sysdeps/nios2/sotruss-lib.c: New file.
381 * sysdeps/nios2/stackguard-macros.h: New file.
382 * sysdeps/nios2/stackinfo.h: New file.
383 * sysdeps/nios2/start.S: New file.
384 * sysdeps/nios2/sysdep.h: New file.
385 * sysdeps/nios2/tls-macros.h: New file.
386 * sysdeps/nios2/tst-audit.h: New file.
387 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
388 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
389 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
390 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
391 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
392 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
393 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
394 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
395 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
396 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
397 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
398 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
399 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
400 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
401 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
402 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
403 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
404 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
405 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
406 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
407 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
408 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
409 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
410 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
411 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
412 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
413 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
414 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
415 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
416 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
417 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
418 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
419 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
420 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
421 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
422 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
423 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
424 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
425 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
426 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
427 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
428 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
429 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
430 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
432 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
435 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
436 (getutent): Use weak_alias in non SHARED case
437 and default_symbol_version in SHARED case.
438 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
439 (getutent_r, pututline): Likewise.
440 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
442 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
443 (getutid_r): Likewise.
444 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
445 (getutline): Likewise.
446 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
447 (getutline_r): Likewise.
448 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
451 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
454 * sysdeps/s390/s390-32/memcmp.S
455 (memcmp_g5): Rename to __memcmp_g5.
456 * sysdeps/s390/s390-32/memcpy.S
457 (memcpy_g5): Rename to __memcpy_g5.
458 Jump to __memcpy_mvcle instead of memcpy_mvcle.
459 (memcpy_mvcle) Rename to __memcpy_mvcle.
460 * sysdeps/s390/s390-32/memset.S
461 (memset_g5): Rename to __memset_g5.
462 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
463 (IFUNC_RESOLVE): Prefix ifunc-resolve function
464 and use prefixed functions.
465 * sysdeps/s390/s390-32/multiarch/memcmp.S
466 (memcmp_z196): Rename to __memcmp_z196.
467 (memcmp_z10): Rename to __memcmp_z10.
468 (memcmp): Set alias to __memcmp_g5.
469 (bcmp): Set alias to __memcmp_g5.
470 * sysdeps/s390/s390-32/multiarch/memcpy.S
471 (memcpy_z196): Rename to __memcpy_z196.
472 Jump to __memcpy_mvcle instead of memcpy_mvcle.
473 (memcpy_z10): Rename to __memcpy_z10.
474 Jump to __memcpy_mvcle instead of memcpy_mvcle.
475 (memcpy): Set alias to __memcpy_g5.
476 * sysdeps/s390/s390-32/multiarch/memset.S
477 (memset_z196): Rename to __memset_z196.
478 Jump to __memset_mvcle instead of memset_mvcle.
479 (memset_z10): Rename to __memset_z10.
480 Jump to __memset_mvcle instead of memset_mvcle.
481 (memset_mvcle) Rename to __memset_mvcle.
482 (memset): Set alias to __memset_g5.
483 * sysdeps/s390/s390-64/memcmp.S
484 (memcmp_z900): Rename to __memcmp_z900.
485 * sysdeps/s390/s390-64/memcpy.S
486 (memcpy_z900): Rename to __memcpy_z900.
487 Jump to __memcpy_mvcle instead of memcpy_mvcle.
488 (memcpy_mvcle) Rename to __memcpy_mvcle.
489 * sysdeps/s390/s390-64/memset.S
490 (memset_z900): Rename to __memset_z900.
491 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
492 (IFUNC_RESOLVE): Prefix ifunc-resolve function
493 and use prefixed functions.
494 * sysdeps/s390/s390-64/multiarch/memcmp.S
495 (memcmp_z196): Rename to __memcmp_z196.
496 (memcmp_z10): Rename to __memcmp_z10.
497 (memcmp): Set alias to __memcmp_z900.
498 (bcmp): Set alias to __memcmp_z900.
499 * sysdeps/s390/s390-64/multiarch/memcpy.S
500 (memcpy_z196): Rename to __memcpy_z196.
501 Jump to __memcpy_mvcle instead of memcpy_mvcle.
502 (memcpy_z10): Rename to __memcpy_z10.
503 Jump to __memcpy_mvcle instead of memcpy_mvcle.
504 (memcpy): Set alias to __memcpy_z900.
505 * sysdeps/s390/s390-64/multiarch/memset.S
506 (memset_z196): Rename to __memset_z196.
507 Jump to __memset_mvcle instead of memset_mvcle.
508 (memset_z10): Rename to __memset_z10.
509 Jump to __memset_mvcle instead of memset_mvcle.
510 (memset_mvcle) Rename to __memset_mvcle.
511 (memset): Set alias to __memset_z900.
513 2015-01-14 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
517 __fesetenv instead of fesetenv.
519 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
521 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
524 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
529 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
530 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
531 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
532 strncmp-power8 object.
533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
534 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
535 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
538 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
539 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
541 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
544 2015-01-13 David S. Miller <davem@davemloft.net>
546 * include/signal.h (__sigreturn): Guard with __USE_MISC.
548 2015-01-13 Roland McGrath <roland@hack.frob.com>
550 * login/logout.c (logout): Use memset rather than bzero.
551 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
552 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
553 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
554 (_gethtbyaddr): Likewise.
555 * locale/programs/simple-hash.c (bcopy): Macro removed.
557 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
559 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
560 Add strcmp-power8 object.
561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
562 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
563 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
564 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
565 __strcmp_power8 implementation.
566 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
569 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
570 Add strncpy-power8 and stpncpy-power8 objects.
571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
572 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
574 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
575 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
576 __stpncpy_power8 implementation.
577 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
578 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
579 __strncpy_power8 implementation.
580 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
581 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
584 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
585 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
586 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
588 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
589 strncat-power8 object.
590 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
591 __strcat_power8 implementation.
592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
593 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
594 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
595 optimized strcat for power8.
597 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
598 strcpy-power8 and stpcpy-power8 objects.
599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
600 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
602 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
603 multiarch stpcpy implementation for POWER8.
604 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
605 multiarch strcpy implementation for POWER8.
606 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
607 __strcpy_power8 function.
608 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
610 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
614 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
617 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
618 weights and rules. Use do_xfrm_cached if data fits in cache,
619 do_xfrm otherwise. Moved former main loop to...
620 * (do_xfrm_cached): New function.
621 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
622 find_idx, find_position and stack_push.
623 * (find_idx): New function.
624 * (find_position): Likewise.
625 * localedata/sort-test.sh: Added test run for do_xfrm.
626 * localedata/xfrm-test.c (main): Added command line option
627 -nocache to run the test with strings that are too large for
630 2015-01-13 Torvald Riegel <triegel@redhat.com>
632 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
633 variable to lll_futex_wake call, not the value itself.
635 2015-01-12 Joseph Myers <joseph@codesourcery.com>
638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
639 twom64. Adjust value to 0x1p-64L.
640 (__scalblnl): Only return standard underflowing result for K <=
641 -64 not K <= -63; adjust exponent for underflowing result by 64
643 * math/libm-test.inc (scalbn_test_data): Add more tests.
644 (scalbln_test_data): Likewise.
647 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
649 (__scalblnl): Get new exponent of adjusted subnormal value from ES
651 * math/libm-test.inc (scalbn_test_data): Add more tests.
652 (scalbln_test_data): Likewise.
654 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
655 Stefani Seibold <stefani@seibold.net>
657 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
658 (sysdep_routines): Add dl-vdso here, ...
659 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
660 (sysdep_routines): ... not here.
661 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
662 fallback when vDSO is not presented.
663 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
664 Define with libc_hidden_proto/libc_hidden_data_def definitions.
665 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
666 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
667 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
668 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
669 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
670 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
671 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
672 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
673 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
674 fallback configurable symbol when vDSO is not available.
675 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
676 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
677 be able to redefine fallback symbol when vDSO is not available.
678 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
679 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
681 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
684 (TLS_INIT_TP): Add tm_capable initialization.
685 (TLS_DEFINE_INIT_TP): Likewise.
686 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
688 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
689 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
691 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
692 transactoion is lock elision is built and TCB tm_capable is set.
693 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
695 (INTERNAL_SYSCALL_NCS): Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
697 (INTERNAL_SYSCALL_NCS): Likewise.
698 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
700 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
702 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
703 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
704 and remove it for 32 bits case.
705 [pthread_rwlock_t] (__rwelision): New field for lock elision.
706 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
708 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
709 Disable lock elision with rdlocks if elision is not available.
711 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
712 (sysdep_routines): Add lock elision objects.
713 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
714 [pthread_mutex_t] (__spins): Rework to add lock elision field.
715 [pthread_mutex_t] (__elision): Add field.
716 [__PTHREAD_SPINS]: Adjust to init lock elision field.
717 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
718 elision definitions for powerpc.
719 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
720 implementation of lock elision for powerpc.
721 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
722 implementation of timed lock elision for powerpc.
723 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
724 implementation of trylock with lock elision for powerpc.
725 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
726 implementaion of unlock for lock elision for powerpc.
727 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
728 automatic enable lock elision for mutexes.
729 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
730 transaction execution definitions for powerpc.
731 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
733 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
734 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
739 2015-01-09 Roland McGrath <roland@hack.frob.com>
741 * sysdeps/posix/shm-directory.c: Use <> rather than ""
742 for #include of <shm-directory.h>.
744 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
747 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
749 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
752 * NEWS: Mention bug fix.
753 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
754 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
755 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
757 2015-01-09 Torvald Riegel <triegel@redhat.com>
759 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
761 2015-01-09 Torvald Riegel <triegel@redhat.com>
763 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
765 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
767 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
768 pointer and cast to uintptr_t.
770 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
772 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
774 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
776 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
778 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
781 2015-01-08 Roland McGrath <roland@hack.frob.com>
783 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
784 <nptl/pthreadP.h> instead.
785 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
787 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
789 [__SIGRTMIN] (init): Function removed.
790 [__SIGRTMIN] (initialized): Variable removed.
791 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
792 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
793 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
794 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
795 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
796 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
797 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
798 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
799 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
800 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
801 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
802 * sysdeps/nptl/allocrtsig.c: New file.
803 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
804 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
805 * sysdeps/generic/testrtsig.h: File removed.
807 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
808 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
810 * nptl/nptl-init.c (pthread_functions): Conditionalize
811 .ptr__nptl_setxid initialization on [SIGSETXID].
813 * sysdeps/nptl/sys/procfs.h: New file.
814 * nptl_db/Makefile (headers): Add it.
815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
817 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
818 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
819 * nptl/pthread_attr_setaffinity.c: Include it.
820 * nptl/pthread_setattr_default_np.c: Likewise.
821 * nptl/check-cpuset.h: New file.
823 2015-01-08 Richard Henderson <rth@redhat.com>
825 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
826 (CFLAGS-tst-execstack-prog.c): Likewise.
827 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
829 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
830 Sandra Loosemore <sandra@codesourcery.com>
831 Andrew Jenner <andrew@codesourcery.com>
832 Joseph Myers <joseph@codesourcery.com>
833 Nathan Sidwell <nathan@codesourcery.com>
835 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
836 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
837 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
838 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
839 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
840 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
841 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
842 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
843 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
844 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
845 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
846 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
847 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
848 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
849 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
850 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
851 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
853 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
855 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
856 timespec struct member in syscall macro.
857 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
858 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
859 first timeval struct member in syscall macro.
860 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
862 2015-01-07 Joseph Myers <joseph@codesourcery.com>
865 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
866 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
867 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
868 __feupdateenv and define as weak alias of __feupdateenv. Use
870 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
872 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
873 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
874 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
875 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
877 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
878 __feupdateenv and define as weak alias of __feupdateenv. Use
880 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
882 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
883 __feupdateenv and define as weak alias of __feupdateenv. Use
885 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
887 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
888 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
889 (__feupdateenv): Likewise.
890 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
891 __feupdateenv and define as weak alias of __feupdateenv. Use
893 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
894 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
896 * sysdeps/tile/math_private.h (__feupdateenv): New inline
898 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
900 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
901 __feupdateenv instead of feupdateenv.
902 (default_libc_feupdateenv_test): Likewise.
903 (libc_feresetround_ctx): Likewise.
905 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
907 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
910 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
912 * posix/regcomp.c (parse_bracket_exp): Initialize type to
913 COLL_SYM in a couple of places to avoid uninitialized variable
914 wanings on tilegx gcc 4.8.2.
916 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
918 * sysdeps/aarch64/strcpy.S: New file.
919 * sysdeps/aarch64/stpcpy.S: New file.
922 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
924 * sysdeps/aarch64/strrchr.S: New file.
927 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
930 * stdlib/setenv.c: Fix memory leak when setting large,
933 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
936 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
937 and tabs from buffer before parsing fstab entry.
938 * misc/tst-mntent.c (main): Add test for mount entry with
939 trailing spaces and tabs.
941 2015-01-06 Joseph Myers <joseph@codesourcery.com>
944 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
945 * math/fesetround.c (fesetround): Rename to __fesetround and
946 define as weak alias of __fesetround. Use libm_hidden_weak.
947 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
948 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
949 * sysdeps/arm/fesetround.c (fesetround): Likewise.
950 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
951 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
952 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
953 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
954 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
955 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
957 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
958 __fesetround_inline instead of __fesetround.
959 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
960 __fesetround and define as weak alias of __fesetround. Use
961 libm_hidden_weak. Call __fesetround_inline instead of
963 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
964 __fesetround and define as weak alias of __fesetround. Use
966 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
968 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
969 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
970 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
971 * sysdeps/tile/math_private.h (__fesetround): New inline function.
972 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
973 __fesetround and define as weak alias of __fesetround. Use
975 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
976 __fesetround instead of fesetround.
977 (default_libc_feholdexcept_setround): Likewise.
978 (libc_feholdsetround_ctx): Likewise.
979 (libc_feholdsetround_noex_ctx): Likewise.
982 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
983 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
984 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
985 and define as weak alias of __fesetenv. Use libm_hidden_weak.
986 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
987 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
988 define as weak alias of __fesetenv. Use libm_hidden_weak.
989 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
990 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
991 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
992 define as weak alias of __fesetenv. Use libm_hidden_weak.
993 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
994 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
995 define as weak alias of __fesetenv. Use libm_hidden_weak.
996 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
998 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
999 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1001 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1002 define as weak alias of __fesetenv. Use libm_hidden_weak.
1003 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1004 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1005 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1006 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1007 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1008 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1009 __fesetenv instead of fesetenv.
1010 (libc_feresetround_noex_ctx): Likewise.
1011 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1012 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1013 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1014 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1015 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1016 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1017 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1018 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1019 (__feupdateenv): Likewise.
1020 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1021 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1022 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1023 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1025 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1028 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1029 addresses have been freed.
1031 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1033 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1036 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1038 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1039 Clean up check_pf allocation pattern. addresses
1041 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1044 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1045 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1046 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1047 * nptl/pthread_join.c (pthread_join): Likewise.
1048 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1049 * sysdeps/posix/waitid.c (__waitid): Likewise.
1050 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1051 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1052 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1053 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1054 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1056 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1057 (__libc_pread64): Likewise.
1058 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1059 (__libc_pwrite): Likewise.
1060 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1061 (__libc_pwrite64): Likewsie.
1062 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1063 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1064 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1065 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1066 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1067 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1068 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1072 (__libc_pread64): Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1076 (__libc_pwrite64): Likewise.
1077 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1078 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1079 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1080 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1081 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1082 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1083 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1084 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1085 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1086 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1087 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1088 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1089 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1090 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1091 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1092 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1095 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1097 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1098 (CFLAGS-test-double.c): Likewise.
1099 (CFLAGS-test-ldouble.c): Likewise.
1100 (CPPFLAGS-test-ifloat.c): Likewise.
1101 (CPPFLAGS-test-idouble.c): Likewise.
1102 (CPPFLAGS-test-ildoubl.c): Likewise.
1103 (CFLAGS-test-test-fenv.c): Remove variable.
1104 (CFLAGS-test-misc.c): Likewise.
1106 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1109 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1110 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1111 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1112 CLOCKS_PER_SEC == 1000000.
1113 * time/clocktest.c (main): Replace %ld with %jd and cast to
1116 2015-01-05 Roland McGrath <roland@hack.frob.com>
1118 * sysdeps/generic/unwind-resume.h: New file.
1119 * sysdeps/gnu/unwind-resume.c: Include it.
1120 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1121 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1123 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1124 global rather than static.
1125 (_Unwind_Resume): Update user.
1126 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1127 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1128 rather than static. Add __attribute__ ((cold)).
1129 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1130 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1131 * sysdeps/arm/arm-unwind-resume.S: New file.
1132 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1133 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1134 * sysdeps/arm/Makefile [$(subdir) = csu]
1135 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1136 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1137 Add rt-arm-unwind-resume.
1139 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1140 Add pt-arm-unwind-resume.
1141 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1142 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1144 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1147 * include/fenv.h (__feholdexcept): Declare. Use
1149 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1150 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1151 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1152 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1153 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1154 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1155 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1156 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1157 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1158 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1159 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1160 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1161 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1162 (feholdexcept): Likewise.
1163 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1164 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1165 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1166 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1167 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1168 __feholdexcept instead of feholdexcept.
1169 (default_libc_feholdexcept_setround): Likewise.
1171 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1173 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1174 to avoid using stl/str to align destination.
1176 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1178 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1180 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1183 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1184 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1185 Define as weak alias not strong alias.
1187 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1189 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1190 bltzal with addiupc.
1191 (RTLD_START): Ditto.
1193 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1195 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1196 for __vdso_* functions in declarations.
1197 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1199 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1200 INTERNAL_VSYSCALL): Use struct return types to check for error.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1203 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1204 function with cast from llround().
1205 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1206 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1209 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1212 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1213 Define as weak alias not strong alias.
1216 * ctype/ctype-c99.c: New file. isblank implementation moved from
1218 * ctype/ctype-extn.c: ... here.
1219 (__isblank_l): Move to ...
1220 * ctype/ctype-c99_l.c: ... here. New file.
1221 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1222 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1224 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1225 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1226 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1227 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1228 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1231 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1232 (posix_fadvise64): Define as weak alias not strong alias.
1233 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1234 (posix_fallocate64): Likewise.
1235 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1237 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1238 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1239 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1240 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1241 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1243 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1246 * NEWS: Mention bug fix.
1247 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1248 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1249 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1250 (HOST_STACK_END_ADDR): Likewise.
1252 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1255 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1256 * math/fegetround.c (fegetround): Rename to __fegetround and
1257 define as weak alias of __fegetround. Use libm_hidden_weak.
1258 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1259 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1260 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1261 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1262 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1263 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1264 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1265 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1266 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1267 Undefine after rather than before function definition; use
1268 parentheses around function name in definition.
1269 (__fegetround): Also undefine macro after function definition.
1270 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1271 __fegetround and define as weak alias of __fegetround. Use
1272 libm_hidden_weak. Do not undefine as macro.
1273 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1275 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1276 __fegetround and define as weak alias of __fegetround. Use
1278 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1279 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1280 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1281 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1282 __fegetround and define as weak alias of __fegetround. Use
1284 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1285 __fegetround instead of fegetround.
1288 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1289 Condition macro definition on [__USE_MISC].
1292 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1293 (struct sigaction): Change type of sa_flags field to int.
1296 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1297 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1300 * nptl/version.c (banner): Use single year in copyright notice.
1302 * NEWS: Update copyright dates.
1303 * catgets/gencat.c (print_version): Likewise.
1304 * csu/version.c (banner): Likewise.
1305 * debug/catchsegv.sh: Likewise.
1306 * debug/pcprofiledump.c (print_version): Likewise.
1307 * debug/xtrace.sh (do_version): Likewise.
1308 * elf/ldconfig.c (print_version): Likewise.
1309 * elf/ldd.bash.in: Likewise.
1310 * elf/pldd.c (print_version): Likewise.
1311 * elf/sotruss.sh: Likewise.
1312 * elf/sprof.c (print_version): Likewise.
1313 * iconv/iconv_prog.c (print_version): Likewise.
1314 * iconv/iconvconfig.c (print_version): Likewise.
1315 * locale/programs/locale.c (print_version): Likewise.
1316 * locale/programs/localedef.c (print_version): Likewise.
1317 * login/programs/pt_chown.c (print_version): Likewise.
1318 * malloc/memusage.sh (do_version): Likewise.
1319 * malloc/memusagestat.c (print_version): Likewise.
1320 * malloc/mtrace.pl: Likewise.
1321 * manual/libc.texinfo: Likewise.
1322 * nptl/version.c (banner): Likewise.
1323 * nscd/nscd.c (print_version): Likewise.
1324 * nss/getent.c (print_version): Likewise.
1325 * nss/makedb.c (print_version): Likewise.
1326 * posix/getconf.c (main): Likewise.
1327 * scripts/test-installation.pl: Likewise.
1328 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1330 2015-01-02 Will Newton <will.newton@linaro.org>
1332 * sysdeps/arm/armv7/configure: Removed.
1333 * sysdeps/arm/armv7/configure.ac: Likewise.
1335 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1337 * All files with FSF copyright notices: Update copyright dates
1338 using scripts/update-copyrights.
1339 * intl/plural.c: Regenerated.
1340 * locale/programs/charmap-kw.h: Likewise.
1341 * locale/programs/locfile-kw.h: Likewise.
1343 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1345 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1347 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1350 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1351 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1352 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1353 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1354 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1355 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1356 define as weak alias of __fegetenv. Use libm_hidden_weak.
1357 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1358 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1359 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1360 define as weak alias of __fegetenv. Use libm_hidden_weak.
1361 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1362 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1363 define as weak alias of __fegetenv. Use libm_hidden_weak.
1364 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1366 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1367 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1369 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1370 define as weak alias of __fegetenv. Use libm_hidden_weak.
1371 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1372 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1373 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1374 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1375 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1376 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1377 __fegetenv instead of fegetenv.
1378 (libc_feholdsetround_noex_ctx): Likewise.
1380 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1382 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1383 (Elf_MIPS_ABIFlags_v0): New structure.
1384 (EF_MIPS_FP64): Define.
1385 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1386 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1387 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1388 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1389 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1390 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1391 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1392 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1393 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1394 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1395 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1396 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1397 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1398 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1399 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1400 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1401 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1402 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1403 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1404 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1405 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1406 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1408 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1410 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1411 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1412 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1413 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1414 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1415 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1416 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1417 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1418 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1419 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1420 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1421 record the current FP ABI extension.
1422 (mips-mode-switch): Define to show if kernel headers support mode
1424 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1425 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1426 supported SYSV ABI version to 3.
1427 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1430 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1431 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1435 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1437 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1439 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1440 __fegetround and redefine to call __fegetround. Remove condition
1441 on [!__NO_MATH_INLINES].
1442 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1444 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1445 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1447 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1448 instead of <fenv_libc.h>.
1449 (__llrintl): Call fegetround instead of __fegetround.
1450 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1451 instead of <fenv_libc.h>.
1452 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1453 (__lrintl): Call fegetround instead of __fegetround.
1454 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1455 instead of <fenv_libc.h>.
1456 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1457 (__rintl): Call fegetround instead of __fegetround.
1459 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1464 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1467 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1468 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1469 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1471 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1473 * sysdeps/i386/tls-macros.h: Include <features.h>.
1474 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1478 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1479 define for GCC >= 5.0.
1481 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1483 * math/test-fenv.c (test_single_exception, set_single_exc,
1484 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1485 feexcp_mask_test, feenable_test, fe_single_test): Add
1486 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1487 case where they are not used.
1488 * math/libm-test.inc: Likewise.
1489 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1490 unused in the absence of FP rounding/exception support.
1491 * stdio-common/tst-printf-round.c: Likewise.
1492 * stdlib/tst-strtod-round.c: Likewise.
1493 * stdlib/tst-strtod-underflow.c: Likewise.
1495 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1498 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1499 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1500 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1501 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1503 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1504 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1505 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1507 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1508 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1510 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1512 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1513 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1514 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1516 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1518 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1519 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1520 (__feraiseexcept): Likewise.
1521 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1522 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1524 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1525 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1527 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1528 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1529 Use libm_hidden_def.
1530 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1532 (feraiseexcept): Define as weak not strong alias. Use
1534 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1535 New inline function. Factored out of ...
1536 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1537 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1538 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1540 * math/w_acos.c (__acos): Likewise.
1541 * math/w_asin.c (__asin): Likewise.
1542 * math/w_ilogb.c (__ilogb): Likewise.
1543 * math/w_j0.c (y0): Likewise.
1544 * math/w_j1.c (y1): Likewise.
1545 * math/w_jn.c (yn): Likewise.
1546 * math/w_log.c (__log): Likewise.
1547 * math/w_log10.c (__log10): Likewise.
1548 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1549 * sysdeps/aarch64/fpu/math_private.h
1550 (libc_feupdateenv_test_aarch64): Likewise.
1551 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1552 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1553 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1554 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1555 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1556 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1557 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1558 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1559 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1560 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1562 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1565 * io/test-utime.c (main): Replace %ld with %jd and cast to
1567 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1568 * nptl/tst-mutex5.c: Include <stdint.h>.
1569 (do_test): Replace %ld with %jd and cast to intmax_t.
1570 * posix/tst-regex.c (run_test): Likewise.
1571 (run_test_backwards): Likewise.
1572 * rt/tst-clock.c: Include <stdint.h>.
1573 (clock_test): Replace %ld with %jd and cast to intmax_t.
1574 * rt/tst-cpuclock1.c: Include <stdint.h>.
1575 (do_test): Replace %lu with %ju and cast to uintmax_t.
1576 * rt/tst-cpuclock2.c: Include <stdint.h>.
1577 (do_test): Replace %lu with %ju and cast to uintmax_t.
1578 * rt/tst-mqueue1.c: Include <stdint.h>.
1579 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1580 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1582 * rt/tst-mqueue4.c (do_test): Likewise.
1583 * rt/tst-timer4.c: Include <stdint.h>.
1584 (check_ts): Replace %ld with %jd and cast to intmax_t.
1585 (do_test): Likewise.
1586 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1587 and cast to intmax_t.
1588 * sysdeps/pthread/tst-timer.c (main): Likewise.
1589 * time/clocktest.c (main): Likewise.
1590 * time/tst-posixtz.c (do_test): Likewise.
1591 * timezone/tst-timezone.c (main): Likewise.
1593 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1594 H.J. Lu <hongjiu.lu@intel.com>
1596 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1597 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1598 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1599 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1600 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1601 version if bit_Fast_Unaligned_Load is set.
1602 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1603 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1604 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1605 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1606 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1607 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1609 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1610 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1611 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1613 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1614 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1615 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1616 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1618 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1620 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1621 instead of #if to avoid a Wundef warning.
1622 * stdlib/tst-limits.c (do_test): Likewise.
1624 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1625 parallel other exception macros.
1626 (fegetenv): Convert from macro to extern inline so that it applies
1627 retroactively to inline functions already seen by the compiler.
1628 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1630 * posix/Makefile (before-compile): Use $(objpfx) for
1631 posix-conf-vars-def.h.
1633 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1635 * posix/getconf.c (main): Use size_t for type of I.
1636 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1639 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1640 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1641 * posix/posix-envs.def: Likewise.
1642 * sysdeps/posix/sysconf.c: Likewise.
1643 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1644 (specs): Remove array.
1645 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1648 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1649 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1650 (__sysconf): Use CONF_IS_* macros.
1652 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1653 ($(objpfx)posix-conf-vars-def.h): New target.
1654 * posix/posix-conf-vars.list: New file.
1655 * posix/posix-conf-vars.h: New file.
1656 * posix/confstr.c: Include posix-conf-vars.h.
1657 (confstr): Use CONF_IS_* macros.
1658 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1660 * scripts/gen-posix-conf-vars.awk: New file.
1662 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1664 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1665 fegetround): Add no-op macros to avoid linknamespace issues.
1667 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1668 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1670 * sysdeps/unix/sysv/linux/tile/sysdep.h
1671 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1672 assembly-specific section to avoid a redefinition warning.
1674 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1675 long before casting to pointer to avoid a cast warning.
1677 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1679 * sysdeps/tile/tilegx/Implies: New file.
1681 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1683 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1685 2014-12-23 Florian Weimer <fweimer@redhat.com>
1687 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1689 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1691 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1693 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1694 <kernel-features.h>.
1695 (__utimes) [__NR_utimes]: Make code unconditional.
1696 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1697 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1698 (__ASSUME_UTIMES): Do not undefine.
1699 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1700 (__ASSUME_UTIMES): Likewise.
1701 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1702 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1703 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1704 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1706 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1708 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1710 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1713 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1714 alias to weak alias for j0l, y0l.
1715 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1716 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1719 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1722 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1724 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1725 to zero if not already defined.
1727 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1730 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1731 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1732 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1733 (char *) casts added.
1734 * sysdeps/ieee754/k_standardf.c: New file.
1735 * sysdeps/ieee754/k_standardl.c: Likewise.
1736 * math/Makefile (libm-support): Remove k_standard.
1737 (libm-calls): Add k_standard.
1739 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1741 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1742 Optimize to avoid an unnecessary FPCR read.
1744 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1746 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1747 Optimize to reduce FPCR/FPSR accesses.
1749 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1751 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1752 Call libc_fetestexcept_aarch64.
1754 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1756 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1757 Call libc_fesetround_aarch64.
1759 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1762 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1763 (__bind): Do not define as weak alias.
1764 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1766 (__getsockname): Do not define as weak alias.
1768 2014-12-22 Will Newton <will.newton@linaro.org>
1770 * manual/install.texi: Document that we require bison 2.7
1772 * INSTALL: Regenerate.
1773 * configure.ac: Use AC_CHECK_PROG_VER instead of
1774 AC_PATH_PROG when checking for bison and check for
1775 version 2.7 or above.
1776 * configure: Regenerate.
1778 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1781 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1782 * sysdeps/tile/ffsll.c (ffsll): To here.
1784 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1786 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1788 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1790 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1792 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1793 hidden ___tls_get_addr.
1794 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1795 hidden __tls_get_addr.
1796 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1797 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1800 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1802 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1805 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1807 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1808 from "call _dl_init@PLT".
1809 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1811 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1813 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1816 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1818 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1820 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1823 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1826 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1828 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1830 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1831 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1832 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1833 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1834 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1836 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1838 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1839 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1840 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1841 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1842 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1844 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1846 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1848 * string/strncat.c (STRNCAT): Simplify implementation.
1850 2014-12-19 David S. Miller <davem@davemloft.net>
1852 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1853 access the quad as both a long double and as a series of 4 words.
1855 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1856 link_map->l_info array access.
1858 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1860 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1862 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1863 * math/atest-exp2.c (TIMEOUT): Likewise.
1864 * math/atest-sincos.c (TIMEOUT): Likewise.
1866 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1868 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1869 -Wno-error with -fno-builtin-lround.
1871 2014-12-19 Torvald Riegel <triegel@redhat.com>
1873 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1874 Contains futex constants and functions moved over from ...
1875 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1876 <lowlevellock-futex.h>.
1877 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1878 (lll_timedwait_tid): Add comments and parentheses around macro
1881 2014-12-19 Torvald Riegel <triegel@redhat.com>
1883 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1884 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1885 (__lll_private_flag): Remove.
1886 (lll_futex_wait): Likewise.
1887 (lll_futex_timed_wait): Likewise.
1888 (lll_futex_wake): Likewise.
1889 (lll_futex_requeue): Likewise.
1890 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1891 (__lll_timedwait_tid): Spell out argument names.
1892 (lll_timedwait_tid): Add comments and parentheses around macro
1894 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1895 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1897 2014-12-19 Torvald Riegel <triegel@redhat.com>
1899 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1900 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1901 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1902 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1903 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1904 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1905 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1906 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1907 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1908 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1909 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1911 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1912 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1913 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1914 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1915 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1916 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1917 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1919 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1921 * sysdeps/x86_64/x32/Makefile: New file.
1923 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1925 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1926 1L with (mp_limb_t) 1.
1928 2014-12-17 Roland McGrath <roland@hack.frob.com>
1930 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1931 * nptl/libc_pthread_init.c: ... here.
1932 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1933 * nptl/register-atfork.c: ... here.
1935 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1936 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1937 Use assert_perror to check its return value.
1938 (__gai_create_helper_thread): Likewise.
1940 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1942 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1944 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1947 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1949 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1951 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1953 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1955 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1956 (profil_counter): Likewise.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1958 (profil_counter): Likewise.
1959 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1961 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1963 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1964 (profil_counter): Likewise.
1965 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1967 [!__profil_counter] (profil_counter): Define as weak alias of
1969 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1970 (profil_counter): Rename to __profil_counter.
1971 [!__profil_counter] (profil_counter): Define as weak alias of
1973 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1974 (profil_counter): Rename to __profil_counter.
1975 [!__profil_counter] (profil_counter): Define as weak alias of
1977 * sysdeps/posix/profil.c: Update comment referring to
1979 (__profil): Use __profil_counter instead of profil_counter.
1980 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1981 __profil_counter. Use __profil_counter_ushort and
1982 __profil_counter_uint in definitions.
1983 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1984 instead of profil_counter_uint and profil_counter_ushort.
1987 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1988 define as weak alias of __inet_makeaddr.
1989 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1990 as weak alias of __inet_addr.
1991 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1992 as weak alias of __inet_pton. Use libc_hidden_weak.
1993 * include/arpa/inet.h (__inet_pton): Declare. Use
1995 (inet_makeaddr): Don't use libc_hidden_proto.
1996 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1997 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1998 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1999 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2001 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2002 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2004 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2006 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2008 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2010 * stdio-common/bug-vfprintf-nargs.c (do_test):
2011 Cast value to intptr_t to avoid format warning
2012 for usage with PRIdPTR printing macro.
2014 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2016 * libio/tst-widetext.c (do_test):
2017 Use format type %td instead of %Zd for ptrdiff_t
2018 in order to avoid format warning.
2020 2014-12-17 Andreas Schwab <schwab@suse.de>
2022 * nscd/mem.c (gc): Add size_t cast to match printf format.
2024 2014-12-16 Roland McGrath <roland@hack.frob.com>
2026 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2027 (init): Apply PTR_MANGLE to pointers before storing them.
2028 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2031 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2034 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2035 define as weak alias of __memrchr.
2036 (__memrchr): Do not define as strong alias of memrchr.
2037 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2039 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2040 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2041 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2044 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2045 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2046 (if_indextoname): Rename to __if_indextoname and define as weak
2047 alias of __if_indextoname. Use libc_hidden_weak.
2048 (if_freenameindex): Rename to __if_freenameindex and define as
2049 weak alias of __if_freenameindex.
2050 (if_nameindex): Rename to __if_nameindex and define as weak alias
2052 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2053 __if_nametoindex and define as weak alias of __if_nametoindex.
2054 Use libc_hidden_weak.
2055 (if_freenameindex): Rename to __if_freenameindex and define as
2056 weak alias of __if_freenameindex.
2057 (if_nameindex): Rename to __if_nameindex and define as weak alias
2059 (if_indextoname): Rename to __if_indextoname and define as weak
2060 alias of __if_indextoname. Use libc_hidden_weak.
2061 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2062 __if_nametoindex and define as weak alias of __if_nametoindex.
2063 Use libc_hidden_weak.
2064 (if_freenameindex): Rename to __if_freenameindex and define as
2065 weak alias of __if_freenameindex. Use libc_hidden_weak.
2066 (if_nameindex_netlink): Use __if_freenameindex instead of
2068 (if_nameindex): Rename to __if_nameindex and define as weak alias
2069 of __if_nameindex. Use libc_hidden_weak.
2070 (if_indextoname): Rename to __if_indextoname and define as weak
2071 alias of __if_indextoname. Use libc_hidden_weak.
2072 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2074 [!_ISOMAC] (__if_freenameindex): Likewise.
2075 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2077 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2079 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2080 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2081 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2082 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2083 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2084 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2085 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2087 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2089 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2090 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2092 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2094 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2095 subscript above bounds'
2097 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2100 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2102 * libio/tst-fopenloc.c: Use test-skeleton.c.
2104 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2105 (entry): Rename to ITEM.
2106 (do_test, comp): Adjust.
2108 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2110 2014-12-16 Torvald Riegel <triegel@redhat.com>
2112 * string/tester.c: Include <libc-internal.h>.
2113 (test_memset): Ignore -Wmemset-transposed-args.
2115 2014-12-16 Torvald Riegel <triegel@redhat.com>
2117 * misc/tst-mntent2.c (do_test): Fix warning.
2119 2014-12-16 Torvald Riegel <triegel@redhat.com>
2121 * elf/tst-unique4lib.cc(a): Mark as used.
2123 2014-12-16 Florian Weimer <fweimer@redhat.com>
2126 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2129 2014-12-16 Allan McRae <allan@archlinux.org>
2131 * stdio-common/Makefile (tests): Re-add bug26.
2133 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2136 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2139 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2141 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2142 (__lll_lock_wait): Likewise.
2143 (__lll_timedlock_wait): Likewise.
2144 (__lll_timedwait_tid): Likewise.
2145 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2146 (__lll_robust_timedlock_wait): Likewise.
2147 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2148 (lll_cond_trylock): Likewise.
2149 (__lll_lock): Likewise.
2150 (__lll_robust_lock): Likewise.
2151 (__lll_cond_lock): Likewise.
2152 (lll_robust_cond_lock): Likewise.
2153 (__lll_timedlock): Likewise.
2154 (__lll_robust_timedlock): Likewise.
2155 (__lll_unlock): Likewise.
2156 (__lll_robust_unlock): Likewise.
2157 (lll_wait_tid): Likewise.
2158 (lll_timedwait_tid): Likewise.
2160 2014-12-15 Torvald Riegel <triegel@redhat.com>
2162 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2164 2014-12-15 Torvald Riegel <triegel@redhat.com>
2166 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2168 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2170 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2171 * stdio-common/tst-sprintf.c: Likewise.
2173 2014-12-15 Torvald Riegel <triegel@redhat.com>
2175 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2177 2014-12-15 Jeff Law <law@redhat.com>
2180 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2181 on the heap. (CVE-2012-3406)
2182 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2183 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2184 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2186 2014-12-15 Will Newton <will.newton@linaro.org>
2188 * manual/install.texi: Bump required version of texinfo
2190 * INSTALL: Regenerated.
2191 * configure.ac: Check for makeinfo version 4.7 and above.
2192 * configure: Regenerated.
2194 2014-12-12 Roland McGrath <roland@hack.frob.com>
2196 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2197 PREFIX, string constant to insert between directory and name.
2198 * sysdeps/posix/shm_open.c: Update caller.
2199 * sysdeps/posix/shm_unlink.c: Likewise.
2200 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2201 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2202 (SEM_SHM_PREFIX): New macro.
2203 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2204 [$(have-thread-library) = no].
2205 * nptl/Makefile (libpthread-routines): Add shm-directory.
2206 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2207 * sysdeps/nptl/shm-directory.h: New file.
2208 * sysdeps/posix/shm-directory.c
2209 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2210 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2211 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2213 (__where_is_shmfs): Function removed.
2214 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2216 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2218 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2220 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2221 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2222 unconditional for use inside libpthread.
2223 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2225 2014-12-12 Roland McGrath <roland@hack.frob.com>
2227 * nptl/pthread_getaffinity.c: New file.
2228 * nptl/pthread_setaffinity.c: New file.
2229 * nptl/pthread_getname.c: New file.
2230 * nptl/pthread_setname.c: New file.
2232 * nptl/pthread_create.c (START_THREAD_DEFN)
2233 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2235 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2236 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238 * resolv/res_send.c (send_vc): Disable warning resplen may
2239 be used uninitialized.
2241 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2244 (ATTR_NULL): New define checks ATTR against NULL.
2245 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2246 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2248 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2252 (mem2mem_check): Revert my previous change.
2253 (malloc_check_get_size): Revert my previous change.
2254 (mem2chunk_check): Revert my previous change.
2256 2014-12-11 Roland McGrath <roland@hack.frob.com>
2258 * sysdeps/posix/shm-directory.c: New file.
2259 * sysdeps/posix/shm-directory.h: New file.
2260 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2261 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2262 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2263 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2264 Transmute EPERM to EACCES.
2265 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2267 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2268 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2270 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2272 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2273 pointer and cast to uintptr_t.
2274 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2275 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2276 Add cast to avoid warning.
2277 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2279 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2281 * nptl/semaphore.h: Move to ...
2282 * sysdeps/pthread/semaphore.h: ... here.
2283 * Makefile (installed-headers): Change nptl/semaphore.h to
2284 sysdeps/pthread/semaphore.h.
2286 2014-12-11 Roland McGrath <roland@hack.frob.com>
2288 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2289 generated error format strings.
2291 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2292 -Wformat-extra-args warnings for scanf formats.
2293 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2294 test of zero-length format (duh).
2295 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2296 corner-case scanf format test.
2297 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2298 generated fprintf format string.
2299 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2300 corner-case sprintf format tests.
2301 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2302 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2303 -Wformat-extra-args warnings throughout.
2304 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2305 (CFLAGS-scanf4.c): Likewise.
2306 (CFLAGS-scanf7.c): Likewise.
2307 (CFLAGS-tst-sprintf.c): Likewise.
2308 (CFLAGS-tst-printf.c): Likewise.
2309 (CFLAGS-tst-printfsz.c): Likewise.
2311 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2313 * include/cpio.h: New file.
2314 * include/fmtmsg.h: Likewise.
2316 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2317 corresponding format argument to size_t.
2318 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2320 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2321 corresponding format argument to size_t.
2322 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2324 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2325 corresponding format argument to size_t.
2326 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2327 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2328 (CFLAGS-tst-mbswcs2.c): Likewise.
2329 (CFLAGS-tst-mbswcs3.c): Likewise.
2330 (CFLAGS-tst-mbswcs4.c): Likewise.
2331 (CFLAGS-tst-mbswcs5.c): Likewise.
2332 (CFLAGS-tst-trans.c): Likewise
2334 2014-12-11 Roland McGrath <roland@hack.frob.com>
2336 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2337 rather than assuming they won't contain any '%'s.
2339 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2341 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2342 inhibit_loop_to_libcall to avoid recursive calls.
2343 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2344 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2346 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2348 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2351 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2353 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2354 integer value instead of boolean.
2356 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2358 * malloc/malloc.c: Fix powerof2 check.
2360 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2362 * locale/programs/locfile.h (maybe_swap_uint32):
2363 Remove inline and add unused attribute.
2365 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2367 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2368 Truncating assembler expression to a .long expression.
2370 2014-12-11 Andreas Schwab <schwab@suse.de>
2372 * elf/rtld.c (struct map_args): Constify str member.
2373 (do_preload): Constify fname argument.
2375 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2378 constants definition.
2380 2014-12-11 Andreas Schwab <schwab@suse.de>
2383 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2384 FORCE_ELISION instead of DO_ELISION.
2385 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2387 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2390 * iconvdata/gconv-modules: Remove duplicate entry.
2392 2014-12-11 Will Newton <will.newton@linaro.org>
2394 Merge gettext 0.19.3 into intl/.
2396 This involves a number of cosmetic changes to comments
2397 and ANSI function definitions and prototypes throughout
2398 all the files. The gettext copyright header is used but
2399 with the date ranges taken from the glibc copy.
2401 * NEWS: Add gettext merge to 2.21.
2402 * intl/bindtextdom.c: Switch to gettext copyright.
2403 Use ANSI definitions and prototypes.
2404 Use gl_* locking primitives rather than __libc_* ones.
2405 Use __builtin_expect rather than __glibc_likely/unlikely.
2406 * intl/dcgettext.c: Switch to gettext copyright.
2407 Use ANSI definitions and prototypes.
2408 * intl/dcigettext.c: Switch to gettext copyright.
2409 Use ANSI definitions and prototypes.
2410 (INTDIV0_RAISES_SIGFPE): New define.
2411 Use gl_* locking primitives rather than __libc_* ones.
2412 Include eval-plural.h instead of plural-eval.c.
2413 Use __builtin_expect rather than __glibc_likely/unlikely.
2414 * intl/dcngettext.c: Switch to gettext copyright.
2415 Use ANSI definitions and prototypes.
2416 * intl/dgettext.c: Likewise.
2417 * intl/dngettext.c: Likewise.
2418 * intl/plural-eval.c: Renamed to...
2419 * intl/eval-plural.h: ...this.
2420 * intl/explodename.c: Switch to gettext copyright.
2421 Use ANSI definitions and prototypes.
2422 (_nl_explode_name): Use strchr instead of __rawmemchr.
2423 * intl/finddomain.c: Switch to gettext copyright.
2424 Use ANSI definitions and prototypes.
2425 Use gl_* locking primitives rather than __libc_* ones.
2426 (_nl_find_domain): Use malloc rather than alloca for
2427 allocation of temporary locale name.
2428 * intl/gettext.c: Switch to gettext copyright.
2429 Use ANSI definitions and prototypes.
2430 * intl/gettextP.h: Switch to gettext copyright.
2431 Use ANSI definitions and prototypes.
2432 Use gl_* locking primitives rather than __libc_* ones.
2433 * intl/gmo.h: Switch to gettext copyright.
2434 (struct sysdep_string): Move struct segment_pair outside of
2436 * intl/hash-string.c: Use ANSI definitions and prototypes.
2437 * intl/hash-string.h: Switch to gettext copyright.
2438 Use ANSI definitions and prototypes.
2439 * intl/l10nflist.c: Switch to gettext copyright.
2440 Use ANSI definitions and prototypes.
2441 (_nl_normalize_codeset): Avoid integer overflow.
2442 * intl/loadinfo.h: Switch to gettext copyright.
2443 Use ANSI definitions and prototypes.
2444 (LIBINTL_DLL_EXPORTED): New define.
2445 (PATH_SEPARATOR): New define.
2446 * intl/loadmsgcat.c: Switch to gettext copyright.
2447 * intl/localealias.c: Switch to gettext copyright.
2448 Use ANSI definitions and prototypes.
2449 (_nl_expand_alias): Use PATH_SEPARATOR.
2450 * intl/ngettext.c: Switch to gettext copyright.
2451 Use ANSI definitions and prototypes.
2452 * intl/plural-exp.c: Likewise.
2453 * intl/plural-exp.h: Switch to gettext copyright.
2454 Use ANSI definitions and prototypes.
2455 (struct expression): Move definition of enum operator outside
2456 of struct definition.
2457 * intl/plural.c: Regenerate.
2458 * intl/plural.y: Switch to gettext copyright.
2459 Use ANSI definitions and prototypes.
2461 * intl/textdomain.c: Switch to gettext copyright.
2462 Use ANSI definitions and prototypes.
2463 Use gl_* locking primitives rather than __libc_* ones.
2465 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2467 * debug/warning-nop.c: Add used atrribute.
2469 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2471 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2473 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2474 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2475 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2477 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2478 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2482 Undefine after defining function. Define as weak alias of
2483 __wcschr. Use libc_hidden_weak.
2484 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2485 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2486 (libc_hidden_def): Also define __GI___wcschr alias.
2487 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2488 __wcschr and define as weak alias of __wcschr.
2489 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2491 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2492 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2493 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2494 libc_hidden_weak. Do not use libc_hidden_def.
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2496 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2497 __GI___wcschr alias.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2499 [IS_IN (libc)] (wcschr): Define as macro expanding to
2501 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2502 [IS_IN (libc)] (__wcschr_power6): Likewise.
2503 [IS_IN (libc)] (__wcschr_power7): Likewise.
2504 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2506 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2508 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2509 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2510 __wcschr and define as weak alias of __wcschr. Use
2511 libc_hidden_builtin_def.
2512 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2513 as weak alias of __wcschr. Use libc_hidden_weak.
2514 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2516 * time/era.c (_nl_init_era_entries): Likewise.
2517 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2519 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2520 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2522 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2524 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2525 format for long int variable.
2527 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2530 * manual/search.texi: (Array Sort Function): Remove claim how to make
2533 2014-12-10 Andreas Schwab <schwab@suse.de>
2536 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2537 user-controlled locks.
2539 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2541 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2544 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2546 * configure.ac (--disable-werror): New configure option.
2547 (enable_werror): New AC_SUBST.
2548 * configure: Regenerated.
2549 * config.make.in (enable-werror): New variable.
2550 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2552 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2553 * manual/install.texi (Configuring and compiling): Document
2555 * INSTALL: Regenerated.
2556 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2557 (CFLAGS-tst-chk2.c): Likewise.
2558 (CFLAGS-tst-chk3.c): Likewise.
2559 (CFLAGS-tst-chk4.cc): Likewise.
2560 (CFLAGS-tst-chk5.cc): Likewise.
2561 (CFLAGS-tst-chk6.cc): Likewise.
2562 (CFLAGS-tst-lfschk1.c): Likewise.
2563 (CFLAGS-tst-lfschk2.c): Likewise.
2564 (CFLAGS-tst-lfschk3.c): Likewise.
2565 (CFLAGS-tst-lfschk4.cc): Likewise.
2566 (CFLAGS-tst-lfschk5.cc): Likewise.
2567 (CFLAGS-tst-lfschk6.cc): Likewise.
2569 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2570 (main): Disable -Wdeprecated-declarations around calls to
2571 register_printf_function.
2573 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2574 (do_test): Disable -Wdiv-by-zero around some calls to
2575 fwrite_unlocked and fread_unlocked.
2577 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2578 (DIAG_POP_NEEDS_COMMENT): Likewise.
2579 (_DIAG_STR1): Likewise.
2580 (_DIAG_STR): Likewise.
2581 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2582 * stdio-common/bug21.c: Include <libc-internal.h>.
2583 (do_test): Disable -Wformat around call to sscanf.
2584 * stdio-common/scanf14.c: Include <libc-internal.h>.
2585 (main): Disable -Wformat around some calls to scanf functions.
2587 2014-12-09 Torvald Riegel <triegel@redhat.com>
2589 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2591 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2594 stack variable alignment.
2596 2014-12-06 Joseph Myers <joseph@codesourcery.com>
2599 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2600 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2601 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2602 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2603 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2604 __getrlimit instead of getrlimit.
2605 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2606 __gettimeofday instead of gettimeofday.
2607 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2609 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2611 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2612 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2614 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2615 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2617 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2619 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2620 for wide-character tests.
2622 2014-12-04 Roland McGrath <roland@hack.frob.com>
2624 * io/openat64.c: #include <libc-internal.h>
2625 (__openat64): Prototypify. Use ignore_value on MODE.
2626 * io/openat.c: Likewise.
2627 * misc/reboot.c: #include <libc-internal.h>
2628 (reboot): Prototypify. Use ignore_value on HOWTO.
2629 * misc/ptrace.c: #include <libc-internal.h>
2630 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2632 2014-12-04 Joseph Myers <joseph@codesourcery.com>
2634 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2635 XPG4, UNIX98 and XOPEN2K.
2636 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2638 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2640 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2642 * libio/fileops.c: Use ISO C style for function definitions.
2643 * libio/iofopen.c: Likewise.
2644 * libio/wfileops.c: Likewise.
2647 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2649 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2650 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2651 (fgets_func): Function pointer to fgets and fgetws.
2652 (do_ftell_test): Add test to verify ftell value after read
2654 (do_test): Set fgets_func.
2656 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2657 O_TRUNC flag for w and w+ modes.
2658 (do_rewind_test): Likewise.
2659 (do_ftell_test): Likewise.
2660 (do_write_test): Likewise.
2663 * libio/fileops.c (do_ftell): Seek only when there are
2665 * libio/wfileops.c (do_ftell_wide): Likewise.
2666 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2668 (do_one_test): Call it.
2670 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2672 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2673 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2674 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2676 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2677 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2678 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2680 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2682 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2684 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2687 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2688 as weak alias of __getifaddrs. Use libc_hidden_weak.
2689 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2690 __freeifaddrs. Use libc_hidden_weak.
2691 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2692 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2693 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2694 __freeifaddrs. Use libc_hidden_weak.
2695 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2696 __getifaddrs and define as weak alias of __getifaddrs. Use
2698 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2699 __freeifaddrs. Use libc_hidden_weak.
2700 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2702 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2703 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2705 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2708 * sysdeps/mips/start.S (__start): Use indirect jump to call
2711 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2713 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2715 * nptl/tst-mutex1.c: Include <stdbool.h>.
2716 [!ATTR] (ATTR_NULL): New macro.
2717 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2718 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2719 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2721 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2725 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2726 Change conditional to [__USE_MISC].
2729 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2731 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2733 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2735 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2737 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2738 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2739 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2740 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2741 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2742 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2743 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2744 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2745 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2747 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2749 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2752 Remove strpbrk objects.
2753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2754 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2755 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2756 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2757 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2758 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2760 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2761 Remove strcspn objects.
2762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2763 (__libc_ifunc_impl_list): Remove strcspn implementation.
2764 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2765 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2766 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2767 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2769 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2770 Remove strspn objetcs.
2771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2772 (__libc_ifunc_impl_list): Remove strspn implementation.
2773 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2774 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2775 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2776 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2778 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2782 (mem2mem_check): Add a terminator to the chain of checking blocks.
2783 (malloc_check_get_size): Use it here.
2784 (mem2chunk_check): Ditto.
2786 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2788 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2789 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2791 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2793 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2795 * nptl/nptl-init.c: Include libc-internal.h.
2796 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2798 * elf/ldconfig.c (search_dir): Expand comment.
2800 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2802 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2804 (linknamespace-symlist-stdlibs-tests): Likewise.
2805 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2806 instead of $(objpfx)symlist-stdlibs.
2807 (linknamespace-libs-isoc): New variable.
2808 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2809 (linknamespace-libs-ISO): New variable.
2810 (linknamespace-libs-ISO99): Likewise.
2811 (linknamespace-libs-ISO11): Likewise.
2812 (linknamespace-libs-XPG3): Likewise.
2813 (linknamespace-libs-XPG4): Likewise.
2814 (linknamespace-libs-POSIX): Likewise.
2815 (linknamespace-libs-UNIX98): Likewise.
2816 (linknamespace-libs-XOPEN2K): Likewise.
2817 (linknamespace-libs-POSIX2008): Likewise.
2818 (linknamespace-libs-XOPEN2K8): Likewise.
2819 ($(objpfx)symlist-stdlibs): Replace by
2820 $(linknamespace-symlist-stdlibs-tests). Use
2821 $(linknamespace-libs-$*) as set of libraries.
2822 ($(linknamespace-header-tests)): Update dependencies. Use
2823 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2824 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2825 * conform/linknamespace.pl: Remove comment about considering
2826 definitions of symbols from irrelevant libraries.
2828 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2831 * elf/dl-tls.c: Include <atomic.h>.
2832 (oom): Remove #ifdef SHARED/#endif.
2833 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2834 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2835 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2837 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2838 * nptl/Makefile (tests): Add tst-stack4.
2839 (modules-names): Add tst-stack4mod.
2840 ($(objpfx)tst-stack4): New.
2841 (tst-stack4mod.sos): Likewise.
2842 ($(objpfx)tst-stack4.out): Likewise.
2843 ($(tst-stack4mod.sos)): Likewise.
2845 * nptl/tst-stack4.c: New file.
2846 * nptl/tst-stack4mod.c: Likewise.
2848 2014-11-27 J. Brown <jb999@gmx.de>
2850 * sysdeps/x86/bits/string.h: Add recent CPUs.
2852 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2854 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2857 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2860 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2863 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2865 * nscd/connections.c: Include libc-internal.h because of macro
2868 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2870 * string/bits/string3.h (__warn_memset_zero_len): Don't
2871 declare for gcc newer than 5.0.
2872 (memset): Don't test for zero-length __LEN for gcc newer than
2875 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2877 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2878 size_t for %zu format.
2880 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2881 difference, not %ju.
2883 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2885 * include/libc-internal.h (ignore_value): New macro.
2886 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2889 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2892 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2893 pthread_cleanup_push to void *.
2895 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2900 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2901 instead of 1L << 52.
2903 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2904 * libio/bug-rewind2.c (do_test): Likewise.
2906 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2907 * debug/test-strcpy_chk-ifunc.c: Likewise.
2908 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2909 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2910 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2911 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2912 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2913 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2914 * Rules [$(multi-arch) = no] (tests): Do not filter out
2916 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2917 * debug/Makefile (tests-ifunc): Remove variable.
2918 (tests): Do not add $(tests-ifunc).
2919 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2920 (tests): Do not add $(tests-ifunc).
2921 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2922 [TEST_IFUNC]: Remove conditionals.
2923 * string/test-string.h (TEST_IFUNC): Remove macro.
2924 [TEST_IFUNC]: Remove conditionals.
2926 * string/test-strchr.c [!WIDE] (L): New macro.
2927 [WIDE] (L): Likewise.
2928 (check1): Use CHAR instead of char. Use L on string and character
2931 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2933 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2935 * sysdeps/powerpc/bits/atomic.h
2936 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2937 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2938 (atomic_exchange_and_add_acq): Likewise.
2939 (atomic_exchange_and_add_rel): Likewise.
2940 * sysdeps/powerpc/powerpc32/bits/atomic.h
2941 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2942 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2943 * sysdeps/powerpc/powerpc64/bits/atomic.h
2944 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2945 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2947 2014-11-26 Torvald Riegel <triegel@redhat.com>
2949 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2950 Change synchronization of __sched_fifo_min_prio and
2951 __sched_fifo_max_prio.
2952 * nptl/pthread_mutexattr_getprioceiling.c
2953 (pthread_mutexattr_getprioceiling): Likewise.
2954 * nptl/pthread_mutexattr_setprioceiling.c
2955 (pthread_mutexattr_setprioceiling): Likewise.
2956 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2957 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2960 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2962 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2965 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2967 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2968 third argument const.
2970 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2972 fnmatch: work around GCC compiler warning bug with uninit var
2973 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2974 This works around a bug with x86-64 GCC 4.9.2 and earlier
2975 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2976 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2977 used uninitialized in this function [-Wmaybe-uninitialized]".
2979 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2981 * posix/bug-regex31.c (main): Return RES not 0.
2983 2014-11-25 Anton Blanchard <anton@samba.org>
2985 * sysdeps/powerpc/bits/atomic.h
2986 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2988 2014-11-24 Sterling Augustine <saugustine@google.com>
2990 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2992 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2995 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2997 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3000 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3001 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3003 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3004 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3006 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3008 * string/strncpy.c (strncpy): Improve performance by using memset.
3010 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3012 * string/strcpy.c (strcpy):
3013 Improve performance by using strlen and memcpy.
3015 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3017 * string/strcoll_l.c (get_next_seq): __always_inline.
3018 * string/strcoll_l.c (do_compare): __always_inline.
3020 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3022 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3024 * include/mqueue.h: Likewise.
3025 * include/stdlib.h: Likewise.
3027 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3028 (get_null_defines): Adjust.
3029 * sunrpc/Makefile: Adjust comment.
3030 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3031 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3032 (CFLAGS-interp.c): Likewise.
3033 (CFLAGS-ldconfig.c): Likewise.
3034 (CPPFLAGS-.os): Likewise.
3035 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3036 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3037 * extra-modules.mk (extra-modules.mk): Likewise.
3038 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3039 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3040 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3041 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3042 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3043 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3044 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3045 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3046 * iconvdata/Makefile (CPPFLAGS): Likewise.
3047 (cpp-srcs-left): Add libof for all iconvdata routines.
3048 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3049 * include/assert.h: Likewise.
3050 * include/ctype.h: Likewise.
3051 * include/errno.h: Likewise.
3052 * include/libc-symbols.h: Likewise.
3053 * include/math.h: Likewise.
3054 * include/netdb.h: Likewise.
3055 * include/resolv.h: Likewise.
3056 * include/stdio.h: Likewise.
3057 * include/stdlib.h: Likewise.
3058 * include/string.h: Likewise.
3059 * include/sys/stat.h: Likewise.
3060 * include/wctype.h: Likewise.
3061 * intl/l10nflist.c: Likewise.
3062 * libidn/idn-stub.c: Likewise.
3063 * libio/libioP.h: Likewise.
3064 * nptl/libc_multiple_threads.c: Likewise.
3065 * nptl/pthreadP.h: Likewise.
3066 * posix/regex_internal.h: Likewise.
3067 * resolv/res_hconf.c: Likewise.
3068 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3069 * sysdeps/arm/memmove.S: Likewise.
3070 * sysdeps/arm/sysdep.h: Likewise.
3071 * sysdeps/generic/_itoa.h: Likewise.
3072 * sysdeps/generic/symbol-hacks.h: Likewise.
3073 * sysdeps/gnu/errlist.awk: Likewise.
3074 * sysdeps/gnu/errlist.c: Likewise.
3075 * sysdeps/i386/i586/memcpy.S: Likewise.
3076 * sysdeps/i386/i586/memset.S: Likewise.
3077 * sysdeps/i386/i686/memcpy.S: Likewise.
3078 * sysdeps/i386/i686/memmove.S: Likewise.
3079 * sysdeps/i386/i686/mempcpy.S: Likewise.
3080 * sysdeps/i386/i686/memset.S: Likewise.
3081 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3083 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3084 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3085 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3086 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3097 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3098 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3099 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3100 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3115 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3117 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3118 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3120 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3128 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3133 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3136 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3139 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3142 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3143 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3144 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3145 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3146 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3147 * sysdeps/posix/closedir.c: Likewise.
3148 * sysdeps/posix/opendir.c: Likewise.
3149 * sysdeps/posix/readdir.c: Likewise.
3150 * sysdeps/posix/rewinddir.c: Likewise.
3151 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3152 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3153 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3154 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3155 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3157 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3158 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3159 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3160 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3161 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3162 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3163 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3164 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3165 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3166 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3167 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3168 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3169 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3170 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3171 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3172 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3173 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3174 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3175 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3176 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3177 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3179 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3186 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3187 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3188 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3189 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3190 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3191 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3192 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3193 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3195 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3196 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3197 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3199 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3200 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3201 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3202 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3203 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3204 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3205 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3206 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3207 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3208 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3209 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3211 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3212 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3213 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3214 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3215 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3216 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3217 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3218 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3219 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3220 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3221 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3222 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3223 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3224 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3226 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3227 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3228 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3229 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3230 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3231 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3232 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3233 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3234 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3235 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3237 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3238 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3239 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3240 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3241 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3242 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3243 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3244 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3245 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3246 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3247 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3249 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3250 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3251 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3252 * sysdeps/unix/alpha/sysdep.S: Likewise.
3253 * sysdeps/unix/alpha/sysdep.h: Likewise.
3254 * sysdeps/unix/make-syscalls.sh: Likewise.
3255 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3256 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3257 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3258 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3259 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3260 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3261 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3262 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3263 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3264 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3265 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3266 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3267 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3268 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3269 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3270 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3271 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3272 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3273 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3274 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3275 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3276 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3277 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3278 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3279 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3280 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3281 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3284 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3285 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3289 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3292 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3293 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3294 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3295 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3296 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3297 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3298 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3299 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3305 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3306 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3307 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3308 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3309 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3310 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3313 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3314 * sysdeps/x86_64/memcpy.S: Likewise.
3315 * sysdeps/x86_64/memmove.c: Likewise.
3316 * sysdeps/x86_64/memset.S: Likewise.
3317 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3318 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3319 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3320 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3321 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3324 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3325 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3326 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3327 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3328 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3329 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3330 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3331 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3332 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3333 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3334 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3335 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3336 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3337 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3338 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3339 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3341 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3342 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3343 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3344 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3345 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3346 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3347 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3348 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3349 * sysdeps/x86_64/strcmp.S: Likewise.
3351 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3353 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3354 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3355 * elf/rtld-Rules: Likewise.
3356 * elf/setup-vdso.h: Likewise.
3357 * include/assert.h: Likewise.
3358 * include/bits/stdlib-float.h: Likewise.
3359 * include/errno.h: Likewise.
3360 * include/sys/stat.h: Likewise.
3361 * include/unistd.h: Likewise.
3362 * sysdeps/aarch64/setjmp.S: Likewise.
3363 * sysdeps/alpha/setjmp.S: Likewise.
3364 * sysdeps/arm/__longjmp.S: Likewise.
3365 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3366 * sysdeps/arm/setjmp.S: Likewise.
3367 * sysdeps/arm/sysdep.h: Likewise.
3368 * sysdeps/generic/_itoa.h: Likewise.
3369 * sysdeps/generic/dl-sysdep.h: Likewise.
3370 * sysdeps/generic/ldsodefs.h: Likewise.
3371 * sysdeps/i386/dl-tls.h: Likewise.
3372 * sysdeps/i386/setjmp.S: Likewise.
3373 * sysdeps/m68k/setjmp.c: Likewise.
3374 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3375 * sysdeps/mach/hurd/opendir.c: Likewise.
3376 * sysdeps/posix/getcwd.c: Likewise.
3377 * sysdeps/posix/opendir.c: Likewise.
3378 * sysdeps/posix/profil.c: Likewise.
3379 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3380 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3381 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3382 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3383 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3384 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3385 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3386 * sysdeps/s390/dl-tls.h: Likewise.
3387 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3388 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3389 * sysdeps/sh/sh3/setjmp.S: Likewise.
3390 * sysdeps/sh/sh4/setjmp.S: Likewise.
3391 * sysdeps/unix/alpha/sysdep.h: Likewise.
3392 * sysdeps/unix/arm/sysdep.S: Likewise.
3393 * sysdeps/unix/i386/sysdep.S: Likewise.
3394 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3395 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3396 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3397 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3399 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3400 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3401 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3402 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3403 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3404 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3405 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3406 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3412 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3413 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3414 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3417 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3418 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3419 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3421 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3422 * sysdeps/x86_64/setjmp.S: Likewise.
3424 * include/math.h: Use IS_IN instead of IS_IN_libm.
3425 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3437 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3443 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3444 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3445 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3446 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3447 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3448 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3449 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3450 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3452 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3453 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3454 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3455 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3456 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3457 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3468 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3469 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3470 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3471 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3472 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3473 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3479 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3480 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3481 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3482 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3484 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3485 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3487 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3488 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3489 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3491 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3492 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3494 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3496 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3497 * nptl/pthreadP.h: Likewise.
3498 * nptl_db/structs.def: Likewise.
3499 * sysdeps/arm/sysdep.h: Likewise.
3500 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3501 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3502 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3503 * sysdeps/unix/alpha/sysdep.h: Likewise.
3504 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3505 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3506 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3507 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3508 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3509 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3511 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3512 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3513 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3514 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3515 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3516 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3517 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3522 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3525 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3526 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3527 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3528 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3529 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3531 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3532 * nptl/pthreadP.h: Likewise.
3533 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3534 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3535 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3536 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3537 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3538 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3539 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3540 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3541 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3542 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3543 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3544 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3551 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3554 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3555 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3556 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3558 * dlfcn/dladdr.c: Use IS_IN.
3559 * dlfcn/dladdr1.c: Likewise.
3560 * dlfcn/dlclose.c: Likewise.
3561 * dlfcn/dlerror.c: Likewise.
3562 * dlfcn/dlinfo.c: Likewise.
3563 * dlfcn/dlmopen.c: Likewise.
3564 * dlfcn/dlopen.c: Likewise.
3565 * dlfcn/dlsym.c: Likewise.
3566 * dlfcn/dlvsym.c: Likewise.
3568 * include/ifaddrs.h: Use IS_IN.
3569 * inet/check_pf.c: Likewise.
3570 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3571 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3573 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3575 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3576 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3578 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3579 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3582 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3584 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3585 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3586 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3587 * include/libc-symbols.h (IS_IN_LIB): New macro.
3588 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3589 * include/netdb.h: Likewise.
3590 * include/stap-probe.h: Remove all uses of IN_LIB.
3592 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3593 instead of IN_MODULE.
3594 * include/libc-symbols.h (IN_MODULE): Define using
3596 (PASTE_NAME, PASTE_NAME1): New macros.
3597 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3599 (STAP_PROBE_ASM): Likewise.
3601 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3603 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3604 __mach_init in dlopened libc.
3606 2014-11-22 Mike Frysinger <vapier@gentoo.org>
3608 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3609 * sysdeps/arm/preconfigure: Regenerate.
3611 2014-11-21 Roland McGrath <roland@hack.frob.com>
3613 * nptl/pthread_create.c (__pthread_create_2_1): Set
3614 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3615 when copying values from IATTR into PD.
3617 2014-11-21 Will Newton <will.newton@linaro.org>
3618 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3620 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3621 Refactor inline-asm. Also add comment.
3623 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3624 ElfW macro instead of hardcoded Elf64 types.
3625 (la_aarch64_gnu_pltenter): Likewise.
3626 * sysdeps/aarch64/dl-machine.h
3627 (elf_machine_runtime_setup): Use ElfW(Addr).
3629 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3630 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3631 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3632 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3633 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3634 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3635 (R_AARCH64_TLS_DTPMOD): This.
3636 (R_AARCH64_TLS_DTPREL64): Rename to ...
3637 (R_AARCH64_TLS_DTPREL): This.
3638 (R_AARCH64_TLS_TPREL64): Rename to ...
3639 (R_AARCH64_TLS_TPREL): This.
3640 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3641 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3642 R_AARCH64_TLS_TPREL64.
3643 (elf_machine_rela): Likewise.
3645 2014-11-21 Torvald Riegel <triegel@redhat.com>
3647 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3648 by setting it to 0. 64b atomics are not supported currently.
3650 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3653 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3654 search domain names.
3656 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3660 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3662 * posix/tst-getaddrinfo5.c: New.
3663 * posix/Makefile (tests): Add it.
3665 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3669 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3670 after parsing line but before break_if_match.
3671 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3672 if there is a protocol mismatch.
3674 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3676 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3677 because the potential race is on the user-supplied stream.
3679 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3681 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3682 string literal if not passed a buffer.
3683 * manual/job.texi (ctermid): Update reasoning, note deviation
3684 from posix, suggest mtasurace when not passed a buffer, for
3685 future non-preliminary safety notes.
3687 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3689 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3690 of not passing it a buffer.
3691 Reported by Peng Haitao.
3693 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3695 * manual/Makefile ($(objpfx)stamp-summary): Require
3696 check-safety.sh to pass.
3697 * manual/check-safety.sh: Wish for verification that every
3698 @deftypefn and @deftypefun is followed by a @safety remark.
3700 2014-11-20 Roland McGrath <roland@hack.frob.com>
3702 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3704 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3705 PTHREAD_CANCEL_ASYNCHRONOUS.
3706 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3709 * nptl/default-sched.h: New file.
3710 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3711 * nptl/pthread_create.c: Include it.
3712 (__pthread_create_2_1): Use collect_default_sched instead of making
3713 Linux syscalls here directly.
3715 2014-11-20 Torvald Riegel <triegel@redhat.com>
3717 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3718 __pthread_once): Use C11 atomics.
3720 2014-11-20 Torvald Riegel <triegel@redhat.com>
3722 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3724 2014-11-20 Torvald Riegel <triegel@redhat.com>
3726 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3727 atomic_thread_fence_acquire, atomic_thread_fence_release,
3728 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3729 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3730 atomic_compare_exchange_weak_relaxed,
3731 atomic_compare_exchange_weak_acquire,
3732 atomic_compare_exchange_weak_release,
3733 atomic_exchange_acquire, atomic_exchange_release,
3734 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3735 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3736 atomic_fetch_and_acquire,
3737 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3739 2014-11-20 Torvald Riegel <triegel@redhat.com>
3741 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3742 USE_ATOMIC_COMPILER_BUILTINS): Define.
3743 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3745 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3746 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3747 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3748 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3749 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3750 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3751 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3752 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3753 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3754 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3755 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3756 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3757 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3758 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3759 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3760 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3761 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3762 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3763 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3764 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3765 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3766 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3768 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3769 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3770 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3771 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3772 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3773 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3774 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3775 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3776 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3777 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3778 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3779 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3780 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3781 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3782 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3784 2014-11-19 Roland McGrath <roland@hack.frob.com>
3786 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3787 the sched_priority value here. It was already checked when the user
3788 called pthread_attr_setschedparam.
3790 * nptl/tst-bad-schedattr.c: New file.
3791 * nptl/Makefile (tests): Add it.
3793 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3794 Florian Weimer <fweimer@redhat.com>
3795 Joseph Myers <joseph@codesourcery.com>
3796 Adam Conrad <adconrad@0c3.net>
3797 Andreas Schwab <schwab@suse.de>
3798 Brooks <bmoses@google.com>
3801 * wordexp-test.c (__dso_handle): Add prototype.
3802 (__register_atfork): Likewise.
3803 (__app_register_atfork): New function.
3804 (registered_forks): New global.
3805 (register_fork): New function.
3806 (test_case): Add 3 new tests for WRDE_CMDSUB.
3807 (main): Call __app_register_atfork.
3808 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3809 fork count is non-zero fail the test.
3810 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3812 (parse_dollars): Remove check for WRDE_NOCMD.
3813 (parse_dquote): Likewise.
3815 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3817 * Makeconfig (built-modules): List non-library modules to be
3819 (module-cppflags): Include libc-modules.h for
3820 everything except shlib-versions.v.i.
3822 (before-compile): Add libc-modules.h.
3823 ($(common-objpfx)libc-modules.h,
3824 $(common-objpfx)libc-modules.stmp): New targets.
3825 (common-generated): Add libc-modules.h and libc-modules.stmp.
3826 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3827 * include/libc-symbols.h: Don't include libc-modules.h.
3828 * include/libc-modules.h: Remove file.
3829 * scripts/gen-libc-modules.awk: New script to generate
3831 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3832 Depend on libc-modules.stmp.
3834 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3836 * Makeconfig (in-module): Get value of libof set for the
3838 (CPPFLAGS): Use $(in-module).
3839 * Makerules: Don't suffix routine names for nonlib.
3840 * include/libc-modules.h: New file.
3841 * include/libc-symbols.h: Include libc-modules.h
3842 (IS_IN): New macro to replace IS_IN_* macros.
3843 * elf/Makefile: Set libof-* for each routine.
3844 * elf/rtld-Rules: Likewise.
3845 * extra-modules.mk: Likewise.
3846 * iconv/Makefile: Likewise.
3847 * iconvdata/Makefile: Likewise.
3848 * locale/Makefile: Likewise.
3849 * malloc/Makefile: Likewise.
3850 * nss/Makefile: Likewise.
3851 * sysdeps/gnu/Makefile: Likewise.
3852 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3853 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3854 * sysdeps/s390/s390-64/Makefile: Likewise.
3855 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3856 CPPFLAGS for nscd instead of nonlib.
3858 2014-11-18 Roland McGrath <roland@hack.frob.com>
3860 * nptl/createthread.c: New file.
3862 * nptl/createthread.c: Moved ...
3863 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3865 * nptl/createthread.c: Add proper top-line comment.
3866 (do_clone): Folded into ...
3867 (create_thread): ... here. Take new arguments STOPPED_START and
3868 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3869 increment __nptl_threads, do event-reporting logic, do
3870 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3871 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3872 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3873 just send SIGCANCEL.
3874 * nptl/pthread_create.c: Forward-declare create_thread before
3875 including createthread.c.
3876 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3877 declaration, and new macro START_THREAD_SELF to replace argument.
3878 Remove return statement.
3879 (report_thread_creation): New function.
3880 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3881 synchronization logic, and __nptl_nthreads increment here, around
3882 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3883 PD->parent_cancelhandling here, before create_thread. When
3884 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3885 __deallocate_stack, and ENOMEM translation here.
3887 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3890 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3891 (mptwo): Rename to __mptwo.
3892 (__inv): Use __mptwo instead of mptwo.
3893 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3894 (mptwo): Rename to __mptwo.
3895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3896 of mpone and __mptwo instead of mptwo.
3897 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3900 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3901 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3902 of mpone and __mptwo instead of mptwo.
3903 (__mpranred): Use __mpone instead of mpone.
3904 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3906 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3907 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3908 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3909 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3910 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3911 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3912 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3913 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3914 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3915 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3916 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3917 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3918 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3919 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3920 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3921 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3922 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3923 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3924 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3926 2014-11-18 Tom de Vries <tom@codesoucery.com>
3928 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3929 replace BSD Handler xref with BSD Signal Handling.
3931 2014-11-17 Richard Henderson <rth@redhat.com>
3933 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3934 (_FP_PACK_RAW_2): Remove.
3935 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3936 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3937 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3938 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3939 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3940 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3941 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3942 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3943 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3944 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3945 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3946 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3947 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3948 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3949 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3950 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3952 2014-11-14 Roland McGrath <roland@hack.frob.com>
3954 * signal/signal.h [__USE_MISC]
3955 (struct sigvec): Remove type.
3956 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3957 (sigvec): Remove declaration.
3958 * sysdeps/posix/sigvec.c: Moved ...
3959 * signal/sigvec.c: ... here, replacing old file.
3960 (struct sigvec): New type, copied from old signal.h definition.
3961 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3962 (__sigvec): Convert definition to prototype.
3963 (sigvec): Replace weak_alias with compat_symbol.
3964 * signal/Versions (libc: GLIBC_2.21): New version set.
3965 * include/signal.h: Remove __sigvec declaration.
3966 * sysdeps/unix/bsd/sigvec.c: Remove file.
3967 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3968 * manual/signal.texi (BSD Handler): Remove subsection.
3969 Move siginterrupt up to ...
3970 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3971 (Blocking in BSD): Fold subsection into its parent.
3972 * NEWS: Mention sigvec removal.
3974 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3976 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3977 (DLA_FMS): Make definition conditional only on [__FMA4__].
3978 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3981 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3982 Make definition conditional only on [PROF].
3983 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3985 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3986 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3988 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3990 * include/signal.h (__sigpause): Move declaration above call to
3992 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3994 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3995 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3997 2014-11-14 David S. Miller <davem@davemloft.net>
3999 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4000 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4002 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4004 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4005 * configure: Regenerated.
4006 * manual/install.texi (Tools for Compilation): Document a
4007 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4008 compiler verified to work.
4009 * INSTALL: Regenerated.
4011 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4012 redeclare with asm name.
4013 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4014 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4015 including <string.h>.
4016 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4017 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4018 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4019 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4020 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4021 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4022 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4024 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4026 * stdlib/strtol.c (__strtol): Use prototype definition.
4029 * stdlib/strtol.c (SYM__): New macro.
4031 (__strtol): Likewise.
4032 (strtol): Rename to __strtol and define as weak alias of
4033 __strtol. Use libc_hidden_weak.
4035 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4037 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4038 Use numbered labels in inline assembly.
4040 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4042 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4043 Add setjmp LIBC_PROBE.
4044 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4046 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4047 Add longjmp, longjmp_target LIBC_PROBE.
4048 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4051 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4053 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4054 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4055 to get rid of unused variable warning.
4057 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4059 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4060 Check for unwind_backtrace == NULL only in SHARED case.
4061 (__backchain_backtrace): Compile only in SHARED case.
4062 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4064 (__backchain_backtrace): Declare as static.
4066 2014-11-12 Roland McGrath <roland@hack.frob.com>
4068 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4069 (__libc_multiple_threads_ptr): Variable moved ...
4070 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4072 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4074 * conform/GlibcConform.pm: New file.
4075 * conform/conformtest.pl: Use GlibcConform module.
4076 * conform/linknamespace.pl: New file.
4077 * conform/list-header-symbols.pl: Likewise.
4078 * conform/Makefile (linknamespace-symlists-base): New variable.
4079 (linknamespace-symlists-tests): Likewise.
4080 (linknamespace-header-base): Likewise.
4081 (linknamespace-header-tests): Likewise.
4082 (tests-special): Add new tests.
4083 ($(linknamespace-symlists-tests)): New rule.
4084 (linknamespace-libs): New variable.
4085 ($(objpfx)symlist-stdlibs): New rule.
4086 ($(linknamespace-header-tests)): Likewise.
4087 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4088 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4089 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4090 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4091 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4092 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4093 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4094 (test-xfail-ISO/math.h/linknamespace): Likewise.
4095 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4096 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4097 (test-xfail-ISO/time.h/linknamespace): Likewise.
4098 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4099 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4100 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4101 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4102 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4103 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4104 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4105 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4106 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4107 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4108 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4109 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4110 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4111 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4112 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4113 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4114 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4115 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4116 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4117 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4118 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4119 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4120 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4121 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4122 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4123 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4124 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4125 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4126 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4127 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4128 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4129 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4130 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4131 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4132 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4133 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4134 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4135 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4136 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4137 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4138 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4139 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4140 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4141 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4142 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4143 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4144 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4145 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4146 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4147 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4148 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4149 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4150 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4151 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4152 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4153 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4154 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4155 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4156 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4157 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4158 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4159 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4160 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4161 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4162 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4163 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4164 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4165 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4166 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4167 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4168 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4169 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4170 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4171 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4172 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4173 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4174 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4175 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4176 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4177 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4178 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4179 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4180 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4181 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4182 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4183 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4184 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4185 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4186 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4187 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4188 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4189 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4190 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4191 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4192 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4193 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4194 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4195 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4196 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4197 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4198 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4199 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4200 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4201 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4202 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4203 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4204 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4205 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4206 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4207 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4208 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4209 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4210 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4211 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4212 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4213 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4214 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4215 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4216 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4217 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4218 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4219 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4220 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4221 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4222 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4223 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4224 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4225 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4226 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4227 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4228 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4229 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4230 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4231 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4232 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4233 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4234 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4235 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4236 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4237 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4238 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4239 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4240 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4241 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4242 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4243 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4244 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4245 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4246 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4247 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4250 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4254 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4255 (memmem): Rename to __memmem and define as weak alias of
4256 __memmem. Use libc_hidden_weak.
4257 (__memmem): Use libc_hidden_def.
4258 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4259 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4263 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4264 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4265 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4266 and define as weak alias of __fgets_unlocked. Use
4268 (__fgets_unlocked): Use libc_hidden_def.
4269 * include/stdio.h (__fgets_unlocked): Declare. Use
4271 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4272 __fgets_unlocked instead of fgets_unlocked.
4273 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4274 (GET_NPROCS_CONF_PARSER): Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4276 (GET_NPROCS_CONF_PARSER): Likewise.
4279 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4280 weak alias of __wmemset. Use libc_hidden_weak.
4281 (__wmemset): Use libc_hidden_def.
4282 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4283 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4287 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4288 with asm name __mempcpy.
4289 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4292 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4293 and define as weak alias of __rawmemchr.
4294 (__rawmemchr): Do not define as strong alias of rawmemchr.
4297 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4299 (qsort): Call __qsort_r instead of qsort_r.
4300 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4301 (__qsort_r): Declare. Call libc_hidden_proto.
4302 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4304 * nscd/gai.c (__qsort_r): Define to qsort_r.
4305 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4306 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4307 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4310 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4311 define as weak alias of __malloc_info.
4314 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4315 as weak alias of __rewinddir. Don't use libc_hidden_def.
4316 (__rewinddir): Use libc_hidden_def.
4317 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4318 as weak alias of __rewinddir. Don't use libc_hidden_def.
4319 (__rewinddir): Use libc_hidden_def.
4320 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4321 weak alias of __rewinddir. Don't use libc_hidden_def.
4322 (__rewinddir): Use libc_hidden_def.
4323 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4324 (__rewinddir): Use libc_hidden_proto.
4325 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4327 (__getcwd): Use __rewinddir instead of rewinddir.
4330 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4331 alias of __fileno. Use libc_hidden_weak.
4332 (__fileno): Use libc_hidden_def.
4333 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4334 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4336 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4338 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4339 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4341 (fread_unlocked): Don't use libc_hidden_ver.
4342 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4343 and define as weak alias of __fread_unlocked. Don't use
4345 (__fread_unlocked): Use libc_hidden_def.
4346 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4347 (ftello): Don't use libc_hidden_proto.
4348 (__ftello): Declare. Use libc_hidden_proto.
4349 (fread_unlocked): Don't use libc_hidden_proto.
4350 (__fread_unlocked): Declare. Use libc_hidden_proto.
4351 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4352 and __ftello instead of fileno, fread_unlocked and ftello.
4354 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4356 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4360 (_dl_start_user): Likewise.
4361 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4363 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4364 Siddhesh Poyarekar <siddhesh@redhat.com>
4366 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4367 Move argv and envp down instead of moving argc up.
4368 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4370 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4373 * test-skeleton.c (main): Return successful if one of
4374 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4375 * string/tst-strcoll-overflow.c: Define expected status.
4377 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4380 * locale/iso-639.def: Define Bhili and Tulu language codes.
4382 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4384 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4386 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4389 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4391 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4393 * configure.ac: Updated check of minimal required version to
4395 * manual/install.texi (Tools for Compilation): Updated version
4397 * configure: Regenerated.
4398 * INSTALL: Likewise.
4400 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4402 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4405 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4407 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4408 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4409 (__waitpid): Don't define as alias. Use libc_hidden_def not
4411 (waitpid): Define as alias of __waitpid.
4412 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4414 (__waitpid): Don't define as alias. Use libc_hidden_def not
4416 (waitpid): Define as alias of __waitpid.
4417 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4418 __libc_waitpid alias.
4419 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4420 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4422 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4424 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4426 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4428 (__waitpid): Don't define as alias. Use libc_hidden_def not
4430 (waitpid): Define as alias of __waitpid.
4432 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4434 * manual/llio.texi: Add comment that write safety has been
4437 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4438 (localplt-build-dso): Add elf/ld.so.
4439 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4440 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4443 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4448 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4449 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4450 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4451 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4452 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4453 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4454 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4455 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4456 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4457 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4458 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4460 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4463 * include/libc-symbols.h (INTUSE): Remove macro.
4465 (INTVARDEF): Likewise.
4466 (_INTVARDEF): Likewise.
4467 (INTDEF2): Likewise.
4468 (INTVARDEF2): Likewise.
4469 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4470 rtld_hidden_def instead of INTVARDEF.
4471 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4472 (_dl_starting_up_internal): Remove declaration.
4473 (_dl_starting_up): Use rtld_hidden_proto.
4474 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4476 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4477 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4479 * elf/dl-writev.h (_dl_writev): Likewise.
4480 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4481 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4482 _dl_starting_up_internal.
4484 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4486 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4489 2014-11-05 Will Newton <will.newton@linaro.org>
4491 * benchtests/Makefile: (bench-malloc): Add malloc thread
4492 scalability benchmark.
4493 * benchtests/bench-malloc-threads.c: New file.
4495 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4497 * sysdeps/aarch64/strchrnul.S: New file.
4499 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4501 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4503 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4509 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4511 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4514 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4516 * catgets/test-gencat.c: Use test-skeleton.c.
4517 * catgets/tst-catgets.c: Likewise.
4518 * csu/tst-empty.c: Likewise.
4519 * elf/tst-audit2.c: Likewise.
4520 * elf/tst-global1.c: Likewise.
4521 * elf/tst-pathopt.c: Likewise.
4522 * elf/tst-piemod1.c: Likewise.
4523 * elf/tst-tls10.c: Likewise.
4524 * elf/tst-tls11.c: Likewise.
4525 * elf/tst-tls12.c: Likewise.
4526 * gnulib/tst-gcc.c: Likewise.
4527 * iconvdata/tst-e2big.c: Likewise.
4528 * iconvdata/tst-loading.c: Likewise.
4529 * iconv/tst-iconv1.c: Likewise.
4530 * iconv/tst-iconv2.c: Likewise.
4531 * inet/test-inet6_opt.c: Likewise.
4532 * inet/tst-gethnm.c: Likewise.
4533 * inet/tst-network.c: Likewise.
4534 * inet/tst-ntoa.c: Likewise.
4535 * intl/tst-codeset.c: Likewise.
4536 * intl/tst-gettext2.c: Likewise.
4537 * intl/tst-gettext3.c: Likewise.
4538 * intl/tst-ngettext.c: Likewise.
4539 * intl/tst-translit.c: Likewise.
4540 * io/test-stat.c: Likewise.
4541 * libio/test-fmemopen.c: Likewise.
4542 * libio/tst-freopen.c: Likewise.
4543 * libio/tst-sscanf.c: Likewise.
4544 * libio/tst-ungetwc1.c: Likewise.
4545 * libio/tst-ungetwc2.c: Likewise.
4546 * libio/tst-widetext.c: Likewise.
4547 * localedata/tst-ctype.c: Likewise.
4548 * localedata/tst-digits.c: Likewise.
4549 * localedata/tst-leaks.c: Likewise.
4550 * localedata/tst-mbswcs1.c: Likewise.
4551 * localedata/tst-mbswcs2.c: Likewise.
4552 * localedata/tst-mbswcs3.c: Likewise.
4553 * localedata/tst-mbswcs4.c: Likewise.
4554 * localedata/tst-mbswcs5.c: Likewise.
4555 * localedata/tst-setlocale.c: Likewise.
4556 * localedata/tst-trans.c: Likewise.
4557 * localedata/tst-wctype.c: Likewise.
4558 * localedata/tst-xlocale1.c: Likewise.
4559 * login/tst-grantpt.c: Likewise.
4560 * malloc/tst-calloc.c: Likewise.
4561 * malloc/tst-malloc.c: Likewise.
4562 * malloc/tst-mallocstate.c: Likewise.
4563 * malloc/tst-mcheck.c: Likewise.
4564 * malloc/tst-mtrace.c: Likewise.
4565 * malloc/tst-obstack.c: Likewise.
4566 * math/atest-exp2.c: Likewise.
4567 * math/atest-exp.c: Likewise.
4568 * math/atest-sincos.c: Likewise.
4569 * math/test-matherr.c: Likewise.
4570 * math/test-misc.c: Likewise.
4571 * math/test-powl.c: Likewise.
4572 * math/tst-definitions.c: Likewise.
4573 * misc/tst-dirname.c: Likewise.
4574 * misc/tst-efgcvt.c: Likewise.
4575 * misc/tst-fdset.c: Likewise.
4576 * misc/tst-hsearch.c: Likewise.
4577 * misc/tst-mntent2.c: Likewise.
4578 * nptl/tst-sem7.c: Likewise.
4579 * nptl/tst-sem8.c: Likewise.
4580 * nptl/tst-sem9.c: Likewise.
4581 * nss/test-netdb.c: Likewise.
4582 * posix/tst-fnmatch.c: Likewise.
4583 * posix/tst-getlogin.c: Likewise.
4584 * posix/tst-gnuglob.c: Likewise.
4585 * posix/tst-mmap.c: Likewise.
4586 * pwd/tst-getpw.c: Likewise.
4587 * resolv/tst-inet_ntop.c: Likewise.
4588 * rt/tst-timer.c: Likewise.
4589 * stdio-common/test-fseek.c: Likewise.
4590 * stdio-common/test-popen.c: Likewise.
4591 * stdio-common/test-vfprintf.c: Likewise.
4592 * stdio-common/tst-cookie.c: Likewise.
4593 * stdio-common/tst-fileno.c: Likewise.
4594 * stdio-common/tst-gets.c: Likewise.
4595 * stdio-common/tst-obprintf.c: Likewise.
4596 * stdio-common/tst-perror.c: Likewise.
4597 * stdio-common/tst-sprintf2.c: Likewise.
4598 * stdio-common/tst-sprintf3.c: Likewise.
4599 * stdio-common/tst-sprintf.c: Likewise.
4600 * stdio-common/tst-swprintf.c: Likewise.
4601 * stdio-common/tst-tmpnam.c: Likewise.
4602 * stdio-common/tst-unbputc.c: Likewise.
4603 * stdio-common/tst-wc-printf.c: Likewise.
4604 * stdlib/tst-environ.c: Likewise.
4605 * stdlib/tst-fmtmsg.c: Likewise.
4606 * stdlib/tst-limits.c: Likewise.
4607 * stdlib/tst-rand48-2.c: Likewise.
4608 * stdlib/tst-rand48.c: Likewise.
4609 * stdlib/tst-random2.c: Likewise.
4610 * stdlib/tst-random.c: Likewise.
4611 * stdlib/tst-strtol.c: Likewise.
4612 * stdlib/tst-strtoll.c: Likewise.
4613 * stdlib/tst-tls-atexit.c: Likewise.
4614 * stdlib/tst-xpg-basename.c: Likewise.
4615 * string/test-ffs.c: Likewise.
4616 * string/tst-bswap.c: Likewise.
4617 * string/tst-inlcall.c: Likewise.
4618 * string/tst-strtok.c: Likewise.
4619 * string/tst-strxfrm.c: Likewise.
4620 * sysdeps/x86_64/tst-audit10.c: Likewise.
4621 * sysdeps/x86_64/tst-audit3.c: Likewise.
4622 * sysdeps/x86_64/tst-audit4.c: Likewise.
4623 * sysdeps/x86_64/tst-audit5.c: Likewise.
4624 * time/tst-ftime_l.c: Likewise.
4625 * time/tst-getdate.c: Likewise.
4626 * time/tst-mktime3.c: Likewise.
4627 * time/tst-mktime.c: Likewise.
4628 * time/tst-posixtz.c: Likewise.
4629 * time/tst-strptime2.c: Likewise.
4630 * time/tst-strptime3.c: Likewise.
4631 * wcsmbs/tst-btowc.c: Likewise.
4632 * wcsmbs/tst-mbrtowc.c: Likewise.
4633 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4634 * wcsmbs/tst-wchar-h.c: Likewise.
4635 * wcsmbs/tst-wcpncpy.c: Likewise.
4636 * wcsmbs/tst-wcrtomb.c: Likewise.
4637 * wcsmbs/tst-wcsnlen.c: Likewise.
4638 * wcsmbs/tst-wcstof.c: Likewise.
4640 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4643 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4645 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4647 (_dl_mcount): Use rtld_hidden_proto.
4648 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4650 * elf/rtld.c (_rtld_global_ro): Likewise.
4653 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4654 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4655 of _dl_init_internal.
4656 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4657 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4658 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4659 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4660 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4661 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4662 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4663 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4664 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4665 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4666 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4667 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4668 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4669 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4670 * sysdeps/tile/dl-start.S (_start): Likewise.
4671 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4672 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4675 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4676 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4677 (rtld_progname): Make macro definition unconditional.
4678 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4680 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4681 (dl_main): Likewise.
4682 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4683 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4684 instead of _dl_argv_internal.
4685 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4686 __GI__dl_argv instead of INTUSE(_dl_argv).
4687 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4688 __GI__dl_argv instead of _dl_argv_internal.
4690 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4691 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4693 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4694 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4696 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4697 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4699 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4700 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4702 2014-11-04 Andreas Schwab <schwab@suse.de>
4704 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4706 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4709 mtvsrd instruction in binary form.
4711 2014-11-03 Andreas Schwab <schwab@suse.de>
4714 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4715 for less than MB_LEN_MAX use a local buffer of that size.
4716 * libio/tst-fputws.c: New file.
4717 * libio/Makefile (tests): Add tst-fputws.
4719 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4721 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4722 the size of the fpu_fr.fpu_dregs[] array.
4724 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4726 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4727 (__nanosleep): Do not define as alias.
4728 (nanosleep): Define as alias of __nanosleep.
4729 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4730 __libc_nanosleep name.
4732 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4734 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4735 install.texi in comment.
4737 2014-10-31 Torvald Riegel <triegel@redhat.com>
4739 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4740 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4741 ... add here and use lwsync or sync ...
4742 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4743 ... and add here using lwsync.
4745 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4747 * elf/dl-machine-reject-phdr.h: New file.
4748 * elf/dl-load.c: #include that.
4749 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4750 if that returned true.
4752 2014-10-31 Roland McGrath <roland@hack.frob.com>
4755 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4756 gen-as-const-headers chunk. Add a big scare comment after the last
4757 safe place to touch before-compile.
4759 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4761 * manual/install.texi (Tools for Compilation): Update autoconf
4762 version requirements.
4763 * INSTALL: Regenerated.
4765 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4766 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4767 (__libc_pselect): Likewise.
4770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4775 2014-10-31 Torvald Riegel <triegel@redhat.com>
4777 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4778 correct barrier instruction.
4779 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4781 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4784 2014-10-30 Roland McGrath <roland@hack.frob.com>
4786 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4787 after defining inlines. Instead, just use parens to defeat macro
4788 expansion of __isctype in its declaration.
4790 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4792 * include/sys/uio.h (__libc_readv): Remove declaration.
4793 (__libc_writev): Likewise.
4794 * misc/readv.c (__libc_readv): Rename to __readv.
4795 (__readv): Do not define as alias.
4796 (readv): Define as alias of __readv.
4797 * misc/writev.c (__libc_writev): Rename to __writev.
4798 (__writev): Do not define as alias.
4799 (writev): Define as alias of __writev.
4800 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4801 (__readv): Do not define as alias.
4802 (readv): Define unconditionally as alias of __readv.
4803 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4804 (__writev): Do not define as alias.
4805 (writev): Define unconditionally as alias of __writev.
4806 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4808 (writev): Do not define __libc_writev name.
4810 2014-10-30 Roland McGrath <roland@hack.frob.com>
4812 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4813 (convert_charseq): New function, broken out of ...
4814 (use_from_charmap): ... here. Call it.
4815 (use_to_charmap): Use convert_charseq and free instead of duplicating
4816 its code with a variable-length stack struct.
4818 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4820 * include/fcntl.h (__libc_creat): Remove declaration.
4821 * io/creat.c (__libc_creat): Rename to creat.
4822 (creat): Do not define as alias.
4823 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4824 of creat instead of __libc_creat.
4825 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4827 (creat): Do not define as alias.
4828 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4830 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4835 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4837 * manual/llio.texi: Add comments discussing why write() may be
4838 considered MT-unsafe on Linux.
4840 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4842 * dl-load.c (local_strdup): Remove.
4843 (expand_dynamic_string_token): Use __strdup.
4844 (decompose_rpath): Likewise.
4845 (_dl_map_object): Likewise.
4847 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4850 * sysdeps/generic/unwind-dw2-fde.c
4851 (__register_frame_info_bases_internal): Do not declare.
4852 (__register_frame_info_table_bases_internal): Likewise.
4853 (__deregister_frame_info_bases_internal): Likewise.
4854 (__register_frame_info_bases): Declare and use hidden_proto before
4855 definition. Use hidden_def instead of INTDEF.
4856 (__register_frame_info_table_bases): Likewise.
4857 (__deregister_frame_info_bases): Likewise.
4858 (__register_frame_info): Do not use INTUSE.
4859 (__register_frame): Likewise.
4860 (__register_frame_info_table): Likewise.
4861 (__register_frame_table): Likewise.
4862 (__deregister_frame_info): Likewise.
4863 (__deregister_frame): Likewise.
4865 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4867 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4868 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4870 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4872 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4875 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4878 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4879 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4880 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4881 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4882 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4883 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4884 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4885 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4886 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4887 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4888 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4889 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4890 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4892 (setfsuid): Likewise.
4893 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4894 (setfsuid): Likewise.
4895 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4896 (setfsuid): Likewise.
4897 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4899 (setfsuid): Likewise.
4900 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4901 (setfsuid): Likewise.
4902 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4904 (setfsuid): Likewise.
4906 2014-10-27 Andreas Schwab <schwab@suse.de>
4909 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4910 check for Slow_SSE4_2 feature bit.
4911 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4912 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4913 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4914 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4916 2014-10-24 Roland McGrath <roland@hack.frob.com>
4918 * configure.ac: Validate compiler version with a empirical test of
4919 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4921 * configure: Regenerated.
4923 * inet/htons.c (htons): Prototypify.
4924 * inet/htonl.c (htonl): Likewise.
4926 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4928 * string/strncat.c (strncat): Improve performance by using strlen.
4930 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4932 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4934 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4936 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4937 Call libc_fetestexcept_aarch64.
4939 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4941 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4942 Call libc_feholdexcept_aarch64.
4944 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4946 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4947 Call get_rounding_mode.
4949 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4951 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4954 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4956 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4959 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4962 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4963 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4964 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4965 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4966 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4967 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4968 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4969 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4970 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4971 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4972 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4973 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4974 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4975 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4976 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4977 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4978 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4979 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4980 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4981 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4982 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4983 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4984 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4985 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4986 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4987 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4988 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4989 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4990 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4991 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4992 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4993 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4994 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4995 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4996 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4998 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4999 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5001 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5002 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5004 (geteuid): Likewise.
5007 (getresgid): Likewise.
5008 (getresuid): Likewise.
5009 (getgroups): Likewise.
5010 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5011 (geteuid): Likewise.
5014 (getresgid): Likewise.
5015 (getresuid): Likewise.
5016 (getgroups): Likewise.
5017 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5018 (geteuid): Likewise.
5021 (getresgid): Likewise.
5022 (getresuid): Likewise.
5023 (getgroups): Likewise.
5024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5026 (geteuid): Likewise.
5029 (getresgid): Likewise.
5030 (getresuid): Likewise.
5031 (getgroups): Likewise.
5032 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5033 (geteuid): Likewise.
5036 (getresgid): Likewise.
5037 (getresuid): Likewise.
5038 (getgroups): Likewise.
5039 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5041 (geteuid): Likewise.
5044 (getgroups): Likewise.
5047 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5048 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5049 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5050 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5051 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5052 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5053 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5054 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5055 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5056 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5057 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5058 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5059 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5061 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5064 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5068 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5076 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5078 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5081 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5083 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5086 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5088 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5089 Remove unused include.
5091 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5093 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5094 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5095 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5096 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5098 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5099 Helge Deller <deller@gmx.de>
5102 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5103 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5104 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5106 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5109 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5110 Remove macro definition.
5111 (__ashrdi3_v_glibc20): Likewise.
5112 (__lshrdi3_v_glibc20): Likewise.
5113 (__cmpdi2_v_glibc20): Likewise.
5114 (__ucmpdi2_v_glibc20): Likewise.
5115 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5116 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5117 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5118 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5119 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5120 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5122 2014-10-22 Roland McGrath <roland@hack.frob.com>
5124 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5125 old GNU extension [0] syntax.
5126 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5127 alloca rather than an array member with variable length.
5128 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5129 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5130 (parse_opt): ... here. Likewise use alloca there.
5131 Validate the -i argument before checking for rootness.
5132 (send_shutdown): New function, broken out of ...
5133 (parse_opt): ... here.
5135 2014-10-22 Roland McGrath <roland@hack.frob.com>
5137 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5138 macro to get at the _rt_local_ro field.
5139 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5140 ([PIC] case) or _dl_hwcap ([!PIC] case).
5141 * sysdeps/arm/setjmp.S: Likewise.
5143 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5144 * sysdeps/arm/configure.ac: New check to define it.
5145 * sysdeps/arm/configure: Regenerated.
5146 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5147 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5148 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5149 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5150 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5151 Use move/movt pair instead of a load.
5152 (LDST_GLOBAL): Macro removed.
5153 (LDR_GLOBAL): New macro replaces it.
5154 (LDR_HIDDEN): New macro.
5155 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5156 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5158 * setjmp/tst-setjmp-static.c: New file.
5159 * setjmp/Makefile (tests): Add it.
5160 (tests-static): New variable.
5162 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5165 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5167 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5170 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5172 2014-10-21 Roland McGrath <roland@hack.frob.com>
5174 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5176 2014-10-20 Roland McGrath <roland@hack.frob.com>
5178 * io/fts.c (dirent_not_directory): New function.
5179 (fts_build): Call it.
5181 2014-10-20 Roland McGrath <roland@hack.frob.com>
5183 * nptl/version.c (__nptl_main): Use normal __write rather than
5185 (banner): Update copyright years.
5187 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5189 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5190 * nptl/pthread_cond_timedwait.c: Likewise.
5191 * nptl/pthread_mutex_timedlock.c: Likewise.
5192 * nptl/sem_timedwait.c: Likewise.
5194 * sysdeps/nptl/bits/libc-lock.h
5195 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5196 (__libc_lock_init_recursive): Return void, not 0.
5197 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5198 (__libc_rwlock_init): Likewise.
5199 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5201 2014-10-20 Torvald Riegel <triegel@redhat.com>
5204 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5205 (__pthread_once_slow): ... here.
5206 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5207 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5209 2014-10-20 Torvald Riegel <triegel@redhat.com>
5212 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5213 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5214 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5215 * nptl/pthread_once.c (__pthread_once): Likewise.
5218 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5221 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5223 (writev): Use __libc_writev as strong name.
5224 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5225 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5227 2014-10-17 Roland McGrath <roland@hack.frob.com>
5229 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5231 * sysdeps/i386/nptl/tls.h
5232 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5233 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5235 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5236 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5237 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5238 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5239 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5240 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5242 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5243 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5245 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5247 (__pthread_mutex_init): ... here. Call it.
5248 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5249 Conditionalize PI cases on [__NR_futex].
5250 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5251 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5252 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5254 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5255 conditional on [SIGSETXID].
5256 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5257 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5258 is defined. Likewise for SIGSETXID.
5259 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5260 Conditionalize definitions on [SIGSETXID].
5261 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5262 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5263 unblocking on [SIGCANCEL].
5265 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5266 [__NR_set_robust_list].
5268 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5270 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5271 (do_compare): Likewise.
5273 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5276 * string/strcoll_l.c: Don't include stdio.h.
5277 (coll_seq): Remove members idxarr and rulearr.
5278 (get_next_seq_cached): Remove function.
5279 (get_next_seq): Likewise.
5280 (get_next_seq_nocache): Rename to get_next_seq.
5281 (do_compare): Remove function.
5282 (do_compare_nocache): Rename to do_compare.
5283 (STRCOLL): Remove weight and rules cache.
5285 2014-10-16 Roland McGrath <roland@hack.frob.com>
5287 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5288 * sysdeps/arm/sfp-machine.h: ... to here.
5289 * sysdeps/arm/Implies: Remove arm/soft-fp.
5291 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5293 * conform/data/sys/utsname.h-data (*_t): Allow.
5294 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5295 [POSIX] (WEXITED): Do not expect constant.
5296 [POSIX] (WSTOPPED): Likewise.
5297 [POSIX] (WNOHANG): Likewise.
5298 [POSIX] (WNOWAIT): Likewise.
5299 [POSIX] (siginfo_t): Do not expect type or elements.
5300 [POSIX] (pid_t): Do not expect type.
5301 [POSIX] (signal.h): Do not allow header.
5302 [POSIX] (sys/resource.h): Likewise.
5303 [POSIX] (si_*): Do not allow pattern.
5304 [POSIX] (W*): Likewise.
5305 [POSIX] (P_*): Likewise.
5306 [POSIX] (BUS_*): Likewise.
5307 [POSIX] (CLD_*): Likewise.
5308 [POSIX] (FPE_*): Likewise.
5309 [POSIX] (ILL_*): Likewise.
5310 [POSIX] (POLL_*): Likewise.
5311 [POSIX] (SEGV_*): Likewise.
5312 [POSIX] (SI_*): Likewise.
5313 [POSIX] (TRAP_*): Likewise.
5314 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5317 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5320 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5321 infinite loop when __recvmsg returns 0.
5323 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5325 * CANCEL-FCT-WAIVE: Remove file.
5326 * CANCEL-FILE-WAIVE: Likewise.
5329 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5330 instead of INTVARDEF.
5331 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5332 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5333 rtld_hidden_data_def instead of INTVARDEF.
5334 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5335 * elf/dl-deps.c (expand_dst): Likewise.
5336 * elf/dl-load.c (_dl_dst_count): Likewise.
5337 (_dl_dst_substitute): Likewise.
5338 (decompose_rpath): Likewise.
5339 (_dl_init_paths): Likewise.
5340 (open_path): Likewise.
5341 (_dl_map_object): Likewise.
5342 * elf/rtld.c (dl_main): Likewise.
5343 (process_dl_audit): Likewise.
5344 (process_envvars): Likewise.
5345 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5347 (__libc_enable_secure): Use rtld_hidden_proto.
5349 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5352 (add_path): New function broken out of _dl_rtld_di_serinfo.
5353 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5355 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5357 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5358 parentheses around macro arguments.
5359 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5360 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5361 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5362 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5363 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5364 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5365 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5366 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5367 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5368 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5369 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5370 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5371 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5372 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5373 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5374 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5375 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5376 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5377 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5378 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5379 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5380 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5381 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5382 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5383 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5384 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5385 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5386 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5387 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5388 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5389 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5390 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5391 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5392 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5393 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5394 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5396 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5397 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5398 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5399 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5400 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5401 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5402 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5403 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5404 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5405 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5406 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5407 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5408 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5416 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5417 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5418 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5419 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5420 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5421 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5422 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5423 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5424 (_FP_FRAC_SRS_1): Likewise.
5425 (_FP_FRAC_CLZ_1): Likewise.
5426 (_FP_MUL_MEAT_1_imm): Likewise.
5427 (_FP_MUL_MEAT_1_wide): Likewise.
5428 (_FP_MUL_MEAT_1_hard): Likewise.
5429 (_FP_SQRT_MEAT_1): Likewise.
5430 (_FP_FRAC_ASSEMBLE_1): Likewise.
5431 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5432 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5433 (__FP_CLZ_2): Likewise.
5434 (_FP_MUL_MEAT_2_wide): Likewise.
5435 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5436 (_FP_MUL_MEAT_2_gmp): Likewise.
5437 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5438 (_FP_SQRT_MEAT_2): Likewise.
5439 (_FP_FRAC_ASSEMBLE_2): Likewise.
5440 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5441 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5442 (_FP_FRAC_CLZ_4): Likewise.
5443 (_FP_MUL_MEAT_4_wide): Likewise.
5444 (_FP_MUL_MEAT_4_gmp): Likewise.
5445 (_FP_SQRT_MEAT_4): Likewise.
5446 (_FP_FRAC_ASSEMBLE_4): Likewise.
5447 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5448 * soft-fp/op-common.h (_FP_CMP): Likewise.
5449 (_FP_CMP_EQ): Likewise.
5450 (_FP_CMP_UNORD): Likewise.
5451 (_FP_TO_INT): Likewise.
5452 (_FP_FROM_INT): Likewise.
5453 [!__FP_CLZ] (__FP_CLZ): Likewise.
5454 (_FP_DIV_HELP_imm): Likewise.
5455 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5457 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5458 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5459 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5460 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5461 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5462 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5463 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5464 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5465 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5466 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5468 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5469 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5470 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5471 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5472 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5473 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5474 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5475 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5476 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5477 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5478 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5479 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5480 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5481 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5482 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5483 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5484 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5485 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5486 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5487 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5488 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5489 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5490 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5491 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5492 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5493 (FP_UNPACK_RAW_SP): Likewise.
5494 (FP_PACK_RAW_S): Likewise.
5495 (FP_PACK_RAW_SP): Likewise.
5496 (FP_UNPACK_S): Likewise.
5497 (FP_UNPACK_SP): Likewise.
5498 (FP_UNPACK_SEMIRAW_S): Likewise.
5499 (FP_UNPACK_SEMIRAW_SP): Likewise.
5500 (FP_PACK_S): Likewise.
5501 (FP_PACK_SP): Likewise.
5502 (FP_PACK_SEMIRAW_S): Likewise.
5503 (FP_PACK_SEMIRAW_SP): Likewise.
5504 (_FP_SQRT_MEAT_S): Likewise.
5505 (FP_CMP_S): Likewise.
5506 (FP_CMP_EQ_S): Likewise.
5507 (FP_CMP_UNORD_S): Likewise.
5508 (FP_TO_INT_S): Likewise.
5509 (FP_FROM_INT_S): Likewise.
5511 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5513 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5514 (FP_EX_INVALID_IMZ): Likewise.
5515 (FP_EX_INVALID_IMZ_FMA): Likewise.
5516 (FP_EX_INVALID_ISI): Likewise.
5517 (FP_EX_INVALID_ZDZ): Likewise.
5518 (FP_EX_INVALID_IDI): Likewise.
5519 (FP_EX_INVALID_SQRT): Likewise.
5520 (FP_EX_INVALID_CVI): Likewise.
5521 (FP_EX_INVALID_VC): Likewise.
5522 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5523 "invalid" exceptions.
5524 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5525 (_FP_ADD_INTERNAL): Likewise.
5526 (_FP_MUL): Likewise.
5527 (_FP_FMA): Likewise.
5528 (_FP_DIV): Likewise.
5529 (_FP_CMP_CHECK_NAN): Likewise.
5530 (_FP_SQRT): Likewise.
5531 (_FP_TO_INT): Likewise.
5532 (FP_EXTEND): Likewise.
5534 2014-10-09 Allan McRae <allan@archlinux.org>
5536 * po/fr.po: Update French translation from translation project.
5538 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5541 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5543 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5544 (__cxa_atexit): Use libc_hidden_proto.
5545 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5548 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5550 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5551 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5552 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5553 [!_ISOMAC] (__iswctype_internal): Likewise.
5554 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5555 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5557 (fcntl): Remove __fcntl_internal alias.
5558 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5559 __connect_internal alias.
5560 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5563 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5564 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5566 (_FP_CHECK_FLUSH_ZERO): New macro.
5567 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5568 (_FP_CMP): Likewise.
5569 (_FP_CMP_EQ): Likewise.
5570 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5572 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5573 (FP_TRUNC): Likewise.
5575 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5576 treated as invalid conversion, not as normal exponent.
5578 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5579 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5580 (_FP_CMP_EQ): Likewise.
5581 (_FP_CMP_UNORD): Likewise.
5582 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5583 (FP_CMP_EQ_D): Likewise.
5584 (FP_CMP_UNORD_D): Likewise.
5585 * soft-fp/extended.h (FP_CMP_E): Likewise.
5586 (FP_CMP_EQ_E): Likewise.
5587 (FP_CMP_UNORD_E): Likewise.
5588 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5589 (FP_CMP_EQ_Q): Likewise.
5590 (FP_CMP_UNORD_Q): Likewise.
5591 * soft-fp/single.h (FP_CMP_S): Likewise.
5592 (FP_CMP_EQ_S): Likewise.
5593 (FP_CMP_UNORD_S): Likewise.
5594 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5595 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5596 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5597 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5598 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5599 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5600 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5601 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5602 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5603 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5604 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5605 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5606 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5608 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5610 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5611 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5613 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5615 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5616 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5617 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5618 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5620 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5622 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5623 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5625 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5627 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5628 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5629 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5630 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5633 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5634 a subnormal result, set the underflow exception if trapping on
5635 underflow is enabled.
5636 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5637 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5638 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5640 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5641 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5642 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5643 * soft-fp/extendxftf2.c (__extendxftf2): Use
5644 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5646 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5647 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5648 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5649 FP_HANDLE_EXCEPTIONS.
5650 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5651 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5652 FP_HANDLE_EXCEPTIONS.
5653 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5654 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5655 FP_HANDLE_EXCEPTIONS.
5656 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5657 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5658 FP_HANDLE_EXCEPTIONS.
5660 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5663 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5664 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5666 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5667 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5669 (__adjtimex): Define using libc_hidden_ver.
5670 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5672 (ntp_gettime): Call __adjtimex directly.
5673 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5675 (ntp_gettimex): Call __adjtimex directly.
5676 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5677 __adjtimex_internal alias.
5679 2014-10-08 Roland McGrath <roland@hack.frob.com>
5682 * nscd/nscd.c (more_help): Rewrite list of tables collection
5683 using xstrdup and asprintf.
5685 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5687 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5688 Roland McGrath <roland@hack.frob.com>
5690 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5691 (do_lookup_unique): ... local function 'enter' here; update callers.
5693 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5695 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5696 compat_symbol calls on [SHARED].
5697 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5698 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5700 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5701 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5702 (oldsetrlimit): Remove.
5703 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5705 (lchown): New syscall entry.
5706 (oldsetrlimit): Remove.
5707 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5709 (oldsetrlimit): Remove.
5710 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5713 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5714 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5715 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5716 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5717 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5718 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5720 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5725 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5727 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5728 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5729 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5730 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5731 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5733 (__old_sem_post): Likewise.
5735 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5737 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5738 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5739 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5740 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5741 Use INLINE_VSYSCALL macro.
5742 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5743 __vdso_clock_gettime.
5744 * sysdeps/unix/sysv/linux/tile/init-first.c
5745 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5746 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5747 __vdso_clock_gettime.
5749 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5750 to set up frame more cleanly.
5752 * sysdeps/tile/memcmp.c: New file.
5754 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5756 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5757 * sysdeps/tile/tilegx/strcasestr.c: New file.
5758 * sysdeps/tile/tilegx/strnlen.c: New file.
5759 * sysdeps/tile/tilegx/strstr.c: New file.
5761 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5763 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5765 * nptl/tst-setuid3.c: Write errors to stdout.
5767 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5770 (preload): New functions broken out of _dl_map_object_deps.
5771 (_dl_map_object_deps): Remove a nested function. Update call sites.
5773 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5776 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5777 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5779 2014-10-01 Steve Ellcey <sellcey@mips.com>
5781 * sysdeps/mips/strcmp.S: New.
5783 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5786 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5788 (mkdirat): Likewise.
5789 (readlinkat): Likewise.
5790 (renameat): Likewise.
5791 (symlinkat): Likewise.
5792 (unlinkat): Likewise.
5793 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5794 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5795 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5796 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5797 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5798 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5799 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5801 2014-09-30 Will Newton <will.newton@linaro.org>
5803 * math/math.h: Define long double math functions if
5804 _LIBC_TEST is defined.
5805 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5807 * localedata/Makefile: Move assignment to tests-special
5808 into an ifdef testing run-built-tests.
5809 * timezone/Makefile: Likewise.
5811 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5813 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5814 with $(BASH) not $(SHELL).
5816 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5817 Matthew LeGendre <legendre1@llnl.gov>
5820 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5823 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5825 * stdio-common/printf_fp.c
5826 (hack_digit): New function, broken out of ...
5827 (__printf_fp): ... local function here. Update call sites.
5828 hack_digit now takes an additional parameter that is a pointer
5829 to a struct of the referenced locals. Those locals moved inside
5830 the struct and references updated.
5832 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5834 * aclocal.m4: Require autoconf 2.69.
5835 * configure: Regenerated.
5836 * sysdeps/aarch64/configure: Likewise.
5837 * sysdeps/alpha/configure: Likewise.
5838 * sysdeps/arm/armv7/configure: Likewise.
5839 * sysdeps/arm/configure: Likewise.
5840 * sysdeps/ia64/configure: Likewise.
5841 * sysdeps/mach/configure: Likewise.
5842 * sysdeps/mips/configure: Likewise.
5843 * sysdeps/s390/configure: Likewise.
5844 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5847 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5849 * sysdeps/ia64/configure.ac: Likewise.
5851 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5854 specify symbol version for ld.so. Do not include entry for
5856 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5857 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5858 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5861 * Makeconfig [$(build-shared) = yes]
5862 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5864 [$(build-shared) = yes && $(soversions.mk-done) = t]
5865 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5866 [$(build-shared) = yes && $(soversions.mk-done) = t]
5867 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5869 [$(build-shared) = yes && $(soversions.mk-done) = t]
5870 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5872 [$(build-shared) = yes && $(soversions.mk-done) = t]
5873 (common-generated): Don't append gnu/lib-names.h and
5874 gnu/lib-names.stmp here.
5875 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5876 (lib-names-h-abi): New variable.
5877 [$(build-shared) = yes && $(soversions.mk-done) = t]
5878 (lib-names-stmp-abi): Likewise.
5879 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5880 abi-variants] (before-compile): Append
5881 $(common-objpfx)$(lib-names-h-abi).
5882 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5883 abi-variants] (common-generated): Append gnu/lib-names.h.
5884 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5885 abi-variants] (install-others-nosubdir): Depend on
5886 $(inst_includedir)/$(lib-names-h-abi).
5887 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5888 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5889 [$(build-shared) = yes && $(soversions.mk-done) = t]
5890 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5891 [$(build-shared) = yes && $(soversions.mk-done) = t]
5892 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5893 [$(build-shared) = yes && $(soversions.mk-done) = t]
5894 (common-generated): Append $(lib-names-h-abi) and
5895 $(lib-names-stmp-abi).
5896 * scripts/lib-names.awk: Do not handle multi being set.
5897 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5899 (abi-lp64_be-ld-soname): Likewise.
5900 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5902 (abi-hard-ld-soname): Likewise.
5903 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5904 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5906 (abi-o32_hard-ld-soname): Likewise.
5907 (abi-o32_soft_2008-ld-soname): Likewise.
5908 (abi-o32_hard_2008-ld-soname): Likewise.
5909 (abi-n32_soft-ld-soname): Likewise.
5910 (abi-n32_hard-ld-soname): Likewise.
5911 (abi-n32_soft_2008-ld-soname): Likewise.
5912 (abi-n32_hard_2008-ld-soname): Likewise.
5913 (abi-n64_soft-ld-soname): Likewise.
5914 (abi-n64_hard-ld-soname): Likewise.
5915 (abi-n64_soft_2008-ld-soname): Likewise.
5916 (abi-n64_hard_2008-ld-soname): Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5919 (abi-64-v2-ld-soname): Likewise.
5920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5922 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5924 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5926 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5928 (abi-64-ld-soname): Likewise.
5929 (abi-x32-ld-soname): Likewise.
5930 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5932 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5934 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5937 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5938 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5939 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5940 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5941 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5942 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5943 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5944 syscall entry for GLIBC_2.2 symbol version.
5945 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5948 (setrlimit): Likewise.
5949 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5952 2014-09-23 Will Newton <will.newton@linaro.org>
5954 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5955 _LINUX_ARM_SYSDEP_H include guard too.
5956 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5959 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5961 * sysdeps/unix/sysv/linux/eventfd.c:
5962 Make first argument unsigned.
5963 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5964 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5966 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5968 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5969 * socket/sys/socket.h: Likewise
5970 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5972 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5974 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5976 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5978 * time/tst-ftime.c: New test.
5979 * time/Makefile (tests): Add tst-ftime.
5981 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5983 * soft-fp/extended.h: Fix comment formatting.
5984 * soft-fp/op-1.h: Likewise.
5985 * soft-fp/op-2.h: Likewise.
5986 * soft-fp/op-4.h: Likewise.
5987 * soft-fp/op-8.h: Likewise.
5988 * soft-fp/op-common.h: Likewise.
5989 * soft-fp/soft-fp.h: Likewise.
5991 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5993 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5996 * Makeconfig (soversions-default-setname): Remove variable.
5997 ($(common-objpfx)soversions.i): Don't pass default_setname to
5999 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6000 oldest_abi to abi-versions.awk.
6001 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6002 * config.make.in (oldest-abi): Remove variable.
6003 * configure.ac (--enable-oldest-abi): Remove configure option.
6004 * configure: Regenerated.
6005 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6007 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6008 * scripts/soversions.awk: Do not handle default_setname variable.
6009 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6011 * sysdeps/mach/hurd/configure: Regenerated.
6012 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6014 * sysdeps/unix/sysv/linux/configure: Regenerated.
6016 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6018 * elf/Makefile (CFLAGS-interp.c): Remove.
6019 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6021 * elf/interp.c: Include generated runtime-linker.h
6023 * Makerules (lib%.so): Don't include $(+interp) in
6025 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6026 * dlfcn/eval.c: Remove file.
6028 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6032 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6036 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6038 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6039 Jakub Jelinek <jakub@redhat.com>
6042 * libio/stdio.h: Check definition of __fortify_function
6043 instead of __extern_always_inline to include bits/stdio2.h.
6044 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6045 check if __extern_always_inline is defined.
6046 [__USE_MISC || __USE_XOPEN]: Likewise.
6047 [__USE_ISOC99] Likewise.
6048 * misc/sys/cdefs.h (__fortify_function): Define only if
6049 __extern_always_inline is defined.
6050 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6051 __extern_always_inline and __extern_inline only for g++-4.3
6052 and newer or a compatible gcc.
6054 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6057 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6058 last change to handle zero prefix length.
6060 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6062 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6065 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6068 2014-09-13 Allan McRae <allan@archlinux.org>
6070 * po/ru.po: Update Russian translation from translation project.
6072 2014-09-12 Roland McGrath <roland@hack.frob.com>
6074 * locale/programs/locale.c (show_locale_vars): Inline local function
6075 into its sole call site. Clean up some style nits.
6076 (print_item): New function, broken out of ...
6077 (show_info): ... local function here. Clean up style nits.
6079 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6081 (set_class_defaults): ... local function set_default here.
6082 Define set_default as a macro locally to pass constant parameters.
6083 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6084 rather than a shared local.
6086 * stdlib/rpmatch.c (try): New function, broken out of ...
6087 (rpmatch): ... local function here. Also, prototypify definition.
6089 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6091 * scripts/soversions.awk: Do not handle configuration names.
6092 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6093 vendor and os variables to soversions.awk.
6094 * configure.ac: Do not modify gnu-* host_os.
6095 * configure: Regenerated
6096 * shlib-versions: Remove first column with configuration names.
6097 * nptl/shlib-versions: Likewise.
6098 * nptl_db/shlib-versions: Likewise.
6099 * sysdeps/hppa/shlib-versions: Likewise.
6100 * sysdeps/m68k/shlib-versions: Likewise.
6101 * sysdeps/mach/hurd/shlib-versions: Likewise.
6102 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6103 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6104 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6105 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6106 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6107 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6108 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6109 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6112 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6113 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6114 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6115 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6116 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6117 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6118 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6119 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6122 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6125 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6127 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6129 * shlib-versions: Remove OS-specific entries. Moved to files in
6131 * sysdeps/mach/hurd/shlib-versions: New file.
6132 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6134 * nptl/shlib-versions: Remove architecture-specific entries.
6135 Moved to files in sysdeps.
6136 * shlib-versions: Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6139 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6140 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6142 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6144 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6145 (UDP_NO_CHECK6_RX): Likewise.
6147 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6149 * sysdeps/posix/sysconf.c (__sysconf): Spell
6150 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6152 2014-08-12 Florian Weimer <fweimer@redhat.com>
6154 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6156 * iconv/Versions (__gconv_transliterate): Export for use from
6158 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6159 (struct __gconv_trans_data, __gconv_trans_fct,
6160 __gconv_trans_context_fct, __gconv_trans_query_fct,
6161 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6163 (struct __gconv_step_data): Remove __trans member.
6164 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6165 longer hidden. Remove unused trans_data argument.
6166 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6167 (__gconv_translit_find): Remove declaration.
6168 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6170 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6171 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6172 trans_data argument. Add hidden definition.
6173 (__gconv_translit_find): Remove.
6174 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6175 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6176 * iconv/skeleton.c: Remove transliteration initialization.
6177 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6178 __gconv_step_data initialization.
6179 * libio/iofwide.c (__libio_translit_): Remove.
6180 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6181 * wcsmbs/btowc.c (__btowc): Likewise.
6182 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6183 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6184 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6185 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6186 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6187 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6188 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6189 * wcsmbs/wctob.c (wctob): Likewise.
6191 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6194 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6195 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6197 * sysdeps/x86/Makefile: Adjust.
6199 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6200 Roland McGrath <roland@hack.frob.com>
6202 * locale/weight.h: Add include guard.
6203 (findidx): Make static rather than auto; take new parameters
6204 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6205 * locale/weightwc.h: Likewise.
6206 * posix/fnmatch_loop.c
6207 (FCT): Change type of EXTRA from int32_t to wint_t.
6208 Don't include either header inside the function.
6209 Call FINDIDX rather than findidx, and pass new arguments.
6210 #undef FINDIDX at the end of the file.
6211 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6212 FINDIDX before including fnmatch_loop.c for the non-wide version.
6213 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6214 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6215 for the wide version.
6216 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6217 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6218 Pass new arguments to findidx.
6219 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6220 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6221 Don't #include it inside the function. Pass new arguments to findidx.
6222 * posix/regex_internal.h
6223 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6224 (re_string_elem_size_at): Don't #include it inside the function.
6225 Pass new arguments to findidx.
6226 * string/strcoll_l.c: #include WEIGHT_H at top level.
6227 (get_next_seq): Don't #include it inside the function.
6228 Pass new arguments to findidx.
6229 (get_next_seq_nocache): Likewise.
6230 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6231 (STRXFRM): Don't #include it inside the function.
6232 Pass new arguments to findidx.
6234 2014-09-11 Florian Weimer <fweimer@redhat.com>
6237 * malloc/malloc.c (unlink): Turn asserts into a call to
6240 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6243 * libio/wfileops (do_ftell_wide): Free OUT.
6245 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6247 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6249 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6252 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6253 group if the current group is empty.
6255 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257 * benchtests/bench-memset.c (test_main): Add more test from size
6258 from 32 to 512 bytes.
6259 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6260 Add POWER8 memset object.
6261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6262 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6263 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6265 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6267 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6268 multiarch POWER8 memset optimization.
6269 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6270 POWER8 memset optimization.
6272 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6273 Remove bzero multiarch objects.
6274 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6275 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6276 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6277 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6279 [__bzero]: Redefine to specific name.
6280 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6281 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6282 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6284 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6285 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6287 2014-09-10 Florian Weimer <fweimer@redhat.com>
6289 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6290 warnings into errors.
6292 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6293 __cxa_thread_atexit_impl prototype.
6295 2014-09-09 Steve Ellcey <sellcey@mips.com>
6297 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6298 Fix capitalization of error message.
6300 2014-09-09 Steve Ellcey <sellcey@mips.com>
6302 * sysdeps/mips/preconfigure: Modify ABI tests.
6304 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6306 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6308 2014-09-07 Roland McGrath <roland@hack.frob.com>
6309 Carlos O'Donell <carlos@systemhalted.org>
6311 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6312 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6313 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6314 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6315 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6316 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6317 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6318 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6319 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6320 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6321 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6322 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6323 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6324 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6325 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6326 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6327 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6328 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6329 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6330 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6331 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6332 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6333 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6334 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6335 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6336 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6337 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6338 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6339 Deconditionalize the code that was previously under [RESET_PID].
6340 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6341 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6342 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6343 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6346 2014-09-08 Allan McRae <allan@archlinux.org>
6348 * version.h (RELEASE): Set to "development".
6349 (VERSION): Set to "2.20.90"
6351 2014-09-07 Allan McRae <allan@archlinux.org
6353 * version.h (RELEASE): Set to "stable".
6354 (VERSION): Set to "2.20"
6355 * include/features.h (__GLIBC_MINOR__): Set to 20.
6357 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6360 * po/ko.po: Update Korean translation from translation project.
6362 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6365 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6366 macro for handling signed relocations.
6368 2014-09-03 Florian Weimer <fweimer@redhat.com>
6371 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6372 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6374 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6375 * iconvdata/ibm935.c (BODY): Likewise.
6376 * iconvdata/ibm937.c (BODY): Likewise.
6377 * iconvdata/ibm939.c (BODY): Likewise.
6378 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6380 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6382 * iconvdata/run-iconv-test.sh: New test loop for checking for
6385 2014-09-02 Khem Raj <raj.khem@gmail.com>
6387 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6390 2014-09-01 Allan McRae <allan@archlinux.org>
6392 * po/eo.po: Update Esperanto translation from translation project.
6394 * po/ca.po: Update Catalan translation from translation project.
6396 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6398 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6401 2014-08-27 Mark Wielaard <mjw@redhat.com>
6404 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6405 to call set_thread_area instead of hand written asm.
6406 (__NR_set_thread_area): Removed define.
6407 (TLS_FLAG_WRITABLE): Likewise.
6408 (__ASSUME_SET_THREAD_AREA): Remove check.
6409 (TLS_EBX_ARG): Remove define.
6410 (TLS_LOAD_EBX): Likewise.
6412 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6414 Simplify atomicity of socket creation in bind.
6416 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6417 looking up the name after linking the file.
6419 2014-08-27 Allan McRae <allan@archlinux.org>
6421 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6423 2014-08-26 Florian Weimer <fweimer@redhat.com>
6426 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6427 trans_compare, open_translit, __gconv_translit_find):
6428 Remove module loading code.
6430 2014-08-26 Allan McRae <allan@archlinux.org>
6432 * po/vi.po: Update Vietnamese translation from translation project.
6434 * po/uk.po: Update Ukrainian translation from translation project.
6436 * po/fr.po: Update French translation from translation project.
6438 * po/ru.po: Update Russian translation from translation project.
6440 * po/pl.po: Update Polish translation from translation project.
6442 * po/cs.po: Update Czech translation from translation project.
6444 * po/de.po: Update German translation from translation project.
6446 * po/bg.po: Update Bulgarian translation from translation project.
6448 * po/sv.po: Update Sweedish translation from translation project.
6450 * po/nl.po: Update Dutch translation from translation project.
6452 * po/es.po: Update Spanish translation from translation project.
6454 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6456 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6458 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6459 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6460 (CPPFLAGS-iconvconfig): Likewise.
6461 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6463 * include/libc-symbols.h: Remove unnecessary check for
6465 * nptl/pthreadP.h: Likewise.
6466 * sysdeps/aarch64/setjmp.S: Likewise.
6467 * sysdeps/alpha/setjmp.S: Likewise.
6468 * sysdeps/arm/sysdep.h: Likewise.
6469 * sysdeps/i386/setjmp.S: Likewise.
6470 * sysdeps/m68k/setjmp.c: Likewise.
6471 * sysdeps/posix/getcwd.c: Likewise.
6472 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6473 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6474 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6475 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6476 * sysdeps/sh/sh3/setjmp.S: Likewise.
6477 * sysdeps/sh/sh4/setjmp.S: Likewise.
6478 * sysdeps/unix/alpha/sysdep.h: Likewise.
6479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6481 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6482 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6485 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6486 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6487 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6488 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6490 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6492 * sysdeps/x86_64/setjmp.S: Likewise.
6494 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6497 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6499 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6500 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6502 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6504 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6507 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6508 and __x86_64__ when disabling x87 inline functions.
6510 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6513 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6514 asm statement with __cpuid_count.
6516 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6518 * configure.ac: Change __ehdr_start code to dereference the struct.
6519 Run readelf on the output to look for relocations.
6520 * configure: Regenerated.
6522 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6525 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6527 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6529 2014-08-12 Roland McGrath <roland@hack.frob.com>
6531 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6533 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6536 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6537 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6539 2014-08-12 Sean Anderson <seanga2@gmail.com>
6541 * malloc/malloc.c: Fix typo in comment.
6543 2014-08-09 Allan McRae <allan@archlinux.org>
6545 * Regenerate libc.po.
6547 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6549 * intl/tst-gettext2.sh: Check every lang file for creation.
6551 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6553 * sysdeps/aarch64/fpu/math_private.h
6554 (libc_feholdsetround_noex_aarch64_ctx): New function.
6556 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6558 * sysdeps/arm/armv6/strcpy.S (strcpy):
6559 Fix performance issue in misaligned cases.
6561 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6563 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6564 Move definition from termios.h.
6565 (struct termio): Likewise.
6566 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6567 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6568 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6569 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6571 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6572 Move definition to ioctl-types.h
6573 (struct termio): Likewise.
6574 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6575 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6576 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6577 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6580 2014-08-05 Richard Henderson <rth@redhat.com>
6582 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6584 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6586 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6587 Use __feraiseexcept.
6588 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6589 Protect libm symbols with IS_IN_libm.
6591 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6593 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6595 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6597 2014-08-04 Will Newton <will.newton@linaro.org>
6599 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6602 2014-08-04 Mike Frysinger <vapier@gentoo.org>
6604 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6605 variants for each function.
6607 2014-08-04 Roland McGrath <roland@hack.frob.com>
6609 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6611 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6612 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6614 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6615 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6616 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6617 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6618 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6619 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6620 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6621 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6622 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6623 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6624 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6625 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6626 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6627 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6628 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6629 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6630 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6631 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6632 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6633 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6634 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6635 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6636 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6637 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6638 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6639 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6640 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6641 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6642 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6643 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6644 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6645 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6646 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6647 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6648 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6649 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6650 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6651 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6652 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6653 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6654 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6655 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6656 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6657 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6658 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6659 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6660 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6661 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6662 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6663 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6664 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6665 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6666 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6668 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6669 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6671 2014-08-04 Roland McGrath <roland@hack.frob.com>
6673 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6674 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6675 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6676 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6677 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6678 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6680 2014-08-04 Roland McGrath <roland@hack.frob.com>
6682 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6683 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6684 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6685 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6687 2014-08-04 Roland McGrath <roland@hack.frob.com>
6689 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6690 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6691 (__libc_vfork): Define function under this name.
6692 (__vfork): Define as an alias.
6693 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6694 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6696 2014-08-04 Roland McGrath <roland@hack.frob.com>
6698 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6699 that was previously under [RESET_PID].
6700 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6702 2014-08-04 Andreas Schwab <schwab@suse.de>
6704 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6706 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6708 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6711 2014-08-01 Roland McGrath <roland@hack.frob.com>
6713 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6715 2014-08-01 Richard Henderon <rth@redhat.com>
6717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6718 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6719 typo in exact zero test.
6720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6724 2014-08-01 Roland McGrath <roland@hack.frob.com>
6726 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6727 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6728 * sysdeps/arm/sysdep.h: ... here.
6729 [!__ASSEMBLER__]: Include <stdint.h>.
6731 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6733 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6734 (HAVE_WCTYPE_H): Likewise.
6735 (HAVE_ISWCTYPE): Likewise.
6736 (ENABLE_NLS): Likewise.
6737 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6738 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6740 * posix/regex_internal.c: Check if DEBUG is defined and is
6743 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6744 (HAVE_MBSRTOWCS): Likewise.
6745 * posix/fnmatch.c: Include string.h unconditionally.
6747 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6749 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6752 2014-07-31 Roland McGrath <roland@hack.frob.com>
6754 * sysdeps/generic/safe-fatal.h: New file.
6755 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6756 * nptl/forward.c: Include it.
6757 (__pthread_unwind): Use __safe_fatal as default action, rather
6758 than a bogus use of INTERNAL_SYSCALL that could never work.
6760 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6761 * configure.ac (libc_cv_builtin_trap): New test.
6762 * configure: Regenerated.
6763 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6764 (ABORT_INSTRUCTION): Define using __builtin_trap.
6766 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6767 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6768 * sysdeps/nptl/nptl-signals.h: New file.
6769 * nptl/pthreadP.h: Include <nptl-signals.h>.
6771 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6773 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6774 (ONE_DIRECTION): Define.
6775 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6776 (ONE_DIRECTION): Define.
6777 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6778 (ONE_DIRECTION): Define.
6780 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6782 * sysdeps/s390/Makefile: Delete file.
6783 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6784 * sysdeps/s390/__longjmp.c: Delete file.
6785 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6786 Remove fields __flags and __reserved.
6787 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6789 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6790 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6791 * sysdeps/s390/rtld-setjmp.S: Likewise.
6792 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6793 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6794 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6795 * sysdeps/s390/s390-32/setjmp.S: ... here.
6797 (__sigsetjmp): Remove setting __flags field.
6798 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6799 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6800 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6801 * sysdeps/s390/s390-64/setjmp.S: ... here.
6803 (__sigsetjmp): Remove setting __flags field.
6804 * sysdeps/s390/setjmp.S: Delete file.
6805 * sysdeps/s390/sigjmp.c: Likewise.
6806 * sysdeps/s390/v1-longjmp.c: Likewise.
6807 * sysdeps/s390/v1-setjmp.h: Likewise.
6808 * sysdeps/s390/v1-sigjmp.c: Likewise.
6809 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6810 Remove v1-longjmp_chk.
6811 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6812 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6813 Include debug/longjmp_chk.c and add versioning.
6814 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6815 Include nptl/pt-longjmp.c and add versioning.
6816 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6817 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6818 Include __longjmp.c.
6819 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6821 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6822 (__getcontext): Remove setting __flags field.
6824 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6825 Don't restore upper high grps.
6826 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6828 (__swapcontext): Remove setting uc_flags field.
6829 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6831 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6832 Include __longjmp.c.
6833 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6835 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6836 (__getcontext): Remove setting __flags field.
6838 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6839 (__swapcontext): Remove setting uc_flags field.
6840 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6841 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6842 Remove fields uc_high_gprs and __reserved.
6843 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6844 New file with reverted content.
6845 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6846 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6848 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6851 2014-07-31 Andreas Schwab <schwab@suse.de>
6853 * config.h.in (HAVE_IFUNC): Define to 0.
6854 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6857 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6860 memmove-avx-unaligned, memcpy-avx-unaligned and
6861 mempcpy-avx-unaligned.
6862 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6863 Add tests for AVX memcpy functions.
6864 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6865 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6867 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6868 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6870 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6873 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6874 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6875 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6877 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6880 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6883 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6886 * manual/llio.texi: Add section about open file description locks.
6887 * manual/examples/ofdlocks.c: Example of open file description
6889 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6890 F_OFD_SETLK, and F_OFD_SETLKW.
6892 2014-07-23 Allan McRae <allan@archlinux.org>
6894 * po/es.po: Update Spanish translation from translation project.
6896 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6898 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6900 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6903 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6904 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6905 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6907 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6910 * math/fesetenv.c (__fesetenv)
6911 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6912 * math/feupdateenv.c (__feupdateenv)
6913 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6915 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6916 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6917 (__ASSUME_SOCKETCALL): Do not define.
6919 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6920 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6921 (__ASSUME_SOCKETCALL): Do not define.
6922 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6923 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6924 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6925 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6926 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6927 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6928 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6929 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6931 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6932 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6933 (__ASSUME_SOCKETCALL): Do not define.
6934 (__ASSUME_IPC64): Define unconditionally.
6935 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6936 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6937 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6938 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6939 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6940 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6941 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6944 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6945 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6946 (__ASSUME_SOCKETCALL): Do not define.
6947 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6948 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6949 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6950 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6951 (__ASSUME_REQUEUE_PI): Define unconditionally.
6952 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6953 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6954 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6955 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6956 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6957 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6959 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6960 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6961 (__ASSUME_SOCKETCALL): Do not define.
6962 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6963 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6964 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6965 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6966 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6967 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6969 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6970 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6971 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6972 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6973 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6974 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6975 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6976 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6977 (__ASSUME_GETCPU_SYSCALL): Likewise.
6979 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6980 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6981 cases for individual architectures.
6982 * sysdeps/gnu/configure: Regenerated.
6983 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6984 LIBC_SLIBDIR_RTLDDIR.
6985 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6986 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6987 LIBC_SLIBDIR_RTLDDIR.
6988 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6990 LIBC_SLIBDIR_RTLDDIR.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6993 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6994 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6996 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6997 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6999 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7000 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7001 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7002 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7004 * sysdeps/aarch64/shlib-versions: Move to ...
7005 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7006 * sysdeps/alpha/shlib-versions: Move to ...
7007 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7008 * sysdeps/arm/shlib-versions: Move to ...
7009 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7010 * sysdeps/hppa/shlib-versions: Move all contents except for
7011 libgcc_s entry to ...
7012 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7014 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7015 * sysdeps/ia64/shlib-versions: Move to ...
7016 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7018 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7019 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7020 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7021 * sysdeps/microblaze/shlib-versions: Move to ...
7022 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7023 * sysdeps/mips/shlib-versions: Move to ...
7024 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7026 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7027 * sysdeps/tile/shlib-versions: Move to ...
7028 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7029 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7031 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7032 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7034 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7036 2014-07-17 Will Newton <will.newton@linaro.org>
7038 * sysdeps/arm/bits/atomic.h
7039 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7040 (__arch_compare_and_exchange_bool_16_int): Likewise.
7041 (__arch_compare_and_exchange_bool_64_int): Likewise.
7043 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7044 into an #else block.
7046 2014-07-16 Roland McGrath <roland@hack.frob.com>
7048 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7049 just Linux configurations. Test empirically that the compiler sets
7050 __ARM_EABI__, rather than using the tuple to decide.
7051 * sysdeps/arm/preconfigure: Regenerated.
7052 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7053 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7054 contents appended ...
7055 * sysdeps/arm/configure.ac: ... here.
7056 * sysdeps/arm/configure: Regenerated.
7058 2014-07-15 Roland McGrath <roland@hack.frob.com>
7060 * nptl/pthread_kill.c: New file.
7061 * nptl/pthread_sigmask.c: New file.
7062 * nptl/pthread_sigqueue.c: New file.
7064 * sysdeps/nptl/lowlevellock.h: New file.
7065 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7066 * sysdeps/nptl/lowlevellock-futex.h: New file.
7068 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7069 Remove dead declarations.
7071 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7073 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7074 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7076 * sysdeps/x86_64/configure.ac: Likewise.
7077 * sysdeps/i386/configure: Regenerated.
7078 * sysdeps/x86_64/configure: Likewise.
7079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7080 memset-avx2 only if config-cflags-avx2 is yes.
7081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7082 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7084 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7085 only if HAVE_AVX2_SUPPORT is defined.
7086 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7088 2014-07-14 Alan Modra <amodra@gmail.com>
7091 * elf/elf.h (DT_PPC64_NUM): Correct value.
7092 * NEWS: Add to fixed bug list.
7094 2014-07-13 Jim Meyering <meyering@fb.com>
7097 regex: don't deref NULL upon heap allocation failure
7098 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7099 failure in one more place.
7100 To trigger the segfault, configure grep -with-included-regex,
7101 build it, and run these commands:
7102 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7104 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7106 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7108 2014-07-11 Richard Henderson <rth@redhat.com>
7110 * sysdeps/aarch64/libm-test-ulps: Update.
7112 2014-07-10 Florian Weimer <fweimer@redhat.com>
7115 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7116 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7117 (__nptl_setxid): Initialize error member. Call
7118 __nptl_setxid_error.
7119 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7120 * nptl/descr.h (struct xid_command): Add error member.
7121 * nptl/tst-setuid3.c: New file.
7122 * nptl/Makefile (tests): Add it.
7124 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7126 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7128 (__lll_trylock): Use __lll_base_trylock.
7129 (__lll_cond_trylock): Likewise.
7131 2014-07-10 Roland McGrath <roland@hack.frob.com>
7133 * nptl/pthread_create.c (start_thread): Use atomic_or and
7134 lll_futex_wake directly rather than lll_robust_dead.
7135 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7136 (lll_robust_dead): Macro removed.
7137 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7138 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7139 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7140 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7141 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7142 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7143 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7144 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7145 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7146 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7147 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7148 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7149 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7150 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7151 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7153 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7154 Use atomic_compare_and_exchange_val_acq directly rather than
7156 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7157 (__lll_robust_trylock, lll_robust_trylock): Removed.
7158 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7159 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7160 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7161 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7162 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7163 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7164 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7165 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7166 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7167 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7168 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7169 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7170 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7171 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7173 2014-07-02 Florian Weimer <fweimer@redhat.com>
7175 * manual/locale.texi (Locale Names): New section documenting
7176 locale name syntax. Adjust menu and node chaining accordingly.
7177 (Choosing Locale): Reference Locale Names, Locale Categories.
7178 Mention setting LC_ALL=C. Reflect that name syntax is now
7180 (Locale Categories): New section title. Reference Locale Names.
7181 LC_ALL is an environment variable, but not a category.
7182 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7183 description, now in Locale Name. Reference that section. Locale
7184 name syntax is now documented.
7186 2014-07-02 Florian Weimer <fweimer@redhat.com>
7189 * locale/findlocale.c (name_present, valid_locale_name): New
7191 (_nl_find_locale): Use the loc_name variable to store name
7192 candidates. Call name_present and valid_locale_name to check and
7193 validate locale names. Return an error if the locale is invalid.
7195 2014-07-02 Florian Weimer <fweimer@redhat.com>
7197 * locale/setlocale.c (setlocale): Use strdup for allocating
7198 composite name copy.
7200 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7202 Sync up with gnulib.
7203 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7204 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7205 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7206 and _GL_ARG_NONNULL.
7207 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7208 [!_LIBC]: Include code for Windows and Cygwin.
7209 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7210 Include prototype for int strerror_r.
7211 [!_LIBC] (is_open): New function.
7212 (flush_stdout): New function.
7213 (print_errno_message): Use it.
7215 (error_at_line): Likewise.
7216 (error_tail) Add function attribute macros. Use
7219 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7221 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7223 * io/ftw.c: Include sys/param.h unconditionally.
7225 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7228 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7230 (freecache): New function to free CACHE on exit.
7232 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7235 2014-07-09 David S. Miller <davem@davemloft.net>
7237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7239 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7240 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7241 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7242 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7243 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7244 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7245 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7246 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7247 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7248 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7249 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7250 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7251 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7253 2014-07-09 Andreas Schwab <schwab@suse.de>
7255 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7257 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7258 (do_test): Likewise.
7260 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7262 2014-07-09 Will Newton <will.newton@linaro.org>
7264 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7265 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7266 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7267 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7268 * sysdeps/hppa/start.S (_start): Likewise.
7270 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7272 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7274 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7277 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7279 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7280 after checking that it is non-NULL.
7282 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7284 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7286 * sysdeps/powerpc/memmove.c: Remove file.
7287 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7288 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7289 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7290 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7291 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7292 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7293 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7294 string memmove instead of removed powerpc one.
7296 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7297 [weak_alias]: Fix compiler warning due trailing data.
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7299 [weak_alias]: Likewise.
7300 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7301 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7304 (__libc_ifunc_impl_list): Add memmove functions.
7306 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7308 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7310 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7312 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7314 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7316 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7318 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7320 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7322 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7324 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7326 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7328 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7330 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7332 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7334 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7336 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7338 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7340 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7343 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7345 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7346 to avoid alignment traps in non-cacheable memory.
7347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7352 file: multiarch power7 memmove.
7353 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7354 multiarch default memmove.
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7356 multiarch memove for powerpc32/power4.
7358 * string/bcopy.c: Use full path to include memmove.c.
7359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7361 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7362 bcopy for powerpc64.
7363 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7364 bcopy for powerpc64.
7365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7366 and memmove implementations.
7367 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7368 optimized multiarch memmove for POWER7/powerpc64.
7369 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7370 default multiarch memmove for powerpc64.
7371 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7372 multiarch for powerpc64.
7373 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7374 for POWER7/powerpc64.
7375 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7376 memmove for POWER7/powerpc64.
7378 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7381 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7382 __ELF_NATIVE_CLASS equal to 64.
7384 2014-07-07 Roland McGrath <roland@hack.frob.com>
7386 * sysdeps/nptl/lowlevellock.h: File removed.
7388 * NEWS: NPTL is no longer an add-on!
7389 * nptl/internaltypes.h: Moved ...
7390 * sysdeps/nptl/internaltypes.h: ... here.
7391 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7392 * sysdeps/nptl/fork.c: Likewise.
7393 * sysdeps/nptl/gai_misc.h: Likewise.
7394 * sysdeps/nptl/librt-cancellation.c: Likewise.
7395 * sysdeps/nptl/jmp-unwind.c: Likewise.
7396 * sysdeps/nptl/setxid.h: Likewise.
7397 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7398 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7399 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7400 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7401 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7402 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7403 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7404 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7405 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7406 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7407 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7408 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7409 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7410 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7411 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7412 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7413 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7414 * nptl/Makeconfig: Moved ...
7415 * sysdeps/nptl/Makeconfig: ... here.
7416 * nptl/configure: File removed.
7417 * nptl/ANNOUNCE: File removed.
7418 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7419 * sysdeps/unix/sysv/linux/configure: Regenerated.
7421 * nptl/Makefile (routines): Add libc_pthread_init,
7422 libc_multiple_threads, register-atfork and unregister-atfork.
7423 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7424 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7425 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7426 pthread-pi-defines.sym, structsem.sym.
7427 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7428 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7429 [$(subdir) = nptl] (tests): Add tst-setgetname.
7430 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7431 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7432 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7433 [!LIBC_SIGACTION]: Remove aliases.
7434 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7435 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7436 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7437 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7438 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7439 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7442 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7443 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7444 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7445 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7446 __libc_allocate_rtsig_private.
7447 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7448 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7449 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7450 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7451 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7452 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7453 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7454 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7455 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7456 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7457 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7458 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7459 * nptl/internaltypes.h: ... here.
7460 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7461 * sysdeps/nptl/jmp-unwind.c: ... here.
7462 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7463 * nptl/libc-lowlevellock.c: ... here.
7464 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7465 * nptl/libc_multiple_threads.c: ... here.
7466 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7467 * nptl/libc_pthread_init.c: ... here.
7468 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7469 * nptl/lowlevelbarrier.sym: ... here.
7470 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7471 * nptl/lowlevelcond.sym: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7473 * nptl/lowlevellock.c: ... here.
7474 * nptl/lowlevellock.h: Moved ...
7475 * sysdeps/nptl/lowlevellock.h: ... here.
7476 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7477 * nptl/lowlevelrobustlock.c: ... here.
7478 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7479 * nptl/lowlevelrobustlock.sym: ... here.
7480 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7481 * nptl/lowlevelrwlock.sym: ... here.
7482 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7483 * nptl/pt-fork.c: ... here.
7484 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7485 * nptl/pthread-pi-defines.sym: ... here.
7486 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7487 * nptl/pthread_attr_getaffinity.c: ... here.
7488 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7489 * nptl/pthread_attr_setaffinity.c: ... here.
7490 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7491 * nptl/pthread_mutex_cond_lock.c: ... here.
7492 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7494 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7495 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7496 * nptl/pthread_once.c: ... here, replacing old file.
7497 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7498 * nptl/pthread_yield.c: ... here.
7499 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7500 * nptl/register-atfork.c: ... here.
7501 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7502 * nptl/sem_post.c: ... here.
7503 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7504 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7505 * nptl/sem_timedwait.c: ... here.
7506 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7507 * nptl/sem_trywait.c: ... here.
7508 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7509 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7510 * nptl/sem_wait.c: ... here.
7511 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7512 * nptl/structsem.sym: ... here.
7513 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7514 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7515 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7516 * nptl/unregister-atfork.c: ... here.
7517 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7518 * nptl/unwindbuf.sym: ... here.
7519 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7520 * sysdeps/nptl/fork.c: ... here.
7521 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7522 * sysdeps/nptl/fork.h: ... here.
7523 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7524 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7525 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7526 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7527 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7528 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7529 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7530 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7531 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7532 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7533 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7534 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7535 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7536 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7537 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7538 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7539 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7541 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7542 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7543 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7544 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7545 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7547 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7548 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7549 * sysdeps/unix/sysv/linux/raise.c: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7551 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7552 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7553 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7554 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7555 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7556 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7557 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7558 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7559 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7560 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7561 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7562 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7563 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7564 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7566 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7568 * sysdeps/generic/memcopy.h: Add comment for
7569 MEMCPY_OK_FOR_FWD_MEMMOVE.
7571 2014-07-04 Will Newton <will.newton@linaro.org>
7573 * string/memchr.c: Merge from gnulib.
7574 [_LIBC]: Remove conditionals.
7575 (__ptr_t): Remove define.
7576 (LONG_MAX_32_BITS): Likewise.
7577 (LONG_MAX): Likewise.
7578 (MEMCHR): Use ANSI prototype and optimize algorithm.
7580 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7582 2014-07-03 Roland McGrath <roland@hack.frob.com>
7584 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7585 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7587 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7588 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7589 in a bare environment with no <stdlib.h> installed.
7590 * sysdeps/nptl/configure: Regenerated.
7592 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7594 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7595 AC_EGREP_CPP for kernel header checks, so they only succeed if
7596 including <linux/version.h> actually works right.
7597 * sysdeps/unix/sysv/linux/configure: Regenerated.
7599 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7600 value so it's not diagnosed as unused.
7602 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7603 thing) with "ifeq ($(subdir),rt)".
7605 2014-07-03 Richard Henderson <rth@redhat.com>
7607 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7608 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7609 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7611 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7612 (math_force_eval): New.
7614 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7615 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7617 * sysdeps/alpha/fpu/s_round.c: Remove file.
7618 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7620 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7621 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7622 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7623 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7624 (_dl_start, print_statistics): Likewise.
7625 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7626 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7628 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7629 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7630 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7631 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7632 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7633 (HP_SMALL_TIMING_AVAIL): Define.
7634 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7635 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7636 (HP_SMALL_TIMING_AVAIL): Define.
7637 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7638 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7640 * sysdeps/aarch64/hp-timing.h: New file.
7642 * sysdeps/generic/hp-timing.h: Remove dead comment.
7643 * sysdeps/generic/hp-timing-common.h: New file.
7644 * sysdeps/alpha/hp-timing.h: Include it.
7645 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7646 * sysdeps/i386/i686/hp-timing.h: Likewise.
7647 * sysdeps/ia64/hp-timing.h: Likewise.
7648 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7649 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7651 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7652 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7653 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7656 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7657 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7658 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7659 * elf/rtld.c (_dl_start_final): Likewise.
7660 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7661 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7662 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7663 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7664 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7665 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7666 (HP_TIMING_DIFF_INIT): Remove.
7667 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7668 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7669 (HP_TIMING_DIFF_INIT): Remove.
7670 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7671 * sysdeps/i386/i686/hp-timing.c: Remove file.
7672 * sysdeps/x86_64/hp-timing.c: Remove file.
7673 * sysdeps/ia64/hp-timing.c: Remove file.
7674 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7675 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7676 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7677 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7679 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7680 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7681 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7682 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7684 (HP_TIMING_ACCUM): Remove.
7685 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7686 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7687 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7689 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7690 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7691 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7692 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7694 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7695 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7696 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7698 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7700 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7702 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7704 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7706 Sync up with gettext.
7707 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7708 [_MSC_VER]: Include malloc.h
7709 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7710 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7711 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7712 TEMP_FAILURE_RETRY. Cast return of alloca.
7713 [!_LIBC] Call gl_rwlock_init.
7714 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7716 2014-07-02 Roland McGrath <roland@hack.frob.com>
7718 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7719 before checking its value.
7721 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7723 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7725 * debug/memcpy_chk.c: Don't include pagecopy.h.
7726 * debug/mempcpy_chk.c: Likewise.
7727 * string/memcpy.c: Likewise.
7728 * string/memmove.c: Likewise.
7729 * sysdeps/powerpc/memmove.c: Likewise.
7730 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7731 definition of PAGE_COPY_FWD_MAYBE here...
7732 * sysdeps/generic/pagecopy.h: ... from here.
7733 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7735 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7736 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7738 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7742 (__libc_ifunc_impl_list): Likewise.
7743 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7744 multiarch strcat for PPC64.
7745 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7746 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7748 2014-07-02 Roland McGrath <roland@hack.frob.com>
7750 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7752 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7754 * intl/loadmsgcat.c: Remove declaration of
7755 get_sysdep_segment_value.
7756 (get_sysdep_segment_value): Use ISO C style.
7757 (_nl_load_domain): Use ISO C style. Get rid of redundant
7758 semicolon. Fix typo and formatting in comment.
7759 (_nl_unload_domain): Use ISO C style.
7761 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7763 2014-07-02 Will Newton <will.newton@linaro.org>
7765 * malloc/obstack.c: Merge from gnulib master.
7766 [HAVE_CONFIG_H]: Remove conditional code.
7767 [!_LIBC]: Include config.h.
7768 [!ELIDE_CODE]: Don't include inttypes.h, include
7769 stdint.h unconditionally.
7770 (print_and_abort): Mark as _Noreturn.
7771 (_obstack_allocated_p): Mark as __attribute_pure__.
7772 (obstack_free): Rename to __obstack_free.
7773 [!__attribute__]: Remove conditional code.
7774 * malloc/obstack.h: Merge from gnulib master.
7775 [__cplusplus]: Move conditional down.
7776 [!__attribute_pure__]: Define __attribute_pure__ here
7777 if it is not already defined.
7778 (_obstack_memory_used): Mark as __attribute_pure__.
7779 [!__obstack_free]: Define as obstack_free.
7780 [__GNUC__]: Remove check for ancient NeXT gcc.
7782 2014-07-02 Will Newton <will.newton@linaro.org>
7783 Paul Eggert <eggert@cs.ucla.edu>
7785 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7787 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7789 * resolv/gethnamaddr.c: Add comment warning that the file is
7792 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7794 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7797 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7798 entry for aio_cancel and aio_cancel64.
7799 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7800 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7801 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7802 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7803 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7804 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7805 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7806 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7807 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7808 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7809 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7810 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7811 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7813 2014-07-01 Roland McGrath <roland@hack.frob.com>
7815 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7816 * nptl/pthread_mutex_lock.c: Likewise.
7817 * nptl/pthread_mutex_timedlock.c: Likewise.
7818 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7820 2014-07-01 Richard henderson <rth@redhat.com>
7822 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7823 (__isnan, __isnanl): Remove.
7824 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7826 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7828 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7830 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7832 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 * resolv/nss_dns/dns-host.c (getanswer_r)
7835 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7837 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7839 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7840 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7842 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7843 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7845 2014-07-01 Roland McGrath <roland@hack.frob.com>
7847 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7848 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7850 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7851 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7853 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7854 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7856 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7857 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7859 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7860 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7861 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7862 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7864 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7865 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7866 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7870 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7872 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7881 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7882 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7883 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7885 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7887 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7893 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7894 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7895 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7896 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7897 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7898 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7899 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7900 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7902 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7904 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7905 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7906 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7909 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7913 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7915 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7916 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7918 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7920 * sysdeps/arm/libm-test-ulps: Regenerated.
7922 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7923 Roland McGrath <roland@hack.frob.com>
7925 * test-skeleton.c (signal_handler): Kill the whole process group
7926 before killing the child individually.
7927 (main): Report any failure on `setpgid'.
7929 2014-06-30 Roland McGrath <roland@hack.frob.com>
7931 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7932 from _TLS_H to _ARM_NPTL_TLS_H.
7933 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7934 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7936 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7939 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7940 (__expm1l): Return argument unchanged when small but not
7943 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7945 (_FP_UNPACK_RAW_1_P): Likewise.
7946 (_FP_PACK_RAW_1): Likewise.
7947 (_FP_PACK_RAW_1_P): Likewise.
7948 (_FP_MUL_MEAT_1_wide): Likewise.
7949 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7950 (_FP_MUL_MEAT_1_hard): Likewise.
7951 (_FP_DIV_MEAT_1_imm): Likewise.
7952 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7953 (_FP_DIV_MEAT_1_udiv): Likewise.
7954 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7955 (_FP_UNPACK_RAW_2): Likewise.
7956 (_FP_UNPACK_RAW_2_P): Likewise.
7957 (_FP_PACK_RAW_2): Likewise.
7958 (_FP_PACK_RAW_2_P): Likewise.
7959 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7960 (_FP_MUL_MEAT_2_wide): Likewise.
7961 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7962 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7963 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7964 (_FP_MUL_MEAT_2_gmp): Likewise.
7965 (_FP_DIV_MEAT_2_udiv): Likewise.
7966 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7967 (_FP_FRAC_SRL_4): Likewise.
7968 (_FP_FRAC_SRST_4): Likewise.
7969 (_FP_FRAC_SRS_4): Likewise.
7970 (_FP_UNPACK_RAW_4): Likewise.
7971 (_FP_UNPACK_RAW_4_P): Likewise.
7972 (_FP_PACK_RAW_4): Likewise.
7973 (_FP_PACK_RAW_4_P): Likewise.
7974 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7975 (_FP_MUL_MEAT_4_wide): Likewise.
7976 (_FP_MUL_MEAT_4_gmp): Likewise.
7977 (umul_ppppmnnn): Likewise.
7978 (_FP_DIV_MEAT_4_udiv): Likewise.
7979 (__FP_FRAC_ADD_4): Likewise.
7980 (__FP_FRAC_SUB_3): Likewise.
7981 (__FP_FRAC_SUB_4): Likewise.
7982 (__FP_FRAC_DEC_3): Likewise.
7983 (__FP_FRAC_DEC_4): Likewise.
7984 (__FP_FRAC_ADDI_4): Likewise.
7985 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7986 (_FP_FRAC_SRL_8): Likewise.
7987 (_FP_FRAC_SRS_8): Likewise.
7989 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7991 (FP_UNPACK_RAW_EP): Likewise.
7992 (FP_PACK_RAW_E): Likewise.
7993 (FP_PACK_RAW_EP): Likewise.
7994 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7995 (_FP_ISSIGNAN): Likewise.
7996 (_FP_ADD_INTERNAL): Likewise.
7997 (_FP_FMA): Likewise.
7998 (_FP_CMP): Likewise.
7999 (_FP_SQRT): Likewise.
8000 (_FP_TO_INT): Likewise.
8001 (_FP_FROM_INT): Likewise.
8002 (FP_EXTEND): Likewise.
8003 (_FP_DIV_MEAT_N_loop): Likewise.
8005 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8007 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8010 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8013 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8014 result with correct sign in case of exponents that produce
8015 overflow except for X very close to 1.
8017 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8019 mktime: merge #if/#ifdef usage from glibc
8020 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8021 as that works with both Glibc's and Gnulib's style.
8022 See thread starting at Siddhesh Poyarekar's bug report at:
8023 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8025 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8027 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8028 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8029 * sysdeps/tile/tilegx/memmove.c: Remove file.
8031 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8033 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8034 abi-name definition.
8035 * scripts/soversions.awk: Do not handle or generate ABI lines.
8036 * shlib-versions: Remove ABI entries.
8037 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8038 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8040 2014-06-27 Roland McGrath <roland@hack.frob.com>
8042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8043 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8044 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8045 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8047 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8050 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8053 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8055 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8057 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8059 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8066 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8073 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8076 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8081 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8087 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8090 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8092 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8095 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8098 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8099 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8100 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8101 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8103 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8105 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8106 Identical file removed.
8107 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8109 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8111 Identical file removed.
8112 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8113 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8114 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8116 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8118 Identical file removed.
8119 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8120 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8122 Identical file removed.
8123 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8124 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8125 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8126 Identical file removed.
8127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8128 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8130 Identical file removed.
8131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8133 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8135 Identical file removed.
8136 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8138 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8139 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8140 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8141 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8142 Identical file removed.
8143 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8145 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8147 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8148 Identical file removed.
8149 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8151 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8153 Identical file removed.
8154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8156 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8157 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8158 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8160 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8161 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8163 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8165 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8167 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8168 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8169 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8170 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8171 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8173 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8176 * nscd/nscd.c (monitor_child): Return exit status of child
8177 instead of return value from wait syscall.
8179 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8181 * configure.ac (libc_commonpagesize): Remove variable.
8182 (libc_relro_required): Likewise.
8183 (libc_cv_z_relro): Remove configure test.
8184 * configure: Regenerated.
8185 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8187 (libc_relro_required): Likewise.
8188 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8189 (libc_relro_required): Likewise.
8190 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8191 (libc_relro_required): Likewise.
8192 * sysdeps/arm/preconfigure: Regenerated.
8193 * sysdeps/ia64/preconfigure: Remove file.
8194 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8196 (libc_relro_required): Likewise.
8200 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8201 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8202 recompute overflowing results in original rounding mode.
8203 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8204 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8205 recompute overflowing results in original rounding mode.
8206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8207 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8208 recompute overflowing results in original rounding mode.
8209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8210 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8211 recompute overflowing results in original rounding mode.
8212 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8213 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8214 recompute overflowing results in original rounding mode.
8215 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8216 (libc_feholdsetround_ctx): New macro.
8217 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8218 * sysdeps/i386/fpu/libm-test-ulps: Update.
8219 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8221 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8223 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8224 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8225 corresponding .cpsetup call.
8227 2014-06-26 Roland McGrath <roland@hack.frob.com>
8229 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8230 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8231 * sysdeps/arm/Makefile [$(subdir) = csu]
8232 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8233 (static-only-routines): Add aeabi_read_tp here.
8234 (shared-only-routines): Add libc-aeabi_read_tp here.
8235 (CFLAGS-libc-start.c): Add -fexceptions here.
8236 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8237 (sysdep_routines, static-only-routines, shared-only-routines):
8238 Don't add to these here.
8239 (CFLAGS-libc-start.c): Likewise.
8241 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8242 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8243 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8244 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8245 * sysdeps/arm/Makefile [$(subdir) = rt]
8246 (librt-sysdep_routines, librt-shared-only-routines):
8247 Append rt-aeabi_unwind_cpp_pr1 here.
8248 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8249 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8250 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8251 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8252 Append nptl-aeabi_unwind_cpp_pr1 here.
8253 (tests): Filter out tst-cleanupx4 here.
8254 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8255 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8256 Don't do those here.
8258 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8260 * scripts/list-sources.sh: Do not handle ports specially.
8262 2014-06-26 Roland McGrath <roland@hack.frob.com>
8264 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8265 * sysdeps/arm/feupdateenv.c: Likewise.
8267 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8269 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8271 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8272 trailing whitespace removed.
8273 * scripts/config.guess: Update to version 2014-03-23.
8274 * scripts/config.sub: Update to version 2014-05-01
8275 * scripts/install-sh: Update to version 2013-12-25.23.
8276 * scripts/move-if-change: Update from gnulib.
8278 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8280 * debug/memmove_chk.c: Remove pagecopy.h include.
8282 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8284 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8285 identical to gnulib mktime.
8287 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8289 * configure.ac: Do not test for machine being rs6000. Do not test
8291 * configure: Regenerated.
8293 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8295 * configure: Regenerated.
8296 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8297 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8298 Remove configure test.
8299 * sysdeps/arm/configure: Regenerated.
8300 * sysdeps/nptl/configure.ac: Do not check
8301 libc_cv_asm_cfi_directives.
8302 * sysdeps/nptl/configure: Regenerated.
8303 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8304 * sysdeps/x86_64/nptl/configure: Remove generated file.
8305 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8307 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8309 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8311 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8312 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8313 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8316 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8317 instead of whether it is defined.
8318 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8319 * sysdeps/hppa/dl-machine.h: Likewise.
8320 * sysdeps/ia64/dl-machine.h: Likewise.
8321 * sysdeps/m68k/dl-machine.h: Likewise.
8322 * sysdeps/microblaze/dl-machine.h: Likewise.
8323 * sysdeps/mips/dl-machine.: Likewise.
8324 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8325 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8326 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8327 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8328 * sysdeps/sh/dl-machine.h: Likewise.
8329 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8330 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8331 * sysdeps/tile/dl-machine.h: Likewise.
8332 * sysdeps/x86_64/dl-machine.h: Likewise.
8334 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8336 (verify_persistent_db): Likewise.
8338 2014-06-26 Roland McGrath <roland@hack.frob.com>
8340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8341 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8343 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8346 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8349 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8351 Identical file removed.
8352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8353 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8355 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8357 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8359 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8361 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8364 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8366 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8368 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8371 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8375 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8377 Identical file removed.
8378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8379 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8384 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8387 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8389 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8391 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8393 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8395 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8398 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8401 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8403 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8406 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8408 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8412 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8413 * sysdeps/unix/sysv/linux/s390/Versions
8414 (libpthread: GLIBC_2.19): New version set.
8415 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8416 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8417 (librt: GLIBC_2.3.3): New version set.
8418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8419 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8420 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8422 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8423 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8424 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8425 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8426 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8428 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8429 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8430 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8431 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8432 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8433 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8434 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8435 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8436 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8438 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8439 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8440 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8441 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8442 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8443 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8444 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8445 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8446 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8447 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8448 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8454 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8456 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8458 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8460 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8462 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8465 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8466 (__libc_vfork): Define the function under this name.
8467 [!NOT_IN_libc] (__vfork): Make this an alias.
8468 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8469 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8470 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8471 (__libc_vfork): Define the function under this name.
8472 [!NOT_IN_libc] (__vfork): Make this an alias.
8473 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8474 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8475 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8477 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8478 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8480 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8481 code that was previously under [RESET_PID].
8482 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8483 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8486 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8487 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8488 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8489 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8490 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8491 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8492 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8493 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8494 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8498 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8500 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8502 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8503 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8504 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8505 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8506 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8508 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8509 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8510 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8511 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8512 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8514 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8516 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8520 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8522 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8523 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8524 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8525 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8526 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8528 2014-06-25 Roland McGrath <roland@hack.frob.com>
8530 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8531 that was previously under [RESET_PID].
8532 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8534 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8536 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8537 not undefine and redefine.
8538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8539 [O_CLOEXEC]: Make code unconditional.
8540 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8541 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8542 <kernel-features.h>.
8543 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8544 conditional variable definition.
8545 (shm_open) [O_CLOEXEC]: Make code unconditional.
8546 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8549 * configure.ac (USE_REGPARMS): Don't define here.
8550 * configure: Regenerated.
8551 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8552 * sysdeps/i386/configure: Regenerated.
8554 * nptl/createthread.c: Don't include kernel-features.h.
8555 * nptl/pthread_cancel.c: Likewise.
8556 * nptl/pthread_condattr_setclock.c: Likewise.
8557 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8558 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8559 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8560 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8561 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8562 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8563 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8564 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8565 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8566 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8567 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8568 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8569 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8570 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8571 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8572 * nscd/gai.c: Likewise.
8573 * nss/nss_db/db-open.c: Likewise.
8574 * sysdeps/generic/ldsodefs.h: Likewise.
8575 * sysdeps/sh/nptl/tls.h: Likewise.
8576 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8577 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8578 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8579 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8580 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8581 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8582 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8583 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8584 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8585 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8586 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8587 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8588 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8589 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8590 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8591 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8592 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8593 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8594 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8595 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8596 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8598 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8599 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8600 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8601 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8602 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8603 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8604 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8605 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8606 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8607 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8608 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8609 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8610 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8611 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8612 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8613 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8614 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8615 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8616 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8617 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8618 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8619 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8620 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8621 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8622 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8623 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8624 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8625 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8626 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8627 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8628 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8629 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8630 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8631 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8632 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8633 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8656 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8657 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8658 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8659 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8660 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8661 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8662 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8663 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8664 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8665 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8666 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8667 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8668 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8669 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8670 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8671 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8672 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8673 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8674 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8675 * sysdeps/unix/sysv/linux/system.c: Likewise.
8676 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8677 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8678 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8679 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8680 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8681 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8682 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8684 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8685 * configure: Regenerated.
8686 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8688 * configure.ac (base_machine): Do not set specially for particular
8690 * configure: Regenerated.
8691 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8692 settings from configure.ac.
8693 * sysdeps/i386/preconfigure: New file.
8694 * sysdeps/s390/preconfigure: Likewise.
8695 * sysdeps/sh/preconfigure: Likewise.
8696 * sysdeps/sparc/preconfigure: Likewise.
8698 2014-06-25 Roland McGrath <roland@hack.frob.com>
8700 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8701 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8702 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8703 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8704 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8705 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8706 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8707 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8708 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8709 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8710 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8711 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8712 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8713 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8714 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8715 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8717 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8718 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8720 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8721 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8722 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8723 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8724 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8725 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8726 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8727 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8728 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8729 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8730 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8731 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8732 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8733 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8734 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8735 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8736 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8737 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8738 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8739 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8741 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8743 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8744 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8745 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8746 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8747 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8749 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8750 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8751 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8752 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8753 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8754 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8755 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8756 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8757 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8760 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8762 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8765 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8768 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8770 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8773 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8775 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8777 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8779 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8782 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8785 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8790 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8792 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8794 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8796 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8798 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8801 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8804 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8806 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8809 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8811 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8815 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8818 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8821 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8823 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8826 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8828 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8830 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8832 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8834 * timezone/checktab.awk: Update from tzcode 2014e.
8835 * timezone/private.h: Likewise.
8836 * timezone/tzfile.h: Likewise.
8837 * timezone/zdump.c: Likewise.
8838 * timezone/zic.c: Likewise.
8840 * sysdeps/unix/sysv/linux/kernel-features.h
8841 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8842 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8843 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8844 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8845 Remove conditional code.
8847 2014-06-25 Will Newton <will.newton@linaro.org>
8849 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8850 (_dl_arm_cap_flags): Add HWCAP2 values.
8851 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8852 (_DL_HWCAP_COUNT): Increase to 37.
8853 (_DL_HWCAP_LAST): New define.
8854 (_DL_HWCAP2_LAST): New define.
8855 (_dl_procinfo): Add support for printing
8857 (_dl_string_hwcap): Use _dl_hwcap_string.
8859 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8863 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8865 * README: Do not mention ports directory.
8867 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8869 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8870 <kernel-features.h>.
8871 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8872 conditional variable definition.
8873 (__futimes): Update comment.
8874 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8875 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8878 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8879 arguments close to 0.
8880 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8882 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8884 * math/auto-libm-test-in: Add more tests of exp10.
8885 * math/auto-libm-test-out: Regenerated.
8886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8888 * sysdeps/unix/sysv/linux/kernel-features.h
8889 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8890 * sysdeps/unix/sysv/linux/readv.c: Do not include
8891 <kernel-features.h>.
8892 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8893 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8894 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8896 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8898 * sysdeps/unix/sysv/linux/writev.c: Do not include
8899 <kernel-features.h>.
8900 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8901 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8902 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8904 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8907 2014-06-25 Will Newton <will.newton@linaro.org>
8909 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8910 comment changes throughout the file. Remove checks
8911 for HAVE_*_H definitions that are not required.
8912 (__gen_tempname): Call abort if an unknown kind value is
8915 2014-06-25 Andreas Schwab <schwab@suse.de>
8918 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8919 scalbln, scalblnf, scalblnl in libc.
8921 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8924 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8925 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8926 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8928 2014-06-24 Roland McGrath <roland@hack.frob.com>
8930 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8931 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8932 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8933 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8935 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8936 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8938 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8939 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8940 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8941 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8942 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8943 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8944 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8945 * sysdeps/x86/bits/semaphore.h: ... here.
8946 * sysdeps/x86/nptl/elide.h: Moved ...
8947 * sysdeps/x86/elide.h: ... here.
8948 * sysdeps/x86_64/nptl/Implies: File removed.
8949 * sysdeps/i386/nptl/Implies: File removed.
8951 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8955 return the argument for normal arguments with exponent below -64.
8956 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8958 * math/auto-libm-test-in: Add another test of expm1.
8959 * math/auto-libm-test-out: Regenerated.
8962 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8963 calling __erfcl for arguments at least 16.
8964 * math/auto-libm-test-in: Add more tests of erf.
8965 * math/auto-libm-test-out: Regenerated.
8967 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8968 individual architectures.
8969 * sysdeps/unix/sysv/linux/configure: Regenerated.
8970 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8971 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8972 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8973 (ldd_rewrite_script): Define variable.
8974 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8979 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8980 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8981 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8982 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8983 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8984 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8985 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8986 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8988 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8991 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8992 Rename member __data.d to __data.__elision_data.
8994 2014-06-24 Wilco <wdijkstr@arm.com>
8996 * NEWS: Add 16918 to fixed bug list.
8998 2014-06-24 Wilco <wdijkstr@arm.com>
9000 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9002 2014-06-24 Wilco <wdijkstr@arm.com>
9004 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9005 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9006 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9007 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9008 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9009 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9010 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9013 2014-06-24 Wilco <wdijkstr@arm.com>
9015 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9017 2014-06-24 Wilco <wdijkstr@arm.com>
9019 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9020 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9021 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9022 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9024 2014-06-24 Wilco <wdijkstr@arm.com>
9027 * sysdeps/arm/feupdateenv.c (feupdateenv):
9028 Rewrite to reduce FPSCR accesses and fix return value.
9030 2014-06-24 Wilco <wdijkstr@arm.com>
9032 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9033 Optimize to avoid unnecessary FPSCR writes.
9034 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9035 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9036 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9037 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9039 2014-06-24 Wilco <wdijkstr@arm.com>
9041 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9042 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9043 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9044 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9045 Call libc_fetestexcept_vfp.
9046 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9047 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9048 __SOFTFP__ ifdef so that they can be built for softfp.
9050 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9052 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9053 argument type signed char.
9055 * Makerules (check-abi): Dump diff of symlist if the test
9058 2014-06-23 Roland McGrath <roland@hack.frob.com>
9060 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9063 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9064 Remove unused variable ST.
9066 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9070 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9071 small arguments before calling __expm1.
9072 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9073 small arguments before calling __expm1f.
9074 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9075 small arguments before calling __expm1l.
9076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9078 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9079 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9080 spurious underflow for some cosh tests.
9081 * math/auto-libm-test-out: Regenerated.
9082 * sysdeps/i386/fpu/libm-test-ulps: Update.
9085 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9086 (__ieee754_y1): Set errno if return value overflows.
9087 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9088 (__ieee754_y1f): Set errno if return value overflows.
9089 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9090 (__ieee754_y1l): Set errno if return value overflows.
9091 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9092 (__ieee754_y1l): Set errno if return value overflows.
9093 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9094 * math/auto-libm-test-out: Regenerated.
9096 * math/gen-auto-libm-tests.c: Document use of
9097 ignore-zero-inf-sign.
9098 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9099 (input_flags): Add ignore-zero-inf-sign.
9100 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9101 * math/gen-libm-test.pl (generate_testfile): Handle
9102 ignore-zero-inf-sign.
9103 * math/auto-libm-test-in: Mark some cpow tests with
9104 ignore-zero-inf-sign and some with xfail-rounding.
9105 * math/auto-libm-test-out: Regenerated.
9106 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9107 * sysdeps/i386/fpu/libm-test-ulps: Update.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9111 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9112 overflowing or underflowing operations take place with sign of
9114 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9115 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9116 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9117 (__ieee754_pow): Recompute overflowing and underflowing results in
9118 original rounding mode.
9119 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9120 (__powl_helper): Allow negative argument X and scale negated value
9121 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9122 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9123 overflowing or underflowing operations take place with sign of
9125 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9127 * math/auto-libm-test-in: Add more tests of pow.
9128 * math/auto-libm-test-out: Regenerated.
9129 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9130 (pow_tonearest_test_data): Remove.
9131 (pow_test_tonearest): Likewise.
9132 (pow_towardzero_test_data): Likewise.
9133 (pow_test_towardzero): Likewise.
9134 (pow_downward_test_data): Likewise.
9135 (pow_test_downward): Likewise.
9136 (pow_upward_test_data): Likewise.
9137 (pow_test_upward): Likewise.
9138 (main): Don't call removed functions.
9139 * sysdeps/i386/fpu/libm-test-ulps: Update.
9140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9142 2014-06-23 Roland McGrath <roland@hack.frob.com>
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9318 2014-06-23 Will Newton <will.newton@linaro.org>
9319 Wilco <wdijkstr@arm.com>
9321 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9322 implementation. Include get-rounding-mode.h.
9323 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9324 [!libc_feholdsetround_noex_ctx]: Define
9325 libc_feholdsetround_noex_ctx.
9326 [!libc_feholdsetround_noexf_ctx]: Define
9327 libc_feholdsetround_noexf_ctx.
9328 [!libc_feholdsetround_noexl_ctx]: Define
9329 libc_feholdsetround_noexl_ctx.
9330 (libc_feholdsetround_ctx): New function.
9331 (libc_feresetround_ctx): New function.
9332 (libc_feholdsetround_noex_ctx): New function.
9333 (libc_feresetround_noex_ctx): New function.
9335 2014-06-23 Roland McGrath <roland@hack.frob.com>
9337 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9338 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9339 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9340 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9341 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9342 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9344 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9345 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9346 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9347 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9348 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9349 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9350 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9351 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9353 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9356 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9359 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9361 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9362 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9364 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9365 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9366 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9367 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9368 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9369 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9370 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9373 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9374 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9376 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9377 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9378 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9379 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9381 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9383 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9385 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9386 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9387 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9388 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9389 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9392 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9395 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9397 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9399 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9401 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9403 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9404 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9405 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9406 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9408 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9409 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9410 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9411 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9412 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9413 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9415 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9417 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9418 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9419 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9421 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9422 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9423 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9424 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9425 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9426 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9427 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9428 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9430 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9431 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9432 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9433 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9434 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9435 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9436 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9437 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9438 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9439 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9440 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9441 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9442 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9443 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9444 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9445 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9446 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9447 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9448 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9450 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9453 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9454 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9455 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9456 (IPV6_PMTUDISC_INTERFACE): Likewise.
9457 (IPV6_PMTUDISC_OMIT): Likewise.
9459 2014-06-23 Andreas Schwab <schwab@suse.de>
9461 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9462 Remove unused errout label.
9464 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9466 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9467 macro: hardware supports Vector Crypto instructions.
9469 2014-06-23 Will Newton <will.newton@linaro.org>
9471 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9472 rather than __builtin_expect.
9474 * elf/dl-lookup.c (undefined_msg): Remove variable.
9475 (_dl_lookup_symbol_x): Replace undefined_msg with string
9478 * elf/dl-lookup.c (do_lookup_unique): New function.
9479 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9480 to a separate function.
9482 2014-06-23 Andreas Schwab <schwab@suse.de>
9485 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9486 before reading the next line.
9488 2014-06-23 Will Newton <will.newton@linaro.org>
9490 * test-skeleton.c (signal_handler): Use printf and %m
9491 rather than perror. Use printf rather than fprintf to
9492 stderr. Use puts rather than fputs to stderr.
9495 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9497 * nscd/nscd.c (thread_info_t): Remove typedef.
9498 (thread_info): Remove variable.
9500 2014-06-21 Allan McRae <allan@archlinux.org>
9502 * NEWS: Mention CVE-2014-4043.
9504 2014-06-20 Roland McGrath <roland@hack.frob.com>
9506 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9507 * nptl/smp.h: ... here.
9509 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9511 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9512 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9513 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9514 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9516 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9517 * nptl/stack-aliasing.h: New file.
9518 * sysdeps/i386/i686/stack-aliasing.h: New file.
9519 * sysdeps/i386/i686/nptl/Makefile: File removed.
9520 * sysdeps/x86_64/stack-aliasing.h: New file.
9521 * sysdeps/x86_64/nptl/Makefile
9522 (CFLAGS-pthread_create.c): Variable removed.
9524 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9525 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9527 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9528 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9531 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9534 (__ASSUME_SIGFRAME_V2): Remove macro.
9535 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9536 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9537 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9538 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9539 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9540 Declare as function. Remove conditional macro definitions.
9541 (__default_rt_sa_restorer): Likewise.
9542 (__default_sa_restorer_v1): Remove declaration.
9543 (__default_sa_restorer_v2): Likewise.
9544 (__default_rt_sa_restorer_v1): Likewise.
9545 (__default_rt_sa_restorer_v2): Likewise.
9546 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9547 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9548 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9550 2014-06-20 Roland McGrath <roland@hack.frob.com>
9552 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9553 (libpthread-routines): Add sysdep.
9554 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9555 * sysdeps/unix/sysv/linux/sparc/Versions
9556 (libpthread: GLIBC_2.3.3): New version set.
9557 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9558 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9559 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9561 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9562 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9564 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9566 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9567 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9568 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9569 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9570 * sysdeps/sparc/nptl/sem_init.c: ... here.
9571 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9572 * sysdeps/sparc/nptl/sem_post.c: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9574 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9575 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9576 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9577 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9578 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9579 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9580 (libpthread-routines): Add cpu_relax.
9581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9584 (librt: GLIBC_2.3.3): New version set.
9585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9586 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9587 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9588 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9591 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9594 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9596 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9598 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9600 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9602 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9605 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9613 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9617 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9621 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9625 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9628 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9634 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9636 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9639 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9641 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9643 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9645 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9647 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9648 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9649 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9650 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9651 * nscd/nscd.c: Likewise.
9652 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9653 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9654 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9655 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9657 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9658 <kernel-features.h>.
9659 (init_mq_netlink): Remove conditional have_sock_cloexec
9660 definitions. Remove code conditional on have_sock_cloexec < 0.
9661 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9662 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9663 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9664 <kernel-features.h>.
9665 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9666 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9668 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9671 Add tests for memset_chk and memset.
9673 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9676 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9679 * elf/tst-dl-iter-static.c: New file.
9680 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9682 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9685 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9687 * sysdeps/unix/sysv/linux/kernel-features.h
9688 (__ASSUME_F_GETOWN_EX): Remove macro.
9689 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9690 <kernel-features.h>.
9691 (miss_F_GETOWN_EX): Remove variable or macro.
9692 (do_fcntl): Do not check miss_F_GETOWN_EX.
9693 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9695 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9698 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9699 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9701 * sysdeps/unix/sysv/linux/kernel-features.h
9702 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9703 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9704 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9705 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9707 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9710 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9711 Fix calculation of the symbol's value.
9712 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9713 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9714 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9715 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9716 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9717 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9718 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9719 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9720 (modules-names): Add `tst-armtlsdescmod',
9721 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9722 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9723 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9724 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9725 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9726 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9727 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9728 ($(objpfx)tst-armtlsdescloc): New dependency.
9729 ($(objpfx)tst-armtlsdescextnow): Likewise.
9730 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9731 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9733 * sysdeps/arm/configure: Regenerate.
9735 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9737 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9738 (__atfct_seterrno_2): Likewise.
9739 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9740 <kernel-features.h>.
9741 (__ASSUME_ATFCTS): Do not undefine and redefine.
9742 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9743 (__have_atfcts): Remove conditional definition.
9744 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9745 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9746 unreachable if [__ASSUME_ATFCTS].
9747 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9748 not undefine and redefine.
9749 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9750 <kernel-features.h>.
9751 (faccessat) [__NR_faccessat]: Make code unconditional.
9752 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9753 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9754 <kernel-features.h>.
9755 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9756 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9757 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9758 <kernel-features.h>.
9759 (fchownat) [__NR_fchownat]: Make code unconditional.
9760 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9761 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9762 <kernel-features.h>.
9763 (futimesat) [__NR_futimesat]: Make code unconditional.
9764 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9765 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9766 <kernel-features.h>.
9767 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9768 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9769 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9770 <kernel-features.h>.
9771 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9772 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9773 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9774 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9775 <kernel-features.h>.
9776 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9777 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9778 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9779 <kernel-features.h>.
9780 (linkat) [__NR_linkat]: Make code unconditional.
9781 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9782 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9783 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9784 <kernel-features.h>.
9785 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9786 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9787 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9788 <kernel-features.h>.
9789 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9790 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9791 * sysdeps/unix/sysv/linux/openat.c: Do not include
9792 <kernel-features.h>.
9793 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9794 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9795 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9796 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9797 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9798 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9799 <kernel-features.h>.
9800 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9801 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9802 result of INLINE_SYSCALL directly, not via int variable.
9803 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9804 <kernel-features.h>.
9805 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9806 (renameat) [__NR_renameat]: Make code unconditional.
9807 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9808 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9809 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9810 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9811 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9812 (__ASSUME_ATFCTS): Do not undefine and redefine.
9813 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9814 <kernel-features.h>.
9815 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9816 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9817 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9818 <kernel-features.h>.
9819 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9820 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9821 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9822 (__ASSUME_ATFCTS): Do not undefine and redefine.
9823 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9824 <kernel-features.h>.
9825 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9826 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9827 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9828 <kernel-features.h>.
9829 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9830 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9832 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9834 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9836 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9839 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9840 constructed tree before returning error.
9841 * posix/bug-regexp36.c: Expand test case.
9843 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9846 * math/libm-test.inc (scalbln_test_date):
9847 Add errno expectations.
9848 * math/w_scalblnf.c: New File.
9849 Add wrapper which checks for setting errno to ERANGE.
9850 Add weak_alias for corresponding scalbln function.
9851 * math/w_scalbln.c: Likewise.
9852 * math/w_scalblnl.c: Likewise.
9853 * math/Makefile (libm-calls): Add w_scalbln.
9854 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9855 Remove weak_alias for corresponding scalbln function.
9856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9858 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9860 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9861 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9862 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9863 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9864 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9865 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9866 Remove long_double_symbol for scalblnl function in libm, libc.
9867 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9868 Add wrapper which checks for setting errno to ERANGE.
9869 Add long_double_symbol for scalblnl function in libm, libc.
9870 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9871 Remove long_double_symbol for scalblnl in libm.
9872 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9873 Add wrapper which checks for setting errno to ERANGE.
9874 Add long_double_symbol for scalblnl function in libm.
9875 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9876 Do not use wrapper because of own implementation.
9878 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9880 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9881 3 bytes for __pad1 for x32.
9882 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9884 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9885 H.J. Lu <hongjiu.lu@intel.com>
9887 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9888 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9889 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9890 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9891 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9893 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9896 * posix/regcomp.c (parse_expression): Deallocate partially
9897 constructed tree before returning error.
9898 * posix/Makefile.c (tests): Add bug-regex36.
9899 (generated): Add bug-regex36.mtrace.
9900 (tests-special): Add $(objpfx)bug-regex36-mem.out
9901 (bug-regex36-ENV): New variable.
9902 ($(objpfx)bug-regex36-mem.out): New rule.
9903 * posix/bug-regex36.c: New file.
9905 2014-06-19 Will Newton <will.newton@linaro.org>
9907 * malloc/malloc.c (systrim): If extra is zero then return
9910 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9912 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9914 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9916 * sysdeps/aarch64/strchr.S: New file.
9918 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9921 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9922 from arguments -2 or below.
9923 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9924 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9926 2014-06-18 Andreas Schwab <schwab@suse.de>
9929 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9930 of a bracket expr not to run off the end of the string.
9931 * posix/Makefile (tests): Add tst-fnmatch3.
9932 * posix/tst-fnmatch3.c: New file.
9934 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9936 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9937 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9938 [$(cross-compiling) = no]: Likewise.
9939 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9940 [$(cross-compiling) = no]: Likewise.
9942 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9945 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9946 double, adjusted for any remainder from the high double.
9947 * math/libm-test.inc (nearbyint): Add tests.
9950 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9952 * nptl/sysdeps/powerpc/Makefile: Moved ...
9953 * sysdeps/powerpc/nptl/Makefile: ... here.
9954 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9955 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9956 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9957 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9958 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9959 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9960 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9961 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9962 * nptl/sysdeps/powerpc/tls.h: Moved ...
9963 * sysdeps/powerpc/nptl/tls.h: ... here.
9965 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9968 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9969 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9970 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9971 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9972 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9973 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9974 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9975 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9976 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9978 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9980 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9982 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9984 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9987 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9990 2014-06-16 Florian Weimer <fweimer@redhat.com>
9993 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9994 non-executed part of the test.
9996 2014-06-16 Andreas Schwab <schwab@suse.de>
9998 * string/bits/string2.h (strdup, strndup): Update feature guard.
10000 2014-06-14 David S. Miller <davem@davemloft.net>
10002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10004 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10006 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10007 that was previously under [RESET_PID].
10008 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10010 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10011 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10012 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10013 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10014 (__libc_vfork): New strong alias.
10015 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10017 2014-06-14 Andi Kleen <ak@linux.intel.com>
10019 * sysdeps/generic/elide.h: New file.
10021 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10023 * Makefile (installed-headers): Adjust path of pthread.h header.
10025 2014-06-13 Roland McGrath <roland@hack.frob.com>
10027 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10028 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10029 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10030 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10032 * nptl/sysdeps/s390/Makefile: Moved ...
10033 * sysdeps/s390/nptl/Makefile: ... here.
10034 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10035 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10036 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10037 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10038 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10039 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10040 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10041 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10042 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10043 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10044 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10045 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10046 * nptl/sysdeps/s390/tls.h: Moved ...
10047 * sysdeps/s390/nptl/tls.h: ... here.
10049 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10050 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10052 2014-06-13 David S. Miller <davem@davemloft.net>
10054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10057 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10061 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10062 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10063 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10064 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10065 Remove RESET_PID cpp guards.
10066 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10067 Remove RESET_PID cpp guards.
10068 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10070 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10072 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10075 2014-06-13 Andi Kleen <ak@linux.intel.com>
10077 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10078 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10079 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10080 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10081 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10082 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10083 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10084 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10085 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10086 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10087 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10088 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10089 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10090 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10091 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10092 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10093 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10094 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10095 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10096 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10098 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10099 (pthread_rwlock_rdlock): Add elision.
10100 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10101 (pthread_rwlock_wrlock): Add elision.
10102 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10103 (pthread_rwlock_trywrlock): Add elision.
10104 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10105 (pthread_rwlock_tryrdlock): Add elision.
10106 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10107 (pthread_rwlock_tryrdlock): Add elision unlock.
10108 * nptl/sysdeps/pthread/pthread.h:
10109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10110 (PTHREAD_RWLOCK_INITIALIZER,
10111 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10112 Handle new elision field.
10113 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10114 * sysdeps/arm/nptl/bits/pthreadtypes.h
10115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10116 * sysdeps/sh/nptl/bits/pthreadtypes.h
10117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10118 * sysdeps/tile/nptl/bits/pthreadtypes.h
10119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10120 * sysdeps/a/nptl/bits/pthreadtypes.h
10121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10122 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10124 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10125 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10126 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10127 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10128 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10130 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10132 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10133 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10134 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10136 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10138 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10139 (elision_init): Set try_xbegin to zero when no RTM.
10140 * sysdeps/x86/nptl/bits/pthreadtypes.h
10141 (pthread_rwlock_t): Change __pad1 to __rwelision.
10142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10144 2014-06-13 Andi Kleen <ak@linux.intel.com>
10146 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10147 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10148 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10149 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10151 2014-06-13 Meador Inge <meadori@codesourcery.com>
10154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10155 that the cached result has been set before returning it.
10157 2014-06-12 Roland McGrath <roland@hack.frob.com>
10159 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10160 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10161 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10162 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10163 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10164 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10166 * nptl/sysdeps/sparc/Makefile: Moved ...
10167 * sysdeps/sparc/nptl/Makefile: ... here.
10168 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10169 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10170 * nptl/sysdeps/sparc/tls.h: Moved ...
10171 * sysdeps/sparc/nptl/tls.h: ... here.
10172 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10173 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10174 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10175 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10176 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10177 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10178 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10179 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10180 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10181 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10182 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10183 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10184 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10185 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10186 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10187 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10188 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10189 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10191 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10192 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10194 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10195 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10197 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10201 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10203 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10204 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10206 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10207 (struct list_links): Type removed.
10208 (struct thread_node, struct timer_node): Replace struct list_links
10209 with struct list_head.
10210 (list_unlink_ip): Likewise.
10211 * sysdeps/pthread/timer_routines.c
10212 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10213 (list_append, list_insbefore): Likewise.
10214 (list_init): Function removed.
10215 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10216 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10217 * sysdeps/pthread/Makefile: ... here, new file.
10219 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10220 * sysdeps/nptl/Implies: ... here.
10221 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10222 * nptl/sysdeps/pthread/list.h: Moved ...
10223 * include/list.h: ... here.
10224 * nptl/sysdeps/pthread/createthread.c: Moved ...
10225 * nptl/createthread.c: ... here.
10226 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10227 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10228 * nptl/pt-longjmp.c: ... here.
10229 * nptl/sysdeps/pthread/Makefile: Moved ...
10230 * sysdeps/nptl/Makefile: ... here.
10231 * nptl/sysdeps/pthread/Subdirs: Moved ...
10232 * sysdeps/nptl/Subdirs: ... here.
10233 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10234 * sysdeps/nptl/aio_misc.h: ... here.
10235 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10236 * sysdeps/nptl/bits/libc-lock.h: ... here.
10237 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10238 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10239 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10240 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10241 * nptl/sysdeps/pthread/configure: Moved ...
10242 * sysdeps/nptl/configure: ... here.
10243 * nptl/sysdeps/pthread/configure.ac: Moved ...
10244 * sysdeps/nptl/configure.ac: ... here.
10245 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10246 * sysdeps/nptl/gai_misc.h: ... here.
10247 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10248 * sysdeps/nptl/librt-cancellation.c: ... here.
10249 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10250 * sysdeps/nptl/malloc-machine.h: ... here.
10251 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10252 * sysdeps/nptl/pthread-functions.h: ... here.
10253 * nptl/sysdeps/pthread/pthread.h: Moved ...
10254 * sysdeps/nptl/pthread.h: ... here.
10255 * nptl/sysdeps/pthread/setxid.h: Moved ...
10256 * sysdeps/nptl/setxid.h: ... here.
10257 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10258 * sysdeps/nptl/sigfillset.c: ... here.
10259 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10260 * sysdeps/nptl/tcb-offsets.h: ... here.
10261 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10262 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10263 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10264 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10265 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10266 * sysdeps/pthread/allocalim.h: ... here.
10267 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10268 * sysdeps/pthread/bits/sigthread.h: ... here.
10269 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10270 * sysdeps/pthread/flockfile.c: ... here.
10271 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10272 * sysdeps/pthread/ftrylockfile.c: ... here.
10273 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10274 * sysdeps/pthread/funlockfile.c: ... here.
10275 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10276 * sysdeps/pthread/posix-timer.h: ... here.
10277 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10278 * sysdeps/pthread/timer_create.c: ... here.
10279 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10280 * sysdeps/pthread/timer_delete.c: ... here.
10281 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10282 * sysdeps/pthread/timer_getoverr.c: ... here.
10283 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10284 * sysdeps/pthread/timer_gettime.c: ... here.
10285 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10286 * sysdeps/pthread/timer_routines.c: ... here.
10287 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10288 * sysdeps/pthread/timer_settime.c: ... here.
10289 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10290 * sysdeps/pthread/tst-timer.c: ... here.
10291 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10292 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10294 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10295 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10297 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10298 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10299 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10300 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10301 Update #include target.
10302 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10303 * sysdeps/i386/i686/nptl/Makefile: ... here.
10304 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10305 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10306 Update #include target.
10307 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10308 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10309 * nptl/sysdeps/i386/Makefile: Moved ...
10310 * sysdeps/i386/nptl/Makefile: ... here.
10311 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10312 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10313 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10314 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10315 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10316 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10317 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10318 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10319 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10320 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10321 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10322 * nptl/sysdeps/i386/tls.h: Moved ...
10323 * sysdeps/i386/nptl/tls.h: ... here.
10325 * sysdeps/sh/Makefile [$(subdir) = csu]
10326 (gen-as-const-headers): Add tcb-offsets.sym.
10327 * nptl/sysdeps/sh/Makefile: File removed.
10328 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10329 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10330 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10331 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10332 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10333 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10334 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10335 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10336 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10337 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10338 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10339 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10340 * nptl/sysdeps/sh/tls.h: Moved ...
10341 * sysdeps/sh/nptl/tls.h: ... here.
10342 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10343 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10344 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10345 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10346 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10347 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10348 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10349 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10350 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10351 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10353 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10354 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10355 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10356 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10357 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10358 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10359 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10360 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10361 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10362 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10363 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10364 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10365 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10366 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10368 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10369 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10371 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10372 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10373 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10374 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10375 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10376 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10377 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10378 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10379 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10380 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10381 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10382 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10383 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10384 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10385 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10386 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10387 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10388 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10389 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10391 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10393 * posix/spawn_faction_addopen.c: Include string.h.
10395 2014-06-11 Roland McGrath <roland@hack.frob.com>
10397 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10398 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10399 * nptl/sysdeps/x86_64/Makefile: Moved ...
10400 * sysdeps/x86_64/nptl/Makefile: ... here.
10401 * nptl/sysdeps/x86_64/configure: Moved ...
10402 * sysdeps/x86_64/nptl/configure: ... here.
10403 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10404 * sysdeps/x86_64/nptl/configure.ac: ... here.
10405 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10406 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10407 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10408 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10409 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10410 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10411 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10412 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10413 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10414 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10415 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10416 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10417 * nptl/sysdeps/x86_64/tls.h: Moved ...
10418 * sysdeps/x86_64/nptl/tls.h: ... here.
10419 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10420 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10421 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10422 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10424 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10426 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10430 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10432 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10434 [POSIX] (off_t): Likewise.
10435 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10436 [POSIX] (S_ISBLK): Require macro.
10437 [POSIX] (S_ISCHR): Likewise.
10438 [POSIX] (S_ISDIR): Likewise.
10439 [POSIX] (S_ISFIFO): Likewise.
10440 [POSIX] (S_ISREG): Likewise.
10441 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10443 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10445 [POSIX] (time_t): Likewise.
10446 [POSIX] (timer_t): Likewise.
10448 2014-06-11 Florian Weimer <fweimer@redhat.com>
10451 * posix/spawn_int.h (struct __spawn_action): Make the path string
10452 non-const to support deallocation.
10453 * posix/spawn_faction_addopen.c
10454 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10455 * posix/spawn_faction_destroy.c
10456 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10457 path in all spawn_do_open actions.
10458 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10459 posix_spawn_file_actions_addopen.
10461 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10463 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10464 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10465 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10466 conditional code always true.
10467 (__libc_vfork): New alias.
10469 2014-06-11 Roland McGrath <roland@hack.frob.com>
10471 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10472 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10474 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10476 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10477 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10479 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10480 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10482 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10483 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10485 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10487 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10488 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10489 multiarch strcmp for PPC64.
10490 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10491 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10493 multiarch optimizations.
10494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10495 (__libc_ifunc_impl_list): Likewise.
10497 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10499 * benchtests/scripts/validate_benchout.py: New script.
10500 * benchtests/Makefile (bench-func): Call it.
10501 * benchtests/scripts/benchout.schema.json: New file.
10503 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10505 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10506 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10507 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10508 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10509 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10510 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10511 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10512 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10513 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10514 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10515 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10516 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10517 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10518 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10519 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10520 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10625 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10627 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10630 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10635 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10637 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10639 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10641 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10646 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10649 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10654 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10656 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10658 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10659 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10660 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10662 2014-06-10 Wilco <wdijkstr@arm.com>
10664 * math/test-fenv-return.c: New file.
10665 * math/Makefile: Add new test test-fenv-return.
10667 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10670 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10671 when x - 1 is zero.
10672 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10673 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10674 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10675 0.0L for an argument of 1.0L.
10676 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10678 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10679 value when x - 1 is zero.
10680 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10681 * sysdeps/i386/fpu/libm-test-ulps: Update.
10682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10684 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10687 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10689 2014-06-09 Roland McGrath <roland@hack.frob.com>
10691 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10692 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10694 2014-06-09 Roland McGrath <roland@hack.frob.com>
10696 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10697 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10699 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10700 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10702 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10703 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10705 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10706 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10708 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10709 if not already defined.
10710 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10711 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10712 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10713 (TLS_INIT_TP): Use it.
10714 (TLS_DEFINE_INIT_TP): New macro.
10715 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10717 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10719 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10721 [POSIX] (IXANY): Likewise.
10722 [POSIX] (OLCUC): Likewise.
10723 [POSIX || POSIX2008] (CBAUD): Do not allow.
10724 [POSIX || POSIX2008] (DEFECHO): Likewise.
10725 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10726 [POSIX || POSIX2008] (ECHOKE): Likewise.
10727 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10728 [POSIX || POSIX2008] (EXTA): Likewise.
10729 [POSIX || POSIX2008] (EXTB): Likewise.
10730 [POSIX || POSIX2008] (FLUSHO): Likewise.
10731 [POSIX || POSIX2008] (LOBLK): Likewise.
10732 [POSIX || POSIX2008] (PENDIN): Likewise.
10733 [POSIX || POSIX2008] (SWTCH): Likewise.
10734 [POSIX || POSIX2008] (VDISCARD): Likewise.
10735 [POSIX || POSIX2008] (VDSUSP): Likewise.
10736 [POSIX || POSIX2008] (VLNEXT): Likewise.
10737 [POSIX || POSIX2008] (VREPRINT): Likewise.
10738 [POSIX || POSIX2008] (VSTATUS): Likewise.
10739 [POSIX || POSIX2008] (VWERASE): Likewise.
10740 (B*): Change to B[0123456789]*.
10741 * conform/data/time.h-data [POSIX || UNIX98]
10742 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10743 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10744 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10745 [POSIX] (tm_*): Do not allow.
10747 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10749 * Makefile (install): Don't set LANGUAGE.
10750 * Makefile.in (install): Likewise.
10751 * assert/Makefile (test-assert-ENV): Remove variable.
10752 (test-assert-perr-ENV): Likewise.
10753 * elf/Makefile (neededtest4-ENV): Likewise.
10754 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10755 [$(cross-compiling) = no]: Don't set LANGUAGE.
10756 * io/ftwtest-sh (LANG): Remove variable.
10757 * libio/Makefile (tst-widetext-ENV): Likewise.
10758 * manual/install.texi (Running make install): Don't refer to
10759 environment settings for make install.
10760 * INSTALL: Regenerated.
10761 * nptl/tst-tls6.sh: Don't set LANG.
10762 * posix/globtest.sh (LANG): Remove variable.
10763 * string/Makefile (tester-ENV): Likewise.
10764 (inl-tester-ENV): Likewise.
10765 (noinl-tester-ENV): Likewise.
10766 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10767 [$(cross-compiling) = no]: Don't set LANGUAGE.
10768 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10769 without explicit environment settings.
10771 2014-06-06 Roland McGrath <roland@hack.frob.com>
10773 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10774 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10775 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10776 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10778 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10780 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10781 other files in the crypt directory.
10782 * crypt/crypt.c: Remove duplicate includes.
10783 * crypt/crypt-entry.c: Likewise.
10784 * crypt/crypt_util.c: Likewise.
10786 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10788 * Makeconfig (run-program-env): New variable.
10789 (run-program-prefix-before-env): Likewise.
10790 (run-program-prefix-after-env): Likewise.
10791 (run-program-prefix): Define in terms of new variables.
10792 (built-program-cmd-before-env): New variable.
10793 (built-program-cmd-after-env): Likewise.
10794 (built-program-cmd): Define in terms of new variables.
10795 (test-program-prefix-before-env): New variable.
10796 (test-program-prefix-after-env): Likewise.
10797 (test-program-prefix): Define in terms of new variables.
10798 (test-program-cmd-before-env): New variable.
10799 (test-program-cmd-after-env): Likewise.
10800 (test-program-cmd): Define in terms of new variables.
10801 * Rules (make-test-out): Use $(run-program-env).
10802 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10803 (help): Do not mention environment variables. Mention
10804 --timeoutfactor option.
10805 (timeoutfactor): New variable.
10806 (blacklist_exports): Remove function.
10807 (exports): Remove variable.
10808 (command): Do not include ${exports}.
10809 * manual/install.texi (Configuring and compiling): Do not mention
10810 test wrappers preserving environment variables. Mention that last
10811 assignment to a variable must take precedence.
10812 * INSTALL: Regenerated.
10813 * benchtests/Makefile (run-bench): Use $(run-program-env).
10814 * catgets/Makefile ($(objpfx)test1.cat): Use
10815 $(built-program-cmd-before-env), $(run-program-env) and
10816 $(built-program-cmd-after-env).
10817 ($(objpfx)test2.cat): Do not specify environment variables
10819 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10820 $(run-program-env) and $(built-program-cmd-after-env).
10821 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10822 $(run-program-env) and $(test-program-cmd-after-env).
10823 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10825 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10826 run_program_env and test_program_cmd_after_env arguments.
10827 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10828 * elf/tst-pathopt.sh: Use run_program_env argument.
10829 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10830 $(test-wrapper-env) and $(run-program-env).
10831 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10832 run_program_env arguments.
10833 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10834 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10835 $(test-program-prefix-before-env), $(run-program-env) and
10836 $(test-program-prefix-after-env).
10837 ($(objpfx)tst-gettext2.out): Likewise.
10838 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10839 run_program_env and test_program_prefix_after_env arguments.
10840 * intl/tst-gettext2.sh: Likewise.
10841 * intl/tst-gettext4.sh: Do not set environment variables
10843 * intl/tst-gettext6.sh: Likewise.
10844 * intl/tst-translit.sh: Likewise.
10845 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10846 $(test-program-prefix-before-env), $(run-program-env) and
10847 $(test-program-prefix-after-env).
10848 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10849 run_program_env and test_program_prefix_after_env arguments.
10850 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10851 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10852 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10853 explicitly with each use of ${test_wrapper_env}.
10854 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10855 $(test-program-prefix-before-env), $(run-program-env) and
10856 $(test-program-prefix-after-env).
10857 * posix/tst-getconf.sh: Do not set environment variables
10859 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10860 run_program_env and test_program_prefix_after_env arguments.
10861 * stdio-common/tst-printf.sh: Do not set environment variables
10863 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10864 $(test-program-prefix-before-env), $(run-program-env) and
10865 $(test-program-prefix-after-env).
10866 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10867 run_program_env and test_program_prefix_after_env arguments.
10868 Split $test calls into $test_pre and $test.
10869 * timezone/Makefile (build-testdata): Use
10870 $(built-program-cmd-before-env), $(run-program-env) and
10871 $(built-program-cmd-after-env).
10873 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10875 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10876 strlen for non SHARED builds.
10878 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10880 * nptl/allocatestack.c (check_list): Inlined function...
10881 (__reclaim_stacks): ... here.
10883 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10886 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10889 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10891 * Rules (make-test-out): Include
10892 LOCPATH=$(common-objpfx)localedata in default environment.
10893 * debug/Makefile (tst-chk1-ENV): Remove variable.
10894 (tst-chk2-ENV): Likewise.
10895 (tst-chk3-ENV): Likewise.
10896 (tst-chk4-ENV): Likewise.
10897 (tst-chk5-ENV): Likewise.
10898 (tst-chk6-ENV): Likewise.
10899 (tst-lfschk1-ENV): Likewise.
10900 (tst-lfschk2-ENV): Likewise.
10901 (tst-lfschk3-ENV): Likewise.
10902 (tst-lfschk4-ENV): Likewise.
10903 (tst-lfschk5-ENV): Likewise.
10904 (tst-lfschk6-ENV): Likewise.
10905 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10906 (tst-iconv7-ENV): Likewise.
10907 * intl/Makefile (LOCPATH-ENV): Likewise.
10908 (tst-codeset-ENV): Likewise.
10909 (tst-gettext3-ENV): Likewise.
10910 (tst-gettext5-ENV): Likewise.
10911 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10912 (tst-fopenloc-ENV): Likewise.
10913 (tst-fgetws-ENV): Remove variable.
10914 (tst-ungetwc1-ENV): Likewise.
10915 (tst-ungetwc2-ENV): Likewise.
10916 (bug-ungetwc2-ENV): Likewise.
10917 (tst-swscanf-ENV): Likewise.
10918 (bug-ftell-ENV): Likewise.
10919 (tst-fgetwc-ENV): Likewise.
10920 (tst-fseek-ENV): Likewise.
10921 (tst-ftell-partial-wide-ENV): Likewise.
10922 (tst-ftell-active-handler-ENV): Likewise.
10923 (tst-ftell-append-ENV): Likewise.
10924 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10925 (tst-regexloc-ENV): Likewise.
10926 (bug-regex1-ENV): Likewise.
10927 (tst-regex-ENV): Likewise.
10928 (tst-regex2-ENV): Likewise.
10929 (bug-regex5-ENV): Likewise.
10930 (bug-regex6-ENV): Likewise.
10931 (bug-regex17-ENV): Likewise.
10932 (bug-regex18-ENV): Likewise.
10933 (bug-regex19-ENV): Likewise.
10934 (bug-regex20-ENV): Likewise.
10935 (bug-regex22-ENV): Likewise.
10936 (bug-regex23-ENV): Likewise.
10937 (bug-regex25-ENV): Likewise.
10938 (bug-regex26-ENV): Likewise.
10939 (bug-regex30-ENV): Likewise.
10940 (bug-regex32-ENV): Likewise.
10941 (bug-regex33-ENV): Likewise.
10942 (bug-regex34-ENV): Likewise.
10943 (bug-regex35-ENV): Likewise.
10944 (tst-rxspencer-ENV): Likewise.
10945 (tst-rxspencer-no-utf8-ENV): Likewise.
10946 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10947 (tst-sscanf-ENV): Likewise.
10948 (tst-swprintf-ENV): Likewise.
10949 (tst-swscanf-ENV): Likewise.
10950 (test-vfprintf-ENV): Likewise.
10951 (scanf13-ENV): Likewise.
10952 (bug14-ENV): Likewise.
10953 (tst-grouping-ENV): Likewise.
10954 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10955 (tst-strtod3-ENV): Likewise.
10956 (tst-strtod4-ENV): Likewise.
10957 (tst-strtod5-ENV): Likewise.
10958 (testmb2-ENV): Likewise./
10959 * string/Makefile (tst-strxfrm-ENV): Likewise.
10960 (tst-strxfrm2-ENV): Likewise.
10961 (bug-strcoll1-ENV): Likewise.
10962 (test-strcasecmp-ENV): Likewise.
10963 (test-strncasecmp-ENV): Likewise.
10964 * time/Makefile (tst-strptime-ENV): Likewise.
10965 (tst-ftime_l-ENV): Likewise.
10966 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10967 (tst-mbrtowc-ENV): Likewise.
10968 (tst-wcrtomb-ENV): Likewise.
10969 (tst-mbrtowc2-ENV): Likewise.
10970 (tst-c16c32-1-ENV): Likewise.
10971 (tst-mbsnrtowcs-ENV): Likewise.
10973 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10975 * manual/resource.texi (How to get information about the memory
10976 subsystem?): Fix typo.
10977 Reported by Peon de la Parra Ivan <peon@keba.com>
10979 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10982 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10983 (pthread_spin_lock): Branch out of spin loop to proper location.
10984 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10985 (pthread_spin_lock): Likewise.
10987 * nptl/tst-spin4.c: New test.
10988 * nptl/Makefile (tests): Add tst-spin4.
10990 2014-06-03 Andreas Schwab <schwab@suse.de>
10993 * resolv/res_send.c (send_dg): Reload file descriptor after
10996 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10998 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11000 2014-06-03 Richard Henderson <rth@redhat.com>
11002 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11003 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11004 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11005 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11006 in the SAVE_PID block.
11007 (__libc_vfork): New alias.
11008 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11010 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11011 child in registers, not on the stack. Remove RESET_PID conditionals.
11012 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11014 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11016 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11018 2014-06-03 Wilco <wdijkstr@arm.com>
11020 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11021 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11022 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11023 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11024 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11027 2014-06-03 Wilco <wdijkstr@arm.com>
11029 * sysdeps/aarch64/fpu/math_private.h
11030 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11031 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11032 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11033 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11036 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11038 * crypt/crypt-private.h: Include ufc-crypt.h.
11039 (__b64_from_24bit): Declare extern.
11040 * crypt/crypt_util.c(__b64_from_24bit): New function.
11041 (b64t): New static const variable.
11042 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11043 (b64t): Remove variable.
11044 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11045 * crypt/sha256-crypt.c: Include crypt-private.h.
11046 (b64t): Remove variable.
11047 (__sha256_crypt_r): Remove b64_from_24bit and replace
11048 with __b64_from_24bit.
11049 * crypt/sha512-crypt.c: Likewise.
11051 2014-06-02 Roland McGrath <roland@hack.frob.com>
11053 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11054 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11055 Label the code __libc_vfork rather than __vfork.
11056 [!NOT_IN_libc] (vfork): Define as weak alias.
11057 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11058 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11059 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11061 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11063 * malloc/malloc.c (malloc_info): Fix format specifier for
11066 2014-06-02 Wilco <wdijkstr@arm.com>
11068 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11071 2014-06-02 Wilco <wdijkstr@arm.com>
11074 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11075 Rewrite to reduce FPCR/FPSR accesses.
11077 2014-06-01 David S. Miller <davem@davemloft.net>
11079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11081 2014-05-31 David S. Miller <davem@davemloft.net>
11083 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11084 to occur in round to nearest mode when |x| >= 2.0
11086 2014-05-30 Richard Henderson <rth@twiddle.net>
11088 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11089 (PSEUDO_RET_NOERRNO): Remove.
11090 (ret): Don't redefine.
11091 (ret_NOERRNO): Define in terms of ret.
11092 (ret_ERRVAL): Likewise.
11094 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11095 use of PSEUDO_RET; perform the error check directly.
11097 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11099 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11102 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11104 * malloc/malloc (malloc_info): Fix formatting.
11106 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11107 Roland McGrath <roland@hack.frob.com>
11109 * malloc/malloc (malloc_info): Also print mmapped statistics.
11111 2014-05-30 Roland McGrath <roland@hack.frob.com>
11113 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11114 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11116 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11118 * malloc/malloc.c (malloc_info): Inline mi_arena.
11120 2014-05-29 Richard Henderson <rth@twiddle.net>
11122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11123 Remove comma before expanding ASM_ARGS_##nr.
11124 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11125 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11127 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11128 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11129 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11130 (ASM_ARGS_1): Add leading comma.
11132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11133 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11134 to __errno_location.
11135 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11136 Remove the expected plt for __errno_location.
11138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11139 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11143 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11144 it and break it down.
11145 (DOCARGS_0, DOCARGS_1): Do nothing.
11146 (DOCARGS_2): Update to store into the new stack frame.
11147 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11148 (UNDOCARGS_1): Update to restore from the new stack frame.
11149 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11150 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11152 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11153 (SINGLE_THREAD_P): New parameter for result regno.
11154 (PSEUDO): Update to match; use cbz instead of beq.
11156 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11157 Use ENTRY to define the _nocancel entry point. Share the syscall
11158 and syscall error check paths with the cancel path.
11161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11162 whitespace; tabs before and after asm mnemonics.
11164 2014-05-29 Eric Wong <normalperson@yhbt.net>
11167 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11168 Call fstat64 or stat64 internally, depending on arguments passed.
11169 Replace stat buffer argument with file descriptor argument.
11170 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11171 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11172 Pass fd to __internal_statvfs instead of calling fstat64.
11173 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11174 Pass fd to __internal_statvfs64 instead of calling fstat64.
11175 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11176 Pass -1 to __internal_statvfs instead of calling stat64.
11177 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11178 Pass -1 to __internal_statvfs64 instead of calling stat64.
11180 2014-05-28 Roland McGrath <roland@hack.frob.com>
11182 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11183 that was previously under [RESET_PID].
11184 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11186 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11187 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11189 2014-05-27 Roland McGrath <roland@hack.frob.com>
11191 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11193 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11194 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11196 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11198 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11200 2014-05-27 Andreas Schwab <schwab@suse.de>
11202 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11204 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11205 * elf/rtld.c (init_tls, dl_main): Likewise.
11206 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11207 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11208 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11209 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11210 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11211 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11212 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11213 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11214 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11215 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11216 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11217 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11218 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11219 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11220 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11221 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11222 * sysdeps/generic/tls.h: Update description.
11224 2014-05-27 Will Newton <will.newton@linaro.org>
11227 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11228 and restore r2 rather than just restoring.
11230 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11233 * libio/tst-ftell-append.c: New test case.
11234 * libio/Makefile (tests): Add test case.
11235 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11237 * libio/wfileops.c (do_ftell_wide): Likewise.
11239 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11243 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11247 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11248 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11250 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11251 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11252 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11259 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11260 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11261 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11262 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11263 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11265 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11268 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11270 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11272 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11273 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11274 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11277 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11279 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11302 conditional [RESET_PID].
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11311 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11312 (__libc_vfork): New strong alias.
11313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11320 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11321 (__libc_vfork): New strong alias.
11322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11324 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11327 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11329 * malloc/malloc.c (mi_arena): New function.
11330 (malloc_info): Remove nested function mi_arena. Call non-nosted
11333 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11335 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11337 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11338 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11339 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11340 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11342 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11343 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11345 2014-05-26 Andreas Schwab <schwab@suse.de>
11348 * locale/programs/repertoire.c (repertoire_read): Add slash
11349 between I18NPATH element and file name.
11350 * locale/programs/locfile.c (locfile_read): Likewise.
11352 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11354 * nptl/pthread_mutexattr_settype.c
11355 (__pthread_mutexattr_settype):
11356 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11358 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11360 * nptl/tst-mutex5 (do_test):
11361 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11363 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11365 * benchtests/README: Document 'init' directive.
11366 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11368 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11369 (parse_file): Recognize 'init' directive.
11371 2014-05-26 Kyle McMartin <kyle@redhat.com>
11374 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11375 alignment of struct pthread.
11377 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11380 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11381 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11382 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11383 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11385 2014-05-25 Richard Henderson <rth@twiddle.net>
11387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11388 (SINGLE_THREAD_P_PIC): Remove.
11389 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11390 (SINGLE_THREAD_P_PIC): Remove.
11392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11393 branch to syscall error ...
11394 (PSEUDO): ... here.
11395 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11396 from __local_syscall_error to .Lsyscall_error.
11397 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11398 (SYSCALL_ERROR): Update label name.
11400 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11401 Do not use DOARGS/UNDOARGS.
11402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11403 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11404 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11405 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11406 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11408 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11411 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11412 define if !NOT_IN_libc.
11413 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11414 define with non-default symbol versions.
11416 2014-05-23 Richard Henderson <rth@twiddle.net>
11418 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11419 (vfork, __vfork): Define via compat_symbol.
11421 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11422 [!HAVE_IFUNC] (vfork_compat): Remove.
11423 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11425 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11428 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11429 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11432 2014-05-23 Richard Henderson <rth@twiddle.net>
11434 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11435 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11436 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11437 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11439 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11440 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11441 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11442 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11443 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11444 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11445 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11446 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11447 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11448 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11449 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11450 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11451 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11452 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11453 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11454 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11455 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11456 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11457 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11458 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11459 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11460 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11461 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11462 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11463 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11464 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11465 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11466 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11467 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11468 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11469 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11470 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11471 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11472 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11473 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11474 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11475 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11476 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11477 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11478 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11479 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11480 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11481 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11482 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11483 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11484 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11486 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11488 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11490 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11492 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11494 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11496 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11497 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11498 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11499 before exiting on error.
11500 (__libc_vfork): New strong alias.
11501 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11502 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11504 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11505 that was previously under [RESET_PID].
11506 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11508 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11510 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11513 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11514 value when x - 1 is zero.
11515 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11516 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11517 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11518 0.0L for an argument of 1.0L.
11519 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11521 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11522 value when x - 1 is zero.
11523 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11524 * sysdeps/i386/fpu/libm-test-ulps: Update.
11525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11527 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11529 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11530 alphasort and versionsort.
11532 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11534 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11536 [copysignf]: Likewise.
11538 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11540 * crypt/md5-crypt.c: Fix formatting.
11542 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11544 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11545 (b64_from_24bit): New function.
11547 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11549 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11550 libc_hidden_builtin_def to ifunc.
11551 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11552 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11554 2014-05-21 Roland McGrath <roland@hack.frob.com>
11556 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11557 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11559 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11561 * nscd/Depend (linuxthreads): Remove.
11563 * resolv/Depend (linuxthreads): Remove.
11564 * rt/Depend (linuxthreads): Remove.
11566 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11567 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11568 $(common-objpfx)elf/.
11569 (link-libc-before-gnulib): Likewise.
11570 (elfobjdir): Remove variable.
11571 * Makefile (install): Use $(elf-objpfx) instead of
11572 $(common-objpfx)elf/.
11573 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11575 (link-libc-deps): Likewise.
11576 ($(common-objpfx)libc.so): Likewise.
11577 ($(common-objpfx)linkobj/libc.so): Likewise.
11578 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11579 instead of $(common-objpfx)elf/.
11580 (symbolic-link-list): Likewise.
11581 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11582 [$(cross-compiling) = no]: Likewise.
11583 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11585 (static-gnulib-arch): Likewise.
11586 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11587 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11588 $(common-objpfx)elf/.
11590 2014-05-21 Richard Henderson <rth@redhat.com>
11592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11593 (SINGLE_THREAD_P): Use the correct width load. Fold
11594 into the ldr offset.
11596 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11597 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11599 2014-05-20 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11602 (libgcc_s_resume): Use __attribute_used__.
11603 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11606 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11608 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11609 optimization when used with float constants.
11611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11613 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11616 * locale/nl_langinfo_l.c: Make direct reference to every
11617 _nl_current_CATEGORY symbol.
11618 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11619 (tests-static): Add tst-langinfo-static.
11620 (tests-special): Add tst-langinfo-static.out.
11621 ($(objpfx)tst-langinfo.out): Redirect output.
11622 ($(objpfx)tst-langinfo-static.out): New.
11623 * localedata/tst-langinfo.sh: Send output to stdout.
11624 * localedata/tst-langinfo-static.c: New file.
11627 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11628 when the shift amount is modulo the limb size.
11630 2014-05-20 Richard Henderson <rth@redhat.com>
11633 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11634 Change type of sa_flags from unsigned int to int.
11637 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11639 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11641 2014-05-20 Will Newton <will.newton@linaro.org>
11643 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11644 Test the return value of the system call in the nocancel case.
11646 2014-05-20 Will Newton <will.newton@linaro.org>
11647 Yvan Roux <yvan.roux@linaro.org>
11649 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11650 #include of asm/ptrace.h.
11651 (PTRACE_GET_THREAD_AREA): Remove #undef.
11652 (PTRACE_GETHBPREGS): Likewise.
11653 (PTRACE_SETHBPREGS): Likewise.
11654 (struct user_regs_struct): New structure.
11655 (struct user_fpsimd_struct): New structure.
11656 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11657 #include of asm/ptrace.h and second #include of sys/user.h.
11658 (PTRACE_GET_THREAD_AREA): Remove #undef.
11659 (PTRACE_GETHBPREGS): Likewise.
11660 (PTRACE_SETHBPREGS): Likewise.
11661 (ELF_NGREG): Use new struct user_regs_struct.
11662 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11664 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11669 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11673 membar to avoid block loads/stores to overlap previous stores.
11675 2014-05-17 Richard Henderson <rth@redhat.com>
11677 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11678 Create the __##syscall_name##_nocancel entry point.
11679 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11680 Remove; let the sysdep-cancel.h code create it.
11682 2014-05-17 David S. Miller <davem@davemloft.net>
11684 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11685 Protect with __USE_GNU.
11686 (TIOCSET_TEMPT): Likewise.
11687 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11688 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11689 these are already provided in bits/ioctl-types.h
11691 2014-05-16 Roland McGrath <roland@hack.frob.com>
11693 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11694 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11696 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11697 Use wait4 regardless of [__NR_waitpid].
11699 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11702 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11703 (_FP_NANSIGN_Q): Set the quiet bit.
11705 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11707 * benchtests/Makefile
11708 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11709 not $(common-objpfx)math/libm.so.
11710 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11711 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11712 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11713 $(common-objpfx)dlfcn/libdl.so.
11714 ($(objpfx)tst-audit8): Depend on $(libm), not
11715 $(common-objpfx)math/libm.so.
11716 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11717 not $(common-objpfx)dlfcn/libdl.so.
11719 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11720 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11721 [$(build-shared) = yes].
11722 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11723 $(common-objpfx)nptl/libpthread.so.
11724 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11725 $(common-objpfx)math/libm.so$(libm.so-version) or
11726 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11727 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11728 $(common-objpfx)dlfcn/libdl.so.
11729 * setjmp/Makefile (link-libm): Remove variable.
11730 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11731 * stdio-common/Makefile (link-libm): Remove variable.
11732 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11733 * stdlib/Makefile (link-libm): Remove variable.
11734 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11735 ($(objpfx)tst-strtod-round): Likewise.
11736 ($(objpfx)tst-tininess): Likewise.
11737 ($(objpfx)tst-strtod-underflow): Likewise.
11738 ($(objpfx)tst-strtod6): Likewise.
11739 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11740 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11741 $(common-objpfx)dlfcn/libdl.so.
11743 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11745 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11746 BSD terminal modes definitions.
11748 2014-05-16 Roland McGrath <roland@hack.frob.com>
11750 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11751 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11753 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11754 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11755 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11756 Don't do #include_next.
11757 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11758 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11759 Don't do #include_next.
11760 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11761 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11762 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11763 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11765 2014-05-16 Allan McRae <allan@archlinux.org>
11767 * po/sv.po: Update Swedish translation from translation project.
11769 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11772 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11775 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11776 errno if the TIOCGPTN ioctl fails with an error different than
11778 * login/tst-ptsname.c: New file.
11779 * login/Makefile (tests): Add tst-ptsname.
11782 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11785 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11789 herrno to return EAI_AGAIN.
11791 2014-05-14 Roland McGrath <roland@hack.frob.com>
11793 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11794 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11795 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11796 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11797 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11798 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11799 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11800 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11802 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11803 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11804 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11805 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11806 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11807 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11808 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11809 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11810 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11811 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11812 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11813 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11814 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11815 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11816 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11817 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11818 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11819 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11820 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11821 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11822 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11824 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11826 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11829 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11831 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11833 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11835 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11837 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11841 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11843 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11845 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11847 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11849 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11851 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11853 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11855 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11858 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11860 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11862 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11864 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11866 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11868 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11870 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11872 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11874 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11876 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11879 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11881 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11883 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11884 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11885 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11886 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11887 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11889 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11890 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11891 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11892 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11893 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11894 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11895 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11896 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11897 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11898 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11899 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11901 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11903 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11904 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11905 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11906 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11907 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11909 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11910 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11911 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11912 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11913 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11915 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11916 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11918 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11919 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11920 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11921 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11922 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11925 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11928 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11931 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11932 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11934 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11935 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11936 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11939 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11941 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11943 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11944 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11945 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11946 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11948 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11949 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11951 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11953 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11954 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11955 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11956 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11961 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11963 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11964 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11965 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11966 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11967 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11970 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11973 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11976 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11977 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11979 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11980 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11981 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11984 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11985 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11986 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11988 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11989 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11990 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11991 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11993 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11994 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11996 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11998 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11999 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12000 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12001 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12004 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12006 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12008 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12009 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12010 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12011 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12012 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12013 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12014 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12015 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12016 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12017 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12022 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12025 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12026 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12029 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12030 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12031 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12032 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12035 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12036 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12037 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12039 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12040 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12041 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12042 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12044 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12047 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12049 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12050 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12051 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12052 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12053 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12055 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12060 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12061 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12062 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12063 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12064 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12065 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12066 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12067 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12068 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12069 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12071 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12072 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12074 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12075 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12077 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12078 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12079 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12080 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12081 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12082 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12083 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12084 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12085 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12086 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12087 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12088 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12089 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12090 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12091 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12093 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12096 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12098 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12101 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12103 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12105 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12106 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12107 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12108 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12110 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12113 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12119 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12120 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12121 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12122 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12123 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12124 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12125 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12126 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12127 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12128 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12129 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12131 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12132 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12133 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12134 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12135 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12137 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12138 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12139 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12140 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12141 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12142 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12143 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12144 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12145 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12146 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12151 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12152 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12153 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12154 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12155 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12156 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12157 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12158 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12159 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12160 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12161 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12162 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12163 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12164 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12185 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12186 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12187 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12188 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12189 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12190 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12191 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12192 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12193 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12194 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12195 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12196 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12197 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12198 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12199 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12201 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12202 that was previously under [RESET_PID].
12203 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12204 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12205 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12207 * sysdeps/i386/nptl/Implies: New file.
12208 * sysdeps/x86_64/nptl/Implies: New file.
12209 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12210 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12211 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12212 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12214 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12215 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12216 (__libc_vfork): New strong alias.
12217 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12218 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12220 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12221 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12222 (__libc_vfork): New strong alias.
12223 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12224 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12226 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12227 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12228 (__libc_vfork): New strong alias.
12229 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12230 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12231 * nptl/pt-vfork.c: New file.
12232 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12233 (libpthread: GLIBC_2.20): New version set (empty).
12235 2014-05-14 Will Newton <will.newton@linaro.org>
12237 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12240 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12243 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12244 arguments with exponent 65 or above.
12245 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12246 arguments 0x1p113L or above.
12247 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12248 to arguments 0x1p107L or above.
12249 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12250 positive arguments with exponent 65 or above.
12251 * math/auto-libm-test-in: Add more tests of log1p.
12252 * math/auto-libm-test-out: Regenerated.
12255 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12256 non-finite arguments is +0.
12257 * math/s_cacosf.c (__cacosf): Likewise.
12258 * math/s_cacosl.c (__cacosl): Likewise.
12259 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12260 * sysdeps/i386/fpu/libm-test-ulps: Update.
12261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12264 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12266 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12267 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12268 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12269 for explicit high bit of mantissa when testing for argument equal
12271 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12272 * sysdeps/i386/fpu/libm-test-ulps: Update.
12273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12276 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12277 (__erf): Scale by 16 instead of 8 in potentially underflowing
12278 case. Ensure exception if result actually underflows.
12279 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12280 (__erff): Scale by 16 instead of 8 in potentially underflowing
12281 case. Ensure exception if result actually underflows.
12282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12283 (efx8): Remove variable.
12284 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12285 case. Ensure exception if result actually underflows.
12286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12287 (efx8): Remove variable.
12288 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12289 case. Ensure exception if result actually underflows.
12290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12291 (efx8): Remove variable.
12292 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12293 case. Ensure exception if result actually underflows.
12294 * math/auto-libm-test-in: Add more tests of erf.
12295 * math/auto-libm-test-out: Regenerated.
12297 2014-05-14 Andreas Schwab <schwab@suse.de>
12299 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12300 Remove code conditionalized on USE___THREAD.
12302 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12303 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12306 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12309 Define unconditionally.
12310 (__ASSUME_O_CLOEXEC): Likewise.
12311 (__ASSUME_SOCK_CLOEXEC): Likewise.
12312 (__ASSUME_IN_NONBLOCK): Likewise.
12313 (__ASSUME_PIPE2): Likewise.
12314 (__ASSUME_EVENTFD2): Likewise.
12315 (__ASSUME_SIGNALFD4): Likewise.
12316 (__ASSUME_DUP3): Likewise.
12317 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12318 (__ASSUME_DUP3): Do not define.
12319 (__ASSUME_EVENTFD2): Likewise.
12320 (__ASSUME_IN_NONBLOCK): Likewise.
12321 (__ASSUME_O_CLOEXEC): Likewise.
12322 (__ASSUME_PIPE2): Likewise.
12323 (__ASSUME_SIGNALFD4): Likewise.
12324 (__ASSUME_SOCK_CLOEXEC): Likewise.
12325 (__ASSUME_UTIMES): Undefine.
12326 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12327 (__ASSUME_UTIMES): Do not define.
12328 (__ASSUME_O_CLOEXEC): Likewise.
12329 (__ASSUME_SOCK_CLOEXEC): Likewise.
12330 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12331 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12333 (__ASSUME_PIPE2): Likewise.
12334 (__ASSUME_EVENTFD2): Likewise.
12335 (__ASSUME_SIGNALFD4): Likewise.
12336 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12337 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12339 (__ASSUME_EVENTFD2): Likewise.
12340 (__ASSUME_SIGNALFD4): Likewise.
12341 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12342 (__ASSUME_32BITUIDS): Likewise.
12343 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12344 (__ASSUME_IPC64): Likewise.
12345 (__ASSUME_ST_INO_64_BIT): Likewise.
12346 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12347 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12348 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12349 (__ASSUME_UTIMES): Do not define.
12350 (__ASSUME_PSELECT): Likewise.
12351 (__ASSUME_PPOLL): Likewise.
12352 (__ASSUME_O_CLOEXEC): Likewise.
12353 (__ASSUME_SOCK_CLOEXEC): Likewise.
12354 (__ASSUME_IN_NONBLOCK): Likewise.
12355 (__ASSUME_PIPE2): Likewise.
12356 (__ASSUME_EVENTFD2): Likewise.
12357 (__ASSUME_SIGNALFD4): Likewise.
12358 (__ASSUME_DUP3): Likewise.
12359 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12360 (__ASSUME_UTIMES): Likewise.
12361 (__ASSUME_O_CLOEXEC): Likewise.
12362 (__ASSUME_SOCK_CLOEXEC): Likewise.
12363 (__ASSUME_IN_NONBLOCK): Likewise.
12364 (__ASSUME_PIPE2): Likewise.
12365 (__ASSUME_EVENTFD2): Likewise.
12366 (__ASSUME_SIGNALFD4): Likewise.
12367 (__ASSUME_DUP3): Likewise.
12368 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12369 (__ASSUME_UTIMES): Likewise.
12370 (__ASSUME_O_CLOEXEC): Likewise.
12371 (__ASSUME_SOCK_CLOEXEC): Likewise.
12372 (__ASSUME_IN_NONBLOCK): Likewise.
12373 (__ASSUME_PIPE2): Likewise.
12374 (__ASSUME_EVENTFD2): Likewise.
12375 (__ASSUME_SIGNALFD4): Likewise.
12376 (__ASSUME_DUP3): Likewise.
12377 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12379 (__ASSUME_UTIMES): Likewise.
12380 (__ASSUME_EVENTFD2): Likewise.
12381 (__ASSUME_SIGNALFD4): Likewise.
12382 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12383 (__ASSUME_O_CLOEXEC): Likewise.
12384 (__ASSUME_SOCK_CLOEXEC): Likewise.
12385 (__ASSUME_IN_NONBLOCK): Likewise.
12386 (__ASSUME_PIPE2): Likewise.
12387 (__ASSUME_EVENTFD2): Likewise.
12388 (__ASSUME_SIGNALFD4): Likewise.
12389 (__ASSUME_DUP3): Likewise.
12390 (__ASSUME_UTIMES): Undefine.
12392 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12393 feclearexcept. Remove symbol versioning code.
12394 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12395 symbol versioning code.
12396 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12397 symbol versioning code.
12398 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12399 feupdateenv. Remove symbol versioning code.
12400 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12401 fegetexceptflag. Remove symbol versioning code.
12402 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12403 fesetexceptflag. Remove symbol versioning code.
12404 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12405 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12406 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12407 (__posix_fadvise64_l32): Remove prototype.
12408 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12411 2014-05-13 Roland McGrath <roland@hack.frob.com>
12413 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12414 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12415 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12416 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12418 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12420 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12421 current working directory
12423 2014-05-13 Roland McGrath <roland@hack.frob.com>
12425 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12426 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12427 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12428 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12429 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12430 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12431 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12432 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12433 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12434 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12435 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12436 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12437 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12438 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12440 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12441 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12442 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12444 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12445 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12446 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12447 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12448 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12449 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12450 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12451 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12452 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12453 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12454 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12455 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12456 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12457 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12458 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12459 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12460 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12461 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12462 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12463 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12464 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12465 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12466 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12468 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12469 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12471 * sysdeps/unix/sysv/linux/arm/Makefile
12472 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12473 Add rt-aeabi_unwind_cpp_pr1.
12474 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12475 Add nptl-aeabi_unwind_cpp_pr1.
12476 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12477 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12478 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12479 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12480 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12481 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12483 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12484 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12485 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12486 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12488 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12489 Deconditionalize the code that was previously under [RESET_PID].
12490 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12492 * sysdeps/generic/exit-thread.h: New file.
12493 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12494 * include/unistd.h (__exit_thread): Remove declaration.
12495 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12496 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12497 * csu/libc-start.c: Include <exit-thread.h>.
12498 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12499 * nptl/pthread_create.c: Include <exit-thread.h>.
12500 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12501 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12502 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12503 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12504 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12505 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12506 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12507 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12508 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12509 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12510 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12511 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12512 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12513 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12514 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12515 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12516 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12518 2014-05-13 Andreas Schwab <schwab@suse.de>
12520 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12522 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12524 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12525 (__ASSUME_UTIMES): Do not condition on kernel version.
12526 (__ASSUME_PSELECT): Define unconditionally.
12527 (__ASSUME_PPOLL): Likewise.
12528 (__ASSUME_ATFCTS): Likewise.
12529 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12530 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12531 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12532 (__ASSUME_UTIMENSAT): Define unconditionally.
12533 (__ASSUME_PRIVATE_FUTEX): Likewise.
12534 (__ASSUME_FALLOCATE): Likewise.
12535 (__ASSUME_O_CLOEXEC): Likewise.
12536 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12537 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12538 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12539 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12540 (__ASSUME_IN_NONBLOCK): Likewise.
12541 (__ASSUME_PIPE2): Likewise.
12542 (__ASSUME_EVENTFD2): Likewise.
12543 (__ASSUME_SIGNALFD4): Likewise.
12544 (__ASSUME_DUP3): Likewise.
12545 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12546 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12547 (__ASSUME_AT_RANDOM): Likewise.
12548 (__ASSUME_PREADV): Likewise.
12549 (__ASSUME_PWRITEV): Likewise.
12550 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12551 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12552 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12553 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12554 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12556 (__ASSUME_O_CLOEXEC): Define unconditionally.
12557 (__ASSUME_PSELECT): Do not undefine conditionally.
12558 (__ASSUME_PPOLL): Likewise.
12559 (__ASSUME_ATFCTS): Likewise.
12560 (__ASSUME_SET_ROBUST_LIST): Likewise.
12561 (__ASSUME_UTIMENSAT): Likewise.
12562 (__ASSUME_FDATASYNC): Define unconditionally.
12563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12564 (__ASSUME_SIGFRAME_V2): Likewise.
12565 )__ASSUME_EVENTFD2): Likewise.
12566 (__ASSUME_SIGNALFD4): Likewise.
12567 (__ASSUME_PSELECT): Do not undefine conditionally.
12568 (__ASSUME_PPOLL): Likewise.
12569 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12570 (__ASSUME_PSELECT): Define unconditionally.
12571 (__ASSUME_PPOLL): Likewise.
12572 (__ASSUME_O_CLOEXEC): Likewise.
12573 (__ASSUME_SOCK_CLOEXEC): Likewise.
12574 (__ASSUME_IN_NONBLOCK): Likewise.
12575 (__ASSUME_PIPE2): Likewise.
12576 (__ASSUME_EVENTFD2): Likewise.
12577 (__ASSUME_SIGNALFD4): Likewise.
12578 (__ASSUME_DUP3): Likewise.
12579 * sysdeps/unix/sysv/linux/m68k/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 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12588 (__ASSUME_EVENTFD2): Likewise.
12589 (__ASSUME_SIGNALFD4): Likewise.
12590 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12592 2014-05-12 Andreas Schwab <schwab@suse.de>
12595 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12596 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12597 than maximum RPC packet size.
12598 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12599 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12600 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12601 (_nss_nis_getservbyport_r): Likewise.
12603 2014-05-12 Will Newton <will.newton@linaro.org>
12605 * malloc/Makefile (tests): Add tst-mallopt.
12606 * malloc/tst-mallopt.c: New file.
12608 2014-05-09 Roland McGrath <roland@hack.frob.com>
12610 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12611 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12613 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12615 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12616 (tst-tlsmod6.so): Likewise.
12618 2014-05-09 Roland McGrath <roland@hack.frob.com>
12620 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12622 2014-05-09 Joseph Myers <joseph@codesourcery.com>
12625 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12626 and <dl-procinfo.h>.
12627 (__fegetenv): Save SSE state in envp->__eip if supported.
12628 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12629 envp->__eip if supported.
12630 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12631 and <dl-procinfo.h>.
12632 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12633 __data_offset and __data_selector in environment to 0. Set SSE
12634 state if supported.
12635 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12637 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12639 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12641 2014-05-09 Will Newton <will.newton@linaro.org>
12643 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12644 and libc_relro_required for ARM.
12645 * sysdeps/arm/preconfigure: Regenerate.
12647 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12648 Stefan Liebler <stli@linux.vnet.ibm.com>
12650 * config.make.in (enable-lock-elision): New Makefile variable.
12651 * configure.ac: Likewise.
12652 * configure: Regenerate.
12653 * sysdeps/s390/configure.ac:
12654 Add check for gcc transactions support.
12655 * sysdeps/s390/configure: Regenerate.
12656 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12657 Build elision files if enabled.
12658 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12659 Add lock elision support for s390.
12660 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12661 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12662 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12663 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12664 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12665 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12666 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12668 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12670 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12672 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12674 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12675 (__lll_timedlock_elision, __lll_lock_elision)
12676 (__lll_unlock_elision, __lll_trylock_elision)
12677 (lll_timedlock_elision, lll_lock_elision)
12678 (lll_unlock_elision, lll_trylock_elision): Add.
12679 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12680 (pthread_mutex_t): Add lock elision support for s390.
12682 2014-05-14 Wilco <wdijkstr@arm.com>
12684 * sysdeps/arm/fclrexcpt.c: Cleanup.
12685 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12686 * sysdeps/arm/feenablxcpt.c: Cleanup.
12687 * sysdeps/arm/fegetenv.c: Cleanup.
12688 * sysdeps/arm/fegetexcept.c: Cleanup.
12689 * sysdeps/arm/fegetround.c: Cleanup.
12690 * sysdeps/arm/feholdexcpt.c: Cleanup.
12691 * sysdeps/arm/fesetenv.c: Cleanup.
12692 * sysdeps/arm/fesetround.c: Cleanup.
12693 * sysdeps/arm/feupdateenv.c: Cleanup.
12694 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12695 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12696 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12697 * sysdeps/arm/ftestexcept.c: Cleanup.
12698 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12699 * sysdeps/arm/setfpucw.c: Cleanup.
12701 2014-05-09 Will Newton <will.newton@linaro.org>
12703 * sysdeps/arm/armv7/strcmp.S: New file.
12704 * NEWS: Mention addition of ARMv7 optimized strcmp.
12706 2014-05-08 Roland McGrath <roland@hack.frob.com>
12708 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12709 look for %.ac rather than %.in.
12711 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12712 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12713 * sysdeps/mach/hurd/configure: Regenerated.
12714 * sysdeps/unix/sysv/linux/configure: Regenerated.
12716 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12718 2014-05-07 Steve Ellcey <sellcey@mips.com>
12721 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12725 2014-05-07 Andreas Schwab <schwab@suse.de>
12727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12728 when skipping over non-matching result from nscd.
12730 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12733 * nptl/sockperf.c (client): Check socket return value.
12736 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12737 nscd security class.
12739 2014-05-06 Roland McGrath <roland@hack.frob.com>
12741 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12742 * sysdeps/arm/unwind.h: ... here.
12744 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12747 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12750 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12752 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12753 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12754 multiarch strncpy for PPC64.
12755 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12756 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12758 multiarch optimizations.
12759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12760 (__libc_ifunc_impl_list): Likewise.
12761 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12762 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12763 multiarch stpncpy for PPC64.
12764 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12765 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12767 2014-05-06 Andreas Schwab <schwab@suse.de>
12770 * gmon/mcount.c (_MCOUNT_DECL): Use
12771 atomic_compare_and_exchange_bool_acq instead of
12772 catomic_compare_and_exchange_bool_acq.
12774 2014-05-05 Roland McGrath <roland@hack.frob.com>
12776 * elf/Makefile (others, install-bin): Remove pldd.
12777 (pldd-modules): Variable removed.
12778 ($(objpfx)pldd): Target removed.
12779 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12780 (others, install-bin): Append pldd here.
12781 ($(objpfx)pldd): New target.
12783 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12784 to 0, so the first #if test emitted later doesn't see it undefined.
12785 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12786 * sysdeps/gnu/errlist.c: Regenerated.
12788 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12791 [libc_hidden_builtin_def]: Define to empty value.
12792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12793 [libc_hidden_builtin_def]: Likewise.
12794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12795 [libc_hidden_builtin_def]: Likewise.
12796 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12797 [libc_hidden_builtin_def]: Likewise.
12798 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12799 __redirect_memcpy and define ifunc as default hidden symbol.
12800 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12801 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12803 2014-05-04 Adam Conrad <adconrad@0c3.net>
12805 * locale/iso-4217.def: Reintroduce XDR currency.
12807 2014-05-04 Allan McRae <allan@archlinux.org>
12809 * po/eo.po: Update Esperanto translation from translation project.
12811 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12813 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12814 and FEATURE_INDEX_MAX to 1.
12815 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12817 2014-05-01 Steve Ellcey <sellcey@mips.com>
12819 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12820 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12821 * iconvdata/big5.c (ONE_DIRECTION): Define.
12822 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12823 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12824 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12825 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12826 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12827 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12828 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12829 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12830 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12831 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12832 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12833 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12834 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12835 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12836 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12837 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12838 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12839 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12840 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12841 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12842 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12843 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12844 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12845 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12846 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12847 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12848 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12849 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12850 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12851 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12852 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12853 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12854 * iconvdata/johab.c (ONE_DIRECTION): Define.
12855 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12856 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12857 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12858 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12859 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12860 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12861 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12862 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12863 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12864 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12866 2014-05-01 Roland McGrath <roland@hack.frob.com>
12868 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12869 (_IO_JUMPS_OFFSET): Define to 0.
12871 * nptl/sysdeps/pthread/bits/libc-lock.h
12872 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12873 (__libc_lock_define_initialized_recursive): Always define using
12874 initializer. Modern compilers treat uninitialized (implicit zero) and
12875 explicit zero initializers the same (i.e. put the datum in bss).
12877 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12879 * nscd/nscd-client.h: Include <string.h>.
12881 2014-05-01 David S. Miller <davem@davemloft.net>
12884 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12885 multiple zero bytes exist at the end of a string.
12886 Reported by Aurelien Jarno <aurelien@aurel32.net>
12888 * string/test-strcmp.c (check): Add explicit test for situations where
12889 there are multiple zero bytes after the first.
12891 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12894 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12895 when compiling wprintf.
12896 * stdio-common/tstdiomisc.c (t3): New function.
12899 2014-05-01 Steve Ellcey <sellcey@mips.com>
12901 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12902 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12903 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12904 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12906 2014-05-01 Steve Ellcey <sellcey@mips.com>
12908 * stdlib/longlong.h: Updated from GCC.
12910 2014-05-01 Will Newton <will.newton@linaro.org>
12911 Bernard Ogden <bernie.ogden@linaro.org>
12913 * NEWS: Update fixed bug list.
12916 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12918 2014-04-30 David S. Miller <davem@davemloft.net>
12920 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12921 (libc_feholdexcept_setround_sparc_ctx): New function.
12922 (libc_fesetenv_sparc_ctx): Likewise.
12923 (libc_feupdateenv_sparc_ctx): Likewise.
12924 (libc_feholdsetround_sparc_ctx): Likewise.
12925 (libc_feholdexcept_setround_ctx): Define.
12926 (libc_feholdexcept_setroundf_ctx): Likewise.
12927 (libc_feholdexcept_setroundl_ctx): Likewise.
12928 (libc_fesetenv_ctx): Likewise.
12929 (libc_fesetenvf_ctx): Likewise.
12930 (libc_fesetenvl_ctx): Likewise.
12931 (libc_feupdateenv_ctx): Likewise.
12932 (libc_feupdateenvf_ctx): Likewise.
12933 (libc_feupdateenvl_ctx): Likewise.
12934 (libc_feresetround_ctx): Likewise.
12935 (libc_feresetroundf_ctx): Likewise.
12936 (libc_feresetroundl_ctx): Likewise.
12937 (libc_feholdsetround_ctx): Likewise.
12938 (libc_feholdsetroundf_ctx): Likewise.
12939 (libc_feholdsetroundl_ctx): Likewise.
12941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12942 with __USE_GNU instead of XOPEN cpp guards.
12944 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12947 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12948 with XOPEN cpp guards.
12950 2014-04-30 Julian Brown <julian@codesourcery.com>
12953 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12956 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12959 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12961 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12962 * sysdeps/unix/sysv/linux/configure: Regenerated.
12963 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12964 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12965 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12966 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12967 * README: Update reference to required Linux kernel version.
12968 * manual/install.texi (Linux): Update reference to required Linux
12969 kernel headers version.
12970 * INSTALL: Regenerated.
12972 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12974 [POSIX] (limits.h): Likewise.
12975 [POSIX] (math.h): Likewise.
12976 [POSIX] (sys/wait.h): Likewise.
12977 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12979 [POSIX] (stddef.h): Do not allow header inclusion.
12981 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12983 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12985 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12987 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12988 Return immediately after lll_futex_wake.
12990 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12993 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12995 (datahead_init_pos): Call datahead_init_common early.
12996 (datahead_init_neg): Likewise.
12998 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12999 datahead_init_neg): New functions.
13000 * nscd/aicache.c (addhstaiX): Use them.
13001 * nscd/grpcache.c (cache_addgr): Likewise.
13002 * nscd/hstcache.c (cache_addhst): Likewise.
13003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13004 * nscd/netgroupcache.c (do_notfound): Likewise.
13005 (addgetnetgrentX): Likewise.
13006 (addinnetgrX): Likewise.
13007 * nscd/pwdcache.c (cache_addpw): Likewise.
13008 * nscd/servicescache.c (cache_addserv): Likewise.
13010 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13011 Atsushi Onoe <atsushi@onoe.org>
13016 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13017 one response is valid.
13018 * resolv/res_send.c (send_dg): Check for validity of other
13019 response if the current response is a referral.
13021 2014-04-29 Steve Ellcey <sellcey@mips.com>
13023 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13025 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13028 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13029 Always divide by positive zero when computing -Inf result.
13030 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13031 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13033 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13035 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13036 FPSCR if value do not change.
13037 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13038 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13039 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13040 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13041 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13042 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13045 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13047 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13048 * sysdeps/unix/sysv/linux/hppa: Move directory from
13049 ports/systeps/unix/sysv/linux/hppa.
13050 * README: Update listing for hppa-*-linux-gnu.
13052 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13055 * manual/stdio.texi (Hook functions): Fix types of stream hook
13058 * socket/sys/socket.h: Fix typo in comment.
13060 2014-04-28 Wilco <wdijkstr@arm.com>
13062 * sysdeps/arm/fenv_private.h: New file.
13063 * sysdeps/arm/math_private.h: New file.
13064 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13066 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13068 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13070 (La_x86_64_retval): Likewise.
13072 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13074 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13075 fpsr if value didn't change.
13076 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13077 to fpcr if value didn't change.
13078 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13079 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13080 fpsr or fpcr if value didn't change.
13081 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13082 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13083 fpcr if value didn't change.
13084 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13085 to fpsr if value didn't change.
13087 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13089 * nptl/tst-sem3.c: Use test-skeleton.c
13090 (main): Rename to do_test. Use return instead of
13092 * nptl/tst-sem4.c: Use test-skeleton.c
13093 (main): Rename to do_test.
13095 2014-04-22 David S. Miller <davem@davemloft.net>
13097 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13098 (struct sigaction): New struct member __glibc_reserved0, change
13099 type of sa_flags to int.
13101 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13103 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13104 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13106 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13108 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13109 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13111 2014-04-22 Will Newton <will.newton@linaro.org>
13112 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13114 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13115 (__longjmp): Add longjmp and longjmp_target SystemTap
13117 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13118 (__sigsetjmp): Add setjmp SystemTap probe.
13120 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13122 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13123 match manual order.
13125 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13127 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13129 * sysdeps/powerpc/fpu/fenv_private.h
13130 (libc_feholdexcept_setroundl_ctx): Define to
13131 libc_feholdexcept_setround_ppc_ctx.
13132 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13133 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13134 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13135 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13137 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13139 * sysdeps/aarch64/math-tests.h: New file.
13141 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13143 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13146 Check and set bit_AVX2_Usable.
13147 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13149 (bit_AVX2): Likewise.
13150 (index_AVX2_Usable): Likewise.
13151 (CPUID_AVX2): Likewise.
13152 (HAS_AVX2): Likewise.
13154 2014-04-17 Will Newton <will.newton@linaro.org>
13156 * manual/setjmp.texi (System V contexts): Add note that
13157 calling setcontext on a context created by a call to a
13158 signal handler is undefined. Update text to note that
13159 setcontext from a signal handler is possible but not
13163 * stdlib/tst-setcontext.c: Include signal.h.
13164 (main): Check that the signal stack before and
13165 after swapcontext is the same.
13167 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13168 Re-implement to restore registers in user code and avoid
13169 rt_sigreturn system call.
13171 2014-04-17 Wilco <wdijkstr@arm.com>
13173 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13174 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13175 * math/test-fenv.c: Skip exception trap tests on targets which only
13176 support non-stop mode.
13178 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13179 Wilco Dijkstra <wilco.dijkstra@arm.com>
13181 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13182 (libc_feholdsetround_aarch64_ctx)
13183 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13184 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13185 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13186 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13187 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13188 (libc_feresetround_noexl_ctx): Define.
13190 2014-04-16 Richard Henderson <rth@redhat.com>
13192 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13194 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13197 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13198 const from the non-libc, non-ldso copy.
13200 * sysdeps/alpha/libm-test-ulps: Regenerate.
13202 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13203 Wilco Dijkstra <wilco.dijkstra@arm.com>
13205 * sysdeps/aarch64/fpu/math_private.h: New file.
13207 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13209 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13211 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13214 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13215 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13217 Intel MPX bound registers before _dl_profile_fixup.
13218 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13219 registers after _dl_profile_fixup. Save and restore bound
13220 registers bnd0/bnd1 when calling _dl_call_pltexit.
13221 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13222 (LR_BND_OFFSET): Likewise.
13223 (LRV_BND0_OFFSET): Likewise.
13224 (LRV_BND1_OFFSET): Likewise.
13226 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13228 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13230 * sysdeps/mach/hurd/i386/tls.h: ... here.
13231 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13232 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13235 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13237 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13239 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13243 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13246 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13247 * sysdeps/s390/configure: Regenerate.
13250 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13251 Set round-to-nearest internally to reduce error accumulation.
13253 2014-04-16 Alan Modra <amodra@gmail.com>
13257 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13258 * math/libm-test.inc (frexp_test_data): Add tests.
13259 * NEWS: Update fixed bug list.
13261 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13263 * benchtests/Makefile: Depend on libraries in build directory.
13264 (bench-math): Separate out math tests.
13265 (bench-pthread): Separate out pthread tests.
13266 (bench): Include math and pthread tests.
13268 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13271 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13272 _dl_debug_initialize.
13274 * configure.ac: Remove SELinux header check.
13275 * configure: Regenerate.
13276 * nscd/selinux.c (perms): Array of const char* to permission names.
13277 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13278 default policy. Call string_to_security_class and string_to_av_perm to
13279 translate strings. Enforce default policy and call avs_has_perm with
13280 results of translated strings.
13282 2014-04-13 David S. Miller <davem@davemloft.net>
13284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13286 2014-04-12 Allan McRae <allan@archlinux.org>
13289 * manual/string.texi (Collation Functions): Fix qsort argument
13291 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13293 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13295 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13296 Make the test a no-op if there are no exceptions defined.
13298 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13300 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13301 enable-hardcoded-path-in-tests
13303 2014-04-11 Will Newton <will.newton@linaro.org>
13305 * benchtests/Makefile (extra-objs): Add json-lib.o.
13306 (bench-func): Tidy up JSON output.
13307 * benchtests/bench-skeleton.c: Include json-lib.h.
13308 (main): Use JSON library functions to do output of
13310 * benchtests/bench-timing-type.c (main): Output the
13311 timing type simply, leaving formatting to the user.
13312 * benchtests/json-lib.c: New file.
13313 * benchtests/json-lib.h: Likewise.
13315 2014-04-11 Torvald Riegel <triegel@redhat.com>
13318 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13319 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13320 memory barriers. Add comments.
13321 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13322 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13323 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13324 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13325 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13326 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13328 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13330 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13331 * sysdeps/s390/s390-64/configure.ac: ... this ...
13332 * sysdeps/s390/configure.ac: ... to here.
13333 * sysdeps/s390/s390-32/configure: Delete file.
13334 * sysdeps/s390/s390-64/configure: Delete file.
13335 * sysdeps/s390/configure: Regenerate.
13337 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13339 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13341 2014-04-11 Will Newton <will.newton@linaro.org>
13343 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13344 to zero if it is not defined elsewhere. (mtrim): Test
13345 the value of MALLOC_DEBUG with #if rather than #ifdef.
13347 2014-04-10 Torvald Riegel <triegel@redhat.com>
13349 * benchtests/pthread_once-inputs: New file.
13350 * benchtests/pthread_once-source.c: New file.
13351 * benchtests/README: Update documentation.
13353 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13354 H.J. Lu <hongjiu.lu@intel.com>
13357 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13358 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13359 * sysdeps/x86_64/configure: Regenerated.
13360 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13362 (REGISTER_SAVE_RAX): Likewise.
13363 (REGISTER_SAVE_RCX): Likewise.
13364 (REGISTER_SAVE_RDX): Likewise.
13365 (REGISTER_SAVE_RSI): Likewise.
13366 (REGISTER_SAVE_RDI): Likewise.
13367 (REGISTER_SAVE_R8): Likewise.
13368 (REGISTER_SAVE_R9): Likewise.
13369 (REGISTER_SAVE_BND0): Likewise.
13370 (REGISTER_SAVE_BND1): Likewise.
13371 (REGISTER_SAVE_BND2): Likewise.
13372 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13373 bound registers when calling _dl_fixup.
13375 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13377 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13378 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13380 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13381 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13382 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13383 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13384 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13385 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13386 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13388 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13391 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13392 pathconf(_PC_NAME_MAX).
13394 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13396 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13397 Remove macro usage.
13398 (__PTHREAD_SPINS): Move definition to ...
13399 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13400 (__PTHREAD_SPINS): ... here.
13401 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13402 (__PTHREAD_SPIN): Likewise.
13403 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13404 (__PTHREAD_SPIN): Likewise.
13405 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13406 (__PTHREAD_SPIN): Likewise.
13407 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13408 (__PTHREAD_SPIN): Likewise.
13409 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13410 (__PTHREAD_SPIN): Likewise.
13411 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13412 (__PTHREAD_SPIN): Likewise.
13413 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13414 (__PTHREAD_SPIN): Likewise.
13415 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13416 (__PTHREAD_SPIN): Likewise.
13417 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13418 (__PTHREAD_SPIN): Likewise.
13419 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13420 (__PTHREAD_SPIN): Likewise.
13421 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13422 (__PTHREAD_SPIN): Likewise.
13423 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13424 (__PTHREAD_SPIN): Likewise.
13426 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13427 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13428 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13429 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13431 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13432 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13433 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13434 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13435 correct imply path.
13436 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13437 strlen symbol for non multi-arch builds.
13438 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13439 missing hidden_def and weak_alias.
13441 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13443 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13445 2014-04-07 Will Newton <will.newton@linaro.org>
13447 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13448 and contents. [!_LIBC] Remove #ifndef and contents.
13449 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13450 * string/memccpy.c (__memccpy): Use ANSI prototype.
13451 * string/memfrob.c (memfrob): Likewise.
13452 * string/strcoll.c (STRCOLL): Likewise.
13453 * string/strlen.c (strlen): Likewise.
13454 * string/strtok.c (STRTOK): Likewise.
13455 * string/strcat.c: Remove unused #include of memcopy.h.
13456 (strcat): Use ANSI prototype.
13457 * string/strchr.c: Remove unused #include of memcopy.h.
13458 (strchr): Use ANSI prototype.
13459 * string/strcmp.c: Remove unused #include of memcopy.h.
13460 (strcmp): Use ANSI prototype.
13461 * string/strcpy.c: Remove unused #include of memcopy.h.
13462 (strcpy): Use ANSI prototype.
13464 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13466 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13467 * config.make.in (config-extra-cppflags): Set it from
13468 libc_extra_cppflags.
13469 * configure.ac (libc_extra_cflags): Make it accumulate over
13470 configure fragments.
13471 (libc_extra_cppflags): New flag.
13472 * configure. Regenerate.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13474 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13475 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13480 result for FE_DOWNWARD rounding mode.
13481 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13485 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13487 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13488 in function argument name.
13490 2014-04-03 David Svoboda <svoboda@cert.org>
13493 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13496 2014-04-03 Roland McGrath <roland@hack.frob.com>
13498 * elf/dl-unmap-segments.h: New file.
13499 * sysdeps/generic/ldsodefs.h
13500 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13501 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13502 * elf/dl-fptr.c: Likewise.
13503 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13504 * sysdeps/aarch64/tlsdesc.c: Likewise.
13505 * sysdeps/arm/tlsdesc.c: Likewise.
13506 * sysdeps/i386/tlsdesc.c: Likewise.
13507 * sysdeps/tile/dl-runtime.c: Likewise.
13508 * sysdeps/x86_64/tlsdesc.c: Likewise.
13509 * elf/dl-load.h: New file.
13510 * elf/dl-load.c: Include it.
13511 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13512 Macros moved to dl-load.h.
13513 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13514 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13515 Use _dl_unmap_segments in place of __munmap.
13516 Break out segment-mapping loop into ...
13517 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13519 2014-04-03 Will Newton <will.newton@linaro.org>
13521 * elf/dl-lookup.c (do_lookup_x): Remove comment
13522 referring to nested function and move variable
13523 declarations down to before first use.
13525 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13529 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13531 * math/s_catanf.c (__catanf): Likewise.
13532 * math/s_catanh.c (__catanh): Likewise.
13533 * math/s_catanhf.c (__catanhf): Likewise.
13534 * math/s_catanhl.c (__catanhl): Likewise.
13535 * math/s_catanl.c (__catanl): Likewise.
13536 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13537 by positive zero when computing -Inf result.
13538 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13539 (catanh_test): Likewise.
13540 * sysdeps/i386/fpu/libm-test-ulps: Update.
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13544 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13545 instead of using underflowing value in computing result.
13546 * math/s_clog10.c (__clog10): Likewise.
13547 * math/s_clog10f.c (__clog10f): Likewise.
13548 * math/s_clog10l.c (__clog10l): Likewise.
13549 * math/s_clogf.c (__clogf): Likewise.
13550 * math/s_clogl.c (__clogl): Likewise.
13551 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13552 (clog10_test): Likewise.
13553 * sysdeps/i386/fpu/libm-test-ulps: Update.
13554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13556 2014-04-02 Alan Modra <amodra@gmail.com>
13559 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13560 output when value is near a power of two. Use int64_t for lx and
13561 remove casts. Use decimal rather than hex exponent constants.
13562 Don't use long double multiplication when double will suffice.
13563 * math/libm-test.inc (nextafter_test_data): Add tests.
13564 * NEWS: Add 16739 and 16786 to bug list.
13566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13568 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13570 2014-04-01 Will Newton <will.newton@linaro.org>
13572 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13573 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13575 2014-04-01 Florian Weimer <fweimer@redhat.com>
13578 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13579 * nptl/tst-setuid2.c: New file.
13580 * nptl/Makefile (xtests): Add tst-setuid2.
13582 2014-04-01 Alan Modra <amodra@gmail.com>
13585 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13587 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13591 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13592 set errno as appropriate.
13593 * math/w_scalbf.c (__scalbf): Likewise.
13594 * math/w_scalbl.c (__scalbl): Likewise.
13595 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13596 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13597 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13598 Add more NaN tests.
13601 * math/w_atan2.c: Include <errno.h>.
13602 (__atan2): Set errno for result underflowing to zero.
13603 * math/w_atan2f.c: Include <errno.h>.
13604 (__atan2f): Set errno for result underflowing to zero.
13605 * math/w_atan2l.c: Include <errno.h>.
13606 (__atan2l): Set errno for result underflowing to zero.
13607 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13609 * math/auto-libm-test-out: Regenerated.
13611 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13613 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13614 Encode instruction correctly in little endian.
13615 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13617 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13619 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13621 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13624 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13627 * sysdeps/unix/sysv/linux/kernel-features.h
13628 [__sparc__ && !__arch64__ && !__sparc_v9__]
13629 (__ASSUME_SET_ROBUST_LIST): Do not define.
13630 [__sparc__ && !__arch64__ && !__sparc_v9__]
13631 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13632 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13634 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13635 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13636 (__ASSUME_REQUEUE_PI): Likewise.
13637 (__ASSUME_SET_ROBUST_LIST): Likewise.
13638 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13639 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13642 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13644 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13646 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13648 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13649 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13651 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13652 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13656 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13657 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13658 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13660 2014-03-31 Will Newton <will.newton@linaro.org>
13662 * benchtests/Makefile (bench): Add ffs and ffsll to list
13664 * benchtests/ffs-inputs: New file.
13665 * benchtests/ffsll-inputs: Likewise.
13667 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13670 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13671 too large before casting to int.
13672 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13673 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13674 * math/libm-test.inc (scalb_test_data): Add more tests.
13676 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13678 * benchtests/Makefile (DETAILED_OPT): New make option.
13679 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13681 * benchtests/bench-skeleton.c: Include stdbool.h.
13682 (main): Store and print timings per input.
13683 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13684 member to each argument value.
13685 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13686 (_print_arg_data): Initialize per-input timing to 0.
13688 * benchtests/Makefile (timing-type): New binary.
13689 (bench-clean): Also remove bench-timing-type.
13690 (bench): New target for timing-type.
13691 (bench-func): Print output in JSON format.
13692 * benchtests/bench-skeleton.c (main): Print output in JSON
13694 * benchtests/bench-timing-type.c: New file.
13695 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13696 (TIMING_PRINT_STATS): Remove.
13697 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13700 * benchtests/bench-modf.c: Remove.
13701 * benchtests/modf-inputs: New inputs file.
13703 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13706 * math/s_clog10.c (M_PI_LOG10E): New macro.
13707 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13708 imaginary parts are 0.
13709 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13710 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13711 imaginary parts are 0.
13712 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13713 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13714 imaginary parts are 0.
13715 * math/libm-test.inc (clog10_test_data): Update expected results
13716 for when real and imaginary parts are 0.
13718 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13720 * elf/dl-load.c: Finish conversion of __builtin_expect into
13721 __glibc_{un}likely.
13723 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13726 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13727 1+x for argument with exponent below -67.
13728 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13730 * math/auto-libm-test-in: Add more tests of exp.
13731 * math/auto-libm-test-out: Regenerated.
13733 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13736 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13737 (nscd_getnetgrent): Use it.
13740 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13743 2014-03-27 Andi Kleen <ak@linux.intel.com>
13745 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13746 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13747 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13748 (lll_robust_unlock): Remove out of line section. Use cfi
13750 (LLL_STUB_UNWIND_INFO*): Remove.
13751 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13752 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13753 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13754 (lll_robust_unlock): Remove out of line section. Use cfi
13756 (LLL_STUB_UNWIND_INFO*): Remove.
13758 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13761 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13764 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13766 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13768 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13771 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13773 * math/test-fenv-preserve.c: New file.
13774 * math/Makefile (tests): Add test-fenv-preserve.
13776 2014-03-26 Will Newton <will.newton@linaro.org>
13778 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13780 2014-03-25 Roland McGrath <roland@hack.frob.com>
13782 * scripts/versionlist.awk: Partition the version sets and emit all
13783 GLIBC_* (sorted) before all others (sorted).
13785 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13787 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13788 GLIBC_2.2.5 version.
13790 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13792 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13795 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13800 2014-03-25 Andreas Schwab <schwab@suse.de>
13802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13803 label to be used after in6ailist is initialized.
13805 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13808 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13810 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13814 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13816 (fp_formats): Update initializers.
13817 (init_fp_formats): Initialize new field.
13818 (output_for_one_input_case): Allow underflow for results up to
13820 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13821 * math/auto-libm-test-in: Don't mark some underflows from asin and
13823 * math/auto-libm-test-out: Regenerated.
13824 * sysdeps/i386/fpu/libm-test-ulps: Update.
13825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13827 2014-03-25 Andreas Schwab <schwab@suse.de>
13829 * libio/Makefile (tst-ftell-partial-wide-ENV)
13830 (tst-ftell-active-handler-ENV): Define.
13832 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13834 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13836 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13838 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13840 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13842 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13843 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13844 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13846 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13849 * elf/dl-load.c (open_verify): Add mode parameter.
13850 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13851 (open_path): Change from boolean 'secure' to complete flag 'mode'
13852 (_dl_map_object): Adjust.
13853 * elf/Makefile (tests): Add tst-dlopen-aout.
13854 * elf/tst-dlopen-aout.c: New test.
13856 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13859 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13860 (struct stat): Rename member pad0 to __glibc_reserved0.
13863 * sysdeps/s390/s390-32/bits/wordsize.h
13864 (__WORDSIZE32_SIZE_ULONG): New define.
13865 * sysdeps/s390/s390-64/bits/wordsize.h
13866 (__WORDSIZE32_SIZE_ULONG): Likewise.
13867 * sysdeps/generic/stdint.h (SIZE_MAX):
13868 Define as UL if __WORDSIZE32_SIZE_ULONG.
13871 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13872 (__glibc_reserved0): New variable.
13873 (sa_flags): Change type to int.
13875 * posix/Makefile (before-compile): Use += before-compile instead
13878 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13879 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13881 2014-03-20 Andreas Schwab <schwab@suse.de>
13884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13885 non-matching result from nscd.
13887 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13889 * scripts/bench.py: Moved to ...
13890 * benchtests/scripts/bench.py: ... here.
13891 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13893 2014-03-24 Andreas Schwab <schwab@suse.de>
13896 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13897 alloca_account and account alloca use for struct in6ailist.
13899 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13902 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13903 rounding mode to recompute results that overflow to infinity or
13905 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13907 * math/auto-libm-test-out: Regenerated.
13908 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13909 (ccosh_test): Likewise.
13910 (csin_test_data): Use plus_oflow.
13911 (csin_test): Use ALL_RM_TEST.
13912 (csinh_test_data): Use plus_oflow.
13913 (csinh_test): Use ALL_RM_TEST.
13914 * sysdeps/i386/fpu/libm-test-ulps: Update.
13915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13917 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13919 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13920 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13921 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13924 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13925 when x - 1 is zero.
13926 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13927 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13928 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13929 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13931 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13932 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13934 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13935 * sysdeps/i386/fpu/libm-test-ulps: Update.
13936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13938 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13940 * scripts/bench.pl: Remove file.
13941 * scripts/bench.py: New benchmark script.
13942 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13943 * benchtests/README: Mention python dependency.
13944 * scripts/pylintrc: New file.
13945 * scripts/pylint: New file.
13947 * bits/mathdef.h: Use #ifdef instead of #if.
13948 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13949 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13950 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13951 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13952 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13953 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13955 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13956 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13958 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13960 and strpbrk-ppc64 objects.
13961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13962 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13963 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13964 multiarch strpbrk for POWER7.
13965 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13966 multiarch strpbrk for PPC64.
13967 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13969 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13970 strpbrk for POWER7.
13972 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13974 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13975 (atan_test): Likewise.
13976 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13977 (atanh_test): Use ALL_RM_TEST.
13978 (atan2_test_data): Likewise.
13979 (cabs_test): Likewise.
13980 (cacosh_test): Likewise.
13981 (carg_test): Likewise.
13982 (casin_test): Likewise.
13983 (casinh_test): Likewise.
13984 (cbrt_test): Likewise.
13985 (csqrt_test): Likewise.
13986 (erf_test): Likewise.
13987 (erfc_test): Likewise.
13988 (pow10_test): Likewise.
13989 (exp2_test): Likewise.
13990 (hypot_test): Likewise.
13991 (j0_test): Likewise.
13992 (j1_test): Likewise.
13993 (lgamma_test): Likewise.
13994 (gamma_test): Likewise.
13995 (sincos_test): Likewise.
13996 (tanh_test): Likewise.
13997 (y0_test): Likewise.
13998 (y1_test): Likewise.
13999 * sysdeps/i386/fpu/libm-test-ulps: Update.
14000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14002 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14004 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14006 and strcspn-ppc64 objects.
14007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14008 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14009 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14010 multiarch strcspn for POWER7.
14011 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14012 multiarch strcspn for PPC64.
14013 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14015 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14016 strcspn for POWER7.
14018 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14020 * math/gen-libm-test.pl (generate_testfile): Expect only function
14021 name as argument to AUTO_TESTS_* and pass results for all rounding
14022 modes to parse_args.
14023 (parse_auto_input): Separate inputs of automatic tests from
14024 outputs before storing in %auto_tests.
14025 * math/libm-test.inc (acos_test_data): Update call to
14027 (acos_test): Use ALL_RM_TEST.
14028 (acos_tonearest_test_data): Remove.
14029 (acos_test_tonearest): Likewise.
14030 (acos_towardzero_test_data): Likewise.
14031 (acos_test_towardzero): Likewise.
14032 (acos_downward_test_data): Likewise.
14033 (acos_test_downward): Likewise.
14034 (acos_upward_test_data): Likewise.
14035 (acos_test_upward): Likewise.
14036 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14037 (asin_test_data): Likewise.
14038 (asin_test): Use ALL_RM_TEST.
14039 (asin_tonearest_test_data): Remove.
14040 (asin_test_tonearest): Likewise.
14041 (asin_towardzero_test_data): Likewise.
14042 (asin_test_towardzero): Likewise.
14043 (asin_downward_test_data): Likewise.
14044 (asin_test_downward): Likewise.
14045 (asin_upward_test_data): Likewise.
14046 (asin_test_upward): Likewise.
14047 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14048 (atan_test_data): Likewise.
14049 (atanh_test_data): Likewise.
14050 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14051 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14052 (carg_test_data): Likewise.
14053 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14054 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14055 (ccosh_test_data): Likewise.
14056 (cexp_test_data): Likewise.
14057 (clog_test_data): Likewise.
14058 (clog10_test_data): Likewise.
14059 (cos_test_data): Update call to AUTO_TESTS_f_f.
14060 (cos_test): Use ALL_RM_TEST.
14061 (cos_tonearest_test_data): Remove.
14062 (cos_test_tonearest): Likewise.
14063 (cos_towardzero_test_data): Likewise.
14064 (cos_test_towardzero): Likewise.
14065 (cos_downward_test_data): Likewise.
14066 (cos_test_downward): Likewise.
14067 (cos_upward_test_data): Likewise.
14068 (cos_test_upward): Likewise.
14069 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14070 (cosh_test): Use ALL_RM_TEST.
14071 (cosh_tonearest_test_data): Remove.
14072 (cosh_test_tonearest): Likewise.
14073 (cosh_towardzero_test_data): Likewise.
14074 (cosh_test_towardzero): Likewise.
14075 (cosh_downward_test_data): Likewise.
14076 (cosh_test_downward): Likewise.
14077 (cosh_upward_test_data): Likewise.
14078 (cosh_test_upward): Likewise.
14079 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14080 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14081 (ctan_test_data): Likewise.
14082 (ctan_test): Use ALL_RM_TEST.
14083 (ctan_tonearest_test_data): Remove.
14084 (ctan_test_tonearest): Likewise.
14085 (ctan_towardzero_test_data): Likewise.
14086 (ctan_test_towardzero): Likewise.
14087 (ctan_downward_test_data): Likewise.
14088 (ctan_test_downward): Likewise.
14089 (ctan_upward_test_data): Likewise.
14090 (ctan_test_upward): Likewise.
14091 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14092 (ctanh_test): Use ALL_RM_TEST.
14093 (ctanh_tonearest_test_data): Remove.
14094 (ctanh_test_tonearest): Likewise.
14095 (ctanh_towardzero_test_data): Likewise.
14096 (ctanh_test_towardzero): Likewise.
14097 (ctanh_downward_test_data): Likewise.
14098 (ctanh_test_downward): Likewise.
14099 (ctanh_upward_test_data): Likewise.
14100 (ctanh_test_upward): Likewise.
14101 (erf_test_data): Update call to AUTO_TESTS_f_f.
14102 (erfc_test_data): Likewise.
14103 (exp_test_data): Likewise.
14104 (exp_test): Use ALL_RM_TEST.
14105 (exp_tonearest_test_data): Remove.
14106 (exp_test_tonearest): Likewise.
14107 (exp_towardzero_test_data): Likewise.
14108 (exp_test_towardzero): Likewise.
14109 (exp_downward_test_data): Likewise.
14110 (exp_test_downward): Likewise.
14111 (exp_upward_test_data): Likewise.
14112 (exp_test_upward): Likewise.
14113 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14114 (exp10_test): Use ALL_RM_TEST.
14115 (exp10_tonearest_test_data): Remove.
14116 (exp10_test_tonearest): Likewise.
14117 (exp10_towardzero_test_data): Likewise.
14118 (exp10_test_towardzero): Likewise.
14119 (exp10_downward_test_data): Likewise.
14120 (exp10_test_downward): Likewise.
14121 (exp10_upward_test_data): Likewise.
14122 (exp10_test_upward): Likewise.
14123 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14124 (expm1_test_data): Likewise.
14125 (expm1_test): Use ALL_RM_TEST.
14126 (expm1_tonearest_test_data): Remove.
14127 (expm1_test_tonearest): Likewise.
14128 (expm1_towardzero_test_data): Likewise.
14129 (expm1_test_towardzero): Likewise.
14130 (expm1_downward_test_data): Likewise.
14131 (expm1_test_downward): Likewise.
14132 (expm1_upward_test_data): Likewise.
14133 (expm1_test_upward): Likewise.
14134 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14135 (fma_test): Use ALL_RM_TEST.
14136 (fma_towardzero_test_data): Remove.
14137 (fma_test_towardzero): Likewise.
14138 (fma_downward_test_data): Likewise.
14139 (fma_test_downward): Likewise.
14140 (fma_upward_test_data): Likewise.
14141 (fma_test_upward): Likewise.
14142 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14143 (j0_test_data): Update call to AUTO_TESTS_f_f.
14144 (j1_test_data): Likewise.
14145 (jn_test_data): Update call to AUTO_TESTS_if_f.
14146 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14147 (log_test_data): Update call to AUTO_TESTS_f_f.
14148 (log10_test_data): Likewise.
14149 (log1p_test_data): Likewise.
14150 (log2_test_data): Likewise.
14151 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14152 (pow_tonearest_test_data): Likewise.
14153 (sin_test_data): Update call to AUTO_TESTS_f_f.
14154 (sin_test): Use ALL_RM_TEST.
14155 (sin_tonearest_test_data): Remove.
14156 (sin_test_tonearest): Likewise.
14157 (sin_towardzero_test_data): Likewise.
14158 (sin_test_towardzero): Likewise.
14159 (sin_downward_test_data): Likewise.
14160 (sin_test_downward): Likewise.
14161 (sin_upward_test_data): Likewise.
14162 (sin_test_upward): Likewise.
14163 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14164 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14165 (sinh_test): Use ALL_RM_TEST.
14166 (sinh_tonearest_test_data): Remove.
14167 (sinh_test_tonearest): Likewise.
14168 (sinh_towardzero_test_data): Likewise.
14169 (sinh_test_towardzero): Likewise.
14170 (sinh_downward_test_data): Likewise.
14171 (sinh_test_downward): Likewise.
14172 (sinh_upward_test_data): Likewise.
14173 (sinh_test_upward): Likewise.
14174 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14175 (sqrt_test): Use ALL_RM_TEST.
14176 (sqrt_tonearest_test_data): Remove.
14177 (sqrt_test_tonearest): Likewise.
14178 (sqrt_towardzero_test_data): Likewise.
14179 (sqrt_test_towardzero): Likewise.
14180 (sqrt_downward_test_data): Likewise.
14181 (sqrt_test_downward): Likewise.
14182 (sqrt_upward_test_data): Likewise.
14183 (sqrt_test_upward): Likewise.
14184 (tan_test_data): Update call to AUTO_TESTS_f_f.
14185 (tan_test): Use ALL_RM_TEST.
14186 (tan_tonearest_test_data): Remove.
14187 (tan_test_tonearest): Likewise.
14188 (tan_towardzero_test_data): Likewise.
14189 (tan_test_towardzero): Likewise.
14190 (tan_downward_test_data): Likewise.
14191 (tan_test_downward): Likewise.
14192 (tan_upward_test_data): Likewise.
14193 (tan_test_upward): Likewise.
14194 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14195 (tgamma_test_data): Likewise.
14196 (y0_test_data): Likewise.
14197 (y1_test_data): Likewise.
14198 (yn_test_data): Update call to AUTO_TESTS_if_f.
14199 (main): Do not call removed functions.
14201 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14203 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14204 (ldexp_test_data): Remove.
14205 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14207 (scalb_test): Use ALL_RM_TEST.
14209 2014-03-19 Andreas Schwab <schwab@suse.de>
14211 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14213 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14216 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14217 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14218 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14220 (__ASSUME_PREADV): Undefine.
14221 (__ASSUME_PWRITEV): Likewise.
14223 2014-03-18 Roland McGrath <roland@hack.frob.com>
14225 * bits/mman-linux.h: Add comment about non-Linux use.
14226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14227 bits/mman-linux.h resting place.
14229 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14230 * bits/mman-linux.h: ... here.
14232 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14234 * conform/conformtest.pl: Add standard definition when calling C
14235 preprocessor on data files.
14236 (checknamespace): Remove unused variable.
14238 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14240 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14241 minus_oflow, plus_uflow and minus_uflow in expected results.
14242 * math/libm-test.inc (scalbn_test_data): Add more tests of
14243 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14245 (scalbn_test): Use ALL_RM_TEST.
14246 (scalbln_test_data): Add more tests of negative arguments. Use
14247 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14248 (scalbln_test): Use ALL_RM_TEST.
14250 2014-03-18 Roland McGrath <roland@hack.frob.com>
14252 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14254 2014-03-18 Will Newton <will.newton@linaro.org>
14256 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14257 inaccurate comment.
14259 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14261 * Makerules [!subdir] (check-abi): Exit with error status if a
14264 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14266 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14267 for rint. Include results for all rounding modes.
14268 (nearbyint_test): Use ALL_RM_TEST.
14269 (rint_test_data): Include all tests used for nearbyint.
14271 2014-03-17 Will Newton <will.newton@linaro.org>
14273 * nptl/sysdeps/pthread/pthread.h: Revert previous
14276 * sysdeps/generic/ldsodefs.h: Revert previous
14279 * libio/genops.c: Revert previous change.
14280 * libio/libioP.h: Likewise.
14281 * stdio-common/vfprintf.c: Likewise.
14283 * sysdeps/generic/math_private.h: Revert previous
14286 * sysdeps/generic/math_private.h: Check whether
14287 HAVE_RM_CTX is defined with #ifdef rather
14290 * argp/argp-fmtstream.h: Check whether
14291 __STRICT_ANSI__ is defined with #ifdef rather
14293 * argp/argp.h: Likewise.
14295 * libio/genops.c: Check whether
14296 _IO_JUMPS_OFFSET is defined with #ifdef rather
14298 * libio/libioP.h: Likewise.
14299 * stdio-common/vfprintf.c: Likewise.
14301 * sysdeps/generic/ldsodefs.h: Check whether
14302 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14305 * nptl/sysdeps/pthread/pthread.h: Check
14306 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14309 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14311 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14313 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14317 * libio/fileops.c (_IO_file_open): Seek to end of file but
14318 don't cache the offset.
14319 (get_file_offset): Remove function.
14320 (do_ftell): Use cached offset when available.
14321 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14322 don't cache the offset.
14323 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14325 (do_one_test): Call it.
14326 (do_ftell_test): Fix up expected old offset for a+ mode.
14327 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14330 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14331 up test status with function return status.
14332 (do_write_test): Likewise.
14333 (do_append_test): Likewise.
14335 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14336 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14339 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14341 * math/gen-libm-test.pl (parse_args): Handle results specified for
14342 each rounding mode separately.
14343 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14344 tests and results from lrint_tonearest_test_data,
14345 lrint_towardzero_test_data, lrint_downward_test_data and
14346 lrint_upward_test_data.
14347 (lrint_test): Use ALL_RM_TEST.
14348 (lrint_tonearest_test_data): Remove.
14349 (lrint_test_tonearest): Likewise.
14350 (lrint_towardzero_test_data): Likewise.
14351 (lrint_test_towardzero): Likewise.
14352 (lrint_downward_test_data): Likewise.
14353 (lrint_test_downward): Likewise.
14354 (lrint_upward_test_data): Likewise.
14355 (lrint_test_upward): Likewise.
14356 (llrint_test_data): Merge in per-rounding-mode tests and results
14357 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14358 llrint_downward_test_data and llrint_upward_test_data.
14359 (llrint_test): Use ALL_RM_TEST.
14360 (llrint_tonearest_test_data): Remove.
14361 (llrint_test_tonearest): Likewise.
14362 (llrint_towardzero_test_data): Likewise.
14363 (llrint_test_towardzero): Likewise.
14364 (llrint_downward_test_data): Likewise.
14365 (llrint_test_downward): Likewise.
14366 (llrint_upward_test_data): Likewise.
14367 (llrint_test_upward): Likewise.
14368 (rint_test_data): Merge in per-rounding-mode tests and results
14369 from rint_tonearest_test_data, rint_towardzero_test_data,
14370 rint_downward_test_data and rint_upward_test_data. Add
14371 per-rounding-mode results for tests not in those arrays.
14372 (rint_test): Use ALL_RM_TEST.
14373 (rint_tonearest_test_data): Remove.
14374 (rint_test_tonearest): Likewise.
14375 (rint_towardzero_test_data): Likewise.
14376 (rint_test_towardzero): Likewise.
14377 (rint_downward_test_data): Likewise.
14378 (rint_test_downward): Likewise.
14379 (rint_upward_test_data): Likewise.
14380 (rint_test_upward): Likewise.
14381 (main): Don't call removed functions.
14383 2014-03-14 Roland McGrath <roland@hack.frob.com>
14385 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14386 "Compiled on ..." crapola. It is anti-useful.
14388 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14390 * scripts/evaluate-test.sh: Handle fourth argument to determine
14391 whether test run should stop on failure.
14392 * Makeconfig (stop-on-test-failure): New variable.
14393 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14394 $(stop-on-test-failure).
14395 * Makefile (tests): Give a summary of results from testing and
14396 exit with failure status if they include an ERROR or FAIL.
14397 (xtests): Likewise.
14398 * manual/install.texi (Configuring and compiling): Mention
14399 stop-on-test-failure=y.
14400 * INSTALL: Regenerated.
14402 2014-03-14 Roland McGrath <roland@hack.frob.com>
14404 * scripts/versionlist.awk: New file.
14405 * Makerules [$(build-shared) = yes]
14406 (postclean-generated): Add Versions.def, not Versions.def.v and
14408 ($(common-objpfx)Versions.def.v.i): Target removed.
14409 ($(common-objpfx)Versions.def): New target.
14410 ($(common-objpfx)Versions.all): Depend on that rather that
14411 $(common-objpfx)Versions.def.v.
14412 * Versions.def: File removed.
14414 * Makeconfig (+gccwarn): Add -Wundef.
14415 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14416 a dl-sysdep.h breaking its contract.
14417 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14418 * include/stackinfo.h: New file.
14419 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14420 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14421 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14422 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14423 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14424 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14425 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14426 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14427 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14428 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14429 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14430 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14431 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14432 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14433 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14435 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14438 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14440 * math/libm-test.inc (round_test_data): Add more tests.
14443 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14445 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14448 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14450 * math/libm-test.inc (ceil_test_data): Add more tests.
14452 * math/libm-test.inc (trunc_test_data): Add more tests related to
14455 2014-03-14 Roland McGrath <roland@hack.frob.com>
14457 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14458 with #if rather than #ifdef.
14459 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14461 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14463 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14464 first. Disable AVX-512 GCC support if assembler doesn't support
14466 * sysdeps/x86_64/configure: Regenerated.
14468 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14470 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14471 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14472 (__old_pthread_attr_setstack): Likewise.
14473 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14474 [!_STACK_GROWS_DOWN]: Likewise.
14476 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14478 * config.make.in (have-bash2): Delete.
14479 * configure.ac (libc_cv_have_bash2): Delete.
14480 * configure: Regenerate.
14481 * elf/Makefile (common-ldd-rewrite): Rename to ...
14482 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14483 (sh-ldd-rewrite): Delete.
14484 (bash-ldd-rewrite): Delete.
14485 (have-bash2): Delete checks.
14486 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14489 * config.make.in (have-ksh): Delete.
14491 * configure.ac (libc_cv_have_ksh): Delete.
14492 * configure: Regenerate.
14494 * elf/Makefile: Delete $(have-ksh) check.
14495 ($(objpfx)sotruss): Change KSH to BASH.
14496 * elf/sotruss.ksh: Rename to ...
14497 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14498 function style to match POSIX. Drop ksh vim mode setting.
14500 * manual/time.texi (Specifying the Time Zone with TZ): Change
14501 Tuesday to Thursday.
14503 * debug/tst-longjmp_chk2.c: Update header comment.
14504 (stackoverflow_handler): Add comment. Call assert on pass value.
14506 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14509 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14510 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14511 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14512 (La_x86_64_vector): Add zmm.
14513 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14514 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14515 ($(objpfx)tst-audit10): New target.
14516 ($(objpfx)tst-audit10.out): Likewise.
14517 (tst-audit10-ENV): New.
14518 (AVX512-CFLAGS): Likewise.
14519 (CFLAGS-tst-audit10.c): Likewise.
14520 (CFLAGS-tst-auditmod10a.c): Likewise.
14521 (CFLAGS-tst-auditmod10b.c): Likewise.
14522 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14523 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14524 * sysdeps/x86_64/configure: Regenerated.
14525 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14526 AVX-512 zmm register support.
14527 (_dl_x86_64_save_sse): Likewise.
14528 (_dl_x86_64_restore_sse): Likewise.
14529 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14530 size vector registers.
14531 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14532 (ZMM_SIZE): Likewise.
14533 * sysdeps/x86_64/tst-audit10.c: New file.
14534 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14535 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14537 2014-03-13 Roland McGrath <roland@hack.frob.com>
14539 * configure.ac (HAVE_EHDR_START): New check.
14540 * configure: Regenerated.
14541 * config.h.in (HAVE_EHDR_START): New #undef.
14542 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14543 assuming the lowest-addressed segment maps the start of the file.
14545 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14547 * INSTALL: Regenerated.
14549 2014-03-13 Will Newton <will.newton@linaro.org>
14551 * manual/setjmp.texi (System V contexts): Improve
14552 clarity and grammar of documentation.
14554 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14557 * elf/Makefile (tests): Add tst-pie2.
14558 (tests-pie): Add tst-pie2.
14559 * elf/tst-pie2.c: New file.
14560 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14562 * elf/rtld.c (map_doit): Load executable as lt_executable.
14563 (dl_main): Likewise.
14565 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14568 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14569 (__ASSUME_PSELECT): Undefine.
14571 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14574 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14575 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14577 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14578 selector for static builds.
14580 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14583 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14586 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14588 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14589 IFUNC selector for static builds.
14591 2014-03-11 Joseph Myers <joseph@codesourcery.com>
14593 * sysdeps/mips/math_private.h [__mips_hard_float]
14594 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14595 libc_feresetround_mips_ctx.
14596 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14597 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14598 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14601 * math/s_nextafter.c (__nextafter): Do not return value from
14602 overflowing computation.
14603 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14604 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14607 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14609 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14610 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14612 2014-03-11 Roland McGrath <roland@hack.frob.com>
14614 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14615 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14616 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14617 the new mov targetting sp.
14619 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14623 Define it for static builds as well.
14624 (NO_BZERO_IMPL): Likewise.
14626 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14628 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14629 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14630 multiarch strspn for PPC64.
14631 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14632 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14634 (__libc_ifunc_impl_list): Likewise.
14635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14636 multiarch optimizations
14637 * string/strspn.c (strspn): Using macro to redefine symbol name.
14639 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14640 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14642 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14643 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14644 multiarch strncat for PPC64.
14645 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14646 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14648 (__libc_ifunc_impl_list): Likewise.
14649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14650 multiarch optimizations
14652 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14655 * nscd/nscd.service: Make service type forking.
14657 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14659 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14660 sign in non default rounding modes.
14661 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14663 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14665 * math/libm-test.inc (ALL_RM_TEST): New macro.
14666 (ceil_test): Use ALL_RM_TEST.
14667 (cimag_test): Likewise.
14668 (conj_test): Likewise.
14669 (copysign_test): Likewise.
14670 (cproj_test): Likewise.
14671 (creal_test): Likewise.
14672 (fabs_test): Likewise.
14673 (floor_test): Likewise.
14674 (fmax_test): Likewise.
14675 (fmin_test): Likewise.
14676 (fmod_test): Likewise.
14677 (fpclassify_test): Likewise.
14678 (frexp_test): Likewise.
14679 (ilogb_test): Likewise.
14680 (isfinite_test): Likewise.
14681 (finite_test): Likewise.
14682 (isgreater_test): Likewise.
14683 (isgreaterequal_test): Likewise.
14684 (isinf_test): Likewise.
14685 (isless_test): Likewise.
14686 (islessequal_test): Likewise.
14687 (islessgreater_test): Likewise.
14688 (isnan_test): Likewise.
14689 (isnormal_test): Likewise.
14690 (issignaling_test): Likewise.
14691 (isunordered_test): Likewise.
14692 (logb_test): Likewise.
14693 (logb_downward_test_data): Remove.
14694 (logb_test_downward): Likewise.
14695 (lround_test): Use ALL_RM_TEST.
14696 (llround_test): Likewise.
14697 (modf_test): Likewise.
14698 (nexttoward_test): Likewise.
14699 (remainder_test): Likewise.
14700 (drem_test): Likewise.
14701 (remainder_tonearest_test_data): Likewise.
14702 (remainder_test_tonearest): Likewise.
14703 (drem_test_tonearest): Likewise.
14704 (remainder_towardzero_test_data): Likewise.
14705 (remainder_test_towardzero): Likewise.
14706 (drem_test_towardzero): Likewise.
14707 (remainder_downward_test_data): Likewise.
14708 (remainder_test_downward): Likewise.
14709 (drem_test_downward): Likewise.
14710 (remainder_upward_test_data): Likewise.
14711 (remainder_test_upward): Likewise.
14712 (drem_test_upward): Likewise.
14713 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14714 (round_test): Use ALL_RM_TEST.
14715 (signbit_test): Likewise.
14716 (trunc_test): Likewise.
14717 (significand_test): Likewise.
14718 (main): Don't call removed functions.
14720 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14723 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14724 || __USE_XOPEN2K8].
14725 (ILL_ILLOPN): Likewise.
14726 (ILL_ILLADR): Likewise.
14727 (ILL_ILLTRP): Likewise.
14728 (ILL_PRVOPC): Likewise.
14729 (ILL_PRVREG): Likewise.
14730 (ILL_COPROC): Likewise.
14731 (ILL_BADSTK): Likewise.
14732 (FPE_INTDIV): Likewise.
14733 (FPE_INTOVF): Likewise.
14734 (FPE_FLTDIV): Likewise.
14735 (FPE_FLTOVF): Likewise.
14736 (FPE_FLTUND): Likewise.
14737 (FPE_FLTRES): Likewise.
14738 (FPE_FLTINV): Likewise.
14739 (FPE_FLTSUB): Likewise.
14740 (SEGV_MAPERR): Likewise.
14741 (SEGV_ACCERR): Likewise.
14742 (BUS_ADRALN): Likewise.
14743 (BUS_ADRERR): Likewise.
14744 (BUS_OBJERR): Likewise.
14745 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14746 (TRAP_TRACE): Likewise.
14747 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14749 (CLD_KILLED): Likewise.
14750 (CLD_DUMPED): Likewise.
14751 (CLD_TRAPPED): Likewise.
14752 (CLD_STOPPED): Likewise.
14753 (CLD_CONTINUED): Likewise.
14754 (POLL_IN): Likewise.
14755 (POLL_OUT): Likewise.
14756 (POLL_MSG): Likewise.
14757 (POLL_ERR): Likewise.
14758 (POLL_PRI): Likewise.
14759 (POLL_HUP): Likewise.
14760 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14762 (ILL_ILLOPN): Likewise.
14763 (ILL_ILLADR): Likewise.
14764 (ILL_ILLTRP): Likewise.
14765 (ILL_PRVOPC): Likewise.
14766 (ILL_PRVREG): Likewise.
14767 (ILL_COPROC): Likewise.
14768 (ILL_BADSTK): Likewise.
14769 (FPE_INTDIV): Likewise.
14770 (FPE_INTOVF): Likewise.
14771 (FPE_FLTDIV): Likewise.
14772 (FPE_FLTOVF): Likewise.
14773 (FPE_FLTUND): Likewise.
14774 (FPE_FLTRES): Likewise.
14775 (FPE_FLTINV): Likewise.
14776 (FPE_FLTSUB): Likewise.
14777 (SEGV_MAPERR): Likewise.
14778 (SEGV_ACCERR): Likewise.
14779 (BUS_ADRALN): Likewise.
14780 (BUS_ADRERR): Likewise.
14781 (BUS_OBJERR): Likewise.
14782 (BUS_MCEERR_AR): Likewise.
14783 (BUS_MCEERR_AO): Likewise.
14784 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14785 (TRAP_TRACE): Likewise.
14786 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14788 (CLD_KILLED): Likewise.
14789 (CLD_DUMPED): Likewise.
14790 (CLD_TRAPPED): Likewise.
14791 (CLD_STOPPED): Likewise.
14792 (CLD_CONTINUED): Likewise.
14793 (POLL_IN): Likewise.
14794 (POLL_OUT): Likewise.
14795 (POLL_MSG): Likewise.
14796 (POLL_ERR): Likewise.
14797 (POLL_PRI): Likewise.
14798 (POLL_HUP): Likewise.
14799 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14800 (ILL_ILLOPN): Likewise.
14801 (ILL_ILLADR): Likewise.
14802 (ILL_ILLTRP): Likewise.
14803 (ILL_PRVOPC): Likewise.
14804 (ILL_PRVREG): Likewise.
14805 (ILL_COPROC): Likewise.
14806 (ILL_BADSTK): Likewise.
14807 (FPE_INTDIV): Likewise.
14808 (FPE_INTOVF): Likewise.
14809 (FPE_FLTDIV): Likewise.
14810 (FPE_FLTOVF): Likewise.
14811 (FPE_FLTUND): Likewise.
14812 (FPE_FLTRES): Likewise.
14813 (FPE_FLTINV): Likewise.
14814 (FPE_FLTSUB): Likewise.
14815 (SEGV_MAPERR): Likewise.
14816 (SEGV_ACCERR): Likewise.
14817 (BUS_ADRALN): Likewise.
14818 (BUS_ADRERR): Likewise.
14819 (BUS_OBJERR): Likewise.
14820 (BUS_MCEERR_AR): Likewise.
14821 (BUS_MCEERR_AO): Likewise.
14822 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14823 (TRAP_TRACE): Likewise.
14824 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14826 (CLD_KILLED): Likewise.
14827 (CLD_DUMPED): Likewise.
14828 (CLD_TRAPPED): Likewise.
14829 (CLD_STOPPED): Likewise.
14830 (CLD_CONTINUED): Likewise.
14831 (POLL_IN): Likewise.
14832 (POLL_OUT): Likewise.
14833 (POLL_MSG): Likewise.
14834 (POLL_ERR): Likewise.
14835 (POLL_PRI): Likewise.
14836 (POLL_HUP): Likewise.
14837 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14839 (ILL_ILLOPN): Likewise.
14840 (ILL_ILLADR): Likewise.
14841 (ILL_ILLTRP): Likewise.
14842 (ILL_PRVOPC): Likewise.
14843 (ILL_PRVREG): Likewise.
14844 (ILL_COPROC): Likewise.
14845 (ILL_BADSTK): Likewise.
14846 (ILL_BADIADDR): Likewise.
14847 (ILL_BREAK): Likewise.
14848 (FPE_INTDIV): Likewise.
14849 (FPE_INTOVF): Likewise.
14850 (FPE_FLTDIV): Likewise.
14851 (FPE_FLTOVF): Likewise.
14852 (FPE_FLTUND): Likewise.
14853 (FPE_FLTRES): Likewise.
14854 (FPE_FLTINV): Likewise.
14855 (FPE_FLTSUB): Likewise.
14856 (FPE_DECOVF): Likewise.
14857 (FPE_DECDIV): Likewise.
14858 (FPE_DECERR): Likewise.
14859 (FPE_INVASC): Likewise.
14860 (FPE_INVDEC): Likewise.
14861 (SEGV_MAPERR): Likewise.
14862 (SEGV_ACCERR): Likewise.
14863 (SEGV_PSTKOVF): Likewise.
14864 (BUS_ADRALN): Likewise.
14865 (BUS_ADRERR): Likewise.
14866 (BUS_OBJERR): Likewise.
14867 (BUS_MCEERR_AR): Likewise.
14868 (BUS_MCEERR_AO): Likewise.
14869 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14870 (TRAP_TRACE): Likewise.
14871 (TRAP_BRANCH): Likewise.
14872 (TRAP_HWBKPT): Likewise.
14873 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14875 (CLD_KILLED): Likewise.
14876 (CLD_DUMPED): Likewise.
14877 (CLD_TRAPPED): Likewise.
14878 (CLD_STOPPED): Likewise.
14879 (CLD_CONTINUED): Likewise.
14880 (POLL_IN): Likewise.
14881 (POLL_OUT): Likewise.
14882 (POLL_MSG): Likewise.
14883 (POLL_ERR): Likewise.
14884 (POLL_PRI): Likewise.
14885 (POLL_HUP): Likewise.
14886 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14887 (ILL_ILLOPN): Likewise.
14888 (ILL_ILLADR): Likewise.
14889 (ILL_ILLTRP): Likewise.
14890 (ILL_PRVOPC): Likewise.
14891 (ILL_PRVREG): Likewise.
14892 (ILL_COPROC): Likewise.
14893 (ILL_BADSTK): Likewise.
14894 (FPE_INTDIV): Likewise.
14895 (FPE_INTOVF): Likewise.
14896 (FPE_FLTDIV): Likewise.
14897 (FPE_FLTOVF): Likewise.
14898 (FPE_FLTUND): Likewise.
14899 (FPE_FLTRES): Likewise.
14900 (FPE_FLTINV): Likewise.
14901 (FPE_FLTSUB): Likewise.
14902 (SEGV_MAPERR): Likewise.
14903 (SEGV_ACCERR): Likewise.
14904 (BUS_ADRALN): Likewise.
14905 (BUS_ADRERR): Likewise.
14906 (BUS_OBJERR): Likewise.
14907 (BUS_MCEERR_AR): Likewise.
14908 (BUS_MCEERR_AO): Likewise.
14909 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14910 (TRAP_TRACE): Likewise.
14911 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14913 (CLD_KILLED): Likewise.
14914 (CLD_DUMPED): Likewise.
14915 (CLD_TRAPPED): Likewise.
14916 (CLD_STOPPED): Likewise.
14917 (CLD_CONTINUED): Likewise.
14918 (POLL_IN): Likewise.
14919 (POLL_OUT): Likewise.
14920 (POLL_MSG): Likewise.
14921 (POLL_ERR): Likewise.
14922 (POLL_PRI): Likewise.
14923 (POLL_HUP): Likewise.
14924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14925 (ILL_ILLOPN): Likewise.
14926 (ILL_ILLADR): Likewise.
14927 (ILL_ILLTRP): Likewise.
14928 (ILL_PRVOPC): Likewise.
14929 (ILL_PRVREG): Likewise.
14930 (ILL_COPROC): Likewise.
14931 (ILL_BADSTK): Likewise.
14932 (FPE_INTDIV): Likewise.
14933 (FPE_INTOVF): Likewise.
14934 (FPE_FLTDIV): Likewise.
14935 (FPE_FLTOVF): Likewise.
14936 (FPE_FLTUND): Likewise.
14937 (FPE_FLTRES): Likewise.
14938 (FPE_FLTINV): Likewise.
14939 (FPE_FLTSUB): Likewise.
14940 (SEGV_MAPERR): Likewise.
14941 (SEGV_ACCERR): Likewise.
14942 (BUS_ADRALN): Likewise.
14943 (BUS_ADRERR): Likewise.
14944 (BUS_OBJERR): Likewise.
14945 (BUS_MCEERR_AR): Likewise.
14946 (BUS_MCEERR_AO): Likewise.
14947 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14948 (TRAP_TRACE): Likewise.
14949 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14951 (CLD_KILLED): Likewise.
14952 (CLD_DUMPED): Likewise.
14953 (CLD_TRAPPED): Likewise.
14954 (CLD_STOPPED): Likewise.
14955 (CLD_CONTINUED): Likewise.
14956 (POLL_IN): Likewise.
14957 (POLL_OUT): Likewise.
14958 (POLL_MSG): Likewise.
14959 (POLL_ERR): Likewise.
14960 (POLL_PRI): Likewise.
14961 (POLL_HUP): Likewise.
14962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14963 (ILL_ILLOPN): Likewise.
14964 (ILL_ILLADR): Likewise.
14965 (ILL_ILLTRP): Likewise.
14966 (ILL_PRVOPC): Likewise.
14967 (ILL_PRVREG): Likewise.
14968 (ILL_COPROC): Likewise.
14969 (ILL_BADSTK): Likewise.
14970 (FPE_INTDIV): Likewise.
14971 (FPE_INTOVF): Likewise.
14972 (FPE_FLTDIV): Likewise.
14973 (FPE_FLTOVF): Likewise.
14974 (FPE_FLTUND): Likewise.
14975 (FPE_FLTRES): Likewise.
14976 (FPE_FLTINV): Likewise.
14977 (FPE_FLTSUB): Likewise.
14978 (SEGV_MAPERR): Likewise.
14979 (SEGV_ACCERR): Likewise.
14980 (BUS_ADRALN): Likewise.
14981 (BUS_ADRERR): Likewise.
14982 (BUS_OBJERR): Likewise.
14983 (BUS_MCEERR_AR): Likewise.
14984 (BUS_MCEERR_AO): Likewise.
14985 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14986 (TRAP_TRACE): Likewise.
14987 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14989 (CLD_KILLED): Likewise.
14990 (CLD_DUMPED): Likewise.
14991 (CLD_TRAPPED): Likewise.
14992 (CLD_STOPPED): Likewise.
14993 (CLD_CONTINUED): Likewise.
14994 (POLL_IN): Likewise.
14995 (POLL_OUT): Likewise.
14996 (POLL_MSG): Likewise.
14997 (POLL_ERR): Likewise.
14998 (POLL_PRI): Likewise.
14999 (POLL_HUP): Likewise.
15000 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15001 (ILL_ILLOPN): Likewise.
15002 (ILL_ILLADR): Likewise.
15003 (ILL_ILLTRP): Likewise.
15004 (ILL_PRVOPC): Likewise.
15005 (ILL_PRVREG): Likewise.
15006 (ILL_COPROC): Likewise.
15007 (ILL_BADSTK): Likewise.
15008 (ILL_DBLFLT): Likewise.
15009 (ILL_HARDWALL): Likewise.
15010 (FPE_INTDIV): Likewise.
15011 (FPE_INTOVF): Likewise.
15012 (FPE_FLTDIV): Likewise.
15013 (FPE_FLTOVF): Likewise.
15014 (FPE_FLTUND): Likewise.
15015 (FPE_FLTRES): Likewise.
15016 (FPE_FLTINV): Likewise.
15017 (FPE_FLTSUB): Likewise.
15018 (SEGV_MAPERR): Likewise.
15019 (SEGV_ACCERR): Likewise.
15020 (BUS_ADRALN): Likewise.
15021 (BUS_ADRERR): Likewise.
15022 (BUS_OBJERR): Likewise.
15023 (BUS_MCEERR_AR): Likewise.
15024 (BUS_MCEERR_AO): Likewise.
15025 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15026 (TRAP_TRACE): Likewise.
15027 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15029 (CLD_KILLED): Likewise.
15030 (CLD_DUMPED): Likewise.
15031 (CLD_TRAPPED): Likewise.
15032 (CLD_STOPPED): Likewise.
15033 (CLD_CONTINUED): Likewise.
15034 (POLL_IN): Likewise.
15035 (POLL_OUT): Likewise.
15036 (POLL_MSG): Likewise.
15037 (POLL_ERR): Likewise.
15038 (POLL_PRI): Likewise.
15039 (POLL_HUP): Likewise.
15040 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15041 (ILL_ILLOPN): Likewise.
15042 (ILL_ILLADR): Likewise.
15043 (ILL_ILLTRP): Likewise.
15044 (ILL_PRVOPC): Likewise.
15045 (ILL_PRVREG): Likewise.
15046 (ILL_COPROC): Likewise.
15047 (ILL_BADSTK): Likewise.
15048 (FPE_INTDIV): Likewise.
15049 (FPE_INTOVF): Likewise.
15050 (FPE_FLTDIV): Likewise.
15051 (FPE_FLTOVF): Likewise.
15052 (FPE_FLTUND): Likewise.
15053 (FPE_FLTRES): Likewise.
15054 (FPE_FLTINV): Likewise.
15055 (FPE_FLTSUB): Likewise.
15056 (SEGV_MAPERR): Likewise.
15057 (SEGV_ACCERR): Likewise.
15058 (BUS_ADRALN): Likewise.
15059 (BUS_ADRERR): Likewise.
15060 (BUS_OBJERR): Likewise.
15061 (BUS_MCEERR_AR): Likewise.
15062 (BUS_MCEERR_AO): Likewise.
15063 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15064 (TRAP_TRACE): Likewise.
15065 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15067 (CLD_KILLED): Likewise.
15068 (CLD_DUMPED): Likewise.
15069 (CLD_TRAPPED): Likewise.
15070 (CLD_STOPPED): Likewise.
15071 (CLD_CONTINUED): Likewise.
15072 (POLL_IN): Likewise.
15073 (POLL_OUT): Likewise.
15074 (POLL_MSG): Likewise.
15075 (POLL_ERR): Likewise.
15076 (POLL_PRI): Likewise.
15077 (POLL_HUP): Likewise.
15078 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15079 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15082 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15083 before #include of <time.h>.
15084 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15085 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15086 (test-xfail-UNIX98/sched.h/conform): Likewise.
15088 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15090 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15091 error absence of trapping exception support.
15092 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15094 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15096 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15097 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15098 * timezone/Makefile (testdata): Move definition above include of
15100 (test-zones): New variable.
15101 (tests-special): Add zone files.
15102 (build-testdata): Use $(evaluate-test).
15104 * elf/Makefile (tests-special): Rename tests to end with .out.
15105 ($(objpfx)noload-mem): Likewise.
15106 ($(objpfx)tst-leaks1-mem): Likewise.
15107 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15108 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15109 $(objpfx)test-iconvconfig.out.
15110 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15111 set -e inside subshell and redirect output to file.
15112 * iconvdata/Makefile (generated): Rename tests to end with .out.
15114 (tests-special): Rename tests to end with .out.
15115 ($(objpfx)mtrace-tst-loading): Likewise.
15116 * intl/Makefile (generated): Likewise.
15117 (tests-special): Likewise.
15118 ($(objpfx)mtrace-tst-gettext): Likewise.
15119 * misc/Makefile (generated): Likewise.
15120 (tests-special): Likewise.
15121 ($(objpfx)tst-error1-mem): Likewise.
15122 * nptl/Makefile (tests-special): Likewise.
15123 ($(objpfx)tst-stack3-mem): Likewise.
15124 (generated): Likewise.
15125 * posix/Makefile (generated): Likewise.
15126 (tests-special): Likewise.
15127 (xtests-special): Likewise.
15128 ($(objpfx)tst-fnmatch-mem): Likewise.
15129 ($(objpfx)bug-regex2-mem): Likewise.
15130 ($(objpfx)bug-regex14-mem): Likewise.
15131 ($(objpfx)bug-regex21-mem): Likewise.
15132 ($(objpfx)bug-regex31-mem): Likewise.
15133 ($(objpfx)tst-vfork3-mem): Likewise.
15134 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15135 ($(objpfx)tst-pcre-mem): Likewise.
15136 ($(objpfx)tst-boost-mem): Likewise.
15137 ($(objpfx)bug-ga2-mem): Likewise.
15138 ($(objpfx)bug-glob2-mem): Likewise.
15139 * resolv/Makefile (generate): Likewise.
15140 (tests-special): Likewise.
15141 (xtests-special): Likewise.
15142 (generated): Likewise.
15143 ($(objpfx)mtrace-tst-leaks): Likewise.
15144 ($(objpfx)mtrace-tst-leaks2): Likewise.
15146 * scripts/merge-test-results.sh: New file.
15147 * Makefile (tests-special-notdir): New variable.
15148 (tests): Run merge-test-results.sh.
15149 (xtests): Likewise.
15150 * Rules (tests-special-notdir): New variable.
15151 (xtests-special-notdir): Likewise.
15152 (tests): Run merge-test-results.sh
15153 (xtests): Likewise.
15155 * Makeconfig (test-xfail-name): New variable.
15156 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15157 compute variable name for expected failures.
15158 * conform/Makefile (conformtest-headers-data): New variable.
15159 (conformtest-standards): Likewise.
15160 (conformtest-headers-ISO): Likewise.
15161 (conformtest-headers-ISO99): Likewise.
15162 (conformtest-headers-ISO11): Likewise.
15163 (conformtest-headers-POSIX): Likewise.
15164 (conformtest-headers-XPG3): Likewise.
15165 (conformtest-headers-XPG4): Likewise.
15166 (conformtest-headers-UNIX98): Likewise.
15167 (conformtest-headers-XOPEN2K): Likewise.
15168 (conformtest-headers-POSIX2008): Likewise.
15169 (conformtest-headers-XOPEN2K8): Likewise.
15170 (conformtest-header-list-base): Likewise.
15171 (conformtest-header-list-tests): Likewise.
15172 (conformtest-header-base): Likewise.
15173 (conformtest-header-tests): Likewise.
15174 (tests-special): Add $(conformtest-header-list-tests). If
15175 [$(fast-check) && !$(cross-compiling)], add
15176 $(conformtest-header-tests) instead of
15177 $(objpfx)run-conformtest.out.
15178 (generated): Add $(conformtest-header-list-base). If
15179 [$(fast-check) && !$(cross-compiling)], add
15180 $(conformtest-header-base). Remove previous setting.
15181 ($(conformtest-header-list-tests)): New target.
15182 (test-xfail-run-conformtest): Remove variable.
15183 ($(objpfx)run-conformtest.out): Remove target.
15184 (test-xfail-ISO11/complex.h/conform): New variable.
15185 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15186 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15187 (test-xfail-XPG3/varargs.h/conform): Likewise.
15188 (test-xfail-XPG4/varargs.h/conform): Likewise.
15189 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15190 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15191 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15192 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15193 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15194 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15195 (test-xfail-XPG3/ftw.h/conform): Likewise.
15196 (test-xfail-XPG3/grp.h/conform): Likewise.
15197 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15198 (test-xfail-XPG3/limits.h/conform): Likewise.
15199 (test-xfail-XPG3/pwd.h/conform): Likewise.
15200 (test-xfail-XPG3/search.h/conform): Likewise.
15201 (test-xfail-XPG3/signal.h/conform): Likewise.
15202 (test-xfail-XPG3/stdio.h/conform): Likewise.
15203 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15204 (test-xfail-XPG3/string.h/conform): Likewise.
15205 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15206 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15207 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15208 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15209 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15210 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15211 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15212 (test-xfail-XPG3/termios.h/conform): Likewise.
15213 (test-xfail-XPG3/time.h/conform): Likewise.
15214 (test-xfail-XPG3/unistd.h/conform): Likewise.
15215 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15216 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15217 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15218 (test-xfail-XPG4/netdb.h/conform): Likewise.
15219 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15220 (test-xfail-XPG4/signal.h/conform): Likewise.
15221 (test-xfail-XPG4/stdio.h/conform): Likewise.
15222 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15223 (test-xfail-XPG4/stropts.h/conform): Likewise.
15224 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15225 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15226 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15227 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15228 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15229 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15230 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15231 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15232 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15233 (test-xfail-XPG4/termios.h/conform): Likewise.
15234 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15235 (test-xfail-XPG4/unistd.h/conform): Likewise.
15236 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15237 (test-xfail-POSIX/sched.h/conform): Likewise.
15238 (test-xfail-POSIX/signal.h/conform): Likewise.
15239 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15240 (test-xfail-POSIX/tar.h/conform): Likewise.
15241 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15242 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15243 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15244 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15245 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15246 (test-xfail-UNIX98/sched.h/conform): Likewise.
15247 (test-xfail-UNIX98/signal.h/conform): Likewise.
15248 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15249 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15250 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15251 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15252 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15253 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15254 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15255 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15256 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15257 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15258 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15259 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15260 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15261 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15262 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15263 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15264 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15265 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15266 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15267 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15268 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15269 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15270 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15271 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15272 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15273 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15274 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15275 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15276 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15277 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15278 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15279 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15280 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15281 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15282 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15283 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15284 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15285 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15286 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15287 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15288 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15289 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15290 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15291 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15292 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15293 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15294 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15295 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15296 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15297 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15298 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15299 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15300 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15301 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15302 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15303 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15304 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15305 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15306 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15307 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15308 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15309 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15310 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15311 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15312 (conformtest-cc-flags): Likewise.
15313 ($(conformtest-header-tests): New target.
15314 * conform/check-header-lists.sh: New file.
15315 * conform/run-conformtest.sh: Remove.
15317 * conform/conformtest.pl: Allow ' and \ in values given for
15319 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15321 [POSIX] (sys/types.h): Likewise.
15322 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15324 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15326 * conform/data/signal.h-data (SIGIO): Remove expectation.
15327 [XPG3] (SIGBUS): Do not expect.
15328 [POSIX || XPG3] (SIGPOLL): Likewise.
15329 [POSIX || XPG3] (SIGPROF): Likewise.
15330 [POSIX || XPG3] (SIGSYS): Likewise.
15331 [XPG3] (SIGTRAP): Likewise.
15332 [POSIX || XPG3] (SIGURG): Likewise.
15333 [POSIX || XPG3] (SIGVTALRM): Likewise.
15334 [POSIX || XPG3] (SIGXCPU): Likewise.
15335 [POSIX || XPG3] (SIGXFSZ): Likewise.
15336 [POSIX] (SA_SIGINFO): Expect.
15337 [XPG3] (siginfo_t): Do not expect type or contents.
15338 [POSIX] (si_pid): Do not expect element.
15339 [POSIX] (si_uid): Likewise.
15340 [POSIX] (si_addr): Likewise.
15341 [POSIX] (si_status): Likewise.
15342 [POSIX] (si_band): Likewise.
15343 [XPG4] (si_value): Likewise.
15344 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15345 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15346 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15347 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15348 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15349 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15350 [POSIX || XPG3] (ILL_COPROC): Likewise.
15351 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15352 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15353 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15354 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15355 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15356 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15357 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15358 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15359 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15360 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15361 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15362 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15363 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15364 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15365 [POSIX || XPG3] (CLD_EXITED): Likewise.
15366 [POSIX || XPG3] (CLD_KILLED): Likewise.
15367 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15368 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15369 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15370 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15371 [POSIX || XPG3] (POLL_IN): Likewise.
15372 [POSIX || XPG3] (POLL_OUT): Likewise.
15373 [POSIX || XPG3] (POLL_MSG): Likewise.
15374 [POSIX || XPG3] (POLL_ERR): Likewise.
15375 [POSIX || XPG3] (POLL_PRI): Likewise.
15376 [POSIX || XPG3] (POLL_HUP): Likewise.
15377 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15378 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15379 (SIG*): Do not allow.
15380 [XPG3] (si_*): Likewise.
15381 [XPG3] (SI_*): Likewise.
15382 [XPG3 || XPG4] (sigev_*): Likewise.
15383 [XPG3 || XPG4] (SIGEV_*): Likewise.
15384 [XPG3 || XPG4] (sival_*): Likewise.
15385 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15386 [POSIX || XPG3] (BUS_*): Likewise.
15387 [POSIX || XPG3] (CLD_*): Likewise.
15388 [POSIX || XPG3] (FPE_*): Likewise.
15389 [POSIX || XPG3] (ILL_*): Likewise.
15390 [POSIX || XPG3] (POLL_*): Likewise.
15391 [POSIX || XPG3] (SEGV_*): Likewise.
15392 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15393 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15394 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15395 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15396 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15397 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15398 Specify type and value.
15399 (TVERSLEN): Likewise.
15400 (REGTYPE): Likewise.
15401 (AREGTYPE): Likewise.
15402 (LNKTYPE): Likewise.
15403 (SYMTYPE): Likewise.
15404 (CHRTYPE): Likewise.
15405 (BLKTYPE): Likewise.
15406 (DIRTYPE): Likewise.
15407 (FIFOTYPE): Likewise.
15408 (CONTTYPE): Likewise.
15412 (TUREAD): Likewise.
15413 (TUWRITE): Likewise.
15414 (TUEXEC): Likewise.
15415 (TGREAD): Likewise.
15416 (TGWRITE): Likewise.
15417 (TGEXEC): Likewise.
15418 (TOREAD): Likewise.
15419 (TOWRITE): Likewise.
15420 (TOEXEC): Likewise.
15421 [POSIX] (TSVTX): Expect constant.
15423 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15425 * Makefile (tests): Change dependencies to ....
15426 (tests-special): ... additions to this variable.
15427 (tests): Depend on $(tests-special).
15428 * Makerules (check-abi-list): New variable.
15429 (check-abi): Depend on $(check-abi-list).
15430 [$(subdir) = elf] (tests-special): Add
15431 $(objpfx)check-abi-libc.out.
15432 [$(build-shared) = yes && subdir] (tests-special): Add
15434 [$(build-shared) = yes && subdir] (tests): Do not depend on
15436 * Rules (tests): Depend on $(tests-special).
15437 (xtests): Depend on $(xtests-special).
15438 * catgets/Makefile (tests): Change dependencies to ....
15439 (tests-special): ... additions to this variable.
15440 * conform/Makefile (tests): Change dependencies to ....
15441 (tests-special): ... additions to this variable.
15442 * elf/Makefile (tests): Change dependencies to ....
15443 (tests-special): ... additions to this variable.
15444 * grp/Makefile (tests): Change dependencies to ....
15445 (tests-special): ... additions to this variable.
15446 * iconv/Makefile (xtests): Change dependencies to ....
15447 (xtests-special): ... additions to this variable.
15448 * iconvdata/Makefile (tests): Change dependencies to ....
15449 (tests-special): ... additions to this variable.
15450 * intl/Makefile (tests): Change dependencies to ....
15451 (tests-special): ... additions to this variable. Also add
15452 $(objpfx)tst-gettext.out.
15453 * io/Makefile (tests): Change dependencies to ....
15454 (tests-special): ... additions to this variable.
15455 * libio/Makefile (tests): Change dependencies to ....
15456 (tests-special): ... additions to this variable.
15457 * malloc/Makefile (tests): Change dependencies to ....
15458 (tests-special): ... additions to this variable.
15459 * misc/Makefile (tests): Change dependencies to ....
15460 (tests-special): ... additions to this variable.
15461 * nptl/Makefile (tests): Change dependencies to ....
15462 (tests-special): ... additions to this variable.
15463 * nptl_db/Makefile (tests): Change dependencies to ....
15464 (tests-special): ... additions to this variable.
15465 * posix/Makefile (tests): Change dependencies to ....
15466 (tests-special): ... additions to this variable.
15467 (xtests): Change dependencies to ....
15468 (xtests-special): ... additions to this variable.
15469 * resolv/Makefile (tests): Change dependencies to ....
15470 (tests-special): ... additions to this variable.
15471 (xtests): Change dependencies to ....
15472 (xtests-special): ... additions to this variable.
15473 * stdio-common/Makefile (tests): Change dependencies to ....
15474 (tests-special): ... additions to this variable.
15475 (do-tst-unbputc): Remove target.
15476 (do-tst-printf): Likewise.
15477 * stdlib/Makefile (tests): Change dependencies to ....
15478 (tests-special): ... additions to this variable.
15479 * string/Makefile (tests): Change dependencies to ....
15480 (tests-special): ... additions to this variable.
15481 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15482 (tests-special): ... additions to this variable.
15484 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15486 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15488 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15489 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15491 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15492 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15493 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15494 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15495 * conform/data/libgen.h-data [XPG3]: Likewise.
15496 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15497 * conform/data/ndbm.h-data [XPG3]: Likewise.
15498 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15499 * conform/data/netdb.h-data [XPG3]: Likewise.
15500 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15501 * conform/data/poll.h-data [XPG3]: Likewise.
15502 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15503 * conform/data/strings.h-data [XPG3]: Likewise.
15504 * conform/data/stropts.h-data [XPG3]: Likewise.
15505 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15506 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15507 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15509 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15510 * conform/data/sys/time.h-data [XPG3]: Likewise.
15511 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15512 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15513 * conform/data/sys/un.h-data [XPG3]: Likewise.
15514 * conform/data/syslog.h-data [XPG3]: Likewise.
15515 * conform/data/ucontext.h-data [XPG3]: Likewise.
15516 * conform/data/utmpx.h-data [XPG3]: Likewise.
15517 * conform/data/varargs.h-data [UNIX98]: Enable file.
15519 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15521 * math/libm-test.inc (struct test_f_f_data): Move expected results
15522 into structure for each rounding mode.
15523 (struct test_ff_f_data): Likewise.
15524 (struct test_ff_f_data_nexttoward): Likewise.
15525 (struct test_fi_f_data): Likewise.
15526 (struct test_fl_f_data): Likewise.
15527 (struct test_if_f_data): Likewise.
15528 (struct test_fff_f_data): Likewise.
15529 (struct test_c_f_data): Likewise.
15530 (struct test_f_f1_data): Likewise.
15531 (struct test_fF_f1_data): Likewise.
15532 (struct test_ffI_f1_data): Likewise.
15533 (struct test_c_c_data): Likewise.
15534 (struct test_cc_c_data): Likewise.
15535 (struct test_f_i_data): Likewise.
15536 (struct test_ff_i_data): Likewise.
15537 (struct test_f_l_data): Likewise.
15538 (struct test_f_L_data): Likewise.
15539 (struct test_fFF_11_data): Likewise.
15541 (RM_FE_DOWNWARD): Likewise.
15542 (RM_FE_TONEAREST): Likewise.
15543 (RM_FE_TOWARDZERO): Likewise.
15544 (RM_FE_UPWARD): Likewise.
15545 (RUN_TEST_LOOP_f_f): Update references to expected results.
15546 (RUN_TEST_LOOP_2_f): Likewise.
15547 (RUN_TEST_LOOP_fff_f): Likewise.
15548 (RUN_TEST_LOOP_c_f): Likewise.
15549 (RUN_TEST_LOOP_f_f1): Likewise.
15550 (RUN_TEST_LOOP_fF_f1): Likewise.
15551 (RUN_TEST_LOOP_fI_f1): Likewise.
15552 (RUN_TEST_LOOP_ffI_f1): Likewise.
15553 (RUN_TEST_LOOP_c_c): Likewise.
15554 (RUN_TEST_LOOP_cc_c): Likewise.
15555 (RUN_TEST_LOOP_f_i): Likewise.
15556 (RUN_TEST_LOOP_f_i_tg): Likewise.
15557 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15558 (RUN_TEST_LOOP_f_b): Likewise.
15559 (RUN_TEST_LOOP_f_b_tg): Likewise.
15560 (RUN_TEST_LOOP_f_l): Likewise.
15561 (RUN_TEST_LOOP_f_L): Likewise.
15562 (RUN_TEST_LOOP_fFF_11): Likewise.
15563 * math/gen-libm-test.pl (parse_args): Output four copies of
15564 expected results for each test.
15566 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15567 (__ASSUME_UTIMES): Remove.
15568 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15569 (__ASSUME_UTIMES): Likewise.
15571 * math/gen-auto-libm-tests.c: Update comment on output format.
15572 (output_for_one_input_case): Generate before-rounding and
15573 after-rounding information as conditions on output flags not
15574 floating-point format.
15575 * math/auto-libm-test-out: Regenerated.
15576 * math/gen-libm-test.pl (cond_value): New function.
15577 (or_cond_value): Use cond_value.
15578 (generate_testfile): Handle conditional exceptions.
15580 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15582 * math/libm-test.inc (max_valid_error): New variable.
15583 (init_max_error): Take new argument specifying whether function
15584 results are exactly determined. Set max_valid_error and bound
15585 other variables for errors based on this argument.
15586 (set_max_error): Do not record results above max_valid_error.
15587 (check_float_internal): Only accept errors of up to 0.5ulps if
15588 also at most max_valid_error.
15589 (START): Take new argument EXACT and pass it to init_max_error.
15590 (acos_test): Update call to START.
15591 (acos_test_tonearest): Likewise.
15592 (acos_test_towardzero): Likewise.
15593 (acos_test_downward): Likewise.
15594 (acos_test_upward): Likewise.
15595 (acosh_test): Likewise.
15596 (asin_test): Likewise.
15597 (asin_test_tonearest): Likewise.
15598 (asin_test_towardzero): Likewise.
15599 (asin_test_downward): Likewise.
15600 (asin_test_upward): Likewise.
15601 (asinh_test): Likewise.
15602 (atan_test): Likewise.
15603 (atanh_test): Likewise.
15604 (atan2_test): Likewise.
15605 (cabs_test): Likewise.
15606 (cacos_test): Likewise.
15607 (cacosh_test): Likewise.
15608 (carg_test): Likewise.
15609 (casin_test): Likewise.
15610 (casinh_test): Likewise.
15611 (catan_test): Likewise.
15612 (catanh_test): Likewise.
15613 (cbrt_test): Likewise.
15614 (ccos_test): Likewise.
15615 (ccosh_test): Likewise.
15616 (ceil_test): Likewise.
15617 (cexp_test): Likewise.
15618 (cimag_test): Likewise.
15619 (clog_test): Likewise.
15620 (clog10_test): Likewise.
15621 (conj_test): Likewise.
15622 (copysign_test): Likewise.
15623 (cos_test): Likewise.
15624 (cos_test_tonearest): Likewise.
15625 (cos_test_towardzero): Likewise.
15626 (cos_test_downward): Likewise.
15627 (cos_test_upward): Likewise.
15628 (cosh_test): Likewise.
15629 (cosh_test_tonearest): Likewise.
15630 (cosh_test_towardzero): Likewise.
15631 (cosh_test_downward): Likewise.
15632 (cosh_test_upward): Likewise.
15633 (cpow_test): Likewise.
15634 (cproj_test): Likewise.
15635 (creal_test): Likewise.
15636 (csin_test): Likewise.
15637 (csinh_test): Likewise.
15638 (csqrt_test): Likewise.
15639 (ctan_test): Likewise.
15640 (ctan_test_tonearest): Likewise.
15641 (ctan_test_towardzero): Likewise.
15642 (ctan_test_downward): Likewise.
15643 (ctan_test_upward): Likewise.
15644 (ctanh_test): Likewise.
15645 (ctanh_test_tonearest): Likewise.
15646 (ctanh_test_towardzero): Likewise.
15647 (ctanh_test_downward): Likewise.
15648 (ctanh_test_upward): Likewise.
15649 (erf_test): Likewise.
15650 (erfc_test): Likewise.
15651 (exp_test): Likewise.
15652 (exp_test_tonearest): Likewise.
15653 (exp_test_towardzero): Likewise.
15654 (exp_test_downward): Likewise.
15655 (exp_test_upward): Likewise.
15656 (exp10_test): Likewise.
15657 (exp10_test_tonearest): Likewise.
15658 (exp10_test_towardzero): Likewise.
15659 (exp10_test_downward): Likewise.
15660 (exp10_test_upward): Likewise.
15661 (pow10_test): Likewise.
15662 (exp2_test): Likewise.
15663 (expm1_test): Likewise.
15664 (expm1_test_tonearest): Likewise.
15665 (expm1_test_towardzero): Likewise.
15666 (expm1_test_downward): Likewise.
15667 (expm1_test_upward): Likewise.
15668 (fabs_test): Likewise.
15669 (fdim_test): Likewise.
15670 (floor_test): Likewise.
15671 (fma_test): Likewise.
15672 (fma_test_towardzero): Likewise.
15673 (fma_test_downward): Likewise.
15674 (fma_test_upward): Likewise.
15675 (fmax_test): Likewise.
15676 (fmin_test): Likewise.
15677 (fmod_test): Likewise.
15678 (fpclassify_test): Likewise.
15679 (frexp_test): Likewise.
15680 (hypot_test): Likewise.
15681 (ilogb_test): Likewise.
15682 (isfinite_test): Likewise.
15683 (finite_test): Likewise.
15684 (isgreater_test): Likewise.
15685 (isgreaterequal_test): Likewise.
15686 (isinf_test): Likewise.
15687 (isless_test): Likewise.
15688 (islessequal_test): Likewise.
15689 (islessgreater_test): Likewise.
15690 (isnan_test): Likewise.
15691 (isnormal_test): Likewise.
15692 (issignaling_test): Likewise.
15693 (isunordered_test): Likewise.
15694 (j0_test): Likewise.
15695 (j1_test): Likewise.
15696 (jn_test): Likewise.
15697 (ldexp_test): Likewise.
15698 (lgamma_test): Likewise.
15699 (gamma_test): Likewise.
15700 (lrint_test): Likewise.
15701 (lrint_test_tonearest): Likewise.
15702 (lrint_test_towardzero): Likewise.
15703 (lrint_test_downward): Likewise.
15704 (lrint_test_upward): Likewise.
15705 (llrint_test): Likewise.
15706 (llrint_test_tonearest): Likewise.
15707 (llrint_test_towardzero): Likewise.
15708 (llrint_test_downward): Likewise.
15709 (llrint_test_upward): Likewise.
15710 (log_test): Likewise.
15711 (log10_test): Likewise.
15712 (log1p_test): Likewise.
15713 (log2_test): Likewise.
15714 (logb_test): Likewise.
15715 (logb_test_downward): Likewise.
15716 (lround_test): Likewise.
15717 (llround_test): Likewise.
15718 (modf_test): Likewise.
15719 (nearbyint_test): Likewise.
15720 (nextafter_test): Likewise.
15721 (nexttoward_test): Likewise.
15722 (pow_test): Likewise.
15723 (pow_test_tonearest): Likewise.
15724 (pow_test_towardzero): Likewise.
15725 (pow_test_downward): Likewise.
15726 (pow_test_upward): Likewise.
15727 (remainder_test): Likewise.
15728 (drem_test): Likewise.
15729 (remainder_test_tonearest): Likewise.
15730 (drem_test_tonearest): Likewise.
15731 (remainder_test_towardzero): Likewise.
15732 (drem_test_towardzero): Likewise.
15733 (remainder_test_downward): Likewise.
15734 (drem_test_downward): Likewise.
15735 (remainder_test_upward): Likewise.
15736 (drem_test_upward): Likewise.
15737 (remquo_test): Likewise.
15738 (rint_test): Likewise.
15739 (rint_test_tonearest): Likewise.
15740 (rint_test_towardzero): Likewise.
15741 (rint_test_downward): Likewise.
15742 (rint_test_upward): Likewise.
15743 (round_test): Likewise.
15744 (scalb_test): Likewise.
15745 (scalbn_test): Likewise.
15746 (scalbln_test): Likewise.
15747 (signbit_test): Likewise.
15748 (sin_test): Likewise.
15749 (sin_test_tonearest): Likewise.
15750 (sin_test_towardzero): Likewise.
15751 (sin_test_downward): Likewise.
15752 (sin_test_upward): Likewise.
15753 (sincos_test): Likewise.
15754 (sinh_test): Likewise.
15755 (sinh_test_tonearest): Likewise.
15756 (sinh_test_towardzero): Likewise.
15757 (sinh_test_downward): Likewise.
15758 (sinh_test_upward): Likewise.
15759 (sqrt_test): Likewise.
15760 (sqrt_test_tonearest): Likewise.
15761 (sqrt_test_towardzero): Likewise.
15762 (sqrt_test_downward): Likewise.
15763 (sqrt_test_upward): Likewise.
15764 (tan_test): Likewise.
15765 (tan_test_tonearest): Likewise.
15766 (tan_test_towardzero): Likewise.
15767 (tan_test_downward): Likewise.
15768 (tan_test_upward): Likewise.
15769 (tanh_test): Likewise.
15770 (tgamma_test): Likewise.
15771 (trunc_test): Likewise.
15772 (y0_test): Likewise.
15773 (y1_test): Likewise.
15774 (yn_test): Likewise.
15775 (significand_test): Likewise.
15777 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15778 individual tests in comment.
15779 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15780 (prev_max_error): New variable.
15781 (prev_real_max_error): Likewise.
15782 (prev_imag_max_error): Likewise.
15783 (compare_ulp_data): Don't refer to test names in comment.
15784 (find_test_ulps): Remove function.
15785 (find_function_ulps): Likewise.
15786 (find_complex_function_ulps): Likewise.
15787 (init_max_error): Take function name as argument. Look up ulps
15789 (print_ulps): Remove function.
15790 (print_max_error): Use prev_max_error instead of calling
15791 find_function_ulps.
15792 (print_complex_max_error): Use prev_real_max_error and
15793 prev_imag_max_error instead of calling find_complex_function_ulps.
15794 (check_float_internal): Take max_ulp parameter instead of calling
15795 find_test_ulps. Don't call print_ulps.
15796 (check_float): Update call to check_float_internal.
15797 (check_complex): Update calls to check_float_internal.
15798 (START): Pass argument to init_max_error.
15799 * math/gen-libm-test.pl (%results): Don't include "kind"
15801 (parse_ulps): Don't handle ulps of individual tests.
15802 (print_ulps_file): Likewise.
15803 (output_ulps): Likewise.
15804 * math/README.libm-test: Update.
15805 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15807 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15808 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15809 * sysdeps/arm/libm-test-ulps: Likewise.
15810 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15811 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15812 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15813 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15814 * sysdeps/microblaze/libm-test-ulps: Likewise.
15815 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15816 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15818 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15819 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15820 * sysdeps/sh/libm-test-ulps: Likewise.
15821 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15822 * sysdeps/tile/libm-test-ulps: Likewise.
15823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15825 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15827 * math/libm-test.inc (print_complex_max_error): Check separately
15828 whether real and imaginary errors are within allowed range and
15829 pass 0 to print_complex_function_ulps instead of value within
15832 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15834 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15836 (get_handles_fopen): Likewise.
15837 (do_write_test): Likewise.
15839 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15841 * libio/fileops.c (do_ftell): Use cached offset when
15843 * libio/iofwide.c (do_ftell_wide): Likewise.
15844 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15846 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15849 * libio/libioP.h (get_file_offset): New function.
15850 * libio/fileops.c (get_file_offset): Likewise.
15851 (do_ftell): Likewise.
15852 (_IO_new_file_seekoff): Split out ftell logic.
15853 * libio/wfileops.c (do_ftell_wide): Likewise.
15854 (_IO_wfile_seekoff): Split out ftell logic.
15855 * libio/tst-ftell-active-handler.c: New test case.
15856 * libio/Makefile (tests): Add it.
15858 2014-03-03 Roland McGrath <roland@hack.frob.com>
15860 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15861 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15863 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15866 * nscd/connections.c (nscd_init): Call do_exit.
15867 (start_threads): Call do_exit and notify_parent.
15868 (begin_drop_privileges): Call do_exit.
15869 (finish_drop_privileges): Likewise.
15870 * nscd/selinux.c (preserve_capabilities): Likewise.
15871 (install_real_capabilities): Likewise.
15872 (nscd_selinux_enabled): Likewise.
15873 (avc_create_thread): Likewise.
15874 (avc_alloc_lock): Likewise.
15875 (nscd_avc_init): Likewise.
15876 * nscd/nscd.c (parent_fd): New static variable.
15877 (main): Create a pipe between parent and child processes.
15878 Skip closing parent_fd.
15879 (monitor_child): New function.
15880 (do_exit): Likewise.
15881 (notify_parent): Likewise.
15882 * nscd/nscd.h (notify_parent): Likewise.
15883 (do_exit): Likewise.
15885 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15887 * malloc/malloc.c (__libc_calloc): Revert last change.
15889 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15893 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15895 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15899 (__libc_ifunc_impl_list): Likewise.
15900 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15901 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15902 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15903 * string/strrchr.c: Define STRRCHR.
15905 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15907 * benchtest/bench-strtok.c (simple_strtok): Delete.
15908 (strtok_string): Use as benchmark.
15909 * string/strtok (STRTOK): New macro.
15911 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15913 * manual/threads.texi: Add header and standard comments to all
15916 * elf/dl-lookup.c (check_match): New function.
15917 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15918 (do_lookup_x): Remove nested function check_match. Use non-nested
15919 function check_match.
15921 2014-02-28 Roland McGrath <roland@hack.frob.com>
15923 * csu/Makefile (generated, before-compile): Use += rather than =.
15924 * catgets/Makefile (generated, generated-dirs): Likewise.
15925 * debug/Makefile (generated): Likewise.
15926 * dlfcn/Makefile (generated): Likewise.
15927 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15928 * iconvdata/Makefile (before-compile, generated): Likewise.
15929 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15930 * libio/Makefile (generated): Likewise.
15931 * malloc/Makefile (generated): Likewise.
15932 * manual/Makefile (generated, generated-dirs): Likewise.
15933 * misc/Makefile (generated): Likewise.
15934 * posix/Makefile (generated): Likewise.
15935 * resolv/Makefile (generated): Likewise.
15936 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15937 * timezone/Makefile (generated, generated-dirs): Likewise.
15939 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15941 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15944 power8 implementation.
15945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15946 file: POWER8 llround ifunc implementation.
15947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15948 (__lllround): Add POWER8 implementation.
15949 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15950 POWER8 llround implementation.
15952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15953 power8 implementation.
15954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15955 file: POWER8 llrint ifunc implementation.
15956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15957 Add POWER8 implementation.
15958 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15959 POWER8 llrint implementation.
15961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15962 power8 implementation.
15963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15964 file: POWER8 finite ifunc implementation.
15965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15966 Add POWER8 implementation.
15967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15969 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15970 POWER8 finite implementation.
15971 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15974 power8 implementation.
15975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15976 file: POWER8 isinf ifunc implementation.
15977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15978 POWER8 implementation.
15979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15981 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15982 isinf implementation.
15983 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15985 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15986 (INIT_ARCH): Add hwcap2 initialization.
15987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15988 power8 implementation.
15989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15990 file: POWER8 isnan ifunc implementation.
15991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15992 POWER8 implementation.
15993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15995 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15996 isnan implementation.
15997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15999 2014-02-27 Joey Ye <joey.ye@arm.com>
16001 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16002 (_FP_NANFRAC_Q): Set to zero.
16004 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16007 * math/auto-libm-test-in: New test inputs.
16008 * math/auto-libm-test-out: Regenerate.
16009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16012 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16014 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16016 * scripts/evaluate-test.sh: Take new argument indicating whether
16017 failure is expected.
16018 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16019 indicating whether failure is expected.
16020 * conform/Makefile (test-xfail-run-conformtest): New variable.
16021 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16023 * posix/Makefile (test-xfail-annexc): New variable.
16024 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16026 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16028 * argp/Makefile: Include Makeconfig immediately after defining
16030 * assert/Makefile: Likewise.
16031 * benchtests/Makefile: Likewise.
16032 * catgets/Makefile: Likewise.
16033 * conform/Makefile: Likewise.
16034 * crypt/Makefile: Likewise.
16035 * csu/Makefile: Likewise.
16036 (all): Remove target.
16037 * ctype/Makefile: Include Makeconfig immediately after defining
16039 * debug/Makefile: Likewise.
16040 * dirent/Makefile: Likewise.
16041 * dlfcn/Makefile: Likewise.
16042 * gmon/Makefile: Likewise.
16043 * gnulib/Makefile: Likewise.
16044 * grp/Makefile: Likewise.
16045 * gshadow/Makefile: Likewise.
16046 * hesiod/Makefile: Likewise.
16047 * hurd/Makefile: Likewise.
16048 (all): Remove target.
16049 * iconvdata/Makefile: Include Makeconfig immediately after
16051 * inet/Makefile: Likewise.
16052 * intl/Makefile: Likewise.
16053 * io/Makefile: Likewise.
16054 * libio/Makefile: Likewise.
16055 (all): Remove target.
16056 * locale/Makefile: Include Makeconfig immediately after defining
16058 * login/Makefile: Likewise.
16059 * mach/Makefile: Likewise.
16060 (all): Remove target.
16061 * malloc/Makefile: Include Makeconfig immediately after defining
16063 (all): Remove target.
16064 * manual/Makefile: Include Makeconfig immediately after defining
16066 * math/Makefile: Likewise.
16067 * misc/Makefile: Likewise.
16068 * nis/Makefile: Likewise.
16069 * nss/Makefile: Likewise.
16070 * po/Makefile: Likewise.
16071 (all): Remove target.
16072 * posix/Makefile: Include Makeconfig immediately after defining
16074 * pwd/Makefile: Likewise.
16075 * resolv/Makefile: Likewise.
16076 * resource/Makefile: Likewise.
16077 * rt/Makefile: Likewise.
16078 * setjmp/Makefile: Likewise.
16079 * shadow/Makefile: Likewise.
16080 * signal/Makefile: Likewise.
16081 * socket/Makefile: Likewise.
16082 * soft-fp/Makefile: Likewise.
16083 * stdio-common/Makefile: Likewise.
16084 * stdlib/Makefile: Likewise.
16085 * streams/Makefile: Likewise.
16086 * string/Makefile: Likewise.
16087 * sunrpc/Makefile: Likewise.
16088 (all): Remove target.
16089 * sysvipc/Makefile: Include Makeconfig immediately after defining
16091 * termios/Makefile: Likewise.
16092 * time/Makefile: Likewise.
16093 * timezone/Makefile: Likewise.
16094 (all): Remove target.
16095 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16097 * wctype/Makefile: Likewise.
16099 2014-02-26 Steve Ellcey <sellcey@mips.com>
16101 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16102 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16103 (libc_feholdexcept_setround_mips): Ditto.
16104 (libc_feholdsetround): New.
16105 (libc_feholdsetroundf): New.
16106 (libc_feholdsetroundl): New.
16107 (libc_feupdateenv_test_mips): New.
16108 (libc_feupdateenv_test): New.
16109 (libc_feupdateenv_testf): New.
16110 (libc_feupdateenv_testl): New.
16111 (libc_feresetround): New.
16112 (libc_feresetroundf): New.
16113 (libc_feresetroundl): New.
16114 (libc_fetestexcept_mips): New.
16115 (libc_fetestexcept): New.
16116 (libc_fetestexceptf): New.
16117 (libc_fetestexceptl): New.
16118 (HAVE_RM_CTX): New.
16119 (libc_feholdexcept_setround_mips_ctx): New.
16120 (libc_feholdexcept_setround_ctx): New.
16121 (libc_feholdexcept_setroundf_ctx): New.
16122 (libc_feholdexcept_setroundl_ctx): New.
16123 (libc_fesetenv_mips_ctx): New.
16124 (libc_fesetenv_ctx): New.
16125 (libc_fesetenv_ctxf): New.
16126 (libc_fesetenv_ctxl): New.
16127 (libc_feupdateenv_mips_ctx): New.
16128 (libc_feupdateenv_ctx): New.
16129 (libc_feupdateenvf_ctx): New.
16130 (libc_feupdateenvl_ctx): New.
16131 (libc_feholdsetround_mips_ctx): New.
16132 (libc_feholdsetround_ctx): New.
16133 (libc_feholdsetroundf_ctx): New.
16134 (libc_feholdsetroundl_ctx): New.
16135 (libc_feresetround_mips_ctx): New.
16136 (libc_feresetround_ctx): New.
16137 (libc_feresetroundf_ctx): New.
16138 (libc_feresetroundl_ctx): New.
16140 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16142 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16144 * manual/ipc.texi: New file.
16145 * manual/Makefile (chapters): Add ipc.
16146 * manual/job.texi: Add "Inter-Process Communication" to next.
16147 * manual/process.texi: Add "Inter-Process Communication" to prev.
16149 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16153 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16155 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16157 * manual/arith.texi: Fix spaces after sentences.
16158 * manual/charset.texi: Likewise.
16159 * manual/errno.texi: Likewise.
16160 * manual/install.texi: Likewise.
16161 * manual/llio.texi: Likewise.
16162 * manual/locale.texi: Likewise.
16163 * manual/maint.texi: Likewise.
16164 * manual/math.texi: Likewise.
16165 * manual/memory.texi: Likewise.
16166 * manual/message.texi: Likewise.
16167 * manual/probes.texi: Likewise.
16168 * manual/resource.texi: Likewise.
16169 * manual/signal.texi: Likewise.
16170 * manual/socket.texi: Likewise.
16171 * manual/stdio.texi: Likewise.
16172 * manual/string.texi: Likewise.
16173 * manual/time.texi: Likewise.
16174 * manual/users.texi: Likewise.
16176 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16179 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16180 _DEFAULT_SOURCE is defined.
16182 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16183 Carlos O'Donell <carlos@redhat.com>
16186 * elf/dl-tls.c (_dl_count_modids): New function.
16187 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16188 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16189 audit library and increment generation counter.
16190 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16191 * elf/tst-audit9.c: New file.
16192 * elf/tst-auditmod9a.c: New file.
16193 * elf/tst-auditmod9b.c: New file.
16194 * elf/Makefile: Add rules to build and run tst-audit9.
16196 2014-02-25 Florian Weimer <fweimer@redhat.com>
16199 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16201 2014-02-25 Will Newton <will.newton@linaro.org>
16203 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16204 (__longjmp): Restore sp and lr before restoring callee
16205 saved registers. Add longjmp and longjmp_target
16206 SystemTap probe point.
16207 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16208 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16209 Define to zero to match jmpbuf layout.
16210 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16211 (__sigsetjmp): Save sp and lr before saving callee
16212 saved registers. Add setjmp SystemTap probe point.
16214 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16216 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16218 2014-02-24 Andreas Schwab <schwab@suse.de>
16221 * elf/pldd.c (wait_for_ptrace_stop): New function.
16222 (main): Call it after attaching.
16224 2014-02-22 Roland McGrath <roland@hack.frob.com>
16226 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16227 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16228 Versions files is now verboten.
16229 * hurd/Versions (libc: GLIBC_2.0):
16230 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16231 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16232 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16233 * mach/Versions: Likewise.
16235 * csu/Versions: Remove unused %include.
16236 * resolv/Versions: Likewise.
16238 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16240 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16241 ($(objpfx)check-local-headers.out): Likewise.
16242 ($(objpfx)begin-end-check.out): Likewise.
16243 * Makerules (check-abi-%.out): Likewise.
16244 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16245 ($(objpfx)test2.cat): Likewise.
16246 ($(objpfx)de/libc.cat): Likewise.
16247 ($(objpfx)test-gencat.out): Likewise.
16248 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16249 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16250 ($(objpfx)noload-mem): Likewise.
16251 ($(objpfx)tst-pathopt.out): Likewise.
16252 ($(objpfx)tst-rtld-load-self.out): Likewise.
16253 ($(objpfx)tst-array1-cmp.out): Likewise.
16254 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16255 ($(objpfx)tst-array2-cmp.out): Likewise.
16256 ($(objpfx)tst-array3-cmp.out): Likewise.
16257 ($(objpfx)tst-array4-cmp.out): Likewise.
16258 ($(objpfx)tst-array5-cmp.out): Likewise.
16259 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16260 ($(objpfx)check-textrel.out): Likewise.
16261 ($(objpfx)check-execstack.out): Likewise.
16262 ($(objpfx)check-localplt.out): Likewise.
16263 ($(objpfx)order2-cmp.out): Likewise.
16264 ($(objpfx)tst-leaks1-mem): Likewise.
16265 ($(objpfx)tst-leaks1-static-mem): Likewise.
16266 ($(objpfx)tst-initorder-cmp.out): Likewise.
16267 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16268 ($(objpfx)tst-unused-dep.out): Likewise.
16269 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16270 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16271 * iconv/Makefile (test-iconvconfig): Likewise.
16272 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16273 ($(objpfx)iconv-test.out): Likewise.
16274 ($(objpfx)tst-tables.out): Likewise.
16275 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16276 ($(objpfx)tst-gettext.out): Likewise.
16277 ($(objpfx)tst-translit.out): Likewise.
16278 ($(objpfx)tst-gettext2.out): Likewise.
16279 ($(objpfx)tst-gettext4.out): Likewise.
16280 ($(objpfx)tst-gettext6.out): Likewise.
16281 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16282 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16283 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16284 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16285 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16286 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16287 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16288 ($(objpfx)wordexp-tst.out): Likewise.
16289 ($(objpfx)annexc.out): Likewise.
16290 ($(objpfx)tst-fnmatch-mem): Likewise.
16291 ($(objpfx)bug-regex2-mem): Likewise.
16292 ($(objpfx)bug-regex14-mem): Likewise.
16293 ($(objpfx)bug-regex21-mem): Likewise.
16294 ($(objpfx)bug-regex31-mem): Likewise.
16295 ($(objpfx)tst-vfork3-mem): Likewise.
16296 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16297 ($(objpfx)tst-pcre-mem): Likewise.
16298 ($(objpfx)tst-boost-mem): Likewise.
16299 ($(objpfx)tst-getconf.out): Likewise.
16300 ($(objpfx)bug-ga2-mem): Likewise.
16301 ($(objpfx)bug-glob2-mem): Likewise.
16302 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16303 ($(objpfx)mtrace-tst-leaks2): Likewise.
16304 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16305 ($(objpfx)tst-printf.out): Likewise.
16306 ($(objpfx)tst-setvbuf1.out): Likewise.
16307 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16308 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16309 ($(objpfx)tst-fmtmsg.out): Likewise.
16310 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16311 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16313 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16314 * bits/sigaction.h [__USE_MISC]: Likewise.
16315 * bits/waitstatus.h: Update #endif comments.
16316 * ctype/ctype.h: Likewise.
16317 * dirent/dirent.h: Likewise.
16318 [__USE_MISC]: Remove redundant conditionals.
16319 * grp/grp.h: Update #endif comments.
16320 [__USE_GNU]: Remove redundant conditionals.
16321 [__USE_MISC]: Likewise.
16322 * inet/netinet/in.h [__USE_GNU]: Likewise.
16323 * io/sys/stat.h [__USE_MISC]: Likewise.
16324 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16325 * libio/bits/stdio.h: Update #endif comments.
16326 [__USE_MISC]: Remove redundant conditionals.
16327 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16328 * libio/stdio.h: Update #endif comments.
16329 [__USE_MISC]: Remove redundant conditionals.
16330 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16331 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16332 * math/math.h: Update #else and #endif comments.
16333 [__USE_MISC]: Remove redundant conditionals.
16334 * misc/sys/uio.h: Update #endif comments.
16335 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16336 * posix/glob.h [__USE_MISC]: Likewise.
16337 * posix/sys/types.h: Update #endif comments.
16338 [__USE_MISC]: Remove redundant conditionals.
16339 * posix/sys/wait.h: Update #endif comments.
16340 [__USE_MISC]: Remove redundant conditionals.
16341 * posix/unistd.h: Update #endif comments.
16342 [__USE_MISC]: Remove redundant conditionals.
16343 * pwd/pwd.h [__USE_GNU]: Likewise.
16344 [__USE_MISC]: Likewise.
16345 * resolv/netdb.h [__USE_GNU]: Likewise.
16346 * signal/signal.h: Update #endif comments.
16347 [__USE_MISC]: Remove redundant conditionals.
16348 * stdlib/stdlib.h: Update #else and #endif comments.
16349 [__USE_MISC]: Remove redundant conditionals.
16350 [__USE_GNU]: Likewise.
16351 * string/bits/string2.h [__USE_MISC]: Likewise.
16352 * string/string.h: Update #endif comments.
16353 [__USE_MISC]: Remove redundant conditionals.
16354 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16356 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16357 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16358 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16360 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16364 [__USE_MISC]: Remove redundant conditionals.
16365 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16366 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16367 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16368 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16369 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16371 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16372 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16374 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16375 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16377 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16379 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16380 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16382 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16384 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16385 * sysdeps/x86/bits/string.h: Update #endif comments.
16386 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16388 * time/sys/time.h: Update #endif comments.
16389 * time/time.h: Likewise.
16390 [__USE_MISC]: Remove redundant conditionals.
16392 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16395 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16397 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16399 * Versions.def (librt): Add GLIBC_2.17.
16401 2014-02-21 Adam Conrad <adconrad@0c3.net>
16403 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16404 synonym for _SYS_AUXV_H to allow direct inclusion.
16405 * sysdeps/sparc/bits/hwcap.h: Likewise.
16406 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16407 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16408 * sysdeps/sparc/sysdep.h: Likewise.
16410 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16412 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16414 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16416 * benchtests/bench-strrchr.c: Print length instead of position.
16418 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16421 * sysdeps/unix/sysv/linux/kernel-features.h
16422 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16423 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16424 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16425 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16427 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16428 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16429 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16430 (__ASSUME_SENDMMSG): Define instead of using previous
16431 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16433 (__ASSUME_SENDMMSG_SYSCALL): Define.
16434 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16435 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16437 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16438 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16440 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16441 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16443 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16444 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16445 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16446 [__ASSUME_SENDMMSG]: Change conditionals to
16447 [__ASSUME_SENDMMSG_SOCKETCALL].
16448 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16449 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16451 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16452 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16454 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16455 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16456 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16457 [!__ASSUME_SENDMMSG]: Change conditional to
16458 [!__ASSUME_SENDMMSG_SOCKETCALL].
16459 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16460 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16464 * sysdeps/unix/sysv/linux/kernel-features.h
16465 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16466 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16467 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16468 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16469 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16470 [__i386__ || __sparc__]
16471 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16472 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16473 (__ASSUME_RECVMMSG): Define instead of using previous
16474 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16475 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16476 (__ASSUME_RECVMMSG_SYSCALL): Define.
16477 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16478 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16480 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16481 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16483 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16484 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16486 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16487 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16488 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16489 [__ASSUME_RECVMMSG]: Change condition to
16490 [__ASSUME_RECVMMSG_SOCKETCALL].
16491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16494 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16495 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16496 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16498 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16499 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16500 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16501 [!__ASSUME_RECVMMSG]: Change condition to
16502 [!__ASSUME_RECVMMSG_SOCKETCALL].
16503 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16504 (__ASSUME_RECVMMSG_SYSCALL): Define.
16507 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16508 __powerpc__ || __s390__ || __sh__ || __sparc__]
16509 (__ASSUME_SOCKETCALL): Define.
16510 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16511 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16512 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16513 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16514 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16515 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16516 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16517 (__ASSUME_ACCEPT4): Define instead of using previous
16518 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16519 __powerpc__ || __sparc__ || __s390__)] condition.
16520 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16521 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16522 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16523 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16524 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16525 [!__ASSUME_ACCEPT4]: Change condition to
16526 [!__ASSUME_ACCEPT4_SOCKETCALL].
16527 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16528 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16529 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16530 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16531 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16532 __ASSUME_ACCEPT4_SYSCALL.
16533 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16534 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16535 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16536 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16537 __ASSUME_ACCEPT4_SYSCALL.
16538 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16539 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16540 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16541 [__ASSUME_ACCEPT4]: Change condition to
16542 [__ASSUME_ACCEPT4_SOCKETCALL].
16543 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16544 (__ASSUME_SOCKETCALL): Define.
16545 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16546 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16547 (__ASSUME_SOCKETCALL): Define.
16548 (__ASSUME_ACCEPT4): Remove.
16549 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16551 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16552 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16554 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16555 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16557 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16559 (HWCAP_ARM_LPAE): Likewise.
16560 (HWCAP_ARM_EVTSTRM): Likewise.
16561 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16562 Add vpfd32, lpae and evtstrm.
16563 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16566 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16568 * math/auto-libm-test-in: Add tests of clog10.
16569 * math/auto-libm-test-out: Regenerated.
16570 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16571 * sysdeps/i386/fpu/libm-test-ulps: Update.
16572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16574 2014-02-18 Andreas Schwab <schwab@suse.de>
16577 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16578 Store non-zero if the second buffer was newly allocated.
16579 (send_dg): Likewise.
16580 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16581 to send_vc and send_dg.
16582 (res_nsend): Pass NULL for ansp2_malloced.
16583 * resolv/res_query.c (__libc_res_nquery): Add parameter
16584 answerp2_malloced and pass it down to __libc_res_nsend.
16585 (res_nquery): Pass additional NULL to __libc_res_nquery.
16586 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16587 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16588 second answer buffer if answerp2_malloced was set.
16589 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16590 (__libc_res_nquerydomain): Add parameter
16591 answerp2_malloced and pass it down to __libc_res_nquery.
16592 (res_nquerydomain): Pass additional NULL to
16593 __libc_res_nquerydomain.
16594 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16595 additional NULL to __libc_res_nsend and __libc_res_nquery.
16596 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16597 additional NULL to __libc_res_nsearch.
16598 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16599 parameter of __libc_res_nsearch to check for separately allocated
16601 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16603 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16604 additional NULL to __libc_res_nquery.
16605 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16606 __libc_res_nsearch.
16607 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16608 * include/resolv.h: Update prototypes of __libc_res_nquery,
16609 __libc_res_nsearch, __libc_res_nsend.
16611 2014-02-18 Joseph Myers <joseph@codesourcery.com>
16613 * math/auto-libm-test-in: Add tests of fma.
16614 * math/auto-libm-test-out: Regenerated.
16615 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16616 (fma_towardzero_test_data): Likewise.
16617 (fma_downward_test_data): Likewise.
16618 (fma_upward_test_data): Likewise.
16619 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16621 (rounding_modes): Add values for new field.
16622 (func_calc_method): Add value mpfr_fff_f.
16623 (func_calc_desc): Add mpfr_fff_f union field.
16624 (test_function): Add field exact_args.
16625 (FUNC): Add macro argument EXACT_ARGS.
16626 (FUNC_mpfr_f_f): Update call to FUNC.
16627 (FUNC_mpfr_f_f): Likewise.
16628 (FUNC_mpfr_ff_f): Likewise.
16629 (FUNC_mpfr_if_f): Likewise.
16630 (FUNC_mpc_c_f): Likewise.
16631 (FUNC_mpc_c_c): Likewise.
16632 (test_functions): Add fma. Update calls to FUNC.
16633 (handle_input_arg): Add argument exact_args.
16634 (add_test): Update call to handle_input_arg.
16635 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16636 (output_for_one_input_case): Update call to calc_generic_results.
16637 Recalculate exact zero results in each rounding mode.
16639 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16640 non-negative before setting low bit.
16641 * math/auto-libm-test-in: Mark one asin test possibly having
16642 spurious underflow.
16643 * math/auto-libm-test-out: Regenerated.
16644 * sysdeps/i386/fpu/libm-test-ulps: Update.
16645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16647 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16649 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16650 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16651 ports/sysdeps/unix/sysv/linux/microblaze.
16652 * README: Add missing listing for microblaze*-*-linux-gnu.
16654 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16656 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16659 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16661 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16662 * sysdeps/unix/sysv/linux/ia64: Move directory from
16663 ports/sysdeps/unix/sysv/linux/ia64.
16664 * README: Update listing for ia64-*-linux-gnu.
16666 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16667 Joseph Myers <joseph@codesourcery.com>
16669 * Makeconfig (test-name): New variable.
16670 (evaluate-test): Likewise.
16671 * Makerules (do-test-clean): Remove .test-result files.
16672 (common-mostlyclean): Likewise.
16673 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16674 * scripts/evaluate-test.sh: New file.
16676 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16678 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16679 separate $(objpfx)tst-fopenloc-cmp.out and
16680 $(objpfx)tst-fopenloc-mem.out targets.
16681 (tests): Update dependencies.
16682 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16683 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16684 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16685 (tst-rxspencer-no-utf8-ARGS): New variable.
16686 (tst-rxspencer-no-utf8-ENV): Likewise.
16687 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16688 instead of $(objpfx)tst-rxspencer-mem.
16689 ($(objpfx)tst-rxspencer-mem): Change target to
16690 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16691 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16692 * posix/tst-rxspencer-no-utf8.c: New file.
16694 * elf/Makefile ($(objpfx)order.out): Remove rule.
16695 [$(run-built-tests) = yes] (tests): Depend on
16696 $(objpfx)order-cmp.out.
16697 ($(objpfx)order-cmp.out): New rule.
16698 [$(run-built-tests) = yes] (tests): Depend on
16699 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16700 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16701 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16702 $(objpfx)tst-array5-static-cmp.out.
16703 ($(objpfx)tst-array1.out): Remove rule.
16704 ($(objpfx)tst-array1-cmp.out): New rule.
16705 ($(objpfx)tst-array1-static.out): Remove rule.
16706 ($(objpfx)tst-array1-static-cmp.out): New rule.
16707 ($(objpfx)tst-array2.out): Remove rule.
16708 ($(objpfx)tst-array2-cmp.out): New rule.
16709 ($(objpfx)tst-array3.out): Remove rule.
16710 ($(objpfx)tst-array3-cmp.out): New rule.
16711 ($(objpfx)tst-array4.out): Remove rule.
16712 ($(objpfx)tst-array4-cmp.out): New rule.
16713 ($(objpfx)tst-array5.out): Remove rule.
16714 ($(objpfx)tst-array5-cmp.out): New rule.
16715 ($(objpfx)tst-array5-static.out): Remove rule.
16716 ($(objpfx)tst-array5-static-cmp.out): New rule.
16717 [$(run-built-tests) = yes] (tests): Depend on
16718 $(objpfx)order2-cmp.out.
16719 ($(objpfx)order2.out): Remove rule.
16720 ($(objpfx)order2-cmp.out): New rule.
16721 ($(objpfx)tst-initorder.out): Remove rule.
16722 [$(run-built-tests) = yes] (tests): Depend on
16723 $(objpfx)tst-initorder-cmp.out.
16724 ($(objpfx)tst-initorder-cmp.out): New rule.
16725 ($(objpfx)tst-initorder2.out): Remove rule.
16726 [$(run-built-tests) = yes] (tests): Depend on
16727 $(objpfx)tst-initorder2-cmp.out.
16728 ($(objpfx)tst-initorder2-cmp.out): New rule.
16729 [$(run-built-tests) = yes] (tests): Depend on
16730 $(objpfx)tst-unused-dep-cmp.out.
16731 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16732 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16733 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16734 on $(objpfx)tst-setvbuf1-cmp.out.
16735 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16736 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16737 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16738 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16739 ($(objpfx)tst-svc.out): Remove rule.
16740 ($(objpfx)tst-svc-cmp.out): New rule.
16742 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16744 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16745 * ctype/ctype.h [__USE_MISC]: Likewise.
16746 * dirent/dirent.h [__USE_MISC]: Likewise.
16747 * grp/grp.h [__USE_MISC]: Likewise.
16748 * io/fcntl.h [__USE_MISC]: Likewise.
16749 * io/sys/stat.h [__USE_MISC]: Likewise.
16750 * libio/stdio.h [__USE_MISC]: Likewise.
16751 * posix/unistd.h [__USE_MISC]: Likewise.
16752 * pwd/pwd.h [__USE_MISC]: Likewise.
16753 * stdlib.h [__USE_MISC]: Likewise.
16754 * string/bits/string2.h [__USE_MISC]: Likewise.
16755 * string/string.h [__USE_MISC]: Likewise.
16756 * time/time.h [__USE_MISC]: Likewise.
16758 2014-02-13 Andreas Schwab <schwab@suse.de>
16761 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16762 second answer buffer if it was separately allocated.
16764 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16766 * sysdeps/mips/math-tests.h: Include <features.h>.
16767 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16768 (ROUNDING_TESTS_long_double): Do not define.
16769 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16770 (EXCEPTION_TESTS_long_double): Likewise.
16771 * sysdeps/mips/mips64/libm-test-ulps: Update.
16773 * include/features.h (__USE_BSD): Remove macro definitions.
16774 (__USE_SVID): Likewise.
16775 (_BSD_SOURCE): Likewise.
16776 (_SVID_SOURCE): Likewise.
16777 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16778 from definition of _DEFAULT_SOURCE.
16779 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16781 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16782 * bits/mman.h [__USE_BSD]: Likewise.
16783 * bits/termios.h [__USE_BSD]: Likewise.
16784 * bits/waitstatus.h [__USE_BSD]: Likewise.
16785 * ctype/ctype.h [__USE_SVID]: Likewise.
16786 * dirent/dirent.h [__USE_BSD]: Likewise.
16787 * grp/grp.h [__USE_SVID]: Likewise.
16788 [__USE_BSD]: Likewise.
16789 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16790 * io/fcntl.h [__USE_BSD]: Likewise.
16791 * io/ftw.h [__USE_BSD]: Likewise.
16792 * io/sys/stat.h [__USE_BSD]: Likewise.
16793 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16794 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16795 * libio/stdio.h [__USE_SVID]: Likewise.
16796 [__USE_BSD]: Likewise.
16797 * math/math.h [__USE_SVID]: Likewise.
16798 [__USE_BSD]: Likewise.
16799 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16800 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16801 * misc/search.h [__USE_SVID]: Likewise.
16802 * misc/sys/mman.h [__USE_BSD]: Likewise.
16803 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16804 * misc/sys/uio.h [__USE_BSD]: Likewise.
16805 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16806 * posix/glob.h [__USE_BSD]: Likewise.
16807 * posix/regex.h [__USE_BSD]: Likewise.
16808 * posix/sys/types.h [__USE_BSD]: Likewise.
16809 [__USE_SVID]: Likewise.
16810 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16811 * posix/sys/wait.h [__USE_BSD]: Likewise.
16812 [__USE_SVID]: Likewise.
16813 * posix/unistd.h [__USE_BSD]: Likewise.
16814 [__USE_SVID]: Likewise.
16815 * pwd/pwd.h [__USE_SVID]: Likewise.
16816 * resolv/netdb.h [__USE_BSD]: Likewise.
16817 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16818 * signal/signal.h [__USE_BSD]: Likewise.
16819 [__USE_SVID]: Likewise.
16820 * socket/sys/socket.h [__USE_BSD]: Likewise.
16821 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16822 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16823 [__USE_SVID]: Likewise.
16824 * string/bits/string2.h [__USE_BSD]: Likewise.
16825 [__USE_SVID]: Likewise.
16826 * string/bits/string3.h [__USE_BSD]: Likewise.
16827 * string/endian.h [__USE_BSD]: Likewise.
16828 * string/string.h [__USE_SVID]: Likewise.
16829 [__USE_BSD]: Likewise.
16830 * string/strings.h [__USE_BSD]: Likewise.
16831 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16832 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16833 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16834 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16835 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16836 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16840 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16841 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16843 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16844 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16846 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16848 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16849 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16850 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16852 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16854 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16855 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16856 * termios/termios.h [__USE_BSD]: Likewise.
16857 * time/sys/time.h [__USE_BSD]: Likewise.
16858 * time/time.h [__USE_BSD]: Likewise.
16859 [__USE_SVID]: Likewise.
16861 * Makefile (subdir_targets): Remove subdir_lint.out.
16863 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16864 (do-tst-printf): Likewise.
16865 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16866 $(objpfx)tst-printf.out.
16868 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16870 * Makerules (check-abi-%): Change target to
16871 $(objpfx)check-abi-%.out.
16872 (check-abi target): Update dependencies.
16873 (check-abi-pattern variable): Redirect output of diff to $@.
16874 (check-abi variable): Likewise.
16875 * elf/Makefile (check-abi): Update dependencies.
16877 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16879 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16880 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16882 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16883 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16884 value has largest subnormal exponent.
16885 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16886 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16887 * sysdeps/aarch64/soft-fp/sfp-machine.h
16888 (_FP_TININESS_AFTER_ROUNDING): New macro.
16889 * sysdeps/alpha/soft-fp/sfp-machine.h
16890 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16891 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16893 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16894 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16895 * sysdeps/mips/soft-fp/sfp-machine.h
16896 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16897 * sysdeps/powerpc/soft-fp/sfp-machine.h
16898 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16899 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16901 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16902 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16903 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16904 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16905 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16908 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16911 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16914 2014-02-12 Richard Henderson <rth@redhat.com>
16916 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16917 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16918 * sysdeps/unix/sysv/linux/alpha: Move directory from
16919 ports/sysdeps/unix/sysv/linux/alpha.
16920 * README: Update listing for alpha-*-linux-gnu.
16922 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16924 * include/features.h: Update comment documenting feature test
16926 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16928 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16929 (_SVID_SOURCE): Likewise.
16930 (_DEFAULT_SOURCE): Update description of default features.
16931 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16933 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16934 (S_ISVTX): Likewise.
16935 * manual/math.texi (Mathematical Constants): Likewise.
16936 * manual/signal.texi (Interrupted Primitives): Likewise.
16937 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16938 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16939 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16940 Don't refer to _SVID_SOURCE in warning text.
16942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16944 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16946 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16947 * sysdeps/mips/dl-lookup.c: Remove.
16948 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16950 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16953 * math/auto-libm-test-in: Add testcase for expl.
16954 * math/auto-libm-test-out: Regenerate.
16955 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16956 calculation of unsafe.
16957 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16959 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16961 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16962 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16963 ports/sysdeps/unix/sysv/linux/aarch64.
16964 * README: Update listing for aarch64*-*-linux-gnu.
16966 2014-02-11 Will Newton <will.newton@linaro.org>
16968 * manual/probes.texi (Mathematical Function Probes): Use
16969 "triggered" instead of "hit".
16971 * manual/probes.texi (Internal Probes): Add documentation
16972 of setjmp, longjmp and longjmp_target probes.
16974 * include/stap-probe.h: Add comment about probe argument
16977 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16978 definition. (tr_where, tr_freehook, tr_mallochook,
16979 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16981 2014-02-11 David S. Miller <davem@davemloft.net>
16983 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16984 processing int_tests.
16986 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16988 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16989 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16990 * sysdeps/unix/sysv/linux/mips: Move directory from
16991 ports/sysdeps/unix/sysv/linux/mips.
16992 * README: Update listing for mips-*-linux-gnu and
16993 mips64-*-linux-gnu.
16995 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16997 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16998 * sysdeps/unix/sysv/linux/m68k: Move directory from
16999 ports/sysdeps/unix/sysv/linux/m68k.
17000 * README: Update listing for m68k-*-linux-gnu.
17002 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17004 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17005 * sysdeps/unix/sysv/linux/generic: Move directory from
17006 ports/sysdeps/unix/sysv/linux/generic.
17007 * sysdeps/unix/sysv/linux/tile: Move directory from
17008 ports/sysdeps/unix/sysv/linux/tile.
17009 * README: Update listing for tile*-*-linux-gnu.
17011 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17013 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17015 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17016 * catgets/open_catalog.c (__open_catalog): Likewise.
17017 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17018 * debug/confstr_chk.c: Likewise.
17019 * debug/fread_chk.c (__fread_chk): Likewise.
17020 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17021 * debug/getgroups_chk.c: Likewise.
17022 * debug/mbsnrtowcs_chk.c: Likewise.
17023 * debug/mbsrtowcs_chk.c: Likewise.
17024 * debug/mbstowcs_chk.c: Likewise.
17025 * debug/memcpy_chk.c: Likewise.
17026 * debug/memmove_chk.c: Likewise.
17027 * debug/mempcpy_chk.c: Likewise.
17028 * debug/memset_chk.c: Likewise.
17029 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17030 * debug/strcat_chk.c (__strcat_chk): Likewise.
17031 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17032 * debug/strncat_chk.c (__strncat_chk): Likewise.
17033 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17034 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17035 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17036 * debug/wcpncpy_chk.c: Likewise.
17037 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17038 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17039 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17040 * debug/wcsncpy_chk.c: Likewise.
17041 * debug/wcsnrtombs_chk.c: Likewise.
17042 * debug/wcsrtombs_chk.c: Likewise.
17043 * debug/wcstombs_chk.c: Likewise.
17044 * debug/wmemcpy_chk.c: Likewise.
17045 * debug/wmemmove_chk.c: Likewise.
17046 * debug/wmempcpy_chk.c: Likewise.
17047 * debug/wmemset_chk.c: Likewise.
17048 * dirent/scandirat.c (SCANDIRAT): Likewise.
17049 * dlfcn/dladdr1.c (dladdr1): Likewise.
17050 * dlfcn/dladdr.c (dladdr): Likewise.
17051 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17052 * dlfcn/dlerror.c (__dlerror): Likewise.
17053 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17054 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17055 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17056 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17057 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17058 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17059 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17060 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17062 * elf/dl-conflict.c: Likewise.
17063 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17064 * elf/dl-dst.h: Likewise.
17065 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17066 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17067 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17068 * elf/dl-init.c (call_init, _dl_init): Likewise.
17069 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17070 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17071 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17073 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17075 * elf/dl-minimal.c (__libc_memalign): Likewise.
17076 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17077 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17078 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17079 * elf/dl-sym.c (do_sym): Likewise.
17080 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17081 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17082 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17083 * elf/dl-writev.h (_dl_writev): Likewise.
17084 * elf/ldconfig.c (search_dir): Likewise.
17085 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17086 (dl_main): Likewise.
17087 * elf/setup-vdso.h (setup_vdso): Likewise.
17088 * grp/compat-initgroups.c (compat_call): Likewise.
17089 * grp/fgetgrent.c (fgetgrent): Likewise.
17090 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17091 * grp/putgrent.c (putgrent): Likewise.
17092 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17094 * hurd/hurdinit.c: Likewise.
17095 * iconvdata/8bit-gap.c (struct): Likewise.
17096 * iconvdata/ansi_x3.110.c : Likewise.
17097 * iconvdata/big5.c : Likewise.
17098 * iconvdata/big5hkscs.c : Likewise.
17099 * iconvdata/cp1255.c: Likewise.
17100 * iconvdata/cp1258.c : Likewise.
17101 * iconvdata/cp932.c : Likewise.
17102 * iconvdata/euc-cn.c: Likewise.
17103 * iconvdata/euc-jisx0213.c : Likewise.
17104 * iconvdata/euc-jp.c: Likewise.
17105 * iconvdata/euc-jp-ms.c : Likewise.
17106 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17107 * iconvdata/gb18030.c : Likewise.
17108 * iconvdata/gbbig5.c (const): Likewise.
17109 * iconvdata/gbgbk.c: Likewise.
17110 * iconvdata/gbk.c : Likewise.
17111 * iconvdata/ibm1364.c : Likewise.
17112 * iconvdata/ibm930.c : Likewise.
17113 * iconvdata/ibm932.c: Likewise.
17114 * iconvdata/ibm933.c : Likewise.
17115 * iconvdata/ibm935.c : Likewise.
17116 * iconvdata/ibm937.c : Likewise.
17117 * iconvdata/ibm939.c : Likewise.
17118 * iconvdata/ibm943.c: Likewise.
17119 * iconvdata/iso_11548-1.c: Likewise.
17120 * iconvdata/iso-2022-cn.c : Likewise.
17121 * iconvdata/iso-2022-cn-ext.c : Likewise.
17122 * iconvdata/iso-2022-jp-3.c: Likewise.
17123 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17124 * iconvdata/iso-2022-kr.c : Likewise.
17125 * iconvdata/iso646.c (gconv_end): Likewise.
17126 * iconvdata/iso_6937-2.c : Likewise.
17127 * iconvdata/iso_6937.c : Likewise.
17128 * iconvdata/iso8859-1.c: Likewise.
17129 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17130 * iconvdata/shift_jisx0213.c : Likewise.
17131 * iconvdata/sjis.c : Likewise.
17132 * iconvdata/t.61.c : Likewise.
17133 * iconvdata/tcvn5712-1.c : Likewise.
17134 * iconvdata/tscii.c: Likewise.
17135 * iconvdata/uhc.c : Likewise.
17136 * iconvdata/unicode.c (gconv_end): Likewise.
17137 * iconvdata/utf-16.c (gconv_end): Likewise.
17138 * iconvdata/utf-32.c (gconv_end): Likewise.
17139 * iconvdata/utf-7.c (base64): Likewise.
17140 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17141 * iconv/gconv_close.c (__gconv_close): Likewise.
17142 * iconv/gconv_open.c (__gconv_open): Likewise.
17143 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17144 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17145 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17146 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17147 (ucs4le_internal_loop_single): Likewise.
17148 * iconv/iconv.c (iconv): Likewise.
17149 * iconv/iconv_close.c: Likewise.
17150 * iconv/loop.c (SINGLE): Likewise.
17151 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17152 * include/atomic.h: Likewise.
17153 * inet/inet6_option.c (option_alloc): Likewise.
17154 * intl/bindtextdom.c (set_binding_values): Likewise.
17155 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17156 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17157 * intl/localealias.c (read_alias_file): Likewise.
17158 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17159 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17160 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17161 * libio/fmemopen.c (fmemopen): Likewise.
17162 * libio/iofgets.c (_IO_fgets): Likewise.
17163 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17164 * libio/iofgetws.c (fgetws): Likewise.
17165 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17166 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17167 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17168 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17169 * locale/findlocale.c (_nl_find_locale): Likewise.
17170 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17171 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17173 * locale/setlocale.c (setlocale): Likewise.
17174 * login/programs/pt_chown.c (main): Likewise.
17175 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17176 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17177 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17178 (mmap, mmap64, mremap, munmap): Likewise.
17179 * math/e_exp2l.c: Likewise.
17180 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17181 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17182 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17183 * math/s_catan.c (__catan): Likewise.
17184 * math/s_catanf.c (__catanf): Likewise.
17185 * math/s_catanh.c (__catanh): Likewise.
17186 * math/s_catanhf.c (__catanhf): Likewise.
17187 * math/s_catanhl.c (__catanhl): Likewise.
17188 * math/s_catanl.c (__catanl): Likewise.
17189 * math/s_ccosh.c (__ccosh): Likewise.
17190 * math/s_ccoshf.c (__ccoshf): Likewise.
17191 * math/s_ccoshl.c (__ccoshl): Likewise.
17192 * math/s_cexp.c (__cexp): Likewise.
17193 * math/s_cexpf.c (__cexpf): Likewise.
17194 * math/s_cexpl.c (__cexpl): Likewise.
17195 * math/s_clog10.c (__clog10): Likewise.
17196 * math/s_clog10f.c (__clog10f): Likewise.
17197 * math/s_clog10l.c (__clog10l): Likewise.
17198 * math/s_clog.c (__clog): Likewise.
17199 * math/s_clogf.c (__clogf): Likewise.
17200 * math/s_clogl.c (__clogl): Likewise.
17201 * math/s_csin.c (__csin): Likewise.
17202 * math/s_csinf.c (__csinf): Likewise.
17203 * math/s_csinh.c (__csinh): Likewise.
17204 * math/s_csinhf.c (__csinhf): Likewise.
17205 * math/s_csinhl.c (__csinhl): Likewise.
17206 * math/s_csinl.c (__csinl): Likewise.
17207 * math/s_csqrt.c (__csqrt): Likewise.
17208 * math/s_csqrtf.c (__csqrtf): Likewise.
17209 * math/s_csqrtl.c (__csqrtl): Likewise.
17210 * math/s_ctan.c (__ctan): Likewise.
17211 * math/s_ctanf.c (__ctanf): Likewise.
17212 * math/s_ctanh.c (__ctanh): Likewise.
17213 * math/s_ctanhf.c (__ctanhf): Likewise.
17214 * math/s_ctanhl.c (__ctanhl): Likewise.
17215 * math/s_ctanl.c (__ctanl): Likewise.
17216 * math/w_pow.c: Likewise.
17217 * math/w_powf.c: Likewise.
17218 * math/w_powl.c: Likewise.
17219 * math/w_scalb.c (sysv_scalb): Likewise.
17220 * math/w_scalbf.c (sysv_scalbf): Likewise.
17221 * math/w_scalbl.c (sysv_scalbl): Likewise.
17222 * misc/error.c (error_tail): Likewise.
17223 * misc/pselect.c (__pselect): Likewise.
17224 * nis/nis_callback.c (__nis_create_callback): Likewise.
17225 * nis/nis_call.c (__nisfind_server): Likewise.
17226 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17227 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17228 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17229 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17230 * nis/nis_lookup.c (nis_lookup): Likewise.
17231 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17232 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17233 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17234 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17235 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17236 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17237 * nis/nss_compat/compat-initgroups.c (add_group)
17238 (internal_getgrent_r): Likewise.
17239 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17240 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17241 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17242 (internal_getspnam_r): Likewise.
17243 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17244 (_nss_nis_getaliasbyname_r): Likewise.
17245 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17246 (_nss_nis_getntohost_r): Likewise.
17247 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17248 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17249 (_nss_nis_getgrgid_r): Likewise.
17250 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17251 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17252 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17253 (_nss_nis_gethostbyname4_r): Likewise.
17254 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17255 (initgroups_netid): Likewise.
17256 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17257 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17258 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17259 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17260 (_nss_nis_getprotobynumber_r): Likewise.
17261 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17262 (_nss_nis_getsecretkey): Likewise.
17263 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17264 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17265 (_nss_nis_getpwuid_r): Likewise.
17266 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17267 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17268 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17269 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17270 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17271 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17272 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17274 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17275 (_nss_nisplus_getntohost_r): Likewise.
17276 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17277 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17278 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17279 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17281 * nis/nss_nisplus/nisplus-initgroups.c
17282 (_nss_nisplus_initgroups_dyn): Likewise.
17283 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17284 (_nss_nisplus_getnetbyaddr_r): Likewise.
17285 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17286 (_nss_nisplus_getprotobynumber_r): Likewise.
17287 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17288 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17289 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17291 * nis/nss_nisplus/nisplus-service.c
17292 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17293 (_nss_nisplus_getservbyport_r): Likewise.
17294 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17295 (_nss_nisplus_getspnam_r): Likewise.
17296 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17298 * nscd/aicache.c (addhstaiX): Likewise.
17299 * nscd/cache.c (cache_search, prune_cache): Likewise.
17300 * nscd/connections.c (register_traced_file, send_ro_fd)
17301 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17302 (main_loop_epoll): Likewise.
17303 * nscd/grpcache.c (addgrbyX): Likewise.
17304 * nscd/hstcache.c (addhstbyX): Likewise.
17305 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17306 * nscd/mem.c (gc, mempool_alloc): Likewise.
17307 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17308 (addinnetgrX): Likewise.
17309 * nscd/nscd-client.h (__nscd_acquire_maplock)
17310 (__nscd_drop_map_ref): Likewise.
17311 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17312 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17313 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17315 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17316 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17317 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17318 (__nscd_get_map_ref): Likewise.
17319 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17320 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17322 * nscd/pwdcache.c (addpwbyX): Likewise.
17323 * nscd/selinux.c (preserve_capabilities): Likewise.
17324 * nscd/servicescache.c (addservbyX): Likewise.
17325 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17326 * posix/fnmatch.c (fnmatch): Likewise.
17327 * posix/getopt.c (_getopt_internal_r): Likewise.
17328 * posix/glob.c (glob, glob_in_dir): Likewise.
17329 * posix/wordexp.c (exec_comm_child): Likewise.
17330 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17331 (getanswer_r, gaih_getanswer_slice): Likewise.
17332 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17333 * resolv/res_init.c: Likewise.
17334 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17335 * resolv/res_query.c (__libc_res_nquery): Likewise.
17336 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17338 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17339 * stdio-common/perror.c (perror): Likewise.
17340 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17341 * stdio-common/tmpnam.c (tmpnam): Likewise.
17342 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17343 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17344 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17346 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17347 * stdlib/putenv.c (putenv): Likewise.
17348 * stdlib/setenv.c (__add_to_environ): Likewise.
17349 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17350 * stdlib/strtol_l.c (INTERNAL): Likewise.
17351 * string/memmem.c (memmem): Likewise.
17352 * string/strerror.c (strerror): Likewise.
17353 * string/strnlen.c (__strnlen): Likewise.
17354 * string/test-memmem.c (simple_memmem): Likewise.
17355 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17356 * sunrpc/pm_getport.c (__get_socket): Likewise.
17357 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17358 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17359 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17360 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17362 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17363 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17364 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17365 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17366 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17367 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17369 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17371 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17372 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17374 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17375 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17377 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17378 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17379 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17380 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17381 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17382 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17384 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17386 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17388 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17391 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17392 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17393 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17394 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17396 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17397 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17398 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17400 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17401 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17403 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17405 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17407 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17409 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17413 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17415 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17416 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17417 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17418 * sysdeps/posix/sleep.c: Likewise.
17419 * sysdeps/posix/tempname.c: Likewise.
17420 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17421 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17423 * sysdeps/powerpc/powerpc32/dl-machine.h
17424 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17425 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17427 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17428 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17430 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17431 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17432 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17433 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17434 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17435 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17436 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17437 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17438 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17439 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17441 (elf_machine_lazy_rel): Likewise.
17442 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17443 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17444 (elf_machine_lazy_rel): Likewise.
17445 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17446 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17447 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17448 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17449 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17450 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17451 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17454 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17455 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17456 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17457 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17458 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17459 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17460 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17461 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17462 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17463 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17464 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17466 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17467 (__posix_fallocate64_l64): Likewise.
17468 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17469 (posix_fallocate): Likewise.
17470 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17473 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17474 (getifaddrs_internal): Likewise.
17475 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17476 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17477 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17478 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17479 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17480 (__posix_fallocate64_l64): Likewise.
17481 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17483 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17484 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17485 (__get_clockfreq): Likewise.
17486 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17487 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17488 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17491 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17492 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17493 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17495 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17496 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17497 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17498 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17499 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17500 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17501 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17503 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17504 (posix_fallocate): Likewise.
17505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17506 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17507 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17508 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17509 (elf_machine_rela, elf_machine_rela_relative)
17510 (elf_machine_lazy_rel): Likewise.
17511 * time/asctime.c (asctime_internal): Likewise.
17512 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17513 * time/tzset.c (__tzset_parse_tz): Likewise.
17514 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17515 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17516 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17517 * wcsmbs/wcsmbsload.h: Likewise.
17520 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17522 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17523 (arena_get2): Remove THREAD_STATS conditionals.
17524 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17525 (__malloc_stats, int): Likewise.
17527 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17529 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17530 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17532 * manual/setjmp.texi: Fix typos/grammar errors.
17534 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17535 Only return early when n is <= 0. Delete unused return statement.
17537 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17538 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17539 * debug/tst-longjmp_chk3.c: New file.
17541 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17542 (test_main): Replace code with set_fortify_handler call.
17543 * debug/test-strcpy_chk.c: Likewise.
17544 * debug/tst-chk1.c: Likewise.
17545 * debug/tst-longjmp_chk.c: Likewise.
17546 * test-skeleton.c: Include fcntl.h & paths.h
17547 (set_fortify_handler): Define.
17549 * debug/tst-longjmp_chk.c: Add header comment and include
17550 ../test-skeleton.c.
17551 (do_test): Mark static.
17552 (TEST_FUNCTION): Define.
17554 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17555 (IP_PMTUDISC_INTERFACE): Likewise.
17556 (IP_MULTICAST_IF): Likewise.
17557 (IP_MULTICAST_TTL): Likewise.
17558 (IP_MULTICAST_LOOP): Likewise.
17559 (IP_ADD_MEMBERSHIP): Likewise.
17560 (IP_DROP_MEMBERSHIP): Likewise.
17561 (IP_UNBLOCK_SOURCE): Likewise.
17562 (IP_BLOCK_SOURCE): Likewise.
17563 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17564 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17565 (IP_MSFILTER): Likewise.
17566 (MCAST_JOIN_GROUP): Likewise.
17567 (MCAST_BLOCK_SOURCE): Likewise.
17568 (MCAST_UNBLOCK_SOURCE): Likewise.
17569 (MCAST_LEAVE_GROUP): Likewise.
17570 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17571 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17572 (MCAST_MSFILTER): Likewise.
17573 (IP_MULTICAST_ALL): Likewise.
17574 (IP_UNICAST_IF): Likewise.
17576 * timezone/Makefile: Delete $(have-ksh) check.
17577 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17578 * timezone/tzselect.ksh: Add +x mode bits.
17580 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17581 (ANON_INODE_FS_MAGIC): Likewise.
17582 (BDEVFS_MAGIC): Likewise.
17583 (BINFMTFS_MAGIC): Likewise.
17584 (BTRFS_TEST_MAGIC): Likewise.
17585 (CRAMFS_MAGIC_WEND): Likewise.
17586 (DEBUGFS_MAGIC): Likewise.
17587 (ECRYPTFS_SUPER_MAGIC): Likewise.
17588 (EXT3_SUPER_MAGIC): Likewise.
17589 (EXT4_SUPER_MAGIC): Likewise.
17590 (FUTEXFS_SUPER_MAGIC): Likewise.
17591 (HOSTFS_SUPER_MAGIC): Likewise.
17592 (HUGETLBFS_MAGIC): Likewise.
17593 (MINIX3_SUPER_MAGIC): Likewise.
17594 (MTD_INODE_FS_MAGIC): Likewise.
17595 (NILFS_SUPER_MAGIC): Likewise.
17596 (OPENPROM_SUPER_MAGIC): Likewise.
17597 (PIPEFS_MAGIC): Likewise.
17598 (PSTOREFS_MAGIC): Likewise.
17599 (QNX6_SUPER_MAGIC): Likewise.
17600 (RAMFS_MAGIC): Likewise.
17601 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17602 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17603 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17604 (SECURITYFS_MAGIC): Likewise.
17605 (SELINUX_MAGIC): Likewise.
17606 (SMACK_MAGIC): Likewise.
17607 (SOCKFS_MAGIC): Likewise.
17608 (SQUASHFS_MAGIC): Likewise.
17609 (STACK_END_MAGIC): Likewise.
17610 (TMPFS_MAGIC): Likewise.
17611 (USBDEVICE_SUPER_MAGIC): Likewise.
17612 (V9FS_MAGIC): Likewise.
17613 (XENFS_SUPER_MAGIC): Likewise.
17614 (CRAMFS_MAGIC): Fix typo in comment.
17615 (EXT2_SUPER_MAGIC): Update comment.
17616 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17618 2014-02-08 Joseph Myers <joseph@codesourcery.com>
17620 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17621 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17622 * sysdeps/unix/sysv/linux/arm: Move directory from
17623 ports/sysdeps/unix/sysv/linux/arm.
17624 * README: Update listing for arm-*-linux-gnueabi.
17626 * README: Remove mention of am33.
17628 2014-02-07 Roland McGrath <roland@hack.frob.com>
17630 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17631 than the comma operator, to avoid "rhs of comma has no effect"
17633 (__sigfillset, __sigandset, __sigorset): Likewise.
17634 * include/signal.h (__sigemptyset): Likewise.
17635 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17637 2014-02-07 Allan McRae <allan@archlinux.org>
17639 * version.h (RELEASE): Set to "development".
17640 (VERSION): Set to "2.19.90"
17641 * NEWS: Add 2.20 section.
17643 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17646 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17648 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17650 * manual/contrib.texi: Update entry for Carlos O'Donell,
17651 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17653 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17655 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17657 * sysdeps/unix/sysv/linux/kernel-features.h
17658 [__LINUX_KERNEL_VERSION >= 0x020621]
17659 (__ASSUME_PROC_PID_TASK_COMM): Define.
17661 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17664 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17665 conversion when destination buffer does not have enough space.
17666 * libio/tst-ftell-partial-wide.c: New test case.
17667 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17669 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17670 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17671 Leonard and Allan McRae.
17673 2014-02-04 David S. Miller <davem@davemloft.net>
17675 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17678 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17707 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17709 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17710 * shlib-versions: Likewise.
17712 2014-02-04 Roland McGrath <roland@hack.frob.com>
17713 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17715 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17716 (abilist-pattern): New variable, set to %-le.abilist.
17718 * Makerules (abilist-pattern): New variable.
17719 (vpath): Use $(abilist-pattern) in place of %.abilist.
17720 (check-abi-% pattern rule): Likewise.
17721 (check-abi, update-abi): Likewise.
17723 2014-02-04 Eric Wong <normalperson@yhbt.net>
17725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17727 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17729 * manual/startup.texi: Add next, previous, and top entries for
17730 the `Program Arguments' and `Environment Variables' nodes.
17732 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17734 * manual/macros.texi: Add comments before MTASC-safety macros.
17736 * manual/users.texi: Document MTASC-safety properties.
17738 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17739 (pthread_getspecific, pthread_setspecific): Format with
17740 @deftypefun, and add @safety note.
17741 * manual/signal.texi: Move comments that analyze the above
17742 functions to their home place.
17744 2014-02-03 Allan McRae <allan@archlinux.org>
17746 * po/sl.po: Update Slovenian translation from translation project.
17748 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17750 * manual/time.texi (timegm): Add missing blank after @c.
17751 Reported by Joseph Myers <joseph@codesourcery.com>.
17753 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17755 * manual/check-safety.sh: New.
17756 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17758 * manual/terminal.texi: Document MTASC-safety properties.
17760 * manual/filesys.texi: Document MTASC-safety properties.
17762 * manual/errno.texi: Document MTASC-safety properties.
17764 * manual/intro.texi: Document safety identifiers and
17767 * manual/string.texi (wcstok): Fix prototype.
17768 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17770 * manual/time.texi: Document MTASC-safety properties.
17772 * manual/string.texi: Document MTASC-safety properties.
17774 * manual/threads.texi: Document MTASC-safety properties.
17776 * manual/stdio.texi: Document MTASC-safety properties.
17778 * manual/syslog.texi: Document MTASC-safety properties.
17780 * manual/sysinfo.texi: Document MTASC-safety properties.
17782 * manual/startup.texi: Document MTASC-safety properties.
17784 * manual/socket.texi: Document MTASC-safety properties.
17786 * manual/signal.texi: Document MTASC-safety properties.
17788 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17790 * manual/setjmp.texi: Document MTASC-safety properties.
17792 * manual/search.texi: Document MTASC-safety properties.
17794 * manual/resource.texi: Document MTASC-safety properties.
17796 * manual/process.texi: Document MTASC-safety properties.
17798 * manual/platform.texi: Document MTASC-safety properties.
17800 * manual/pipe.texi: Document MTASC-safety properties.
17802 * manual/pattern.texi: Document MTASC-safety properties.
17804 * manual/message.texi: Document MTASC-safety properties.
17807 * manual/memory.texi: Document MTASC-safety properties.
17809 * manual/math.texi: Document MTASC-safety properties.
17811 * manual/locale.texi: Document MTASC-safety properties.
17813 * manual/llio.texi: Document MTASC-safety properties.
17815 * manual/libdl.texi: New.
17817 * manual/lang.texi: Document MTASC-safety properties.
17819 * manual/job.texi: Document MTASC-safety properties.
17821 * manual/getopt.texi: Document MTASC-safety properties.
17823 * manual/ctype.texi: Document MTASC-safety properties.
17825 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17828 * csu/libc-tls.c (static_map): Remove variable.
17829 (__libc_setup_tls): Use main executable's link map for TLS data.
17830 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17831 casing for LM_ID_BASE and GL(dl_nns).
17832 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17833 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17834 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17835 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17836 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17838 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17841 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17843 * manual/debug.texi: Document MTASC-safety properties.
17845 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17848 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17849 of __x86_64__ when disabling x87 inline functions.
17851 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17853 * manual/charset.texi: Document MTASC-safety properties.
17855 * manual/crypt.texi: Document MTASC-safety properties.
17857 * manual/conf.texi: Document MTASC-safety properties.
17859 * manual/arith.texi: Document MTASC-safety properties.
17861 * manual/argp.texi: Document MTASC-safety properties.
17863 * manual/macros.texi: Introduce macros to document multi
17864 thread, asynchronous signal and asynchronous cancellation
17866 * manual/intro.texi: Introduce the properties themselves.
17868 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17870 * sysdeps/sh/sh4/Makefile: New file.
17872 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17874 * math/gen-libm-test.pl ($srcdir): New variable.
17875 ($auto_input): Use it.
17877 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17880 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17881 access beyond array bounds when parsing netgroups file.
17883 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17884 the old buffer before realloc.
17886 2014-01-27 Allan McRae <allan@archlinux.org>
17888 * po/fr.po: Update French translation from translation project.
17890 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17892 * sysdeps/sh/libm-test-ulps: Regenerate.
17894 2014-01-24 David S. Miller <davem@davemloft.net>
17896 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17898 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17900 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17901 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17903 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17906 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17907 string pointers after reallocation.
17909 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17911 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17912 __SH4A__ instead of __SH_FPU_ANY__.
17914 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17916 * sysdeps/sh/fpu_control.h: New file.
17917 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17918 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17919 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17920 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17921 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17922 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17923 * sysdeps/sh/sys/ucontext.h: Remove.
17924 * sysdeps/sh/sys: Remove directory.
17926 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17928 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17929 s390/sys/ucontext.h.
17930 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17931 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17933 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17936 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17938 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17941 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17942 Adjust the vDSO correctly for internal calls.
17943 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17945 2014-01-20 Allan McRae <allan@archlinux.org>
17947 * po/ca.po: Update Catalan translation from translation project.
17949 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17951 * sysdeps/s390/sotruss-lib.c: New file.
17953 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17956 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17957 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17958 local calls issues by not having a PLT stub required for IFUNC calls.
17959 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17961 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17963 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17964 * math/test-fpucw-static.c: Likewise.
17966 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17969 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17971 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17973 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17974 implementation for powerpc.
17976 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17979 * sysdeps/posix/system.c (__libc_system): Do not enable
17980 asynchronous cancellation.
17982 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17985 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17986 handling only for numbers special also in the IEEE case.
17988 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17990 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17992 2014-01-11 Allan McRae <allan@archlinux.org>
17994 * po/bg.po: Update Bulgarian translation from translation project.
17996 * po/de.po: Update German translation from translation project.
17998 2014-01-10 Roland McGrath <roland@hack.frob.com>
18000 * sysdeps/generic/gcc-compat.h: New file.
18002 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18004 * benchtests/asin-inputs: Correct slow inputs.
18005 * benchtests/acos-inputs: Likewise.
18007 2014-01-10 Allan McRae <allan@archlinux.org>
18009 * po:sv.po: Update Swedish translation from translation project.
18011 * po/vi.po: Update Vietnamese translation from translation project.
18013 * po/eo.po: Update Esperanto translation from translation project.
18015 * po/cs.po: Update Czech translation from translation project.
18017 * po/nl.po: Update Dutch translation from translation project.
18019 * po/pl.po: Update Polish translation from translation project.
18021 * po/ru.po: Update Russian translation from translation project.
18023 * po/uk.po: Update Ukrainian translation from translation project.
18025 2014-01-08 Brooks Moses <bmoses@google.com>
18027 * elf/dl-load.c: Fix comment typo.
18029 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18031 * po/header.pot: Rename to...
18032 * po/pot.header: ... this.
18033 * po/Makefile: Use pot.header.
18035 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18036 Maxim Kuvyrkov <maxim@kugelworks.com>
18039 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18040 SRC and DEST against LEN.
18042 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18045 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18049 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18053 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18056 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18057 for large positive arguments.
18059 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18061 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18063 * math/auto-libm-test-in: Mark various tests with
18064 xfail-rounding:ldbl-128ibm.
18065 * math/auto-libm-test-out: Regenerated.
18068 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18069 Increase overflow threshold.
18071 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18074 * stdio-common/vfprintf.c: Check for integer overflow.
18076 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18078 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18079 the first argument and return value of __tls_get_addr_internal.
18081 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18083 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18084 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18086 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18088 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18089 * sysdeps/s390/rtld-global-offsets.sym: New file.
18090 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18092 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18093 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18094 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18096 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18097 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18103 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18104 halfs of GPRs for high_gprs contexts.
18105 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18106 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18108 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18110 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18112 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18113 for high GPRs (uc_high_gprs) and for future extensions
18115 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18116 for future extensions (__reserved).
18117 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18119 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18120 SC_HIGHGPRS offset definition.
18121 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18122 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18124 * Versions.def: Add GLIBC_2.19 for libpthread.
18125 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18126 siglongjmp for libpthread with GLIBC_2.19 symver.
18127 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18128 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18129 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18130 * sysdeps/s390/__longjmp.c: New file.
18131 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18132 * sysdeps/s390/longjmp.c: New file.
18133 * sysdeps/s390/setjmp.S: New file.
18134 * sysdeps/s390/sigjmp.S: New file.
18135 * sysdeps/s390/v1-longjmp.c: New file.
18136 * sysdeps/s390/v1-setjmp.h: New file.
18137 * sysdeps/s390/v1-sigjmp.c: New file.
18138 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18139 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18140 GLIBC_2.19 version.
18141 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18142 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18143 versioned symbols for ____longjmp_chk.
18144 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18154 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18155 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18156 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18157 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18158 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18159 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18160 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18161 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18162 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18163 * sysdeps/s390/rtld-__longjmp.c: New file.
18164 * sysdeps/s390/rtld-setjmp.S: New file.
18166 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18169 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18170 Return -__logl (x) for small positive arguments without evaluating
18173 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18175 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18177 (__ptrace_peeksiginfo_args): ... this.
18178 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18179 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18182 2014-01-06 Allan McRae <allan@archlinux.org>
18184 * inet/netinet/in.h: Fix typo in comment.
18186 2014-01-05 Andreas Jaeger <aj@suse.de>
18188 * sysdeps/i386/fpu/libm-test-ulps: Update.
18190 2014-01-05 Allan McRae <allan@archlinux.org>
18192 * po/libc.pot: Regenerated.
18194 * malloc/memusagestat.c: Fix gettext call formatting.
18196 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18198 * nscd/nscd.c: Improve usage() output.
18200 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18202 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18203 * sysdeps/unix/sysv/linux/configure: Regenerated.
18204 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18205 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18207 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18210 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18211 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18213 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18215 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18216 extra tokens at end of #undef directive.
18217 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18218 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18219 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18221 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18223 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18225 * math/auto-libm-test-in: Mark various tests with
18226 xfail-rounding:ldbl-128ibm.
18227 * math/auto-libm-test-out: Regenerated.
18229 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18233 numbers with subnormal high part when calculating exponent.
18236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18242 (__ieee754_acoshl): Use __log1pl not __log1p.
18244 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18246 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18247 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18248 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18249 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18250 (reused_arena, arena_get2): Convert to GNU style.
18251 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18252 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18253 (memalign_check, __malloc_set_state): Likewise.
18254 * malloc/mallocbug.c (main): Likewise.
18255 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18256 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18257 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18258 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18259 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18260 (__posix_memalign, malloc_info): Likewise.
18261 * malloc/malloc.h: Likewise.
18262 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18263 (mallochook, memalignhook, reallochook, mabort): Likewise.
18264 * malloc/mcheck.h: Likewise.
18265 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18266 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18267 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18268 * malloc/morecore.c (__default_morecore): Likewise.
18269 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18270 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18271 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18272 (print_and_abort): Likewise.
18273 * malloc/obstack.h: Likewise.
18274 * malloc/set-freeres.c (__libc_freeres): Likewise.
18275 * malloc/tst-mallocstate.c (main): Likewise.
18276 * malloc/tst-mtrace.c (main): Likewise.
18277 * malloc/tst-realloc.c (do_test): Likewise.
18279 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18282 * nscd/netgroupcache.c (do_notfound): New function.
18283 (addgetnetgrentX): Use it.
18286 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18287 NSS_STATUS_NOTFOUND.
18289 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18291 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18294 2014-01-01 Allan McRae <allan@archlinux.org>
18296 * scripts/update-copyrights: Update configure input file suffix.
18298 * NEWS: Update copyright year.
18299 * catgets/gencat.c: Likewise.
18300 * csu/version.c: Likewise.
18301 * debug/catchsegv.sh: Likewise.
18302 * debug/pcprofiledump.c: Likewise.
18303 * debug/xtrace.sh: Likewise.
18304 * elf/ldconfig.c: Likewise.
18305 * elf/ldd.bash.in: Likewise.
18306 * elf/pldd.c: Likewise.
18307 * elf/sotruss.ksh: Likewise.
18308 * elf/sprof.c: Likewise.
18309 * iconv/iconv_prog.c: Likewise.
18310 * iconv/iconvconfig.c: Likewise.
18311 * locale/programs/locale.c: Likewise.
18312 * locale/programs/localedef.c: Likewise.
18313 * login/programs/pt_chown.c: Likewise.
18314 * malloc/memusage.sh: Likewise.
18315 * malloc/memusagestat.c: Likewise.
18316 * malloc/mtrace.pl: Likewise.
18317 * manual/libc.texinfo: Likewise.
18318 * nscd/nscd.c: Likewise.
18319 * nss/getent.c: Likewise.
18320 * nss/makedb.c: Likewise.
18321 * posix/getconf.c: Likewise.
18322 * scripts/test-installation.pl: Likewise.
18324 * All files with FSF copyright notices: Update copyright dates
18325 using scripts/update-copyrights.
18326 * intl/plural.c: Regenerated.
18327 * locale/programs/charmap-kw.h: Likewise.
18328 * locale/programs/locfile-kw.h: Likewise.
18330 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18332 * sysdeps/unix/sysv/linux/configure: Regenerated.
18333 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18334 the linux/fanotify.h header.
18335 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18336 HAVE_LINUX_FANOTIFY_H is defined.
18338 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18340 * benchtests/cos-inputs: New inputs.
18341 * benchtests/sin-inputs: Likewise.
18343 * benchtests/atan-inputs: New inputs. Fix name of multiple
18344 precision fallback inputs.
18346 * benchtests/atanh-inputs: New inputs.
18347 * benchtests/tanh-inputs: Likewise.
18349 * benchtests/acosh-inputs: New inputs.
18350 * benchtests/asinh-inputs: Likewise.
18352 * benchtests/cosh-inputs: New inputs.
18353 * benchtests/sinh-inputs: Likewise.
18355 * benchtests/acos-inputs: Add more inputs.
18356 * benchtests/asin-inputs: Likewise.
18358 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18361 * manual/arith.texi: Fix spelling.
18362 * manual/charset.texi: Likewise.
18363 * manual/errno.texi: Likewise.
18364 * manual/filesys.texi: Likewise.
18365 * manual/lang.texi: Likewise.
18366 * manual/llio.texi: Likewise.
18367 * manual/locale.texi: Likewise.
18368 * manual/message.texi: Likewise.
18369 * manual/resource.texi: Likewise.
18370 * manual/search.texi: Likewise.
18371 * manual/setjmp.texi: Likewise.
18372 * manual/stdio.texi: Likewise.
18373 * manual/string.texi: Likewise.
18374 * manual/sysinfo.texi: Likewise.
18375 * manual/time.texi: Likewise.
18377 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18379 * po/sl.po: New file.
18381 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18383 * .gitignore: Add core/.gdbinit/.gdb_history.
18385 2013-12-27 Allan McRae <allan@archlinux.org>
18388 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18389 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18391 2013-12-24 Brooks Moses <bmoses@google.com>
18393 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18394 all compilers that claim C++98 compliance, not just GCC.
18395 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18398 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18400 * NEWS: Restore accidentally deleted bug-fix entries.
18402 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18403 Ondřej Bílka <neleai@seznam.cz>
18406 * malloc/malloc.c (_int_free): Perform sanity check only if we
18409 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18412 * manual/stdio.texi (String Input Conversions): Clarify that character
18413 classes are not supported.
18415 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18419 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18423 Calculate results for small negative arguments directly rather
18424 than using reflection formula with special underflow handling.
18426 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18427 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18428 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18429 (fchflags): Likewise.
18430 (revoke): Likewise.
18431 (setlogin): Likewise.
18432 (sigaltstack): Likewise.
18434 (sigblock): Remove.
18435 (sigsetmask): Likewise.
18437 (waitpid): Likewise.
18438 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18439 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18441 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18442 * sysdeps/unix/bsd/Makefile: ... here.
18443 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18444 * sysdeps/unix/bsd/Versions: ... here.
18445 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18446 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18447 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18448 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18449 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18450 * sysdeps/unix/bsd/sigblock.c: ... here.
18451 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18452 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18453 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18454 * sysdeps/unix/bsd/sigvec.c: ... here.
18455 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18456 * sysdeps/unix/bsd/tcdrain.c: ... here.
18457 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18458 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18459 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18460 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18461 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18462 * sysdeps/unix/bsd/wait.c: ... here.
18463 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18464 * sysdeps/unix/bsd/wait3.c: ... here.
18465 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18466 * sysdeps/unix/bsd/waitpid.c: ... here.
18468 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18471 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18472 round-to-nearest for [!USE_AS_EXPM1L].
18473 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18474 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18475 more tests of exp and exp10. Expect some exp10 tests to miss
18476 exceptions or fail in directed rounding modes.
18477 * math/auto-libm-test-out: Regenerated.
18478 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18479 (exp10_test_tonearest): New function.
18480 (exp10_towardzero_test_data): New array.
18481 (exp10_test_towardzero): New function.
18482 (exp10_downward_test_data): New array.
18483 (exp10_test_downward): New function.
18484 (exp10_upward_test_data): New array.
18485 (exp10_test_upward): New function.
18486 (main): Call the new functions.
18487 * sysdeps/i386/fpu/libm-test-ulps: Update.
18488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18490 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18492 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18493 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18494 * math/auto-libm-test-out: Regenerated.
18495 * math/libm-test.inc (acosh_test_data): Add more tests.
18496 (atanh_test_data): Likewise.
18497 (ceil_test_data): Likewise.
18498 (copysign_test_data): Likewise.
18499 * sysdeps/i386/fpu/libm-test-ulps: Update.
18500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18502 * timezone/checktab.awk: Update from tzcode 2013i.
18503 * timezone/private.h: Likewise.
18504 * timezone/scheck.c: Likewise.
18505 * timezone/tzfile.h: Likewise.
18506 * timezone/tzselect.ksh: Likewise.
18507 * timezone/zdump.c: Likewise.
18508 * timezone/zic.c: Likewise.
18510 * math/auto-libm-test-in: Add tests of cpow.
18511 * math/auto-libm-test-out: Regenerated.
18512 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18513 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18515 (func_calc_desc): Add mpc_cc_c union field.
18516 (test_functions): Add cpow.
18517 (special_fill_2pi): New function.
18518 (special_real_inputs): Add 2pi.
18519 (calc_generic_results): Handle mpc_cc_c.
18520 * sysdeps/i386/fpu/libm-test-ulps: Update.
18521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18523 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18524 csqrt, ctan and ctanh.
18525 * math/auto-libm-test-out: Regenerated.
18526 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18527 (TEST_COND_x86): Likewise.
18528 (ccos_test_data): Use AUTO_TESTS_c_c.
18529 (ccosh_test_data): Likewise.
18530 (cexp_test_data): Likewise.
18531 (clog_test_data): Likewise.
18532 (csqrt_test_data): Likewise.
18533 (ctan_test_data): Likewise.
18534 (ctan_tonearest_test_data): Likewise.
18535 (ctan_towardzero_test_data): Likewise.
18536 (ctan_downward_test_data): Likewise.
18537 (ctan_upward_test_data): Likewise.
18538 (ctanh_test_data): Likewise.
18539 (ctanh_tonearest_test_data): Likewise.
18540 (ctanh_towardzero_test_data): Likewise.
18541 (ctanh_downward_test_data): Likewise.
18542 (ctanh_upward_test_data): Likewise.
18543 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18545 (func_calc_desc): Add mpc_c_c union field.
18546 (FUNC_mpc_c_c): New macro.
18547 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18548 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18550 (special_fill_min_subnorm_p120): New function.
18551 (special_real_inputs): Add min_subnorm_p120.
18552 (calc_generic_results): Handle mpc_c_c.
18553 * sysdeps/i386/fpu/libm-test-ulps: Update.
18554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18556 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18558 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18559 (do_sin_slow): New functions.
18560 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18561 (cslow2, csloww1, csloww2): Use the new functions.
18563 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18564 Use M to change sign of result instead of X. Assume X is
18566 (csloww1): Likewise.
18570 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18571 arguments A and DA.
18575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18577 (sloww1): Don't adjust sign of DX.
18578 (csloww1): Likewise.
18579 (sloww2): Use X directly and don't adjust sign of DX.
18580 (csloww2): Likewise.
18582 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18584 * math/auto-libm-test-in: Add tests of cabs and carg.
18585 * math/auto-libm-test-out: Regenerated.
18586 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18587 (carg_test_data): Likewise.
18588 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18590 (func_calc_desc): Add mpc_c_f union field.
18591 (test_functions): Add cabs and carg.
18592 (calc_generic_results): Handle mpc_c_f.
18594 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18595 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18596 as a macro and a compat symbol.
18597 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18598 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18599 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18600 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18601 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18602 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18604 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18606 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18608 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18610 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18612 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18614 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18615 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18618 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18622 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18624 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18625 trailing whitespace removed.
18626 * scripts/config.guess: Update to version 2013-11-29.
18627 * scripts/config.sub: Update to version 2013-10-01.
18629 * math/auto-libm-test-in: Add tests of sincos.
18630 * math/auto-libm-test-out: Regenerated.
18631 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18632 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18634 (func_calc_desc): Add mpfr_f_11 union field.
18635 (test_functions): Add sincos.
18636 (calc_generic_results): Handle mpfr_f_11.
18637 * sysdeps/i386/fpu/libm-test-ulps: Update.
18638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18640 2013-12-19 Andreas Schwab <schwab@suse.de>
18642 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18644 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18645 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18646 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18648 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18650 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18651 * sysdeps/i386/fpu/libm-test-ulps: Update.
18652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18655 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18656 round-to-nearest mode when using frndint.
18657 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18658 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18661 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18663 * math/auto-libm-test-out: Regenerated.
18664 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18665 (TEST_COND_x86): Likewise.
18666 (expm1_tonearest_test_data): New array.
18667 (expm1_test_tonearest): New function.
18668 (expm1_towardzero_test_data): New array.
18669 (expm1_test_towardzero): New function.
18670 (expm1_downward_test_data): New array.
18671 (expm1_test_downward): New function.
18672 (expm1_upward_test_data): New array.
18673 (expm1_test_upward): New function.
18674 (main): Run the new test functions.
18675 * sysdeps/i386/fpu/libm-test-ulps: Update.
18676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18678 * include/features.h: Update comment documenting feature test
18679 macros. Mention _DEFAULT_SOURCE in comment.
18680 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18681 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18682 _BSD_SOURCE and _SVID_SOURCE.
18683 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18684 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18685 !_SVID_SOURCE]: Likewise.
18686 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18687 (__USE_POSIX_IMPLICITLY): Define.
18688 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18689 (_POSIX_SOURCE): Undefine and redefine.
18690 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18691 (_POSIX_C_SOURCE): Likewise.
18692 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18693 (Feature Test Macros): Update documentation of default features.
18695 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18697 * benchtests/Makefile: Add bench-strtok.
18698 * benchtests/bench-strtok.c: New file: strtok benchtest.
18700 2013-12-19 Allan McRae <allan@archlinux.org>
18702 * manual/install.texi: Suppress menu for plain text output.
18703 * INSTALL: Regenerated.
18705 2013-12-18 Brooks Moses <bmoses@google.com>
18708 * misc/getauxval.c: Include errno.h.
18709 (__getauxval): Set errno to ENOENT if the requested type is not
18711 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18712 don't declare with __attribute_const__.
18713 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18714 * manual/startup.texi: Document that getauxval sets errno.
18716 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18718 * math/auto-libm-test-in: Add tests of jn and yn.
18719 * math/auto-libm-test-out: Regenerated.
18720 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18721 (yn_test_data): Likewise.
18722 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18724 (func_calc_desc): Add mpfr_if_f union field.
18725 (FUNC_mpfr_if_f): New macro.
18726 (test_functions): Add jn and yn.
18727 (calc_generic_results): Assert type of second input for
18728 mpfr_ff_f. Handle mpfr_if_f.
18729 (output_for_one_input_case): Disable all checking for arguments
18730 fitting floating-point types in case of an integer argument.
18731 * sysdeps/i386/fpu/libm-test-ulps: Update.
18732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18735 Don't expect fegetround reference in libm.so.
18737 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18739 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18740 $(config-cflags-nofma).
18742 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18744 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18745 * math/auto-libm-test-out: Regenerated.
18748 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18749 to determine exponent and adjust argument to have exponent of -1.
18750 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18752 * math/auto-libm-test-out: Regenerated.
18753 * sysdeps/i386/fpu/libm-test-ulps: Update.
18754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18756 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18758 * manual/probes.texi: Remove cases when per-thread arenas are
18761 2013-12-18 Andreas Schwab <schwab@suse.de>
18763 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18764 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18765 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18766 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18767 * sysdeps/i386/i686/multiarch/Makefile: Update.
18768 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18770 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18772 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18773 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18775 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18778 Support TZ transition times < 00:00:00.
18779 This is needed for version-3 tz-format files; it supports time
18780 stamps past 2037 for America/Godthab (the only entry in the tz
18781 database for which this change is relevant).
18782 * manual/time.texi (TZ Variable): Document transition times
18783 from -167:59:59 through -00:00:01.
18784 * time/tzset.c (tz_rule): Time of day is now signed.
18785 (__tzset_parse_tz): Parse negative time of day.
18787 Document TZ transition times >= 25:00:00.
18788 * manual/time.texi (TZ Variable): Document transition times from
18789 25:00:00 through 167:59:59. These are already supported, and this
18790 support will help with version-3 tz-format files.
18792 * manual/time.texi (TZ Variable): Modernize North America example
18793 to reflect current (i.e., 2007-and-later) daylight saving rules.
18795 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18797 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18799 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18800 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18803 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18804 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18805 * sysdeps/unix/bsd/clock.c: Likewise.
18806 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18807 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18808 * sysdeps/unix/bsd/init-posix.c: Likewise.
18809 * sysdeps/unix/bsd/poll.c: Likewise.
18810 * sysdeps/unix/bsd/ptsname.c: Likewise.
18811 * sysdeps/unix/bsd/seekdir.c: Likewise.
18812 * sysdeps/unix/bsd/setegid.c: Likewise.
18813 * sysdeps/unix/bsd/seteuid.c: Likewise.
18814 * sysdeps/unix/bsd/setgid.c: Likewise.
18815 * sysdeps/unix/bsd/setrgid.c: Likewise.
18816 * sysdeps/unix/bsd/setruid.c: Likewise.
18817 * sysdeps/unix/bsd/setsid.c: Likewise.
18818 * sysdeps/unix/bsd/setuid.c: Likewise.
18819 * sysdeps/unix/bsd/sigaction.c: Likewise.
18820 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18821 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18822 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18823 * sysdeps/unix/bsd/telldir.c: Likewise.
18824 * sysdeps/unix/bsd/times.c: Likewise.
18825 * sysdeps/unix/bsd/usleep.c: Likewise.
18827 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18828 ($(objpfx)libbsd-compat.a): Remove rule.
18830 * include/features.h (__FAVOR_BSD): Do not define.
18831 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18832 features conflicting with POSIX.
18833 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18834 (_BSD_SOURCE): Remove description of not being a subset of other
18835 feature test macros.
18836 * manual/job.texi (getpgrp): Do not document BSD version.
18837 (getpgid): Do not document by reference to BSD getpgrp.
18838 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18839 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18840 * signal/signal.h [__FAVOR_BSD]: Likewise.
18841 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18842 instead of making contents conditional on [__FAVOR_BSD].
18843 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18845 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18849 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18852 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18853 values below 2**-450, not 2**-500.
18854 * math/auto-libm-test-in: Don't allow spurious underflow from
18856 * math/auto-libm-test-out: Regenerated.
18860 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18861 values of ha and hb and sort them after adjusting subnormal
18863 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18865 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18866 values of ea and eb and sort them after adjusting subnormal
18868 * math/auto-libm-test-in: Do not expect some hypot tests of
18869 subnormals to fail. Add more hypot tests.
18870 * math/auto-libm-test-out: Regenerated.
18872 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18875 * sysdeps/sh/s_fma.c: New file.
18876 * sysdeps/sh/s_fmaf.c: New file.
18877 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18879 * sysdeps/sh/Implies: Add sh/soft-fp.
18881 2013-12-16 Roland McGrath <roland@hack.frob.com>
18883 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18884 level of indirection to members `objname', `errstring', `malloced'.
18885 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18886 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18887 it as the __longjmp argument (just pass 1 instead).
18888 (_dl_catch_error): Initialize C with argument pointers and address of
18889 volatile local ERRCODE rather than copying values out of C at return.
18891 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18893 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18894 * math/auto-libm-test-out: Regenerated.
18895 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18896 (hypot_test_data): Likewise.
18897 (pow_test_data): Likewise.
18898 (pow_tonearest_test_data): Likewise.
18899 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18901 (func_calc_desc): Add mpfr_ff_f union field.
18902 (FUNC_mpfr_ff_f): New macro.
18903 (test_functions): Add atan2, hypot and pow.
18904 (special_fill_min): New function.
18905 (special_fill_minus_min): Likewise.
18906 (special_fill_min_subnorm): Likewise.
18907 (special_fill_minus_min_subnorm): Likewise.
18908 (special_real_inputs): Add min, -min, min_subnorm and
18910 (calc_generic_results): Handle mpfr_ff_f.
18911 * sysdeps/i386/fpu/libm-test-ulps: Update.
18912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18914 2013-12-16 Will Newton <will.newton@linaro.org>
18916 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18917 (Aligned Memory Blocks): Add documentation for aligned_alloc
18918 and suggest it as an alternative to posix_memalign.
18919 (Hooks for Malloc): Document __memalign_hook is also called
18920 for aligned_alloc. (Summary of Malloc): Add summary for
18921 aligned alloc. Document __memalign_hook is also called
18924 2013-12-16 Will Newton <will.newton@linaro.org>
18926 * manual/memory.texi (Malloc Examples): Clarify default
18927 alignment documentation. Suggest posix_memalign rather
18928 than memalign or valloc.
18929 (Aligned Memory Blocks): Remove suggestion to use memalign
18930 or valloc. Remove obsolete comment about BSD.
18931 Document memalign errno values and mark the function obsolete.
18932 Document posix_memalign returned error codes. Mark valloc
18933 as obsolete. (Hooks for Malloc): __memalign_hook is also
18934 called for posix_memalign and valloc.
18935 (Summary of Malloc): Add posix_memalign to function summary.
18936 __memalign_hook is also called for posix_memalign and valloc.
18938 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18940 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18944 (sloww): Use mynumber union. Expand ternary operator into
18945 if-else statements.
18946 (cslow): use mynumber union.
18948 2013-12-16 Allan McRae <allan@archlinux.org>
18950 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18951 * configure: Regenerated.
18953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18956 * configure.ac: Added --enable-maintainer-mode. Check for
18957 autoconf when enabled.
18958 * configure: Regenerated.
18960 * nscd/nscd.service: New file.
18961 * nscd/nscd.tmpfiles: New file.
18963 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18966 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18967 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18968 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18969 (strstr): Add __strstr_sse2_unaligned ifunc.
18970 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18971 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18972 (strcasestr): Remove __strcasestr_sse42 ifunc.
18973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18977 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18979 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18980 * sysdeps/sh/bits/fenv.h: ... here.
18981 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18983 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18985 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18988 hypotf multiarch implementations.
18989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18990 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18991 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18992 multiarch hypot for PPC64.
18993 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18994 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18995 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18996 multiarch hypotf for PPC64.
18998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18999 modff multiarch implementations.
19000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19003 multiarch modf for PPC64.
19004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19007 multiarch modff for PPC64.
19009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19010 and logl multiarch implementations.
19011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19014 multiarch logb for PPC64.
19015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19018 multiarch logb for PPC64.
19019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19022 multiarch logb for PPC64.
19024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19025 isinff multiarch implementation.
19026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19030 multiarch isinf for PPC64.
19031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19034 multiarch isinff for PPC64.
19036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19037 finitef multiarch implementation.
19038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19042 multiarch finite for PPC64.
19043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19046 multiarch finitef for PPC64.
19048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19049 lrint multiarch implementation.
19050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19054 multiarch llrint for PPC64.
19055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19056 multiarch lrint for PPC64.
19058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19059 copysignf multiarch implementation.
19060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19065 multiarch copysign for PPC64.
19066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19067 multiarch copysignf for PPC64.
19069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19070 multiarch implementation.
19071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19079 multiarch llround for PPC64.
19080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19081 multiarch trunc for PPC64.
19082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19083 multiarch truncf for PPC64.
19085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19086 multiarch implementation.
19087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19095 multiarch llround for PPC64.
19096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19097 multiarch round for PPC64.
19098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19099 multiarch roundf for PPC64.
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19102 multiarch implementation.
19103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19111 multiarch llround for PPC64.
19112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19113 multiarch floor for PPC64.
19114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19115 multiarch floorf for PPC64.
19117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19118 multiarch implementation.
19119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19127 multiarch llround for PPC64.
19128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19129 multiarch ceil for PPC64.
19130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19131 multiarch ceilf for PPC64.
19133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19134 multiarch implementation.
19135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19142 multiarch llround for PPC64.
19143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19144 multiarch lround for PPC64.
19146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19147 multiarch implementation.
19148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19155 multiarch isnan for PPC64.
19156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19157 multiarch isnanf for PPC64.
19159 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19160 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19161 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19162 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19163 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19166 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19167 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19172 multiarch implementations.
19173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19174 (__libc_ifunc_impl_list): Likewise.
19175 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19176 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19177 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19178 multiarch stpcpy for PPC64.
19180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19181 multiarch implementations.
19182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19183 (__libc_ifunc_impl_list): Likewise.
19184 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19185 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19186 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19187 multiarch strcpy for PPC64.
19189 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19190 redefine function name.
19191 (_wordcopy_fwd_dest_aligned): Likewise.
19192 (_wordcopy_bwd_aligned): Likewise.
19193 (_wordcopy_bwd_dest_aligned): Likewise.
19194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19195 multiarch implementations.
19196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19197 (__libc_ifunc_impl_list): Likewise.
19198 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19199 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19200 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19201 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19202 multiarch wcscpy for PPC64.
19204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19205 multiarch implementations.
19206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19207 (__libc_ifunc_impl_list): Likewise.
19208 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19209 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19210 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19211 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19212 multiarch wcscpy for PPC64.
19214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19215 multiarch implementations.
19216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19217 (__libc_ifunc_impl_list): Likewise.
19218 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19219 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19220 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19221 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19222 multiarch wcsrchr for PPC64.
19224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19225 multiarch implementations.
19226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19227 (__libc_ifunc_impl_list): Likewise.
19228 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19229 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19230 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19231 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19232 multiarch wcschr for PPC64.
19234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19235 multiarch implementations.
19236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19237 (__libc_ifunc_impl_list): Likewise.
19238 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19239 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19240 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19241 multiarch strchrnul for PPC64.
19243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19246 (__libc_ifunc_impl_list): Likewise.
19247 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19248 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19249 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19250 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19256 (__libc_ifunc_impl_list): Likewise.
19257 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19258 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19259 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19260 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19264 multiarch implementations.
19265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19266 (__libc_ifunc_impl_list): Likewise.
19267 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19268 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19269 strncasecmp for PPC64.
19270 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19271 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19272 multiarch strncasecmp_l for PPC64.
19274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19275 multiarch implementations.
19276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19277 (__libc_ifunc_impl_list): Likewise.
19278 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19279 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19280 multiarch strcasecmp for PPC64.
19281 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19283 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19284 multiarch strcasecmp_l for PPC64.
19286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19289 (__libc_ifunc_impl_list): Likewise.
19290 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19291 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19292 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19298 (__libc_ifunc_impl_list): Likewise.
19299 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19300 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19301 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19307 (__libc_ifunc_impl_list): Likewise.
19308 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19309 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19310 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19311 rawmemrchr for PPC64.
19313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19316 (__libc_ifunc_impl_list): Likewise.
19317 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19318 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19319 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19325 (__libc_ifunc_impl_list): Likewise.
19326 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19327 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19328 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19334 (__libc_ifunc_impl_list): Likewise.
19335 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19336 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19337 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19340 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19341 avoid cretion of __bzero symbol.
19342 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19344 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19346 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19349 multiarch implementations.
19350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19351 (__libc_ifunc_impl_list): Likewise.
19352 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19353 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19354 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19355 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19357 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19358 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19359 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19360 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19361 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19363 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19365 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19369 (__libc_ifunc_impl_list): Likewise.
19370 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19371 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19372 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19373 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19377 multiarch for POWER/PPC64.
19378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19379 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19380 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19381 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19382 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19383 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19384 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19385 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19386 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19389 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19390 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19391 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19392 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19393 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19394 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19395 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19396 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19397 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19398 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19399 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19400 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19401 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19402 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19403 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19412 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19414 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19416 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19418 * benchtests/Makefile (bench): Add exp2 and log2.
19419 (LDLIBS-bench-exp2): Add -lm.
19420 (LDLIBS-bench-log2): Likewise.
19421 * benchtests/exp2-inputs: New inputs file.
19422 * benchtests/log2-inputs: New inputs file.
19423 * benchtests/log-inputs: Add new inputs.
19424 * benchtests/tan-inputs: Likewise.
19426 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19428 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19430 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19431 (csloww2): ... from here.
19433 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19434 instead of structures.
19435 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19436 (POLYNOMIAL): Likewise.
19437 (TAYLOR_SLOW): Likewise.
19443 (sloww1); Likewise.
19444 (sloww2): Likewise.
19445 (bsloww1): Likewise.
19446 (bsloww2): Likewise.
19447 (cslow2): Likewise.
19448 (csloww): Likewise.
19449 (csloww1): Likewise.
19450 (csloww2): Likewise.
19452 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19454 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19455 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19456 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19457 * malloc/hooks.c (realloc_check): Likewise.
19459 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19460 * malloc/arena.c: Remove PER_THREAD conditional.
19461 [!PER_THREAD]: Remove code.
19462 (ptmalloc_unlock_all2): Likewise.
19463 (ptmalloc_init): Likewise.
19464 (_int_new_arena): Likewise.
19465 (arena_get2): Likewise.
19466 * malloc/hooks.c (__malloc_get_state): Likewise.
19467 (__malloc_set_state): Likewise.
19468 * malloc/malloc.c: Likewise.
19469 (struct malloc_state): Likewise.
19470 (struct malloc_par): Likewise.
19471 (__libc_realloc): Likewise.
19472 (__libc_mallopt): Likewise.
19474 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19476 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19478 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19480 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19481 macro to a function. Check for zero perturb_byte.
19482 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19484 * malloc/malloc.c: (force_reg): Remove.
19485 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19486 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19487 force_reg by atomic_forced_read.
19488 * malloc/arena.c (ptmalloc_init): Likewise.
19489 * malloc/hooks.c (top_check): Likewise.
19491 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19495 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19499 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19501 * math/auto-libm-test-in: Add tests of lgamma.
19502 * math/auto-libm-test-out: Regenerated.
19503 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19504 (M_LOG_2_SQRT_PIl): Likewise.
19505 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19506 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19508 (func_calc_desc): Add mpfr_f_f1 union field.
19509 (ARGS1): New macro.
19517 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19518 (test_functions): Add lgamma.
19519 (calc_generic_results): Handle mpfr_f_f1.
19520 * sysdeps/i386/fpu/libm-test-ulps: Update.
19521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19525 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19526 __mpn_add_n for PowerPC64/POWER7.
19527 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19528 __mpn_sub_n for PowerPC64/POWER7.
19530 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19531 __mpn_addmul_1 for PowerPC64.
19532 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19533 __mpn_submul_1 for PowerPC64.
19534 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19536 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19539 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19542 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19544 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19546 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19548 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19549 add multiarch folders.
19550 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19551 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19552 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19553 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19554 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19555 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19556 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19557 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19558 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19559 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19560 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19569 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19575 multiarch __ieee754_hypot for PowerPC32.
19576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19581 multiarch __ieee754_hypotf for PowerPC32.
19583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19584 long_double_symbol only if __logbl is defined.
19585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19586 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19588 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19590 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19592 path for implementation.
19593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19596 logb, and logbl multiarch implementations for PowerPC32.
19597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19602 multiarch logb for PowerPC32.
19603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19608 multiarch logbf for PowerPC32.
19609 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19613 multiarch logbl implementation for PowerPC32.
19615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19616 and modff multiarch implementations.
19617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19622 multiarch modf for PowerPC32.
19623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19628 multiarch modff for PowerPC32.
19630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19631 and lrintf multiarch implementations.
19632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19637 multiarch lrint for PowerPC32.
19638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19639 file: multiarch lrintf for PowerPC32.
19641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19642 and lroundf multiarch implementations.
19643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19650 multiarch lround for PowerPC32.
19651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19652 file: multiarch lroundf for PowerPC32.
19654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19655 copysign and copysignf multiarch implementations.
19656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19661 file: multiarch copysign for PowerPC32.
19662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19663 file: multiarch copysignf for PowerPC32.
19665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19666 and truncf multiarch implementations.
19667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19672 multiarch trunc for PowerPC32.
19673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19678 multiarch truncf for PowerPC32.
19680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19681 and roundf multiarch implementations.
19682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19687 multiarch round for PowerPC32.
19688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19693 multiarch roundf for PowerPC32.
19695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19696 and floorf multiarch implementations.
19697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19702 multiarch floor for PowerPC32.
19703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19708 multiarch floorf for PowerPC32.
19710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19711 and ceilf multiarch implementations.
19712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19717 multiarch ceil for PowerPC32.
19718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19723 multiarch ceilf for PowerPC32.
19725 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19727 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19728 FINITEF is defined.
19729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19730 and finitef multiarch implementations.
19731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19736 multiarch finite for PowerPC32.
19737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19740 file: multiarch finitef for PowerPC32.
19742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19743 and isinff multiarch implementations.
19744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19749 multiarch isinf for PowerPC32.
19750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19753 multiarch isinff for PowerPC32.
19755 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19756 alias when __isnan is defined.
19757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19758 and isnanf multiarch implementations.
19759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19768 multiarch isnan for PowerPC32.
19769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19774 multiarch isnanf for PowerPC32.
19776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19777 and sqrtf multiarch implementations.
19778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19783 multiarch sqrt for PowerPC32.
19784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19789 multiarch sqrtf for PowerPC32.
19791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19792 and llroundf multiarch implementations.
19793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19800 file: multiarch llround for PowerPC32.
19801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19802 file: multiarch llroundf for PowerPC32.
19804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19805 multiarch PowerPC32 fpu implementations.
19806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19811 multiarch llrint for PowerPC32.
19812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19821 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19823 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19825 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19827 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19828 multiarch wordcopy for PPC32.
19829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19832 (__libc_ifunc_impl_list): Likewise.
19833 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19834 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19836 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19837 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19838 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19840 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19848 multiarch wcscpy for PPC32.
19849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19852 (__libc_ifunc_impl_list): Likewise.
19853 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19854 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19855 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19856 sysdeps/powerpc/power6/wcscpy.c.
19858 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19863 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19866 multiarch wcsrchr for PPC32.
19867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19870 (__libc_ifunc_impl_list): Likewise.
19871 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19872 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19873 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19874 sysdeps/powerpc/power6/wcsrchr.c.
19876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19882 multiarch wcschr for PPc32.
19883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19886 (__libc_ifunc_impl_list): Likewise.
19887 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19888 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19889 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19890 sysdeps/powerpc/power6/wcschr.c.
19892 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19893 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19895 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19896 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19897 file: multiarch strchr for PPC32.
19898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19901 (__libc_ifunc_impl_list): Likewise.
19903 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19905 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19907 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19909 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19910 multiarch strchrnul for PPC32.
19911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19914 (__libc_ifunc_impl_list): Likewise.
19916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19918 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19919 multiarch strncasecmp for PPC32.
19920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19923 multiarch strncasecmp_l for PPC32.
19924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19925 strncasecmp multiarch objects.
19926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19927 (__libc_ifunc_impl_list): Likewise.
19929 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19931 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19932 multiarch strncasecmp for PPC32.
19933 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19935 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19936 multiarch strcasecmp_l for PPC32.
19937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19940 (__libc_ifunc_impl_list): Likewise.
19942 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19947 multiarch strncmp for PPC32.
19948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19951 (__libc_ifunc_impl_list): Likewise.
19953 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19954 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19956 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19957 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19961 (__libc_ifunc_impl_list): Likewise.
19963 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19965 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19967 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19971 (__libc_ifunc_impl_list): Likewise.
19973 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19975 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19977 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19978 multiarch rawmemchr for PPC32.
19979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19982 (__libc_ifunc_impl_list): Likewise.
19984 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19986 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19988 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19989 file: memrchr multiarch for PPC32.
19990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19993 (__libc_ifunc_impl_list): Likewise.
19995 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19996 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19998 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19999 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20000 multiarch memchr for PPC32.
20001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20004 (__libc_ifunc_impl_list): Likewise.
20006 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20007 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20009 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20011 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20012 file: multiarch mempcpy for PPC32.
20013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20016 (__libc_ifunc_impl_list): Likewise.
20018 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20019 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20020 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20021 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20022 multiarch bzero for PPC32.
20023 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20025 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20027 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20028 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20029 file: multiarch memset for PPC32.
20030 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20032 memset multiarch objects.
20033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20034 (__libc_ifunc_impl_list): Likewise.
20036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20039 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20041 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20045 (__libc_ifunc_impl_list): Likewise.
20047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20048 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20053 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20055 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20056 multiarch memcpy for PPC32.
20057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20060 (__libc_ifunc_impl_list): Likewise.
20062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20063 support multiarch for POWER/PPC32.
20064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20066 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20068 Implies file to make multiarch folder appers before the fpu and
20069 default folder for power4 configuration.
20071 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20073 * scripts/bench.pl: Append volatile keyword to type.
20075 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20077 * sysdeps/sh/sotruss-lib.c: New file.
20078 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20080 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20084 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20087 * math/w_tgamma.c: Include <errno.h>.
20088 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20089 * math/w_tgammaf.c: Include <errno.h>.
20090 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20091 * math/w_tgammal.c: Include <errno.h>.
20092 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20093 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20094 underflow. Add more tgamma tests.
20095 * math/auto-libm-test-out: Regenerated.
20096 * sysdeps/i386/fpu/libm-test-ulps: Update.
20097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20099 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20100 sin, sinh, tan, tanh, tgamma, y0 and y1.
20101 * math/auto-libm-test-out: Regenerated.
20102 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20103 (TEST_COND_x86): Likewise.
20104 (M_E2l): Remove macro.
20106 (M_2_SQRT_PIl): Likewise.
20107 (M_SQRT_PIl): Likewise.
20108 (M_1_DIV_El): Likewise.
20109 (log_test_data): Use AUTO_TESTS_f_f.
20110 (log10_test_data): Likewise.
20111 (log1p_test_data): Likewise.
20112 (log2_test_data): Likewise.
20113 (sin_test_data): Likewise.
20114 (sin_tonearest_test_data): Likewise.
20115 (sin_towardzero_test_data): Likewise.
20116 (sin_downward_test_data): Likewise.
20117 (sin_upward_test_data): Likewise.
20118 (sinh_test_data): Likewise.
20119 (sinh_tonearest_test_data): Likewise.
20120 (sinh_towardzero_test_data): Likewise.
20121 (sinh_downward_test_data): Likewise.
20122 (sinh_upward_test_data): Likewise.
20123 (tan_test_data): Likewise.
20124 (tan_tonearest_test_data): Likewise.
20125 (tan_towardzero_test_data): Likewise.
20126 (tan_downward_test_data): Likewise.
20127 (tan_upward_test_data): Likewise.
20128 (tanh_test_data): Likewise.
20129 (tgamma_test_data): Likewise.
20130 (y0_test_data): Likewise.
20131 (y1_test_data): Likewise.
20132 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20133 (special_real_inputs): Add pi/4.
20134 * sysdeps/i386/fpu/libm-test-ulps: Update.
20135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20137 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20139 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20140 "longjmp_target" static probes.
20141 (__longjmp): Rename to __longjmp_symbol.
20142 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20143 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20144 on which longjmp to generate.
20145 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20148 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20149 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20150 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20151 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20152 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20153 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20155 __longjmp_symbol based on which __longjmp to generate.
20156 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20158 (setjmp): Rename to setjmp_symbol.
20159 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20160 (_setjmp): Rename to _setjmp_symbol.
20161 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20162 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20163 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20164 which setjmp to generate.
20165 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20166 "longjmp_target" static probes.
20168 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20170 * benchtests/README: Add note about output arguments.
20171 * benchtests/bench-sincos.c: Remove file.
20172 * benchtests/sincos-inputs: New file.
20173 * scripts/bench.pl: Identify output arguments and define
20174 static variables for them.
20176 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20179 * Makefile (INSTALL): Add install-plain.texi as the primary
20181 * manual/install-plain.texi: New file.
20182 * manual/install.texi: Include node directive only for
20183 non-plaintext output.
20185 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20187 * stdlib/longlong.h: Update from GCC.
20191 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20192 * math/w_j0f.c (y0f): Likewise.
20193 * math/w_j0l.c (__y0l): Likewise.
20194 * math/w_j1.c (y1): Likewise.
20195 * math/w_j1f.c (y1f): Likewise.
20196 * math/w_j1l.c (__y1l): Likewise
20197 * math/w_jn.c (yn): Likewise.
20198 * math/w_jnf.c (ynf): Likewise.
20199 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20200 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20201 value for Bessel function domain errors outside _SVID_ mode.
20202 Adjust sign of return value for yn (negative integer, 0).
20203 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20204 by zero in return for negative x and set sign appropriately for
20206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20208 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20209 expectations in error cases.
20210 (y1_test_data): Likewise.
20211 (yn_test_data): Likewise.
20212 * sysdeps/i386/fpu/libm-test-ulps: Update.
20213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20215 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20217 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20218 "64" to "64-v1". Add "64-v2".
20219 (abi-64-options): Rename to ...
20220 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20221 (abi-64-condition): Rename to ...
20222 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20223 (abi-64-ld-soname): Rename to ...
20224 (abi-64-v1-ld-soname): ... this.
20225 (abi-64-v2-options): Define.
20226 (abi-64-v2-condition): Likewise.
20227 (abi-64-v2-ld-soname): Likewise.
20228 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20229 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20234 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20235 Alan Modra <amodra@gmail.com>
20237 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20238 New versions for use with the ELFv2 ABI.
20239 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20240 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20242 (struct La_ppc64v2_retval): Likewise.
20243 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20244 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20245 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20246 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20247 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20248 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20249 Do not save or restore CR.
20250 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20251 (_dl_profile_resolve): Do no save or restore CR. Support extended
20252 return values for ELFv2 ABI. Fix location of FPR return registers.
20253 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20254 updated values for _CALL_ELF == 2.
20255 (La_regs, La_retval, int_retval): Likewise.
20257 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20259 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20260 (FRAME_MIN_SIZE_PARM): Likewise.
20261 (FRAME_BACKCHAIN): Likewise.
20262 (FRAME_CR_SAVE): Likewise.
20263 (FRAME_LR_SAVE): Likewise.
20264 (FRAME_TOC_SAVE): Likewise.
20265 (FRAME_PARM_SAVE): Likewise.
20266 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20267 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20268 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20269 (call_mcount_parm_offset): New macro.
20270 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20271 (PROF): Use symbolic stack frame offsets.
20272 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20273 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20274 Redefine in terms of FRAME_MIN_SIZE.
20275 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20276 (_dl_profile_resolve): Likewise. Update comment.
20277 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20278 symbols stack frame offsets.
20279 (__sigsetjmp): Likewise.
20280 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20281 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20282 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20283 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20286 (FRAME_BACKCHAIN): Remove.
20287 (FRAME_CR_SAVE): Likewise.
20288 (FRAME_LR_SAVE): Likewise.
20289 (FRAME_COMPILER_DW): Likewise.
20290 (FRAME_LINKER_DW): Likewise.
20291 (FRAME_TOC_SAVE): Likewise.
20292 (FRAME_PARM_SAVE): Likewise.
20293 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20294 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20295 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20297 (CHECK_SP): Use symbolic stack frame offsets.
20298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20299 zone" instead of caller's parameter save area for temp storage.
20300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20301 Likewise. Also, use symbolic stack frame offsets.
20302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20303 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20304 our own stack frame instead of the caller's.
20305 (__socket): Use symbolic stack frame offsets.
20307 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20308 Alan Modra <amodra@gmail.com>
20310 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20312 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20313 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20314 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20316 (elf_machine_fixup_plt): Call it.
20317 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20319 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20320 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20321 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20322 r2 before calling target.
20324 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20325 Alan Modra <amodra@gmail.com>
20327 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20328 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20329 versions of macros to support ELFv2 ABI.
20330 (LOCALENTRY): New macro.
20331 (ENTRY, EALIGN): Use it.
20332 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20333 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20334 fall through into ENTRY entry point.
20335 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20336 Only define if _CALL_ELF != 2.
20338 (elf_machine_matches_host): Verify ABI version matches.
20339 (RTLD_START): Use LOCALENTRY.
20340 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20341 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20342 (PLT_ENTRY_WORDS): New macro.
20343 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20344 (elf_machine_runtime_setup): Support ELFv2 ABI.
20345 (elf_machine_fixup_plt): Likewise.
20346 (elf_machine_plt_conflict): Likewise.
20347 (resolve_ifunc): Likewise.
20348 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20349 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20352 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20354 (makecontext): Support ELFv2 ABI.
20355 * elf/elf.h (EF_PPC64_ABI): Define.
20357 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20359 * sysdeps/powerpc/powerpc64/sysdep.h
20360 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20361 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20362 (ENTRY) [ASSEMBLER]: ... but instead here ...
20363 (EALIGN) [ASSEMBLER]: ... and here.
20364 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20365 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20366 (ENTRY_2) [!ASSEMBLER]: Use it.
20367 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20368 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20369 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20370 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20371 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20373 Use PPC64_LOAD_FUNCPTR.
20375 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20377 2013-12-04 Alan Modra <amodra@gmail.com>
20379 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20380 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20381 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20382 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20385 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20386 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20387 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20388 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20389 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20391 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20394 (__makecontext): Fix incorrect CFI when backtracing out of
20395 context created via makecontext.
20396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20397 (__setcontext): Fix incorrect CFI during switch to new context.
20398 (__novec_setcontext): Likewise.
20400 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20403 * time/strptime_l.c (__strptime_internal): Allow modifiers
20405 * time/tst-strptime.c (day_tests): Add testcase.
20407 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20409 * scripts/bench.pl: Skip over blank lines.
20411 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20414 * manual/time.texi (Calendar Time): Clarify what timezone functions
20417 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20421 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20423 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20425 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20426 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20427 * debug/memset_chk.c (__memset_chk): Likewise.
20428 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20429 * debug/strncpy_chk.c: Likewise.
20431 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20435 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20436 (__ieee754_exp): For possibly underflowing results, check size of
20437 result and force underflow exception if required.
20438 * math/auto-libm-test-in: Add more tests of exp.
20439 * math/auto-libm-test-out: Regenerated.
20440 * sysdeps/i386/fpu/libm-test-ulps: Update.
20441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20444 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20445 * math/w_exp2f.c (__exp2f): Likewise.
20446 * math/w_exp2l.c (__exp2l): Likewise.
20447 * math/auto-libm-test-in: Do not allow missing errno on exp2
20449 * math/auto-libm-test-out: Regenerated.
20451 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20454 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20455 handle filename validation.
20456 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20459 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20462 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20463 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20464 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20466 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20467 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20468 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20470 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20471 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20472 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20473 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20474 Add more erfc tests.
20475 * math/auto-libm-test-out: Regenerated.
20476 * sysdeps/i386/fpu/libm-test-ulps: Update.
20477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20479 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20480 exp2, expm1, j0 and j1.
20481 * math/auto-libm-test-out: Regenerated.
20482 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20483 (erfc_test_data): Likewise.
20484 (exp_test_data): Likewise.
20485 (exp_tonearest_test_data): Likewise.
20486 (exp_towardzero_test_data): Likewise.
20487 (exp_downward_test_data): Likewise.
20488 (exp_upward_test_data): Likewise.
20489 (exp10_test_data): Likewise.
20490 (exp2_test_data): Likewise.
20491 (expm1_test_data): Likewise.
20492 (j0_test_data): Likewise.
20493 (j1_test_data): Likewise.
20494 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20495 (input_flag_type): Add flag_xfail_rounding.
20496 (input_flags): Add xfail-rounding.
20497 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20498 (output_for_one_input_case): Handle flag_xfail_rounding.
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20502 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20505 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20508 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20511 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20512 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20513 (STAP_PROBE0): New macro.
20514 (STAP_PROBE1): Likewise.
20515 (STAP_PROBE2): Likewise.
20516 (STAP_PROBE3): Likewise.
20517 (STAP_PROBE4): Likewise.
20519 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20521 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20523 2013-12-02 Steve Ellcey <sellcey@mips.com>
20525 * benchtests/Makefile (bench): Add sqrt.
20526 (LDLIBS-bench-sqrt): New.
20527 * benchtests/sqrt-input: New.
20529 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20531 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20532 (GAIH_EAI): Likewise.
20533 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20534 (gaih_inet): Likewise.
20535 (getaddrinfo): Don't use GAIH_EAI.
20537 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20538 (struct gaih): Remove definition.
20540 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20542 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20543 Use HERRNOP directly.
20545 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20549 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20551 * math/gen-auto-libm-tests.c (test_functions): Add more
20552 single-argument functions.
20553 (special_fill_pi_2): New function.
20554 (special_fill_minus_pi_2): Likewise.
20555 (special_fill_pi_6): Likewise.
20556 (special_fill_minus_pi_6): Likewise.
20557 (special_fill_pi_3): Likewise.
20558 (special_fill_2pi_3): Likewise.
20559 (special_fill_e): Likewise.
20560 (special_fill_1_e): Likewise.
20561 (special_fill_e_minus_1): Likewise.
20562 (special_real_inputs): Add more special inputs.
20563 (output_for_one_input_case): Do not require ERANGE on underflow to
20564 zero if round-to-nearest result does not underflow to zero, unless
20565 exact results required.
20566 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20567 atan, atanh, cbrt, cos and cosh.
20568 * math/auto-libm-test-out: Regenerated.
20569 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20570 (acos_tonearest_test_data): Likewise.
20571 (acos_towardzero_test_data): Likewise.
20572 (acos_downward_test_data): Likewise.
20573 (acos_upward_test_data): Likewise.
20574 (acosh_test_data): Likewise.
20575 (asin_test_data): Likewise.
20576 (asin_tonearest_test_data): Likewise.
20577 (asin_towardzero_test_data): Likewise.
20578 (asin_upward_test_data): Likewise.
20579 (asinh_test_data): Likewise.
20580 (atan_test_data): Likewise.
20581 (atanh_test_data): Likewise.
20582 (cbrt_test_data): Likewise.
20583 (cos_test_data): Likewise.
20584 (cos_tonearest_test_data): Likewise.
20585 (cos_towardzero_test_data): Likewise.
20586 (cos_downward_test_data): Likewise.
20587 (cos_upward_test_data): Likewise.
20588 (cosh_test_data): Likewise.
20589 (cosh_tonearest_test_data): Likewise.
20590 (cosh_towardzero_test_data): Likewise.
20591 (cosh_downward_test_data): Likewise.
20592 (cosh_upward_test_data): Likewise.
20593 * sysdeps/i386/fpu/libm-test-ulps: Update.
20594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20596 2013-11-29 Joseph Myers <joseph@codesourcery.com>
20599 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20600 * math/w_exp10f.c (__exp10f): Likewise.
20601 * math/w_exp10l.c (__exp10l): Likewise.
20602 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20603 errno settings in existing tests.
20606 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20607 precision control set to double precision.
20608 * sysdeps/i386/fpu/w_sqrt.c: New file.
20609 * math/auto-libm-test-in: Add more tests.
20610 * math/auto-libm-test-out: Update.
20612 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20613 (sqrt_test_tonearest): New function.
20614 (sqrt_towardzero_test_data): New variable.
20615 (sqrt_test_towardzero): New function.
20616 (sqrt_downward_test_data): New variable.
20617 (sqrt_test_downward): New function.
20618 (sqrt_upward_test_data): New variable.
20619 (sqrt_test_upward): New function.
20620 (main): Call the new functions.
20622 * math/gen-auto-libm-tests.c: New file.
20623 * math/auto-libm-test-in: Likewise.
20624 * math/auto-libm-test-out: New generated file.
20625 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20627 (%beautify): Add generated representations of zero.
20628 (top level): Set $auto_input and call parse_auto_input.
20629 (beautify): Remove trailing "f" from hex float constants.
20630 (parse_args): Handle XFAIL_TEST.
20631 (convert_condition): New function.
20632 (or_value): Likewise.
20633 (or_cond_value): Likewise.
20634 (generate_testfile): Handle AUTO_TESTS_* lines.
20635 (parse_auto_input): New function.
20636 * math/libm-test.inc (XFAIL_TEST): New macro.
20637 (ERRNO_UNCHANGED): Update value.
20638 (ERRNO_EDOM): Likewise.
20639 (ERRNO_ERANGE): Likewise.
20640 (IGNORE_RESULT): Likewise.
20641 (TEST_COND_flt_32): New macro.
20642 (TEST_COND_dbl_64): Likewise.
20643 (TEST_COND_ldbl_96_intel): Likewise.
20644 (TEST_COND_ldbl_96_m68k): Likewise.
20645 (TEST_COND_ldbl_128): Likewise.
20646 (TEST_COND_ldbl_128ibm): Likewise.
20647 (TEST_COND_long32): Likewise.
20648 (TEST_COND_long64): Likewise.
20649 (TEST_COND_before_rounding): Likewise.
20650 (TEST_COND_after_rounding): Likewise.
20651 (enable_test): Handle XFAIL_TEST flag.
20652 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20653 with finite results.
20654 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20655 auto-libm-test-out.
20657 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20658 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20661 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20662 __tls_get_addr_internal instead of __tls_get_offset in order to
20663 avoid GOT pointer dependency. Make rtld export
20664 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20665 __tls_get_addr since we are a __tls_get_offset platform.
20666 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20667 GOT pointer being set up before.
20668 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20670 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20672 * manual/math.texi (Errors in Math Functions): Document accuracy
20676 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20677 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20678 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20679 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20680 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20681 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20682 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20683 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20684 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20685 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20686 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20687 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20688 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20689 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20690 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20691 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20693 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20694 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20695 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20696 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20697 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20699 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20701 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20703 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20704 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20705 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20706 atomic-feupdateenv and flt-rounds.
20707 * sysdeps/powerpc/nofpu/Versions (libc): Add
20708 __atomic_feholdexcept, __atomic_feclearexcept,
20709 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20710 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20711 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20712 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20713 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20718 * manual/arith.texi (FP Exceptions): Document that exceptions may
20719 not be raised when matherr is used.
20720 (Math Error Reporting): Document overflow in directed rounding
20721 modes. Document that errno may not be set when finite values are
20722 returned on overflow. Document intent to set errno on underflow
20723 only for underflow to zero.
20726 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20727 round-to-nearest then adjust result for other rounding modes.
20728 * include/fenv.h (fegetround): Use libm_hidden_proto.
20729 * math/fegetround.c (fegetround): Use libm_hidden_def.
20730 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20731 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20732 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20733 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20735 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20736 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20737 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20738 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20740 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20743 * nss/Versions (libnss_files): Add
20744 _nss_files_gethostbyname3_r.
20745 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20747 (HOST_DB_LOOKUP): Remove macro.
20748 (_nss_files_gethostbyname_r): Implement function without the
20749 HOST_DB_LOOKUP macro.
20750 (_nss_files_gethostbyname2_r): Likewise.
20752 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20754 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20756 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20758 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20759 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20762 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20764 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20765 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20766 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20767 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20768 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20769 __fe_nomask_env_priv and attribute_hidden.
20770 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20771 (libc_feupdateenv_test_ppc): Likewise.
20772 (libc_feresetround_ppc): Likewise.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20774 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20775 compat_symbol macro.
20776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20777 (__fe_nomask_env): Likewise.
20778 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20780 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20782 * string/Makefile: Remove ifunc tests.
20783 * string/test-string.h: Define TEST_IFUNC.
20784 * string/test-bcopy-ifunc.c: Remove.
20785 * string/test-bzero-ifunc.c: Likewise.
20786 * string/test-memccpy-ifunc.c: Likewise.
20787 * string/test-memchr-ifunc.c: Likewise.
20788 * string/test-memcmp-ifunc.c: Likewise.
20789 * string/test-memcpy-ifunc.c: Likewise.
20790 * string/test-memmem-ifunc.c: Likewise.
20791 * string/test-memmove-ifunc.c: Likewise.
20792 * string/test-mempcpy-ifunc.c: Likewise.
20793 * string/test-memrchr-ifunc.c: Likewise.
20794 * string/test-memset-ifunc.c: Likewise.
20795 * string/test-rawmemchr-ifunc.c: Likewise.
20796 * string/test-stpcpy-ifunc.c: Likewise.
20797 * string/test-stpncpy-ifunc.c: Likewise.
20798 * string/test-strcasecmp-ifunc.c: Likewise.
20799 * string/test-strcasestr-ifunc.c: Likewise.
20800 * string/test-strcat-ifunc.c: Likewise.
20801 * string/test-strchr-ifunc.c: Likewise.
20802 * string/test-strchrnul-ifunc.c: Likewise.
20803 * string/test-strcmp-ifunc.c: Likewise.
20804 * string/test-strcpy-ifunc.c: Likewise.
20805 * string/test-strcspn-ifunc.c: Likewise.
20806 * string/test-strlen-ifunc.c: Likewise.
20807 * string/test-strncasecmp-ifunc.c: Likewise.
20808 * string/test-strncat-ifunc.c: Likewise.
20809 * string/test-strncmp-ifunc.c: Likewise.
20810 * string/test-strncpy-ifunc.c: Likewise.
20811 * string/test-strnlen-ifunc.c: Likewise.
20812 * string/test-strpbrk-ifunc.c: Likewise.
20813 * string/test-strrchr-ifunc.c: Likewise.
20814 * string/test-strspn-ifunc.c: Likewise.
20815 * string/test-strstr-ifunc.c: Likewise.
20817 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20819 * benchtests/Makefile: Remove ifunc tests.
20820 * benchtests/bench-string.h: Define TEST_IFUNC.
20821 * benchtests/bench-bcopy-ifunc.c: Remove.
20822 * benchtests/bench-bzero-ifunc.c: Likewise.
20823 * benchtests/bench-memccpy-ifunc.c: Likewise.
20824 * benchtests/bench-memchr-ifunc.c: Likewise.
20825 * benchtests/bench-memcmp-ifunc.c: Likewise.
20826 * benchtests/bench-memcpy-ifunc.c: Likewise.
20827 * benchtests/bench-memmem-ifunc.c: Likewise.
20828 * benchtests/bench-memmove-ifunc.c: Likewise.
20829 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20830 * benchtests/bench-memrchr-ifunc.c: Likewise.
20831 * benchtests/bench-memset-ifunc.c: Likewise.
20832 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20833 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20834 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20835 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20836 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20837 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20838 * benchtests/bench-strcat-ifunc.c: Likewise.
20839 * benchtests/bench-strchr-ifunc.c: Likewise.
20840 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20841 * benchtests/bench-strcmp-ifunc.c: Likewise.
20842 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20843 * benchtests/bench-strcpy-ifunc.c: Likewise.
20844 * benchtests/bench-strcspn-ifunc.c: Likewise.
20845 * benchtests/bench-strlen-ifunc.c: Likewise.
20846 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20847 * benchtests/bench-strncat-ifunc.c: Likewise.
20848 * benchtests/bench-strncmp-ifunc.c: Likewise.
20849 * benchtests/bench-strncpy-ifunc.c: Likewise.
20850 * benchtests/bench-strnlen-ifunc.c: Likewise.
20851 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20852 * benchtests/bench-strrchr-ifunc.c: Likewise.
20853 * benchtests/bench-strsep-ifunc.c: Likewise.
20854 * benchtests/bench-strspn-ifunc.c: Likewise.
20855 * benchtests/bench-strstr-ifunc.c: Likewise.
20857 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20859 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20861 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20863 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20864 * rt/aio.h: Likewise.
20865 * sysdeps/gnu/bits/utmp.h: Likewise.
20866 * sysdeps/gnu/bits/utmpx.h: Likewise.
20867 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20868 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20869 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20870 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20871 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20872 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20873 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20874 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20875 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20876 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20877 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20878 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20879 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20881 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20882 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20883 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20884 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20885 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20886 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20887 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20888 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20889 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20890 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20891 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20893 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20894 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20895 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20896 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20897 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20898 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20899 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20900 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20901 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20902 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20903 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20904 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20905 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20906 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20907 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20908 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20910 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20913 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20914 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20916 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20918 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20919 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20922 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20925 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20926 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20927 (__fesetround): Remove define.
20928 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20929 rounding and exceptions handling.
20930 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20931 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20932 (__fe_nomask_env): Likewise.
20933 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20934 __fegetround instead of fegetround.
20935 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20936 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20938 2013-11-21 Roland McGrath <roland@hack.frob.com>
20940 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20943 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20945 2013-11-21 Meador Inge <meadori@codesourcery.com>
20948 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20949 (encrypt_r): Likewise.
20950 * malloc/obstack.h (obstack_free): Likewise.
20951 * posix/unistd.h (encrypt): Likewise.
20953 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20955 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20956 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20957 DL_CALL_DT_FINI() that call the functions directly.
20958 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20959 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20960 * elf/dl-fini.c: Likewise.
20962 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20964 * malloc/hooks.c (memalign_check): Add alignment rounding.
20965 * malloc/malloc.c (_mid_memalign): New function.
20966 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20967 Implement by calling _mid_memalign.
20968 * manual/probes.texi (Memory Allocation Probes): Remove
20969 memory_valloc_retry and memory_pvalloc_retry.
20971 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20973 * locale/programs/locarchive.c (open_archive): Add const
20974 qualifier to ARCHIVEFNAME and copy default fname to
20978 * libio/tst-widetext.input: Rename Oriya to Odia.
20979 * locale/iso-639.def: Likewise.
20981 * manual/probes.texi (Mathematical Function Probes): Add
20982 documentation for sin, cos, asin and acos probes.
20983 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20984 (__sin32): Add slowasin probe.
20985 (__cos32): Add slowacos probe.
20986 (__mpsin): Add slowsin probe.
20987 (__mpcos): Add slowcos probe.
20989 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20992 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20993 thread-local __sim_exceptions_thread and global
20994 __sim_exceptions_global.
20995 (__sim_disabled_exceptions): Change to thread-local
20996 __sim_disabled_exceptions_thread and global
20997 __sim_disabled_exceptions_global.
20998 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20999 and global __sim_round_mode_global.
21000 (__simulate_exceptions): Use thread-local floating-point state and
21001 set global state from it as needed.
21002 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21003 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21004 __sim_round_mode_thread.
21005 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21006 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21007 and global __sim_exceptions_global.
21008 (__sim_disabled_exceptions): Change to thread-local
21009 __sim_disabled_exceptions_thread and global
21010 __sim_disabled_exceptions_global.
21011 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21012 and global __sim_round_mode_global.
21013 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21014 (SIM_SET_GLOBAL): Likewise.
21015 * sysdeps/powerpc/soft-fp/sfp-machine.h
21016 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21017 __sim_round_mode_thread.
21018 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21019 __sim_disabled_exceptions_thread.
21020 (__sim_exceptions): Change to __sim_exceptions_thread.
21021 (__sim_disabled_exceptions): Change to
21022 __sim_disabled_exceptions_thread.
21023 (__sim_round_mode): Change to __sim_round_mode_thread.
21024 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21025 thread-local floating-point state and set global state from it as
21027 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21028 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21029 (__sim_disabled_exceptions): Remove extern declaration.
21030 (feenableexcept): Use thread-local floating-point state and set
21031 global state from it as needed.
21032 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21033 extern declaration.
21034 (__sim_disabled_exceptions): Likewise.
21035 (__sim_round_mode): Likewise.
21036 (__fegetenv): Use thread-local floating-point state.
21037 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21038 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21039 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21040 floating-point state and set global state from it as needed.
21041 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21042 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21043 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21045 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21046 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21048 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21049 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21050 Use __sim_round_mode_thread.
21051 * math/test-fenv-tls.c: New file.
21052 * math/Makefile (tests): Add test-fenv-tls.
21053 ($(objpfx)test-fenv-tls): Depend on
21054 $(common-objpfx)nptl/libpthread.so.
21056 2013-11-19 Andreas Schwab <schwab@suse.de>
21058 * locale/programs/locale.c (show_info): Decode wordarray elements.
21059 * locale/categories.def (LC_MONETARY): Add element for
21060 _NL_MONETARY_CRNCYSTR.
21061 * locale/C-monetary.c (conversion_rate): New variable.
21062 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21065 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21067 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21068 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21070 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21072 * elf/Makefile (tst-auxv): New test.
21073 * elf/tst-auxv.c: New
21074 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21076 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21078 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21079 (hidden_proto): Caller changed.
21080 (hidden_tls_proto): New macro.
21081 (libc_hidden_tls_proto): Likewise.
21082 (rtld_hidden_tls_proto): Likewise.
21083 (libm_hidden_tls_proto): Likewise.
21084 (libresolv_hidden_tls_proto): Likewise.
21085 (librt_hidden_tls_proto): Likewise.
21086 (libdl_hidden_tls_proto): Likewise.
21087 (libnss_files_hidden_tls_proto): Likewise.
21088 (libnsl_hidden_tls_proto): Likewise.
21089 (libnss_nisplus_hidden_tls_proto): Likewise.
21090 (libutil_hidden_tls_proto): Likewise.
21092 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21095 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21096 (decompose_rpath): Defer expansion to fillin_rpath.
21097 (_dl_init_paths): Pass linkmap to fillin_rpath.
21099 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21101 * benchtests/Makefile: Add strsep.
21102 * benchtests/bench-strsep.c: New file: strsep benchtest.
21103 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21105 2013-11-18 Andreas Schwab <schwab@suse.de>
21107 * locale/programs/locale.c (show_info) [case byte]: Check for
21108 '\377' instead of '\177'.
21109 * locale/C-monetary.c (not_available): Always use "\377".
21110 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21111 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21112 detect unavailable sign_posn locale elements.
21113 * locale/localeconv.c (__localeconv): For grouping and
21114 mon_grouping handle "\177" and "\377" like no grouping.
21115 (INT_ELEM): New macro. Use it to set all numeric members.
21116 * locale/programs/ld-monetary.c (monetary_read)
21117 <tok_mon_grouping>: Normalize single -1 to the empty string.
21118 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21121 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21124 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21125 when we match (nil).
21126 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21128 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21130 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21131 (NO_TEST_INLINE): Update value.
21132 (ERRNO_UNCHANGED): Likewise.
21133 (ERRNO_EDOM): Likewise.
21134 (ERRNO_ERANGE): Likewise.
21135 (IGNORE_RESULT): Likewise.
21136 (check_float_internal): Check signs of NaN results if
21137 TEST_NAN_SIGN used.
21138 (check_complex): Pass TEST_NAN_SIGN flag through to second
21139 check_float_internal call.
21140 (copysign_test_data): Add tests with quiet NaNs as second
21141 argument. Use TEST_NAN_SIGN.
21142 (fabs_test_data): Add test of negative quiet NaN argument. Use
21144 (signbit_test_data): Add tests of quiet NaN argument.
21145 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21147 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21149 (parse_args): Handle function results specified as IGNORE.
21150 * math/libm-test.inc (IGNORE_RESULT): New macro.
21151 (check_float_internal): Do not check numerical result if flag
21153 (check_complex): Pass through IGNORE_RESULT to second
21154 check_float_internal call.
21155 (check_int): Do not check numerical result if flag IGNORE_RESULT
21157 (check_long): Likewise.
21158 (check_bool): Likewise.
21159 (check_longlong): Likewise.
21160 (lrint_test_data): Add tests of infinite and NaN arguments.
21161 (lrint_tonearest_test_data): Likewise.
21162 (lrint_towardzero_test_data): Likewise.
21163 (lrint_downward_test_data): Likewise.
21164 (lrint_upward_test_data): Likewise.
21165 (llrint_test_data): Likewise.
21166 (llrint_tonearest_test_data): Likewise.
21167 (llrint_towardzero_test_data): Likewise.
21168 (llrint_downward_test_data): Likewise.
21169 (llrint_upward_test_data): Likewise.
21170 (lround_test_data): Likewise.
21171 (llround_test_data): Likewise.
21173 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21174 (ERRNO_UNCHANGED): Update value.
21175 (ERRNO_EDOM): Likewise.
21176 (ERRNO_ERANGE): Likewise.
21177 (NO_TEST_INLINE_FLOAT): New macro.
21178 (NO_TEST_INLINE_DOUBLE): Likewise.
21179 (enable_test): New function.
21180 (RUN_TEST_f_f): Check enable_test before running test.
21181 (RUN_TEST_2_f): Likewise.
21182 (RUN_TEST_fff_f): Likewise.
21183 (RUN_TEST_c_f): Likewise.
21184 (RUN_TEST_f_f1): Likewise.
21185 (RUN_TEST_fF_f1): Likewise.
21186 (RUN_TEST_fI_f1): Likewise.
21187 (RUN_TEST_ffI_f1): Likewise.
21188 (RUN_TEST_c_c): Likewise.
21189 (RUN_TEST_cc_c): Likewise.
21190 (RUN_TEST_f_i): Likewise.
21191 (RUN_TEST_f_i_tg): Likewise.
21192 (RUN_TEST_ff_i_tg): Likewise.
21193 (RUN_TEST_f_b): Likewise.
21194 (RUN_TEST_f_b_tg): Likewise.
21195 (RUN_TEST_f_l): Likewise.
21196 (RUN_TEST_f_L): Likewise.
21197 (RUN_TEST_fFF_11): Likewise.
21198 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21200 (cosh_test_data): Likewise.
21201 (exp_test_data): Likewise.
21202 (expm1_test_data): Likewise.
21203 (hypot_test_data): Likewise.
21204 (pow_test_data): Likewise.
21205 (sinh_test_data): Likewise.
21206 (tanh_test_data): Likewise.
21207 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21210 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21211 tests with quiet NaN input and output.
21212 (acosh_test_data): Likewise.
21213 (asin_test_data): Likewise.
21214 (asinh_test_data): Likewise.
21215 (atan_test_data): Likewise.
21216 (atanh_test_data): Likewise.
21217 (atan2_test_data): Likewise.
21218 (cbrt_test_data): Likewise.
21219 (cos_test_data): Likewise.
21220 (cosh_test_data): Likewise.
21221 (erf_test_data): Likewise.
21222 (erfc_test_data): Likewise.
21223 (exp_test_data): Likewise.
21224 (exp10_test_data): Likewise.
21225 (exp2_test_data): Likewise.
21226 (expm1_test_data): Likewise.
21227 (hypot_test_data): Likewise.
21228 (j0_test_data): Likewise.
21229 (j1_test_data): Likewise.
21230 (jn_test_data): Likewise.
21231 (lgamma_test_data): Likewise.
21232 (log_test_data): Likewise.
21233 (log10_test_data): Likewise.
21234 (log1p_test_data): Likewise.
21235 (log2_test_data): Likewise.
21236 (pow_test_data): Likewise.
21237 (scalb_test_data): Likewise.
21238 (sin_test_data): Likewise.
21239 (sincos_test_data): Likewise.
21240 (sinh_test_data): Likewise.
21241 (tan_test_data): Likewise.
21242 (tanh_test_data): Likewise.
21243 (tgamma_test_data): Likewise.
21244 (y0_test_data): Likewise.
21245 (y1_test_data): Likewise.
21246 (yn_test_data): Likewise.
21249 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21250 argument being NaN and avoid computations with second argument in
21252 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21253 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21254 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21256 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21258 * locale/iso-639.def: Add Chitwani Tharu (the).
21260 2013-11-14 Andreas Schwab <schwab@suse.de>
21262 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21263 word instead of empty string.
21265 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21268 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21270 (__fe_nomask_env): Likewise.
21272 2013-11-13 Steve Ellcey <sellcey@mips.com>
21274 * benchtests/bench-timing.h: Include time.h.
21276 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21279 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21281 * sysdeps/unix/sysv/linux/configure: Regenerated.
21283 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21286 * stdlib/strtod_l.c (round_and_return): Do not consider
21287 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21288 exponent one less than half the least subnormal exponent.
21289 * stdlib/test-strtod-round-data: Add more tests.
21290 * stdlib/tst-strtod-round.c (tests): Regenerated.
21292 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21295 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21296 (__fe_mask_env): Likewise.
21297 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21298 libm_hidden_proto and add function prototype.
21299 (__fe_mask_env): Add function prototype.
21300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21301 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21303 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21305 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21307 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21309 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21310 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21312 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21314 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21315 of htab_find_slot().
21317 2013-11-11 David S. Miller <davem@davemloft.net>
21320 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21321 symbol in the non-vis3 case in static builds.
21322 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21323 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21324 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21325 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21327 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21330 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21333 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21335 * benchtests/Makefile: Add bench-strtod.
21336 * benchtests/bench-strtod.c: New file: strtod benchtest
21338 2013-11-11 Andreas Schwab <schwab@suse.de>
21341 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21342 terminating NUL in key length.
21344 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21347 Add artificial ODP entry for vDSO symbol for PPC64.
21348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21349 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21351 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21354 * nss/getent.c (services_keys): Recognize services starting with digit.
21356 2013-11-06 David S. Miller <davem@davemloft.net>
21359 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21360 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21362 2013-11-06 Will Newton <will.newton@linaro.org>
21364 * manual/memory.texi (Malloc Examples): Remove register
21365 keyword from examples.
21367 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21369 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21371 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21374 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21375 depending on [__GCC_IEC_559 > 0].
21376 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21377 depending on [__GCC_IEC_559_COMPLEX > 0].
21379 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21381 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21384 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21386 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21388 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21391 * malloc/malloc (malloc_info): Do not handle first bin as
21394 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21396 * locale/iso-639.def: Add Central Nahuatl (nhn).
21398 2013-11-01 Bruno Haible <bruno@clisp.org>
21401 * manual/math.texi (BSD Random): Specify range upper bound as
21404 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21406 * locale/iso-639.def: Add Meadow Mari (mhr).
21408 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21410 [BZ #14752], [BZ #15763]
21411 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21413 * rt/tst_shm.c: Add test for escaping directory.
21415 2013-10-31 Andreas Schwab <schwab@suse.de>
21418 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21419 followed by 'x' as part of digit sequence.
21420 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21422 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21425 * configure.ac: allow GNU Make 4.0 and greater.
21426 * configure: Regenerated.
21428 2013-10-30 Will Newton <will.newton@linaro.org>
21431 * malloc/hooks.c (memalign_check): Limit alignment to the
21432 maximum representable power of two.
21433 * malloc/malloc.c (__libc_memalign): Likewise.
21434 * malloc/tst-memalign.c (do_test): Add test for very
21435 large alignment values.
21436 * malloc/tst-posix_memalign.c (do_test): Likewise.
21438 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21441 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21442 (munmap_chunk): Likewise.
21443 (mremap_chunk): Likewise.
21445 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21448 * stdlib/div.c (div): Remove obsolete code.
21449 * stdlib/ldiv.c (ldiv): Likewise.
21450 * stdlib/lldiv.c (lldiv): Likewise.
21452 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21455 * nss/nss_files/files-XXX.c (get_contents_ret): New
21457 (get_contents): New function.
21458 (internal_getent): Use it. Expand size of LINEBUFLEN.
21460 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21462 * configure.in: Moved to ...
21463 * configure.ac: ... here. Change reference to configure.in
21465 * sysdeps/arm/preconfigure.ac: ... here.
21466 configure.in to configure.ac.
21467 * sysdeps/gnu/configure.in: Moved to ...
21468 * sysdeps/gnu/configure.ac: ... here.
21469 * sysdeps/i386/configure.in: Moved to ...
21470 * sysdeps/i386/configure.ac: ... here.
21471 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21472 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21473 * sysdeps/mach/configure.in: Moved to ...
21474 * sysdeps/mach/configure.ac: ... here.
21475 * sysdeps/mach/hurd/configure.in: Moved to ...
21476 * sysdeps/mach/hurd/configure.ac: ... here.
21477 * sysdeps/powerpc/configure.in: Moved to ...
21478 * sysdeps/powerpc/configure.ac: ... here.
21479 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21480 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21481 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21482 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21483 * sysdeps/s390/s390-32/configure.in: Moved to ...
21484 * sysdeps/s390/s390-32/configure.ac: ... here.
21485 * sysdeps/s390/s390-64/configure.in: Moved to ...
21486 * sysdeps/s390/s390-64/configure.ac: ... here.
21487 * sysdeps/sh/configure.in: Moved to ...
21488 * sysdeps/sh/configure.ac: ... here.
21489 * sysdeps/sparc/configure.in: Moved to ...
21490 * sysdeps/sparc/configure.ac: ... here.
21491 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21492 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21493 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21494 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21495 * sysdeps/x86_64/configure.in: Moved to ...
21496 * sysdeps/x86_64/configure.ac: ... here.
21497 * sysdeps/x86_64/preconfigure.in: Moved to ...
21498 * sysdeps/x86_64/preconfigure.ac: ... here.
21499 * aclocal.m4: Change reference to configure.in to configure.ac.
21500 * config.h.in: Likewise.
21501 * manual/install.texi: Likewise.
21502 * manual/maint.texi: Likewise.
21503 * Makefile: Likewise.
21504 * malloc/Makefile: Likewise.
21505 * nscd/Makefile: Likewise.
21506 * Makeconfig: Change reference to configure.in and
21507 preconfigure.in to configure.ac and preconfigure.ac
21509 * INSTALL: Regenerated.
21510 * configure: Likewise.
21511 * sysdeps/gnu/configure: Likewise.
21512 * sysdeps/i386/configure: Likewise.
21513 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21514 * sysdeps/mach/configure: Likewise.
21515 * sysdeps/mach/hurd/configure: Likewise.
21516 * sysdeps/powerpc/configure: Likewise.
21517 * sysdeps/powerpc/powerpc32/configure: Likewise.
21518 * sysdeps/powerpc/powerpc64/configure: Likewise.
21519 * sysdeps/s390/s390-32/configure: Likewise.
21520 * sysdeps/s390/s390-64/configure: Likewise.
21521 * sysdeps/sh/configure: Likewise.
21522 * sysdeps/sparc/configure: Likewise.
21523 * sysdeps/unix/sysv/linux/configure: Likewise.
21524 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21525 * sysdeps/x86_64/configure: Likewise.
21526 * sysdeps/x86_64/preconfigure: Likewise.
21528 2013-10-29 Andreas Schwab <schwab@suse.de>
21530 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21532 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21534 * benchtests/pow-inputs: Add new inputs.
21536 * benchtests/exp-inputs: Add new inputs.
21538 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21539 conditional check for return value.
21540 (__cos32): Likewise.
21542 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21544 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21545 to provide a boost for large inputs with word alignment.
21546 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21547 implementation based on optimized PPC64 strcpy.
21548 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21549 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21550 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21551 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21553 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21556 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21558 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21561 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21562 * time/tst-strptime.c (day_tests): Add testcase.
21564 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21567 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21569 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21572 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21573 MAP_FAILED on error.
21575 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21578 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21579 heap for large requests.
21581 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21584 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21585 result if the result has no associated interface.
21586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21587 interface for all 127.X.Y.Z addresses.
21589 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
21591 * locale/iso-639.def: Add Ligurian (lij)
21593 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
21596 * sunrpc/rpc_main.c: Document rpcgen -5.
21598 2013-10-19 Michael Stahl <mstahl@redhat.com>
21600 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21602 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21605 * posix/glob.c: Match only directories when trailing slash is present.
21606 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21607 (main): Add testcase.
21609 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21612 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21614 2013-10-18 Carlos O'Donell <carlos@redhat.com>
21616 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21617 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21618 AUTH_DES and cindex for FIPS 140-2.
21619 (DES Encryption): Add cindex FIPS 46-3.
21621 * locale/locarchive.h (struct locarhandle): Add fname.
21622 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21623 if an optional argument was specified to --list-archive,
21625 * locale/programs/locarchive.c (show_archive_content): Take new
21626 argument fname and pass it via ah.fname to open_archive.
21627 * locale/programs/localedef.h: Update decl.
21628 (open_archive): If AH->fname is non-null, open that file
21629 rather than the default file name, and don't ignore ENOENT.
21630 (create_archive): Set AH.fname to NULL.
21631 (delete_locales_from_archive): Likewise.
21632 (add_locales_to_archive): Likewise.
21633 * locale/programs/locfile.c (write_all_categories): Likewise.
21635 2013-10-18 Joseph Myers <joseph@codesourcery.com>
21636 Aldy Hernandez <aldyh@redhat.com>
21638 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21639 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21640 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21641 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21642 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21643 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21644 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21645 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21646 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21647 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21648 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21649 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21650 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21651 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21652 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21654 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21656 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21658 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21660 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21661 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21663 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21664 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21665 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21666 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21668 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21669 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21670 * sysdeps/powerpc/preconfigure: Likewise.
21671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21673 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21674 Replace contents of file by #include of <fenv_libc.h>.
21675 * sysdeps/powerpc/soft-fp/sfp-machine.h
21676 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21678 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21691 Allow copysignl PLT reference to be missing.
21693 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21694 Joseph Myers <joseph@codesourcery.com
21697 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21699 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21701 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21703 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21704 * elf/tst-tls1.c: Likewise.
21705 * elf/tst-tls10.h: Likewise.
21706 * elf/tst-tls14.c: Likewise.
21707 * elf/tst-tls2.c: Likewise.
21708 * elf/tst-tls3.c: Likewise.
21709 * elf/tst-tls4.c: Likewise.
21710 * elf/tst-tls5.c: Likewise.
21711 * elf/tst-tls6.c: Likewise.
21712 * elf/tst-tls7.c: Likewise.
21713 * elf/tst-tls8.c: Likewise.
21714 * elf/tst-tls9.c: Likewise.
21715 * elf/tst-tlsmod1.c: Likewise.
21716 * elf/tst-tlsmod13.c: Likewise.
21717 * elf/tst-tlsmod13a.c: Likewise.
21718 * elf/tst-tlsmod14a.c: Likewise.
21719 * elf/tst-tlsmod16a.c: Likewise.
21720 * elf/tst-tlsmod16b.c: Likewise.
21721 * elf/tst-tlsmod2.c: Likewise.
21722 * elf/tst-tlsmod3.c: Likewise.
21723 * elf/tst-tlsmod4.c: Likewise.
21724 * elf/tst-tlsmod5.c: Likewise.
21725 * elf/tst-tlsmod6.c: Likewise.
21727 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21730 * malloc/malloc.c: remove checks for statistics.
21732 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21735 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21736 * inet/tst-network.c: Add testcase.
21738 2013-10-17 Andreas Schwab <schwab@suse.de>
21741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21742 to determine canonical name.
21744 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21746 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21747 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21756 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21769 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21770 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21771 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21772 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21773 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21776 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21805 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21808 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21809 make result into a quiet NaN.
21811 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21813 * soft-fp/adddf3.c: Fix horizontal whitespace.
21814 * soft-fp/addsf3.c: Likewise.
21815 * soft-fp/addtf3.c: Likewise.
21816 * soft-fp/divdf3.c: Likewise.
21817 * soft-fp/divsf3.c: Likewise.
21818 * soft-fp/divtf3.c: Likewise.
21819 * soft-fp/double.h: Likewise.
21820 * soft-fp/eqdf2.c: Likewise.
21821 * soft-fp/eqsf2.c: Likewise.
21822 * soft-fp/eqtf2.c: Likewise.
21823 * soft-fp/extenddftf2.c: Likewise.
21824 * soft-fp/extended.h: Likewise.
21825 * soft-fp/extendsfdf2.c: Likewise.
21826 * soft-fp/extendsftf2.c: Likewise.
21827 * soft-fp/extendxftf2.c: Likewise.
21828 * soft-fp/fixdfdi.c: Likewise.
21829 * soft-fp/fixdfsi.c: Likewise.
21830 * soft-fp/fixdfti.c: Likewise.
21831 * soft-fp/fixsfdi.c: Likewise.
21832 * soft-fp/fixsfsi.c: Likewise.
21833 * soft-fp/fixsfti.c: Likewise.
21834 * soft-fp/fixtfdi.c: Likewise.
21835 * soft-fp/fixtfsi.c: Likewise.
21836 * soft-fp/fixtfti.c: Likewise.
21837 * soft-fp/fixunsdfdi.c: Likewise.
21838 * soft-fp/fixunsdfsi.c: Likewise.
21839 * soft-fp/fixunsdfti.c: Likewise.
21840 * soft-fp/fixunssfdi.c: Likewise.
21841 * soft-fp/fixunssfsi.c: Likewise.
21842 * soft-fp/fixunssfti.c: Likewise.
21843 * soft-fp/fixunstfdi.c: Likewise.
21844 * soft-fp/fixunstfsi.c: Likewise.
21845 * soft-fp/fixunstfti.c: Likewise.
21846 * soft-fp/floatdidf.c: Likewise.
21847 * soft-fp/floatdisf.c: Likewise.
21848 * soft-fp/floatditf.c: Likewise.
21849 * soft-fp/floatsidf.c: Likewise.
21850 * soft-fp/floatsisf.c: Likewise.
21851 * soft-fp/floatsitf.c: Likewise.
21852 * soft-fp/floattidf.c: Likewise.
21853 * soft-fp/floattisf.c: Likewise.
21854 * soft-fp/floattitf.c: Likewise.
21855 * soft-fp/floatundidf.c: Likewise.
21856 * soft-fp/floatundisf.c: Likewise.
21857 * soft-fp/floatunditf.c: Likewise.
21858 * soft-fp/floatunsidf.c: Likewise.
21859 * soft-fp/floatunsisf.c: Likewise.
21860 * soft-fp/floatunsitf.c: Likewise.
21861 * soft-fp/floatuntidf.c: Likewise.
21862 * soft-fp/floatuntisf.c: Likewise.
21863 * soft-fp/floatuntitf.c: Likewise.
21864 * soft-fp/fmadf4.c: Likewise.
21865 * soft-fp/fmasf4.c: Likewise.
21866 * soft-fp/fmatf4.c: Likewise.
21867 * soft-fp/gedf2.c: Likewise.
21868 * soft-fp/gesf2.c: Likewise.
21869 * soft-fp/getf2.c: Likewise.
21870 * soft-fp/ledf2.c: Likewise.
21871 * soft-fp/lesf2.c: Likewise.
21872 * soft-fp/letf2.c: Likewise.
21873 * soft-fp/muldf3.c: Likewise.
21874 * soft-fp/mulsf3.c: Likewise.
21875 * soft-fp/multf3.c: Likewise.
21876 * soft-fp/negdf2.c: Likewise.
21877 * soft-fp/negsf2.c: Likewise.
21878 * soft-fp/negtf2.c: Likewise.
21879 * soft-fp/op-1.h: Likewise.
21880 * soft-fp/op-2.h: Likewise.
21881 * soft-fp/op-4.h: Likewise.
21882 * soft-fp/op-8.h: Likewise.
21883 * soft-fp/op-common.h: Likewise.
21884 * soft-fp/quad.h: Likewise.
21885 * soft-fp/single.h: Likewise.
21886 * soft-fp/soft-fp.h: Likewise.
21887 * soft-fp/sqrtdf2.c: Likewise.
21888 * soft-fp/sqrtsf2.c: Likewise.
21889 * soft-fp/sqrttf2.c: Likewise.
21890 * soft-fp/subdf3.c: Likewise.
21891 * soft-fp/subsf3.c: Likewise.
21892 * soft-fp/subtf3.c: Likewise.
21893 * soft-fp/truncdfsf2.c: Likewise.
21894 * soft-fp/trunctfdf2.c: Likewise.
21895 * soft-fp/trunctfsf2.c: Likewise.
21896 * soft-fp/trunctfxf2.c: Likewise.
21897 * soft-fp/unorddf2.c: Likewise.
21898 * soft-fp/unordsf2.c: Likewise.
21899 * soft-fp/unordtf2.c: Likewise.
21901 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21903 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21904 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21906 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21908 * elf/dl-libc.c: Clear initfini list after freeing.
21910 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21912 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21913 * soft-fp/addsf3.c: Likewise.
21914 * soft-fp/addtf3.c: Likewise.
21915 * soft-fp/divdf3.c: Likewise.
21916 * soft-fp/divsf3.c: Likewise.
21917 * soft-fp/divtf3.c: Likewise.
21918 * soft-fp/double.h: Likewise.
21919 * soft-fp/eqdf2.c: Likewise.
21920 * soft-fp/eqsf2.c: Likewise.
21921 * soft-fp/eqtf2.c: Likewise.
21922 * soft-fp/extenddftf2.c: Likewise.
21923 * soft-fp/extended.h: Likewise.
21924 * soft-fp/extendsfdf2.c: Likewise.
21925 * soft-fp/extendsftf2.c: Likewise.
21926 * soft-fp/extendxftf2.c: Likewise.
21927 * soft-fp/fixdfdi.c: Likewise.
21928 * soft-fp/fixdfsi.c: Likewise.
21929 * soft-fp/fixdfti.c: Likewise.
21930 * soft-fp/fixsfdi.c: Likewise.
21931 * soft-fp/fixsfsi.c: Likewise.
21932 * soft-fp/fixsfti.c: Likewise.
21933 * soft-fp/fixtfdi.c: Likewise.
21934 * soft-fp/fixtfsi.c: Likewise.
21935 * soft-fp/fixtfti.c: Likewise.
21936 * soft-fp/fixunsdfdi.c: Likewise.
21937 * soft-fp/fixunsdfsi.c: Likewise.
21938 * soft-fp/fixunsdfti.c: Likewise.
21939 * soft-fp/fixunssfdi.c: Likewise.
21940 * soft-fp/fixunssfsi.c: Likewise.
21941 * soft-fp/fixunssfti.c: Likewise.
21942 * soft-fp/fixunstfdi.c: Likewise.
21943 * soft-fp/fixunstfsi.c: Likewise.
21944 * soft-fp/fixunstfti.c: Likewise.
21945 * soft-fp/floatdidf.c: Likewise.
21946 * soft-fp/floatdisf.c: Likewise.
21947 * soft-fp/floatditf.c: Likewise.
21948 * soft-fp/floatsidf.c: Likewise.
21949 * soft-fp/floatsisf.c: Likewise.
21950 * soft-fp/floatsitf.c: Likewise.
21951 * soft-fp/floattidf.c: Likewise.
21952 * soft-fp/floattisf.c: Likewise.
21953 * soft-fp/floattitf.c: Likewise.
21954 * soft-fp/floatundidf.c: Likewise.
21955 * soft-fp/floatundisf.c: Likewise.
21956 * soft-fp/floatunsidf.c: Likewise.
21957 * soft-fp/floatunsisf.c: Likewise.
21958 * soft-fp/floatuntidf.c: Likewise.
21959 * soft-fp/floatuntisf.c: Likewise.
21960 * soft-fp/floatuntitf.c: Likewise.
21961 * soft-fp/fmadf4.c: Likewise.
21962 * soft-fp/fmasf4.c: Likewise.
21963 * soft-fp/fmatf4.c: Likewise.
21964 * soft-fp/gedf2.c: Likewise.
21965 * soft-fp/gesf2.c: Likewise.
21966 * soft-fp/getf2.c: Likewise.
21967 * soft-fp/ledf2.c: Likewise.
21968 * soft-fp/lesf2.c: Likewise.
21969 * soft-fp/letf2.c: Likewise.
21970 * soft-fp/muldf3.c: Likewise.
21971 * soft-fp/mulsf3.c: Likewise.
21972 * soft-fp/multf3.c: Likewise.
21973 * soft-fp/negdf2.c: Likewise.
21974 * soft-fp/negsf2.c: Likewise.
21975 * soft-fp/negtf2.c: Likewise.
21976 * soft-fp/op-1.h: Likewise.
21977 * soft-fp/op-2.h: Likewise.
21978 * soft-fp/op-4.h: Likewise.
21979 * soft-fp/op-8.h: Likewise.
21980 * soft-fp/op-common.h: Likewise.
21981 * soft-fp/quad.h: Likewise.
21982 * soft-fp/single.h: Likewise.
21983 * soft-fp/soft-fp.h: Likewise.
21984 * soft-fp/sqrtdf2.c: Likewise.
21985 * soft-fp/sqrtsf2.c: Likewise.
21986 * soft-fp/sqrttf2.c: Likewise.
21987 * soft-fp/subdf3.c: Likewise.
21988 * soft-fp/subsf3.c: Likewise.
21989 * soft-fp/subtf3.c: Likewise.
21990 * soft-fp/truncdfsf2.c: Likewise.
21991 * soft-fp/trunctfdf2.c: Likewise.
21992 * soft-fp/trunctfsf2.c: Likewise.
21993 * soft-fp/trunctfxf2.c: Likewise.
21994 * soft-fp/unorddf2.c: Likewise.
21995 * soft-fp/unordsf2.c: Likewise.
21996 * soft-fp/unordtf2.c: Likewise.
21998 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22001 * misc/error.c (error_tail): Fix possible buffer overflow.
22003 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22006 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22009 2013-10-14 P. J. McDermott <pj@pehjota.net>
22012 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22013 testing pipefail option.
22015 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22017 * soft-fp/double.h: Indent preprocessor directives inside #if.
22018 * soft-fp/extended.h: Likewise.
22019 * soft-fp/op-2.h: Likewise.
22020 * soft-fp/op-4.h: Likewise.
22021 * soft-fp/op-common.h: Likewise.
22022 * soft-fp/quad.h: Likewise.
22023 * soft-fp/single.h: Likewise.
22024 * soft-fp/soft-fp.h: Likewise.
22026 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22028 * iconv/iconv_prog.c: Fix typos.
22029 * stdio-common/psiginfo-data.h: Likewise.
22031 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22034 * locale/setlocale.c: Fix typo.
22036 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22039 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22040 signaling NaN arguments.
22041 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22042 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22045 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22046 unordered operands.
22047 * soft-fp/gesf2.c (__gesf2): Likewise.
22048 * soft-fp/getf2.c (__getf2): Likewise.
22049 * soft-fp/ledf2.c (__ledf2): Likewise.
22050 * soft-fp/lesf2.c (__lesf2): Likewise.
22051 * soft-fp/letf2.c (__letf2): Likewise.
22053 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22054 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22055 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22056 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22057 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22058 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22059 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22060 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22061 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22062 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22063 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22064 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22065 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22066 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22067 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22068 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22069 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22070 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22071 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22072 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22073 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22074 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22075 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22076 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22077 * soft-fp/floattidf.c (__floattidf): Likewise.
22078 * soft-fp/floattisf.c (__floattisf): Likewise.
22079 * soft-fp/floattitf.c (__floattitf): Likewise.
22080 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22081 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22082 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22083 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22084 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22085 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22086 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22087 * soft-fp/gesf2.c (__gesf2): Likewise.
22088 * soft-fp/getf2.c (__getf2): Likewise.
22089 * soft-fp/ledf2.c (__ledf2): Likewise.
22090 * soft-fp/lesf2.c (__lesf2): Likewise.
22091 * soft-fp/letf2.c (__letf2): Likewise.
22093 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22094 Undefine and redefine.
22095 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22096 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22097 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22098 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22099 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22100 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22101 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22102 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22103 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22104 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22105 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22106 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22107 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22108 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22109 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22112 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22113 without decrementing exponent if mantissa >= that for the
22114 denominator, not >.
22115 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22116 denominator, not >. Decrement exponent in < case instead of
22117 incrementing in >= case.
22118 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22119 without decrementing exponent if mantissa >= that for the
22120 denominator, not >.
22122 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22123 computing saturated result for unsigned overflow.
22125 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22126 Jeff Law <law@redhat.com>
22128 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22129 (atan2Mp): Add systemtap probe marker.
22130 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22131 (__ieee754_log): Add systemtap probe marker.
22132 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22133 (atanMp): Add systemtap probe marker.
22134 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22135 (tanMp): Add systemtap probe marker.
22136 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22137 (__slowexp): Add systemtap probe marker.
22138 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22139 (__slowpow): Add systemtap probe marker.
22140 * manual/probes.texi: Document probes.
22142 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22145 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22147 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22149 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22150 written to buffer but not flushed.
22151 * libio/iofwrite_u.c: Likewise.
22152 * libio/iopadn.c: Return bytes returned even if EOF was
22154 * libio/iowpadn.c: Likewise.
22155 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22156 if _IO_padn does not write the whole buffer.
22157 [!COMPILE_WPRINTF] (PAD): Likewise.
22159 2013-10-10 David S. Miller <davem@davemloft.net>
22161 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22164 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22166 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22167 instead of FSF address.
22168 * soft-fp/fixdfti.c: Likewise.
22169 * soft-fp/fixsfti.c: Likewise.
22170 * soft-fp/fixtfti.c: Likewise.
22171 * soft-fp/fixunsdfti.c: Likewise.
22172 * soft-fp/fixunssfti.c: Likewise.
22173 * soft-fp/fixunstfti.c: Likewise.
22174 * soft-fp/floattidf.c: Likewise.
22175 * soft-fp/floattisf.c: Likewise.
22176 * soft-fp/floattitf.c: Likewise.
22177 * soft-fp/floatuntidf.c: Likewise.
22178 * soft-fp/floatuntisf.c: Likewise.
22179 * soft-fp/floatuntitf.c: Likewise.
22180 * soft-fp/trunctfxf2.c: Likewise.
22182 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22183 * soft-fp/fixdfti.c: Likewise.
22184 * soft-fp/fixsfti.c: Likewise.
22185 * soft-fp/fixtfti.c: Likewise.
22186 * soft-fp/fixunsdfti.c: Likewise.
22187 * soft-fp/fixunssfti.c: Likewise.
22188 * soft-fp/fixunstfti.c: Likewise.
22189 * soft-fp/floattidf.c: Likewise.
22190 * soft-fp/floattisf.c: Likewise.
22191 * soft-fp/floattitf.c: Likewise.
22192 * soft-fp/floatuntidf.c: Likewise.
22193 * soft-fp/floatuntisf.c: Likewise.
22194 * soft-fp/floatuntitf.c: Likewise.
22195 * soft-fp/trunctfxf2.c: Likewise.
22197 2013-10-10 David S. Miller <davem@davemloft.net>
22199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22201 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22203 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22204 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22205 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22206 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22207 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22208 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22209 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22212 for NaNs before doing comparisons on argument.
22213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22216 2013-10-10 Will Newton <will.newton@linaro.org>
22218 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22219 passed to _int_memalign does not overflow.
22221 2013-10-10 Torvald Riegel <triegel@redhat.com>
22223 * scripts/bench.pl: Add include-sources directive.
22224 * benchtests/README: Update documentation.
22226 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22228 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22229 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22230 instead of FP_INIT_ROUNDMODE.
22231 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22232 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22235 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22236 copy class of input value.
22237 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22238 not handle exceptions.
22239 * soft-fp/negsf2.c (__negsf2): Likewise.
22240 * soft-fp/negtf2.c (__negtf2): Likewise.
22241 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22243 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22245 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22246 semicolon. From Linux kernel.
22248 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22250 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22252 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22255 * manual/socket.texi: Added statement about buffer
22256 for gethostbyname2_r.
22258 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22260 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22261 Use .p2align directive instead, throughout.
22262 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22263 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22264 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22267 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22268 * sysdeps/x86_64/strchr.S: Likewise.
22269 * sysdeps/x86_64/strrchr.S: Likewise.
22271 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22273 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22275 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22277 * sysdeps/generic/math_private.h (__mpsin1): Remove
22279 (__mpcos1): Likewise.
22280 (__mpsin): New argument __range_reduce.
22281 (__mpcos): Likewise.
22282 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22283 (slow): Use __mpsin and __mpcos.
22287 (sloww1): Likewise.
22288 (sloww2): Likewise.
22289 (bsloww): Likewise.
22290 (bsloww1): Likewise.
22291 (bsloww2): Likewise.
22292 (cslow2): Likewise.
22293 (csloww): Likewise.
22294 (csloww1): Likewise.
22295 (csloww2): Likewise.
22296 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22297 range_reduce. Merge in __mpsin1.
22298 (__mpcos): Likewise.
22299 (__mpsin1): Remove.
22300 (__mpcos1): Likewise.
22302 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22304 * locale/loadlocale.c (_nl_intern_locale_data): Use
22306 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22307 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22308 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22309 obstack data is appropriately aligned.
22310 (obstack_int32_grow_fast): Likewise.
22311 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22312 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22313 (add_locale_uint32_array): Likewise.
22315 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22317 * benchtests/Makefile: Remove ARGLIST and RET variables.
22318 ($(objpfx)bench-%.c): Pass only function name to the script.
22319 * benchtests/README: Update documentation.
22320 * benchtests/acos-inputs: Add new directives.
22321 * benchtests/acosh-inputs: Likewise.
22322 * benchtests/asin-inputs: Likewise.
22323 * benchtests/asinh-inputs: Likewise.
22324 * benchtests/atan-inputs: Likewise.
22325 * benchtests/atanh-inputs: Likewise.
22326 * benchtests/cos-inputs: Likewise.
22327 * benchtests/cosh-inputs: Likewise.
22328 * benchtests/exp-inputs: Likewise.
22329 * benchtests/log-inputs: Likewise.
22330 * benchtests/pow-inputs: Likewise.
22331 * benchtests/rint-inputs: Likewise.
22332 * benchtests/sin-inputs: Likewise.
22333 * benchtests/sinh-inputs: Likewise.
22334 * benchtests/tan-inputs: Likewise.
22335 * benchtests/tanh-inputs: Likewise.
22336 * scripts/bench.pl: Add support for new directives.
22338 2013-10-07 Alan Modra <amodra@gmail.com>
22340 * README: Fix careless merge.
22342 2013-10-05 Alan Modra <amodra@gmail.com>
22344 * NEWS: Mention powerpc64le support and bugs fixed.
22345 * README: Both big-endian and little-endian powerpc64 supported.
22347 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22349 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22350 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22351 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22352 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22354 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22356 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22359 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22361 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22362 Move -mhard-float appending from
22363 ports/sysdeps/powerpc/powerpc32/Makefile.
22364 [$(with-fp) = yes] (ASFLAGS): Likewise.
22365 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22366 * sysdeps/powerpc/nofpu: Move directory from
22367 ports/sysdeps/powerpc/nofpu.
22368 * sysdeps/powerpc/soft-fp: Move directory from
22369 ports/sysdeps/powerpc/soft-fp.
22370 * sysdeps/powerpc/powerpc32/405: Move directory from
22371 ports/sysdeps/powerpc/powerpc32/405.
22372 * sysdeps/powerpc/powerpc32/440: Move directory from
22373 ports/sysdeps/powerpc/powerpc32/440.
22374 * sysdeps/powerpc/powerpc32/464: Move directory from
22375 ports/sysdeps/powerpc/powerpc32/464.
22376 * sysdeps/powerpc/powerpc32/476: Move directory from
22377 ports/sysdeps/powerpc/powerpc32/476.
22378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22379 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22381 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22383 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22385 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22387 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22388 * README: Update for powerpc-*-linux-gnu software floating point
22391 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22392 case to powerpc/powerpc32*.
22393 * sysdeps/unix/sysv/linux/configure: Regenerated.
22395 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22396 (_FPU_MASK_OM): Define as 0x04.
22397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22405 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22408 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22411 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22412 and setcontext_e500.
22414 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22416 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22418 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22420 * manual/threads.texi (Default Thread Attributes): Fix typo.
22422 2013-10-04 Will Newton <will.newton@linaro.org>
22424 * malloc/Makefile: Add tst-memalign.
22425 * malloc/tst-memalign.c: New file.
22427 * malloc/tst-posix_memalign.c: Add comments.
22428 (do_test): Add comments and call free on all potentially
22429 allocated pointers. Add space after cast.
22431 * malloc/tst-pvalloc.c: Add comments.
22432 (do_test): Add comments and call free on all potentially
22433 allocated pointers. Remove duplicate check for NULL pointer.
22434 Add space after cast.
22436 * malloc/tst-valloc.c: Add comments.
22437 (do_test): Add comments and call free on all potentially
22438 allocated pointers. Remove duplicate check for NULL pointer.
22439 Add space after cast.
22441 2013-10-04 Alan Modra <amodra@gmail.com>
22443 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22444 Use stdint types in rather than __attribute__((mode())).
22445 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22447 2013-10-04 Alan Modra <amodra@gmail.com>
22449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22450 Correct handling of unaligned relocs for little-endian.
22451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22453 2013-10-04 Alan Modra <amodra@gmail.com>
22455 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22456 * configure: Regenerate.
22457 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22458 * shlib-versions: Likewise.
22460 2013-10-04 Alan Modra <amodra@gmail.com>
22462 * string/tester.c (test_memrchr): Increment reported test cycle.
22464 2013-10-04 Alan Modra <amodra@gmail.com>
22466 * string/test-memcpy.c (do_one_test): When reporting errors, print
22467 string address and don't overrun end of string.
22469 2013-10-04 Alan Modra <amodra@gmail.com>
22471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22472 insrdi. Make better use of reg selection to speed exit slightly.
22473 Schedule entry path a little better. Remove useless "are we done"
22474 checks on entry to main loop. Handle wrapping around zero address.
22475 Correct main loop count. Handle single left-over word from main
22476 loop inline rather than by using loop_small. Remove extra word
22477 case in loop_small caused by wrong loop count. Add little-endian
22479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22480 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22482 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22483 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22484 support. Avoid rlwimi.
22485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22487 2013-10-04 Alan Modra <amodra@gmail.com>
22489 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22490 insrdi. Formatting.
22491 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22493 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22494 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22495 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22496 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22498 2013-10-04 Alan Modra <amodra@gmail.com>
22500 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22503 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22504 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22507 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22508 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22509 use of regs. Use power7 mtocrf. Tidy function tails.
22511 2013-10-04 Alan Modra <amodra@gmail.com>
22513 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22514 Formatting. Consistently use rXXX register defines or rN defines.
22515 Use early exit labels that avoid restoring unused non-volatile regs.
22516 Make cr field use more consistent with rWORDn compares. Rename
22517 regs used as shift registers for unaligned loop, using rN defines
22518 for short lifetime/multiple use regs.
22519 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22520 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22521 addi 1,1,64 to pop stack frame. Simplify return value code.
22522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22524 2013-10-04 Alan Modra <amodra@gmail.com>
22526 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22527 support. Correct typos, formatting. Optimize tail. Use insrdi
22528 rather than rlwimi.
22529 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22530 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22531 little-endian support. Correct typos.
22532 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22533 rather than rlwimi.
22534 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22535 in loop and entry code to keep "and." results.
22536 (strchr): Add little-endian support. Comment. Move cntlzd
22538 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22540 2013-10-04 Alan Modra <amodra@gmail.com>
22542 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22543 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22544 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22545 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22547 2013-10-04 Alan Modra <amodra@gmail.com>
22549 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22550 (rTMP): Define as r11.
22551 (strcmp): Add little-endian support. Optimise tail.
22552 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22554 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22555 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22556 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22558 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22560 2013-10-04 Alan Modra <amodra@gmail.com>
22562 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22563 little-endian support. Remove unnecessary "are we done" tests.
22564 Handle "s" wrapping around zero and extremely large "size".
22565 Correct main loop count. Handle single left-over word from main
22566 loop inline rather than by using small_loop. Correct comments.
22567 Delete "zero" tail, use "end_max" instead.
22568 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22570 2013-10-04 Alan Modra <amodra@gmail.com>
22572 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22573 support. Don't branch over align.
22574 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22575 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22576 support. Rearrange tmp reg use to suit. Comment.
22577 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22579 2013-10-04 Alan Modra <amodra@gmail.com>
22581 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22583 2013-10-04 Alan Modra <amodra@gmail.com>
22585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22586 conditional form of branch and link when obtaining pc.
22587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22589 2013-10-04 Alan Modra <amodra@gmail.com>
22591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22596 2013-10-04 Alan Modra <amodra@gmail.com>
22598 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22599 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22600 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22601 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22602 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22603 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22604 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22605 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22606 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22607 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22609 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22610 Alistair Popple <alistair@ozlabs.au.ibm.com>
22611 Alan Modra <amodra@gmail.com>
22614 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22615 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22616 _dl_hwcap access for little-endian.
22617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22618 destroy vmx regs when saving unaligned.
22619 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22620 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22621 destroy vmx regs when saving unaligned.
22623 2013-10-04 Alan Modra <amodra@gmail.com>
22625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22626 Don't use a union to pack hi/low value.
22628 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22630 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22632 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22633 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22634 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22635 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22636 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22638 2013-10-04 Alan Modra <amodra@gmail.com>
22640 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22641 constants to usual value for .cst8 section, and remove redundant
22643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22644 constant for 0x1p52. Load little-endian words of double from
22645 correct stack offsets.
22647 2013-10-04 Alan Modra <amodra@gmail.com>
22649 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22650 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22651 words of double from correct stack offsets.
22652 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22653 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22654 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22657 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22659 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22660 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22661 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22663 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22664 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22665 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22666 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22667 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22668 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22670 2013-10-04 Alan Modra <amodra@gmail.com>
22672 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22673 64-bit int/double union.
22674 (_FPU_SETCW): Likewise.
22675 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22676 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22678 2013-10-04 Alan Modra <amodra@gmail.com>
22680 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22681 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22683 2013-10-04 Alan Modra <amodra@gmail.com>
22685 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22686 use vector int constants.
22687 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22689 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22691 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22692 array with long long.
22693 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22694 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22695 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22696 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22697 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22698 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22699 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22700 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22701 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22702 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22703 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22704 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22705 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22707 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22709 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22710 (__signbit): Likewise. Correct for little-endian.
22711 (__signbitl): Call __signbit.
22712 (lrint): Correct for little-endian.
22713 (lrintf): Call lrint.
22715 2013-10-04 Alan Modra <amodra@gmail.com>
22717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22718 union 32-bit int array member with 64-bit int array.
22719 (t515, tm256): Double rather than long double.
22720 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22722 2013-10-04 Alan Modra <amodra@gmail.com>
22724 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22726 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22728 version of math_ldbl.h.
22730 2013-10-04 Alan Modra <amodra@gmail.com>
22732 [BZ #15734], [BZ #15735]
22733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22734 all uses of ieee875 long double macros and unions. Simplify test
22735 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22736 ldbl_extract_mantissa value for ix,iy exponents. Properly
22737 normalize after ldbl_extract_mantissa, and don't add hidden bit
22738 already handled. Don't treat low word of ieee854 mantissa like
22739 low word of IBM long double and mask off bit when testing for
22741 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22742 all uses of ieee875 long double macros and unions. Simplify tests
22743 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22744 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22745 two1022, instead use their values. Recognise that tests for large
22746 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22747 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22748 Rewrite all uses of ieee875 long double macros and unions. Simplify
22749 test for 0.0L and nan. Correct negation.
22750 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22751 ieee875 long double macros and unions. Correct output for large
22752 magnitude x. Correct absolute value calculation.
22753 (__erfcl): Likewise.
22754 * math/libm-test.inc: Add tests for errors discovered in IBM long
22755 double versions of fmodl, remainderl, erfl and erfcl.
22757 2013-10-04 Alan Modra <amodra@gmail.com>
22759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22760 all uses of ieee854 long double macros and unions. Simplify tests
22761 for long doubles that are fully specified by the high double.
22762 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22764 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22765 Remove dead code too.
22766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22767 (__ieee754_ynl): Likewise.
22768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22769 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22771 Remove dead code too.
22772 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22774 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22775 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22777 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22779 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22780 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22782 Comment on variable precision.
22783 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22784 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22789 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22790 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22792 2013-10-04 Alan Modra <amodra@gmail.com>
22794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22796 all uses of ieee854 long double macros and unions.
22797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22799 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22808 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22810 Simplify sign and nan test too.
22811 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22813 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22816 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22826 2013-10-04 Alan Modra <amodra@gmail.com>
22828 * stdio-common/printf_size.c (__printf_size): Don't use
22829 union ieee854_long_double in fpnum union.
22830 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22831 signbit macro to retrieve sign from long double.
22832 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22833 retrieve sign from long double.
22834 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22835 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22836 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22837 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22838 * math/test-misc.c (main): Don't use union ieee854_long_double.
22840 2013-10-04 Alan Modra <amodra@gmail.com>
22843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22845 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22846 calculation. Remove unnecessary test for denormal exponent.
22847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22848 Correct handling of denormals. Avoid undefined shift behaviour.
22849 Correct normalisation of low mantissa when low double is denormal.
22850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22851 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22852 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22853 Correct normalisation of low mantissa. Test for overflow of high
22854 mantissa and normalise.
22855 (ldbl_nearbyint): Use more readable constant for two52.
22856 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22857 (__mpn_construct_long_double): Fix test for overflow of high
22858 mantissa and correct normalisation. Avoid undefined shift.
22860 2013-10-04 Alan Modra <amodra@gmail.com>
22862 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22863 (union ibm_extended_long_double): Define as an array of ieee754_double.
22864 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22865 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22866 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22867 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22871 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22876 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22878 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22879 page size instead of calling getpagesize.
22881 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22882 (LOCFILE_ALIGN_MASK): Likewise.
22883 (LOCFILE_ALIGN_UP): Likewise.
22884 (LOCFILE_ALIGNED_P): Likewise.
22885 * locale/programs/ld-collate.c (collate_output): Use the new
22886 macros instead of __alignof__ (int32_t).
22887 * locale/weight.h (findidx): Likewise.
22889 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22892 * manual/string.texi: Fix strncat and wcsncat.
22894 2013-10-03 Brooks Moses <bmoses@google.com>
22897 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22898 * Makerules: ...here, and adjust associated comments.
22900 2013-10-02 Will Newton <will.newton@linaro.org>
22902 * malloc/Makefile: Add tst-pvalloc.
22903 * malloc/tst-pvalloc.c: New file.
22905 2013-10-02 Will Newton <will.newton@linaro.org>
22907 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22908 improve test coverage.
22910 2013-10-02 Will Newton <will.newton@linaro.org>
22912 * malloc/Makefile: Add tst-posix_memalign.
22913 * malloc/tst-posix_memalign.c: New file.
22915 2013-10-01 Eric Blake <eblake@redhat.com>
22917 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22918 Use __THROWNL rather than __THROW on static functions.
22920 2013-09-30 Petr Machata <pmachata@redhat.com>
22922 * elf/elf.h (R_AARCH64_ABS16): New macro.
22923 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22924 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22925 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22926 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22927 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22928 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22929 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22930 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22931 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22932 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22933 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22934 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22935 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22936 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22937 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22938 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22939 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22940 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22941 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22942 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22943 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22944 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22945 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22946 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22947 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22948 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22949 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22950 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22951 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22952 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22953 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22954 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22955 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22956 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22957 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22958 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22959 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22960 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22961 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22962 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22963 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22964 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22965 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22966 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22967 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22968 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22969 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22970 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22971 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22972 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22973 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22974 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22975 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22976 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22977 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22978 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22979 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22980 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22981 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22982 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22983 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22984 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22985 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22986 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22987 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22988 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22989 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22990 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22991 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22992 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22993 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22994 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22995 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22996 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22997 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22998 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22999 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23000 (R_AARCH64_TLSDESC_LDR): Likewise.
23001 (R_AARCH64_TLSDESC_ADD): Likewise.
23002 (R_AARCH64_TLSDESC_CALL): Likewise.
23004 2013-09-30 Andreas Schwab <schwab@suse.de>
23007 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23008 the nss database lookup.
23009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23012 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23014 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23016 2013-09-28 P. J. McDermott <pj@pehjota.net>
23018 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23019 ${Bash-specific parameter/pattern/string} parameter expansion.
23020 * sysdeps/unix/make-syscalls.sh: Likewise.
23022 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23024 * sysdeps/sh/stackguard-macros.h: New file.
23026 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23030 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23031 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23032 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23033 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23035 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23037 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23038 Fix thread ID register.
23040 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23042 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23043 [POSIX || UNIX98]: Require rather than permitting all symbols from
23045 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23046 element of struct sched_param.
23047 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23048 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23049 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23050 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23053 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23055 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23056 argument calculation.
23058 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23060 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23062 [POSIX] (pthread_attr_t): Do not require type.
23063 [POSIX] (pthread_cond_t): Likewise.
23064 [POSIX] (pthread_condattr_t): Likewise.
23065 [POSIX] (pthread_key_t): Likewise.
23066 [POSIX] (pthread_mutex_t): Likewise.
23067 [POSIX] (pthread_mutexattr_t): Likewise.
23068 [POSIX] (pthread_once_t): Likewise.
23069 [POSIX] (pthread_t): Likewise.
23070 [POSIX-based standards] (pthread_atfork): Expect function.
23072 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23073 Richard Sandiford <richard@codesourcery.com>
23075 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23076 (swap_endianness_p): New extern variable.
23077 (set_big_endian): New inline function.
23078 (maybe_swap_uint32): Likewise.
23079 (maybe_swap_uint32_array): Likewise.
23080 (maybe_swap_uint32_obstack): Likewise.
23081 * locale/programs/locfile.c: Include <stdbool.h>.
23082 (swap_endianness_p): New variable.
23083 (add_locale_uint32): Call maybe_swap_uint32.
23084 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23085 (write_locale_data): Call maybe_swap_uint32_array.
23086 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23088 (obstack_int32_grow_fast): Likewise.
23089 (output_weightwc): Call maybe_swap_uint32_obstack.
23090 (collate_output): Likewise.
23091 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23092 (OPT_LITTLE_ENDIAN): Likewise.
23093 (options): Add --little-endian and --big-endian options.
23094 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23095 * locale/programs/locarchive.c: Include "locfile.h".
23099 (create_archive): Use the new macros to access fields of
23100 structures directly mapped from or written to locale archives.
23101 (oldlocrecentcmp): Likewise.
23102 (enlarge_archive): Likewise.
23103 (insert_name): Likewise.
23104 (add_alias): Likewise.
23105 (add_locale): Likewise.
23106 (delete_locales_from_archive): Likewise.
23107 (show_archive_content): Likewise.
23108 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23111 2013-09-24 Roland McGrath <roland@hack.frob.com>
23113 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23114 http://www.gnu.org/doc/freemanuals.texi.
23115 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23117 2013-09-24 Will Newton <will.newton@linaro.org>
23119 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23122 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23124 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23127 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23129 * manual/threads.texi (POSIX Threads): Fix a typo.
23131 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23134 * string/tst-strcoll-overflow.c: New test case.
23135 * string/Makefile (xtests): Add tst-strcoll-overflow.
23136 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23137 cache if string sizes may cause integer overflow.
23140 * string/strcoll_l.c (coll_seq): New members rule, idx,
23141 save_idx and back_us.
23142 (get_next_seq_nocache): New function.
23143 (do_compare_nocache): New function.
23144 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23147 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23150 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23151 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23152 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23155 * elf/Makefile (tests): Add tst-ptrguard1.
23156 (tests-static): Add tst-ptrguard1-static.
23157 (tst-ptrguard1-ARGS): Define.
23158 (tst-ptrguard1-static-ARGS): Define.
23159 * elf/tst-ptrguard1.c: New file.
23160 * elf/tst-ptrguard1-static.c: New file.
23161 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23162 * sysdeps/i386/stackguard-macros.h: Likewise.
23163 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23164 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23165 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23166 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23167 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23168 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23170 2013-09-23 Hector Marco <hecmargi@upv.es>
23171 Ismael Ripoll <iripoll@disca.upv.es>
23172 Carlos O'Donell <carlos@redhat.com>
23175 * sysdeps/generic/stackguard-macros.h: Define
23176 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23177 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23178 Define __pointer_chk_guard_local.
23179 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23180 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23182 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23185 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23187 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23189 * include/string.h (__ffs): Declare as hidden.
23190 * string/ffs.c (__ffs): Define as hidden.
23191 * sysdeps/i386/ffs.c (__ffs): Likewise.
23192 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23193 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23194 * sysdeps/s390/ffs.c (__ffs): Likewise.
23195 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23197 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23199 * NEWS: Mention malloc probes.
23201 * malloc/arena.c (new_heap): New memory_heap_new probe.
23202 (grow_heap): New memory_heap_more probe.
23203 (shrink_heap): New memory_heap_less probe.
23204 (heap_trim): New memory_heap_free probe.
23205 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23206 (systrim): New memory_sbrk_less probe.
23207 * manual/probes.texi: Document them.
23209 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23210 * manual/probes.texi: Document it.
23212 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23213 (__libc_realloc): Add memory_realloc_retry probe.
23214 (__libc_memalign): Add memory_memalign_retry probe.
23215 (__libc_valloc): Add memory_valloc_retry probe.
23216 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23217 (__libc_calloc): Add memory_calloc_retry probe.
23218 * manual/probes.texi: Document them.
23220 * malloc/arena.c (get_free_list): Add probe
23221 memory_arena_reuse_free_list.
23222 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23223 and memory_arena_reuse.
23224 (arena_get2) [!PER_THREAD]: Likewise.
23225 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23226 memory_arena_reuse_realloc.
23227 * manual/probes.texi: Document them.
23229 * malloc/malloc.c (__libc_free): Add
23230 memory_mallopt_free_dyn_thresholds probe.
23231 (__libc_mallopt): Add multiple memory_mallopt probes.
23232 * manual/probes.texi: Document them.
23234 * malloc/malloc.c: Include stap-probe.h.
23235 (__libc_mallopt): Add memory_mallopt probe.
23236 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23237 * manual/probes.texi: New.
23238 * manual/Makefile (chapters): Add probes.
23239 * manual/threads.texi: Set next node.
23241 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23243 [BZ #15963, #13985]
23244 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23245 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23246 Add `Chinese' to `nan' entry name.
23248 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23250 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23251 (POLYNOMIAL): Likewise.
23252 (TAYLOR_SINCOS): Likewise.
23253 (TAYLOR_SLOW): Likewise.
23254 (__sin): Use TAYLOR_SINCOS.
23256 (slow): Use TAYLOR_SLOW.
23258 (bsloww): Likewise.
23259 (csloww): Likewise.
23261 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23263 * stdlib/strtod_l.c: Fix buffer overrun.
23265 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23267 * benchtests/Makefile (bench): Add sincos.
23268 * benchtests/bench-sincos.c: New file.
23270 * math/libm-test.inc (cos_test_data): New test inputs.
23271 (sin_test_data): Likewise.
23273 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23279 (sloww1): Likewise.
23280 (sloww2): Likewise.
23281 (bsloww1): Likewise.
23282 (bsloww2): Likewise.
23283 (cslow2): Likewise.
23284 (csloww1): Likewise.
23285 (csloww2): Likewise.
23287 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23296 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23298 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23299 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23300 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23301 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23302 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23303 * elf/cache.c (print_entry): Handle the new cache flags.
23305 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23306 Aldy Hernandez <aldyh@redhat.com>
23308 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23309 Change condition to [_SOFT_FLOAT].
23310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23322 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23325 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23328 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23330 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23331 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23332 (__longjmp): Use LOAD_GP to load saved GPRs.
23333 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23334 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23335 (__sigsetjmp): Use SAVE_GP to save GPRs.
23337 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23338 Do not append -msoft-float.
23339 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23341 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23343 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23345 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23348 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23349 (_FPU_GETCW): Use initial "__" on variable and field names but not
23350 on macro parameter name.
23351 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23352 parentheses around reference to macro parameter.
23354 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23356 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23358 (ctype_startup): Use uint32_t in cast and sizeof for
23361 2013-09-11 Jia Liu <proljc@gmail.com>
23363 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23365 [__FreeBSD__]: Likewise.
23367 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23370 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23371 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23372 (strchr): Remove __strchr_sse42 ifunc selection.
23373 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23374 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23376 2013-09-11 Will Newton <will.newton@linaro.org>
23378 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23379 parameter to RES. Remove hardcoded 1000 value.
23380 * benchtests/bench-skeleton.c (main): Pass RES parameter
23381 to TIMING_INIT and multiply result by 1000.
23383 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23387 2013-09-11 Andreas Schwab <schwab@suse.de>
23389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23391 (O_TMPFILE) [__USE_GNU]: Define.
23392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23395 2013-09-11 Will Newton <will.newton@linaro.org>
23398 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23401 2013-09-11 Will Newton <will.newton@linaro.org>
23404 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23407 2013-09-11 Will Newton <will.newton@linaro.org>
23410 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23413 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23415 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23421 2013-09-10 Allan McRae <allan@archlinux.org>
23424 * manual/arith.texi (Parsing of Floats): Clarify
23428 * manual/install.texi (Running make install): Mention
23430 * INSTALL: Regenerated.
23432 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23434 * csu/init-first.c (_init): Remove the !SHARED condition around
23435 FPU control word initialization.
23436 * elf/dl-support.c (_dl_fpu_control): New variable.
23437 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23438 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23439 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23440 * math/test-fpucw-static.c: New file.
23441 * math/test-fpucw-ieee.c: New file.
23442 * math/test-fpucw-ieee-static.c: New file.
23443 * math/Makefile (tests): Add `test-fpucw-ieee' and
23445 (tests-static): New variable.
23446 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23448 [($(build-shared),yes)]
23449 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23451 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23454 2013-09-09 Allan McRae <allan@archlinux.org>
23457 * manual/string.texi (Collation Functions): Fix typo in
23459 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23462 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23465 * libio/memstream.c (open_memstream): Fix memory leak.
23466 * libio/wmemstream.c (open_wmemstream): Likewise.
23469 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23471 2013-09-09 Will Newton <will.newton@linaro.org>
23473 * malloc/Makefile: Add tst-realloc to tests.
23474 * malloc/tst-realloc.c: New file.
23476 2013-09-09 Allan McRae <allan@archlinux.org>
23479 * COPYING: Update from GNU website to fix FSF address.
23480 * COPYING.LIB: Likewise.
23482 2013-09-06 David S. Miller <davem@davemloft.net>
23484 * po/zh_TW.po: Update Chinese (traditional) translation from
23485 translation project.
23487 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23488 Joseph Myers <joseph@codesourcery.com>
23490 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23492 (obstack_chunk_alloc): New macro.
23493 (obstack_chunk_free): Likewise.
23494 (record_offset): New function.
23495 (init_locale_data): Likewise.
23496 (align_locale_data): Likewise.
23497 (add_locale_empty): Likewise.
23498 (add_locale_raw_data): Likewise.
23499 (add_locale_raw_obstack): Likewise.
23500 (add_locale_string): Likewise.
23501 (add_locale_wstring): Likewise.
23502 (add_locale_uint32): Likewise.
23503 (add_locale_uint32_array): Likewise.
23504 (add_locale_char): Likewise.
23505 (start_locale_structure): Likewise.
23506 (end_locale_structure): Likewise.
23507 (start_locale_prelude): Likewise.
23508 (end_locale_prelude): Likewise.
23509 (write_locale_data): Take locale_file structure rather than an
23511 * locale/programs/locfile.h: Include "obstack.h".
23512 (struct locale_file): Change to store locale file contents instead
23514 (init_locale_data): New prototype.
23515 (align_locale_data): Likewise.
23516 (add_locale_empty): Likewise.
23517 (add_locale_raw_data): Likewise.
23518 (add_locale_raw_obstack): Likewise.
23519 (add_locale_string): Likewise.
23520 (add_locale_wstring): Likewise.
23521 (add_locale_uint32): Likewise.
23522 (add_locale_uint32_array): Likewise.
23523 (add_locale_char): Likewise.
23524 (start_locale_structure): Likewise.
23525 (end_locale_structure): Likewise.
23526 (start_locale_prelude): Likewise.
23527 (end_locale_prelude): Likewise.
23528 (write_locale_data): Update prototype.
23529 * locale/programs/3level.h (struct TABLE): Remove result field.
23530 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23531 Use new locale_file interface.
23532 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23533 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23534 * locale/programs/ld-address.c (address_output): Use new
23535 locale_file interface.
23536 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23538 (collate_finish): Don't call collseq_table_finalize.
23539 (collate_output): Use new locale_file interface.
23540 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23542 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23543 (TABLE): Move defines earlier in file.
23544 (ELEMENT): Likewise.
23545 (DEFAULT): Likewise.
23546 (wctrans_table_add): Move macro and inline function earlier in
23548 (struct wctype_table): Move type earlier in file.
23549 (add_locale_wctype_table): New static prototype.
23550 (struct locale_ctype_t): Use logical types instead of struct iovec
23551 pointers for members.
23552 (ctype_output): Use new locale_file interface.
23553 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23554 new locale_file interface.
23555 (allocate_arrays): Update for use of new locale_file interface.
23556 * locale/programs/ld-identification.c (identification_output): Use
23557 new locale_file interface.
23558 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23559 * locale/programs/ld-messages.c (messages_output): Likewise.
23560 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23561 * locale/programs/ld-name.c (name_output): Likewise.
23562 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23563 * locale/programs/ld-paper.c (paper_output): Likewise.
23564 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23565 * locale/programs/ld-time.c (time_output): Likewise.
23567 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23569 * benchtests/Makefile: Add memrchr benchmark.
23570 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23571 benchmark as memrchr.
23572 * benchtests/bench-memrchr-ifunc.c: New file.
23573 * benchtests/bench-memrchr.c: New file.
23575 2013-09-06 Will Newton <will.newton@linaro.org>
23577 * benchtests/Makefile (string-bench): Add memcpy.
23579 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23580 Cong Wang <amwang@redhat.com>
23583 * sysdeps/unix/sysv/linux/bits/in.h
23584 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23585 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23586 before __USE_KERNEL_IPV6_DEFS uses.
23587 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23589 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23590 sockaddr_in6, or ipv6_mreq.
23592 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23594 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23595 memory access for final bytes in some large inputs.
23596 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23598 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23600 * string/test-memrchr.c: New file.
23601 * string/test-memrchr-ifunc.c: New file.
23602 * string/Makefile: Add new memrchr testcase.
23604 2013-09-05 Mike Frysinger <vapier@gentoo.org>
23606 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23607 fanotify_init returns EPERM.
23609 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23611 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23613 (top level): Treat second token from macro or constant entries for
23614 allowed headers as allowed.
23615 * include/complex.h: Condition internal declarations on
23617 * include/fenv.h: Condition include of <stdbool.h> and internal
23618 declarations on [!_ISOMAC].
23620 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23623 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23625 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23627 * configure.in (--enable-versioning): Remove configure option.
23628 (libc_cv_asm_symver_directive): Remove configure test.
23629 (libc_cv_ld_version_script_option): Likewise.
23630 (VERSIONING): Remove variable and AC_SUBST.
23631 (DO_VERSIONING): Remove AC_DEFINE.
23632 * configure: Regenerated.
23633 * config.h.in (DO_VERSIONING): Remove macro.
23634 * Makerules [$(versioning) = yes]: Change conditionals to
23635 [$(build-shared) = yes].
23636 * config.make.in (versioning): Remove variable.
23637 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23638 [$(build-shared) = yes].
23639 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23640 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23641 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23642 [$(build-shared) = yes].
23643 * extra-lib.mk [$(versioning) = yes]: Likewise.
23644 * hurd/Makefile [$(versioning) = yes]: Likewise.
23645 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23647 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23649 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23650 [SHARED && !NO_HIDDEN].
23651 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23653 [SHARED && DO_VERSIONING]: Likewise..
23654 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23655 [$(build-shared) = yes].
23656 * manual/install.texi (--disable-versioning): Remove
23658 * INSTALL: Regenerated.
23659 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23661 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23662 [$(build-shared) = yes].
23663 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23664 * sysdeps/i386/i686/multiarch/strstr-c.c
23665 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23666 [SHARED && !NO_HIDDEN].
23667 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23668 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23669 * sysdeps/powerpc/powerpc32/dl-machine.c
23670 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23671 * sysdeps/powerpc/powerpc32/sysdep.h
23672 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23673 to [SHARED && PIC && !NO_HIDDEN].
23674 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23675 conditional to [SHARED].
23677 2013-09-04 Will Newton <will.newton@linaro.org>
23679 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23680 * benchtests/bench-string.h: Include bench-timing.h instead
23681 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23682 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23683 call to HP_TIMING_DIFF_INIT.
23684 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23685 instead of hp-timing.h macros.
23686 * benchtests/bench-memchr.c: Likewise.
23687 * benchtests/bench-memcmp.c: Likewise.
23688 * benchtests/bench-memcpy.c: Likewise.
23689 * benchtests/bench-memmem.c: Likewise.
23690 * benchtests/bench-memmove.c: Likewise.
23691 * benchtests/bench-memset.c: Likewise.
23692 * benchtests/bench-rawmemchr.c: Likewise.
23693 * benchtests/bench-strcasecmp.c: Likewise.
23694 * benchtests/bench-strcasestr.c: Likewise.
23695 * benchtests/bench-strcat.c: Likewise.
23696 * benchtests/bench-strchr.c: Likewise.
23697 * benchtests/bench-strcmp.c: Likewise.
23698 * benchtests/bench-strcpy.c: Likewise.
23699 * benchtests/bench-strcpy_chk.c: Likewise.
23700 * benchtests/bench-strlen.c: Likewise.
23701 * benchtests/bench-strncasecmp.c: Likewise.
23702 * benchtests/bench-strncat.c: Likewise.
23703 * benchtests/bench-strncmp.c: Likewise.
23704 * benchtests/bench-strncpy.c: Likewise.
23705 * benchtests/bench-strnlen.c: Likewise.
23706 * benchtests/bench-strpbrk.c: Likewise.
23707 * benchtests/bench-strrchr.c: Likewise.
23708 * benchtests/bench-strspn.c: Likewise.
23709 * benchtests/bench-strstr.c: Likewise.
23711 2013-09-04 Will Newton <will.newton@linaro.org>
23713 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23715 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23719 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23720 * math/libm-test.inc (lgamma_test_data): Add more tests.
23721 * sysdeps/i386/fpu/libm-test-ulps: Update.
23722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23724 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23726 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23727 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23730 Add strcmp-sse2-unaligned
23731 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23733 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23735 * Versions.def (libc): Add GLIBC_2.19.
23737 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23739 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23740 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23742 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23745 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23746 intermediate calculations in recurrence.
23747 (__ieee754_ynf): Likewise.
23748 * math/libm-test.inc (jn_test_data): Do not allow spurious
23749 underflow exception. Add more tests.
23750 (yn_test_data): Add more tests.
23751 * sysdeps/i386/fpu/libm-test-ulps: Update.
23752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23754 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23756 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23758 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23760 * csu/init-first.c: Fix then/than typos.
23761 * locale/programs/ld-collate.c: Likewise.
23762 * locale/programs/linereader.h: Likewise.
23763 * manual/charset.texi: Likewise.
23764 * manual/filesys.texi: Likewise.
23765 * manual/stdio.texi: Likewise.
23766 * manual/string.texi: Likewise.
23767 * stdlib/fmtmsg.c: Likewise.
23768 * sysdeps/i386/stpncpy.S: Likewise.
23769 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23770 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23771 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23772 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23774 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23776 * elf/dl-open.c: Fix typos.
23777 * iconvdata/gbbig5.c: Likewise.
23778 * iconvdata/iso-2022-jp.c: Likewise.
23779 * iconv/gconv_int.h: Likewise.
23780 * iconv/loop.c: Likewise.
23781 * nis/rpcsvc/nis.h: Likewise.
23782 * resolv/ns_name.c: Likewise.
23783 * stdio-common/vfscanf.c: Likewise.
23784 * streams/stropts.h: Likewise.
23785 * sunrpc/rpc_thread.c: Likewise.
23786 * sysdeps/i386/strpbrk.S: Likewise.
23787 * sysdeps/ieee754/k_standard.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23790 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23791 * sysdeps/mach/hurd/profil.c: Likewise.
23792 * sysdeps/s390/dl-procinfo.h: Likewise.
23793 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23794 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23795 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23796 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23799 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23801 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23804 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23806 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23807 aix specific files.
23808 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23809 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23810 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23811 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23812 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23813 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23814 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23815 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23817 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23818 Roland McGrath <roland@hack.frob.com>
23820 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23821 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23823 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23825 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23826 __executable_start symbol instead of _start.
23828 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23830 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23831 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23833 * sysdeps/gnu/ldsodefs.h: ... this new file.
23835 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23836 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23837 instead of ELFOSABI_LINUX.
23839 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23840 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23841 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23842 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23844 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23845 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23846 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23848 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23849 (ibm_extended_long_double): Add ieee_nan member.
23850 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23851 (do_test): New function.
23853 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23855 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23856 functions, renamed from truncdfsf_test, trunctfsf_test,
23858 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23860 (do_test): Run all these.
23862 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23864 * argp/argp-help.c: Fix typos.
23865 * argp/argp-parse.c: Likewise.
23866 * debug/backtracesyms.c: Likewise.
23867 * elf/elf.h: Likewise.
23868 * malloc/malloc.c: Likewise.
23869 * nis/nis_print.c: Likewise.
23870 * resolv/res_comp.c: Likewise.
23871 * stdlib/stdlib.h: Likewise.
23872 * sunrpc/clnt_tcp.c: Likewise.
23873 * sunrpc/clnt_udp.c: Likewise.
23874 * sunrpc/clnt_unix.c: Likewise.
23875 * sysdeps/unix/bsd/ptsname.c: Likewise.
23876 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23884 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23886 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23888 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23891 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23894 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23895 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23896 ($(objpfx)bug-dl-leaf): New rule.
23897 ($(objpfx)bug-dl-leaf.so): Likewise.
23898 ($(objpfx)bug-dl-leaf.out): Likewise.
23899 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23900 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23901 * dlfcn/bug-dl-leaf.c: New test.
23902 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23903 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23904 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23905 (dlclose): Likewise.
23906 (dlmopen): Likewise.
23908 2013-08-27 Roland McGrath <roland@hack.frob.com>
23910 * include/netdb.h [!_ISOMAC]:
23911 Don't include <tls.h>.
23912 (h_errno, __libc_h_errno): Move declaration and macros out of
23915 * include/resolv.h [_RESOLV_H_]:
23916 Don't include <tls.h>.
23917 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23918 * resolv/res_libc.c: Don't include <tls.h>.
23919 (_res): Use __attribute__ ((nocommon)) in place of
23920 __attribute__ ((section (".bss"))).
23922 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23923 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23925 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23927 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23928 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23930 * resolv/res_mkquery.c: Include <sys/time.h>.
23932 * inet/ifreq.c: Moved to ...
23933 * sysdeps/unix/ifreq.c: ... here.
23934 * inet/ifreq.c: New file, true stub version.
23936 * socket/sa_len.c: New file.
23937 * socket/Makefile (aux): Add it.
23938 * sysdeps/unix/sysv/linux/Makefile
23939 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23940 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23941 and #include <socket/sa_len.c>.
23942 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23943 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23945 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23946 * bits/socket.h: ... here.
23948 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23949 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23950 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23952 2013-08-27 Andreas Schwab <schwab@suse.de>
23955 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23956 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23957 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23958 * string/test-strcasecmp.c (test_main): Run tests in several
23960 * string/test-strncasecmp.c (test_main): Likewise.
23962 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23963 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23964 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23966 (__strncasecmp_ssse3) [PIC]: Likewise.
23968 2013-08-26 Roland McGrath <roland@hack.frob.com>
23970 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23972 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23973 instead of explicitly declaring xdecrypt.
23974 * nis/nss_nis/nis-publickey.c: Likewise.
23976 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23979 * nscd/aicache.c: Include res_hconf.h.
23980 (addhstaiX): Initialize res_hconf.
23982 2013-08-26 Andreas Schwab <schwab@suse.de>
23984 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23985 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23987 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23989 * nscd/aicache.c (addhstaiX): Fix indentation.
23991 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23993 * configure.ac: Quote $build_pt_chown test.
23994 * configure: Regenerated.
23996 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23999 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24000 * math/s_cexpf.c (__cexpf): Likewise.
24001 * math/s_cexpl.c (__cexpl): Likewise.
24002 * math/libm-test.inc (cexp_test_data): Correct expected return
24003 value for NaN + i0. Add another test.
24005 2013-08-22 David S. Miller <davem@davemloft.net>
24007 * po/ca.po: Update Catalan translation from translation project.
24008 * po/uk.po: Add Ukrainian translations from translation project.
24010 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24013 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24014 is infinite, not alongside NaN test.
24015 * math/s_fdimf.c (__fdimf): Likewise.
24016 * math/s_fdiml.c (__fdiml): Likewise.
24017 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24018 errno is unchanged.
24020 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24022 * argp/argp-help.c: Fix typos.
24023 * crypt/speeds.c: Likewise.
24024 * csu/check_fds.c: Likewise.
24025 * elf/dl-load.c: Likewise.
24026 * elf/dl-open.c: Likewise.
24027 * elf/reldep3.c: Likewise.
24028 * elf/reldep.c: Likewise.
24029 * elf/sprof.c: Likewise.
24030 * iconv/iconv_charmap.c: Likewise.
24031 * iconv/skeleton.c: Likewise.
24032 * iconv/strtab.c: Likewise.
24033 * io/lockf64.c: Likewise.
24034 * libio/libioP.h: Likewise.
24035 * resolv/gai_notify.c: Likewise.
24036 * resolv/ns_name.c: Likewise.
24037 * resolv/ns_samedomain.c: Likewise.
24038 * resolv/res_send.c: Likewise.
24039 * stdlib/random.c: Likewise.
24040 * sunrpc/rpc/xdr.h: Likewise.
24041 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24042 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24043 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24044 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24046 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24048 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24049 * sysdeps/mach/hurd/check_fds.c: Likewise.
24050 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24051 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24053 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24054 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24056 * sysdeps/pthread/aio_notify.c: Likewise.
24057 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24058 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24059 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24061 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24063 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24065 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24066 version if bit_Slow_SSE4_2 is set.
24067 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24068 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24070 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24073 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24074 trampoline stack frame information.
24075 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24076 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24077 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24078 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24079 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24080 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24081 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24082 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24084 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24085 interrupting a syscall and set with option SA_SIGINFO.
24087 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24090 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24091 argument is infinite.
24092 * math/s_cprojf.c (__cprojf): Likewise.
24093 * math/s_cprojl.c (__cprojl): Likewise.
24094 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24095 * math/libm-test.inc (cproj_test_data): Add more tests.
24097 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24099 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24100 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24101 size. Use __ffs to determine corresponding shift.
24103 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24104 Roland McGrath <roland@hack.frob.com>
24106 * Makefile (INSTALL): Remove trailing blank lines from output of
24109 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24111 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24112 Align 32 bit compat elf_greg to 8 bytes.
24114 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24116 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24118 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24120 * string/strcoll_l.c (coll_seq): New structure.
24121 (get_next_seq_cached): New function.
24122 (get_next_seq): New function.
24123 (do_compare): New function.
24124 (STRCOLL): Use GNU style definition. Simplify implementation
24125 by using get_next_seq, get_next_seq_cached and do_compare.
24127 2013-08-16 Florian Weimer <fweimer@redhat.com>
24131 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24133 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24135 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24136 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24137 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24139 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24140 GETDENTS_64BIT_ALIGNED.
24141 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24142 * manual/filesys.texi (Reading/Closing Directory): Document
24143 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24145 * manual/conf.texi (Limits for Files): Add portability note to
24146 NAME_MAX, PATH_MAX.
24147 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24149 2013-08-13 Andreas Schwab <schwab@suse.de>
24152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24154 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24155 LDBL_MAX_EXP >= 16384]: Add tests for it.
24157 2013-08-12 David S. Miller <davem@davemloft.net>
24159 * version.h (RELEASE): Set to "development".
24160 (VERSION): Set to "2.18.90".
24161 * NEWS: Add 2.19 section.
24163 2013-08-03 David S. Miller <davem@davemloft.net>
24165 * po/ko.po: Update Korean translation from translation project.
24167 2013-08-01 David S. Miller <davem@davemloft.net>
24169 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24170 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24173 2013-07-30 David S. Miller <davem@davemloft.net>
24175 * po/fr.po: Update French translation from translation project.
24177 2013-07-28 David S. Miller <davem@davemloft.net>
24179 * po/cs.po: Update Czech translation from translation project.
24181 * po/sv.po: Update Swedish translation from translation project.
24183 2013-07-27 David S. Miller <davem@davemloft.net>
24185 * po/eo.po: Update Esperanto translation from translation project.
24187 * po/vi.po: Update Vietnamese translation from translation project.
24189 * po/de.po: Update German translation from translation project.
24191 2013-07-26 David S. Miller <davem@davemloft.net>
24193 * po/bg.po: Update Bulgarian translation from translation project.
24195 * po/nl.po: Update Dutch translation from translation project.
24196 * po/pl.po: Update Polish translation from translation project.
24197 * po/ru.po: Update Russian translation from translation project.
24199 2013-07-24 David S. Miller <davem@davemloft.net>
24201 * po/libc.pot: Update.
24203 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24205 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24206 variable page size.
24207 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24208 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24209 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24211 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24213 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24215 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24216 Andreas Schwab <schwab@suse.de>
24217 Roland McGrath <roland@hack.frob.com>
24218 Joseph Myers <joseph@codesourcery.com>
24219 Carlos O'Donell <carlos@redhat.com>
24222 * config.h.in: Define HAVE_PT_CHOWN.
24223 * config.make.in (build-pt-chown): New variable.
24224 * configure.in (--enable-pt_chown): New configure option.
24225 * configure: Regenerate.
24226 * login/Makefile: Include Makeconfig. Build pt_chown only if
24227 build-pt-chown is enabled.
24228 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24229 pt_chown to fix pty ownership.
24230 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24232 * manual/install.texi (Configuring and compiling): Mention
24233 --enable-pt_chown. Add @findex for grantpt.
24234 * INSTALL: Regenerate.
24236 2013-07-20 David S. Miller <davem@davemloft.net>
24238 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24239 difference between 32-bit and 64-bit.
24241 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24244 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24245 Avoid system header dependency with -ffreestanding.
24246 ($(objpfx)bits/syscall%d): Likewise.
24248 2013-07-13 David S. Miller <davem@davemloft.net>
24250 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24251 underflows from atanl/atan2l due to bug 15319.
24252 (casinh_test_data): Likewise.
24254 2013-07-07 David S. Miller <davem@davemloft.net>
24256 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24258 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24260 * sysdeps/i386/fpu/libm-test-ulps: Update.
24261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24263 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24265 * configure.in (--enable-lock-elision): Fix message text.
24266 * INSTALL: Regenerate.
24267 * configure: Regenerate.
24269 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24273 2013-07-03 Andreas Jaeger <aj@suse.de>
24275 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24277 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24278 (ptrace_peeksiginfo_args): Add.
24279 (__ptrace_peeksiginfo_flags): Add.
24280 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24281 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24282 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24284 2013-07-03 Allan McRae <allan@archlinux.org>
24286 * sysdeps/i386/fpu/libm-test-ulps: Update.
24288 2013-07-02 David S. Miller <davem@davemloft.net>
24290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24292 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24296 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24298 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24301 2013-07-02 Andi Kleen <ak@linux.intel.com>
24303 * config.h.in (ENABLE_LOCK_ELISION): Add.
24304 * configure.in (--enable-lock-elision): Add option.
24305 * manual/install.texi: Document --enable lock elision.
24306 * configure: Regenerate
24307 * INSTALL: Regenerate.
24309 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24311 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24312 SSE4.2 strcasecmp for libc.a.
24313 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24315 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24318 * soft-fp/op-common.h (_FP_FMA): New macro.
24319 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24320 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24321 (_FP_MUL_MEAT_1_imm): ... here.
24322 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24323 (_FP_MUL_MEAT_1_wide): ... here.
24324 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24325 (_FP_MUL_MEAT_1_hard): ... here.
24326 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24327 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24328 (_FP_MUL_MEAT_2_wide): ... here.
24329 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24330 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24331 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24332 (_FP_MUL_MEAT_2_gmp): ... here.
24333 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24334 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24335 (_FP_MUL_MEAT_4_wide): ... here.
24336 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24337 (_FP_MUL_MEAT_4_gmp): ... here.
24338 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24339 (_FP_WFRACBITS_DW_S): Likewise.
24340 (_FP_WFRACXBITS_DW_S): Likewise.
24341 (_FP_HIGHBIT_DW_S): Likewise.
24342 (FP_FMA_S): Likewise.
24343 (_FP_FRAC_HIGH_DW_S): Likewise.
24344 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24345 (_FP_WFRACBITS_DW_D): Likewise.
24346 (_FP_WFRACXBITS_DW_D): Likewise.
24347 (_FP_HIGHBIT_DW_D): Likewise.
24348 (FP_FMA_D): Likewise.
24349 (_FP_FRAC_HIGH_DW_D): Likewise.
24350 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24351 (_FP_WFRACBITS_DW_E): Likewise.
24352 (_FP_WFRACXBITS_DW_E): Likewise.
24353 (_FP_HIGHBIT_DW_E): Likewise.
24354 (FP_FMA_E): Likewise.
24355 (_FP_FRAC_HIGH_DW_E): Likewise.
24356 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24357 (_FP_WFRACBITS_DW_Q): Likewise.
24358 (_FP_WFRACXBITS_DW_Q): Likewise.
24359 (_FP_HIGHBIT_DW_Q): Likewise.
24360 (FP_FMA_Q): Likewise.
24361 (_FP_FRAC_HIGH_DW_Q): Likewise.
24362 * soft-fp/fmasf4.c: New file.
24363 * soft-fp/fmadf4.c: Likewise.
24364 * soft-fp/fmatf4.c: Likewise.
24366 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24369 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24373 (index_Slow_SSE4_2): Likewise.
24374 (index_Prefer_PMINUB_for_stringop): Likewise.
24375 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24376 bit_Slow_SSE4_2 is set.
24377 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24378 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24380 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24382 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24383 rtld_global._dl_hwcap2.
24384 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24386 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24387 POWER8 feature descriptions defined in _dl_hwcap2.
24388 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24389 string handling for POWER8 feature bits.
24390 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24391 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24392 _dl_powerpc_cap_flags.
24393 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24394 * sysdeps/powerpc/rtld-global-offsets.sym
24395 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24396 _dl_hwcap2 in the rtld_global_ro structure.
24398 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24400 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24401 hardware capabilities in support of AT_HWCAP2.
24402 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24403 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24405 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24406 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24407 explicitly the unknown a_type display mechanism is used.
24408 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24409 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24411 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24412 to macro prototype for AT_HWCAP2 support.
24413 * sysdeps/i386/dl-procinfo.h: Likewise.
24414 * sysdeps/s390/dl-procinfo.h: Likewise.
24415 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24416 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24417 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24418 return -1 for unknown a_type display fallback.
24419 * sysdeps/sparc/dl-procinfo.h: Likewise.
24420 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24421 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24423 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24425 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24426 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24428 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24431 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24432 mprotect making __stack_prot writable.
24434 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24435 Joseph Myers <joseph@codesourcery.com>
24437 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24438 as being properly aligned.
24440 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24442 * dlfcn/modstatic5.c: New file.
24443 * dlfcn/tststatic5.c: New file.
24444 * dlfcn/Makefile (tests): Add tststatic5.
24445 (tests-static): Likewise.
24446 (modules-names): Add modstatic5.
24447 (tststatic5-ENV): New variable.
24448 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24451 * elf/dl-support.c (_dl_main_map): New variable.
24452 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24453 (_dl_nns, _dl_load_adds): Set to 1.
24454 (_dl_initial_searchlist): Refer to _dl_main_map.
24455 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24456 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24457 call to _dl_get_origin.
24458 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24460 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24461 * dlfcn/modstatic3.c: New file.
24462 * dlfcn/tststatic3.c: New file.
24463 * dlfcn/tststatic4.c: New file.
24464 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24465 (tests-static): Likewise.
24466 (modules-names): Add modstatic3.
24467 (tststatic3-ENV, tststatic4-ENV): New variables.
24468 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24469 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24471 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24473 * configure.in (CC): Require GCC version 4.4 or later.
24474 * configure: Regenerated.
24475 * manual/install.texi (Tools for Compilation): Update GCC version
24477 * INSTALL: Regenerated.
24479 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24482 * string/test-memcmp.c (check2): New.
24483 (main): Call check2.
24485 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24487 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24490 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24492 (dl_open_worker) [!SHARED]: ... here.
24494 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24496 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24498 2013-06-25 Richard Henderson <rth@redhat.com>
24500 * locale/programs/locarchive.c: Include <libc-internal.h>
24502 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24504 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24505 trailing whitespace removed.
24507 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24510 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24511 * locale/programs/locarchive.c: Include libc-mmap.h.
24512 (prepare_address_space): Take two new outputs (the mmap base and len).
24513 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24515 (create_archive): Declare new mmap base and len values for
24516 prepare_address_space, and store the result in ah.
24517 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24518 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24519 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24520 Declare new mmap base and len values for
24521 prepare_address_space, and store the result in new_ah.
24522 (open_archive): Declare new mmap base and len values for
24523 prepare_address_space, and store the result in ah.
24524 (close_archive): If ah->mmap_base is not NULL, use that and
24525 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24526 * sysdeps/generic/libc-mmap.h: New file.
24528 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24530 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24531 (ALIGN_UP): Likewise.
24532 (PTR_ALIGN_DOWN): Likewise.
24533 (PTR_ALIGN_UP): Likewise.
24535 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24537 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24538 entry mapped to PPC_PLATFORM_POWER8.
24539 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24541 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24542 (_dl_string_platform): Add case for exporting platform position for
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24545 search path to sysdeps/powerpc/powerpc32/power8 directory.
24546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24547 search path to sysdeps/powerpc/powerpc64/power8 directory.
24548 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24549 power7 directories.
24550 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24551 power7 directories.
24553 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24555 * INSTALL: Regenerate.
24557 * nscd/connections.c (nscd_init): Fix comment.
24559 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24561 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24564 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24565 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24567 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24569 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24571 (DL_DST_REQ_STATIC): Remove macro.
24573 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24576 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24577 with a shift of 0 bits.
24579 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24581 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24584 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24587 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24589 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24591 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24592 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24593 accepts -fno-tree-loop-distribute-patterns.
24594 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24595 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24597 * string/memset.c (memset): Likewise.
24598 * string/test-memmove.c (simple_memmove): Disable loop transformation
24600 * string/test-memset.c (simple_memset): Likewise.
24601 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24602 * benchtests/bench-memset.c (simple_memset): Likewise.
24603 * configure: Regenerated.
24605 2013-06-20 Joseph Myers <joseph@codesourcery.com>
24607 * math/test-misc.c (main): Ignore fesetround failure when failures
24608 of subsequent rounding tests would be ignored.
24611 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24612 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24613 * math/fegetenv.c (__fegetenv): Return 0.
24614 * math/fegetexcept.c (fegetexcept): Return 0.
24615 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24617 * math/feholdexcpt.c (feholdexcept): Return 0.
24618 * math/fesetenv.c (__fesetenv): Return 0.
24619 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24620 argument FE_TONEAREST.
24621 * math/feupdateenv.c (__feupdateenv): Return 0.
24622 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24624 2013-06-18 Roland McGrath <roland@hack.frob.com>
24626 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24627 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24628 ($(objpfx)rtld-%.os rules): Use them.
24630 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24632 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24635 2013-06-17 Roland McGrath <roland@hack.frob.com>
24637 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24638 length of target pattern, then descending length of dependency pattern.
24639 * configure.in (AWK): Require gawk 3.1.2 or newer.
24640 * manual/install.texi (Tools for Compilation): Say that we do.
24641 * configure: Regenerated.
24643 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24644 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24645 * scripts/sysd-rules.awk: ... this new script.
24646 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24647 than a glob-style pattern.
24649 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24651 * math/test-misc.c (main): Do not treat incorrectly rounded
24652 conversions as failure unless ROUNDING_TESTS passes.
24654 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24657 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24658 restore exception state around main square root computation, then
24659 check for inexactness explicitly.
24661 * math/libm-test.inc (fma_test_data): Add another test.
24663 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24665 * manual/threads.texi (Non-POSIX Extensions): New document
24666 node. Document pthread_getattr_default_np and
24667 pthread_setattr_default_np.
24669 * Versions.def (libpthread): Add GLIBC_2.18.
24670 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24679 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24690 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24693 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24695 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24696 H.J. Lu <hjl.tools@gmail.com>
24699 * sysdeps/x86_64/rtld-memset.c: Remove file.
24700 * sysdeps/x86_64/rtld-memset.S: New file.
24702 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24704 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24705 (test_in_one_mode): Take arguments for whether the rounding mode
24706 is supported for each floating-point type.
24707 (do_test): Pass new arguments to test_in_one_mode using
24710 2013-06-13 Roland McGrath <roland@hack.frob.com>
24712 * posix/tst-waitid.c (do_test): Distinguish different instances of
24713 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24714 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24715 before entering the kernel for waitpid.
24717 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24719 * NEWS: Fix note on clock function precision. Text by Roland
24722 2013-06-13 Roland McGrath <roland@hack.frob.com>
24724 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24725 it into place only when and if the sanity check passes.
24727 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24729 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24730 output for whether conversion result is exact. Take argument
24731 indicating whether type is IBM long double.
24732 (round_for_all): Change need_exact field to ibm_ld.
24733 * stdlib/tst-strtod-round.c (struct exactness): New type.
24734 (struct test): Change bool ld_ok field to struct exactness exact.
24735 (TEST): Update all definitions for change to field.
24736 (tests): Regenerate array contents.
24737 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24738 field value. Check for IBM long double here.
24739 (do_test): Update calls to test_in_one_mode.
24741 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24744 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24745 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24747 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24750 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24751 generated by the compiler on loop optimizations.
24752 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24753 general definitions.
24755 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24757 * math/bug-nextafter.c: Include <math-tests.h>.
24758 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24760 * math/bug-nexttoward.c: Include <math-tests.h>.
24761 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24763 * math/test-misc.c: Include <math-tests.h>.
24764 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24767 2013-06-12 Andreas Jaeger <aj@suse.de>
24769 * po/ia.po: Update Interlingua translation from translation
24772 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24774 * include/fenv.h: Include stdbool.h.
24775 (struct rm_ctx): New structure.
24776 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24778 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24779 (SET_RESTORE_ROUNDF): Likewise.
24780 (SET_RESTORE_ROUNDL): Likewise.
24781 (SET_RESTORE_ROUND_NOEX): Likewise.
24782 (SET_RESTORE_ROUND_NOEXF): Likewise.
24783 (SET_RESTORE_ROUND_NOEXL): Likewise.
24784 (SET_RESTORE_ROUND_53BIT): Likewise.
24785 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24786 (libc_feresetround_noexf_ctx): Likewise.
24787 (libc_feresetround_noexl_ctx): Likewise.
24788 (libc_feholdsetround_53bit_ctx): Likewise.
24789 (libc_feresetround_53bit_ctx): Likewise.
24790 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24791 (libc_feholdexcept_setround_sse_ctx): New function.
24792 (libc_fesetenv_sse_ctx): Likewise.
24793 (libc_feupdateenv_sse_ctx): Likewise.
24794 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24795 (libc_feholdexcept_setround_387_ctx): Likewise.
24796 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24797 (libc_feholdsetround_387_prec_ctx): Likewise.
24798 (libc_feholdsetround_387_ctx): Likewise.
24799 (libc_feholdsetround_387_53bit_ctx): Likewise.
24800 (libc_feholdsetround_sse_ctx): Likewise.
24801 (libc_feresetround_sse_ctx): Likewise.
24802 (libc_feresetround_387_ctx): Likewise.
24803 (libc_feupdateenv_387_ctx): Likewise.
24804 (libc_feholdexcept_setroundf_ctx): Define macro.
24805 (libc_fesetenvf_ctx): Likewise.
24806 (libc_feupdateenvf_ctx): Likewise.
24807 (libc_feholdsetroundf_ctx): Likewise.
24808 (libc_feresetroundf_ctx): Likewise.
24809 (libc_feholdexcept_setround_ctx): Likewise.
24810 (libc_fesetenv_ctx): Likewise.
24811 (libc_feupdateenv_ctx): Likewise.
24812 (libc_feholdsetround_ctx): Likewise.
24813 (libc_feresetround_ctx): Likewise.
24814 (libc_feholdexcept_setroundl_ctx): Likewise.
24815 (libc_feupdateenvl_ctx): Likewise.
24816 (libc_feholdsetroundl_ctx): Likewise.
24817 (libc_feresetroundl_ctx): Likewise.
24818 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24819 (libc_feresetround_53bit_ctx): Likewise.
24821 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24823 * locale/iso-639.def: Convert to UTF-8.
24825 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24827 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24828 (EXCEPTION_TESTS_double): Likewise.
24829 (EXCEPTION_TESTS_long_double): Likewise.
24830 (EXCEPTION_TESTS): Likewise.
24831 * math/libm-test.inc (test_exceptions): Only test exceptions if
24832 EXCEPTION_TESTS (FLOAT).
24834 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24836 * benchtests/Makefile (string-bench): Add strcpy_chk and
24838 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24839 * benchtests/bench-stpcpy_chk.c: New file.
24840 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24841 * benchtests/bench-strcpy_chk.c: New file.
24842 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24844 (do_test): Likewise.
24846 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24848 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24849 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24850 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24851 with tabs where appropriate.
24852 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24854 [PPC_PLATFORM_PPC440]: Likewise.
24855 [PPC_PLATFORM_PPC464]: Likewise.
24856 [PPC_PLATFORM_PPC476]: Likewise.
24857 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24858 ppc464, and ppc476 platform strings merging from ports/
24861 2013-06-11 Andreas Schwab <schwab@suse.de>
24864 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24865 (from_ucs4_idx): Regenerate.
24866 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24867 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24868 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24869 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24870 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24871 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24872 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24873 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24874 from FROM_LOOP and TO_LOOP specific macros.
24875 (BODY): Handle combining characters.
24876 * iconvdata/BIG5HKSCS.irreversible: Update.
24877 * iconvdata/BIG5HKSCS.precomposed: New file.
24878 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24880 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24882 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24884 * include/sys/time.h: Fix indentation and add copyright header.
24886 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24887 (do_test): Likewise.
24888 * string/test-memchr.c (do_one_test): Likewise.
24889 (do_test): Likewise.
24890 * string/test-memcmp.c (do_one_test): Likewise.
24891 (do_test): Likewise.
24892 * string/test-memcpy.c (do_one_test): Likewise.
24893 (do_test): Likewise.
24894 * string/test-memmem.c (do_one_test): Likewise.
24895 (do_test): Likewise.
24896 (do_random_tests): Likewise.
24897 * string/test-memmove.c (do_one_test): Likewise.
24898 (do_test): Likewise.
24899 * string/test-memset.c (do_one_test): Likewise.
24900 (do_test): Likewise.
24901 * string/test-rawmemchr.c (do_one_test): Likewise.
24902 (do_test): Likewise.
24903 * string/test-strcasecmp.c (do_one_test): Likewise.
24904 (do_test): Likewise.
24905 * string/test-strcasestr.c (do_one_test): Likewise.
24906 (do_test): Likewise.
24907 * string/test-strcat.c (do_one_test): Likewise.
24908 (do_test): Likewise.
24909 * string/test-strchr.c (do_one_test): Likewise.
24910 (do_test): Likewise.
24911 * string/test-strcmp.c (do_one_test): Likewise.
24912 (do_test): Likewise.
24913 * string/test-strcpy.c (do_one_test): Likewise.
24914 (do_test): Likewise.
24915 * string/test-string.h: Likewise.
24916 (test_init): Likewise.
24917 * string/test-strlen.c (do_one_test): Likewise.
24918 (do_test): Likewise.
24919 * string/test-strncasecmp.c (do_one_test): Likewise.
24920 (do_test): Likewise.
24921 * string/test-strncat.c (do_one_test): Likewise.
24922 (do_test): Likewise.
24923 * string/test-strncmp.c (do_one_test): Likewise.
24924 (do_test_limit): Likewise.
24925 (do_test): Likewise.
24926 * string/test-strncpy.c (do_one_test): Likewise.
24927 (do_test): Likewise.
24928 * string/test-strnlen.c (do_one_test): Likewise.
24929 (do_test): Likewise.
24930 * string/test-strpbrk.c (do_one_test): Likewise.
24931 (do_test): Likewise.
24932 * string/test-strrchr.c (do_one_test): Likewise.
24933 (do_test): Likewise.
24934 * string/test-strspn.c (do_one_test): Likewise.
24935 (do_test): Likewise.
24936 * string/test-strstr.c (do_one_test): Likewise.
24937 (do_test): Likewise.
24939 * benchtests/Makefile (string-bench): Add string benchmarks.
24940 * benchtests/bench-bcopy-ifunc.c: New file.
24941 * benchtests/bench-bcopy.c: New file.
24942 * benchtests/bench-bzero-ifunc.c: New file.
24943 * benchtests/bench-bzero.c: New file.
24944 * benchtests/bench-memccpy-ifunc.c: New file.
24945 * benchtests/bench-memccpy.c: New file.
24946 * benchtests/bench-memchr-ifunc.c: New file.
24947 * benchtests/bench-memchr.c: New file.
24948 * benchtests/bench-memcmp-ifunc.c: New file.
24949 * benchtests/bench-memcmp.c: New file.
24950 * benchtests/bench-memmem-ifunc.c: New file.
24951 * benchtests/bench-memmem.c: New file.
24952 * benchtests/bench-memmove-ifunc.c: New file.
24953 * benchtests/bench-memmove.c: New file.
24954 * benchtests/bench-mempcpy-ifunc.c: New file.
24955 * benchtests/bench-mempcpy.c: New file.
24956 * benchtests/bench-memset-ifunc.c: New file.
24957 * benchtests/bench-memset.c: New file.
24958 * benchtests/bench-rawmemchr-ifunc.c: New file.
24959 * benchtests/bench-rawmemchr.c: New file.
24960 * benchtests/bench-stpcpy-ifunc.c: New file.
24961 * benchtests/bench-stpcpy.c: New file.
24962 * benchtests/bench-stpncpy-ifunc.c: New file.
24963 * benchtests/bench-stpncpy.c: New file.
24964 * benchtests/bench-strcasecmp-ifunc.c: New file.
24965 * benchtests/bench-strcasecmp.c: New file.
24966 * benchtests/bench-strcasestr-ifunc.c: New file.
24967 * benchtests/bench-strcasestr.c: New file.
24968 * benchtests/bench-strcat-ifunc.c: New file.
24969 * benchtests/bench-strcat.c: New file.
24970 * benchtests/bench-strchr-ifunc.c: New file.
24971 * benchtests/bench-strchr.c: New file.
24972 * benchtests/bench-strchrnul-ifunc.c: New file.
24973 * benchtests/bench-strchrnul.c: New file.
24974 * benchtests/bench-strcmp-ifunc.c: New file.
24975 * benchtests/bench-strcmp.c: New file.
24976 * benchtests/bench-strcpy-ifunc.c: New file.
24977 * benchtests/bench-strcpy.c: New file.
24978 * benchtests/bench-strcspn-ifunc.c: New file.
24979 * benchtests/bench-strcspn.c: New file.
24980 * benchtests/bench-strlen-ifunc.c: New file.
24981 * benchtests/bench-strlen.c: New file.
24982 * benchtests/bench-strncasecmp-ifunc.c: New file.
24983 * benchtests/bench-strncasecmp.c: New file.
24984 * benchtests/bench-strncat-ifunc.c: New file.
24985 * benchtests/bench-strncat.c: New file.
24986 * benchtests/bench-strncmp-ifunc.c: New file.
24987 * benchtests/bench-strncmp.c: New file.
24988 * benchtests/bench-strncpy-ifunc.c: New file.
24989 * benchtests/bench-strncpy.c: New file.
24990 * benchtests/bench-strnlen-ifunc.c: New file.
24991 * benchtests/bench-strnlen.c: New file.
24992 * benchtests/bench-strpbrk-ifunc.c: New file.
24993 * benchtests/bench-strpbrk.c: New file.
24994 * benchtests/bench-strrchr-ifunc.c: New file.
24995 * benchtests/bench-strrchr.c: New file.
24996 * benchtests/bench-strspn-ifunc.c: New file.
24997 * benchtests/bench-strspn.c: New file.
24998 * benchtests/bench-strstr-ifunc.c: New file.
24999 * benchtests/bench-strstr.c: New file.
25001 * benchtests/Makefile: Disable parallel execution of targets.
25002 (string-bench): Add memcpy.
25003 (benchset): New variable to store a list of benchmark sets.
25004 (bench-func): Renamed from bench.
25005 (bench-set): New target.
25006 (bench): Depend on bench-func and bench-set.
25007 * benchtests/README: Add section on benchmark sets.
25008 * benchtests/bench-memcpy-ifunc.c: New file.
25009 * benchtests/bench-memcpy.c: New file.
25010 * benchtests/bench-string.h: New file.
25012 2013-06-11 Andreas Schwab <schwab@suse.de>
25015 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25016 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25017 values in the triple.
25018 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25019 terminator in the group key.
25021 2013-06-11 Andreas Jaeger <aj@suse.de>
25023 * po/zh_TW.po: Update Chinese (traditional) translation from
25024 translation project.
25026 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25028 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25029 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25030 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25031 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25032 (clock_getcpuclockid): Likewise.
25033 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25034 Add weak_alias and libc_hidden_def.
25035 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25036 * rt/clock_gettime.c (clock_gettime): Rename to
25037 __clock_gettime. Add weak_alias and libc_hidden_def.
25038 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25039 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25040 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25041 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25042 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25044 * rt/clock_settime.c (clock_settime): Rename to
25045 __clock_settime. Add weak_alias and libc_hidden_def.
25046 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25048 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25050 * mach/err_boot.sub: Remove trailing whitespace.
25051 * mach/err_ipc.sub: Likewise.
25052 * mach/err_mach.sub: Likewise.
25054 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25055 (ROUNDING_TESTS_double): Likewise.
25056 (ROUNDING_TESTS_long_double): Likewise.
25057 (ROUNDING_TESTS): Likewise.
25058 * math/libm-test.inc: Include <math-tests.h>.
25059 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25060 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25061 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25062 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25064 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25066 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25069 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25071 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25072 otherwise empty TRANS lines.
25073 * sysdeps/gnu/errlist.c: Regenerated.
25075 * catgets/gencat.c (error_print): Use (void) in function
25077 * crypt/crypt_util.c (__init_des): Likewise.
25078 * crypt/speeds.c (Stop): Likewise.
25080 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25081 * inet/ruserpass.c (token): Likewise.
25082 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25083 * intl/localealias.c (extend_alias_table): Likewise.
25084 * intl/plural-exp.c (init_germanic_plural): Likewise.
25085 * libio/fcloseall.c (__fcloseall): Likewise.
25086 * libio/genops.c (_IO_flush_all): Likewise.
25087 (_IO_flush_all_linebuffered): Likewise.
25088 (_IO_cleanup): Likewise.
25089 (_IO_iter_begin): Likewise.
25090 (_IO_iter_end): Likewise.
25091 (_IO_list_lock): Likewise.
25092 (_IO_list_unlock): Likewise.
25093 (_IO_list_resetlock): Likewise.
25094 * libio/getchar.c (getchar): Likewise.
25095 * libio/getchar_u.c (getchar_unlocked): Likewise.
25096 * libio/getwchar.c (getwchar): Likewise.
25097 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25098 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25099 * login/getpt.c (__getpt): Likewise.
25100 * login/tst-utmp.c (main): Likewise.
25101 * malloc/hooks.c (__malloc_check_init): Likewise.
25102 * malloc/malloc.c (__malloc_stats): Likewise.
25103 * malloc/mtrace.c (tr_break): Likewise.
25104 (mtrace): Likewise.
25105 (muntrace): Likewise.
25106 * misc/fstab.c (endfsent): Likewise.
25107 * misc/getclktck.c (__getclktck): Likewise.
25108 * misc/getdtsz.c (__getdtablesize): Likewise.
25109 * misc/gethostid.c (gethostid): Likewise.
25110 * misc/getpagesize.c (__getpagesize): Likewise.
25111 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25112 (__get_nprocs): Likewise.
25113 (__get_phys_pages): Likewise.
25114 (__get_avphys_pages): Likewise.
25115 * misc/getttyent.c (getttyent): Likewise.
25116 (setttyent): Likewise.
25117 (endttyent): Likewise.
25118 * misc/getusershell.c (getusershell): Likewise.
25119 (endusershell): Likewise.
25120 (setusershell): Likewise.
25121 (initshells): Likewise.
25122 * misc/hsearch.c (__hdestroy): Likewise.
25123 * misc/sync.c (sync): Likewise.
25124 * misc/syslog.c (closelog_internal): Likewise.
25125 (closelog): Likewise.
25126 * misc/ttyslot.c (ttyslot): Likewise.
25127 * misc/vhangup.c (vhangup): Likewise.
25128 * posix/fork.c (__fork): Likewise.
25129 * posix/getegid.c (__getegid): Likewise.
25130 * posix/geteuid.c (__geteuid): Likewise.
25131 * posix/getgid.c (__getgid): Likewise.
25132 * posix/getpid.c (__getpid): Likewise.
25133 * posix/getppid.c (__getppid): Likewise.
25134 * posix/getuid.c (__getuid): Likewise.
25135 * posix/pause.c (pause): Likewise.
25136 * posix/setpgrp.c (setpgrp): Likewise.
25137 * posix/setsid.c (__setsid): Likewise.
25138 * posix/test-vfork.c (noop): Likewise.
25139 * resolv/gethnamaddr.c (_endhtent): Likewise.
25140 (_gethtent): Likewise.
25141 (ht_endhostent): Likewise.
25142 (gethostent): Likewise.
25143 (dns_service): Likewise.
25144 * stdlib/drand48.c (drand48): Likewise.
25145 * stdlib/lrand48.c (lrand48): Likewise.
25146 * stdlib/mrand48.c (mrand48): Likewise.
25147 * stdlib/rand.c (rand): Likewise.
25148 * stdlib/random.c (__random): Likewise.
25149 * stdlib/setenv.c (clearenv): Likewise.
25150 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25151 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25152 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25153 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25154 (__get_nprocs): Likewise.
25155 (__get_phys_pages): Likewise.
25156 (__get_avphys_pages): Likewise.
25157 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25158 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25159 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25160 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25161 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25162 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25163 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25164 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25165 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25166 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25167 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25168 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25169 * sysdeps/posix/clock.c (clock): Likewise.
25170 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25171 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25172 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25173 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25174 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25176 (__get_nprocs_conf): Likewise.
25177 (__get_phys_pages): Likewise.
25178 (__get_avphys_pages): Likewise.
25179 * time/clock.c (clock): Likewise.
25180 * time/tzset.c (__tzname_max): Likewise.
25182 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25184 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25185 (__bswap_32): Do not use "register".
25186 * crypt/crypt.c (_ufc_doit_r): Likewise.
25187 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25188 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25189 * gmon/gmon.c (__monstartup): Likewise.
25190 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25191 * hurd/hurdmalloc.c (more_memory): Likewise.
25192 (malloc): Likewise.
25194 (realloc): Likewise.
25195 (malloc_fork_prepare): Likewise.
25196 (malloc_fork_parent): Likewise.
25197 (malloc_fork_child): Likewise.
25198 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25199 (_svcauth_des): Likewise.
25200 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25201 * inet/inet_net.c (inet_network): Likewise.
25202 * inet/inet_netof.c (inet_netof): Likewise.
25203 * inet/rcmd.c (__validuser2_sa): Likewise.
25204 * io/fts.c (fts_open): Likewise.
25205 (fts_load): Likewise.
25206 (fts_close): Likewise.
25207 (fts_read): Likewise.
25208 (fts_children): Likewise.
25209 (fts_build): Likewise.
25210 (fts_stat): Likewise.
25211 (fts_sort): Likewise.
25212 (fts_alloc): Likewise.
25213 (fts_lfree): Likewise.
25214 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25215 (_IO_file_xsgetn): Likewise.
25216 (_IO_file_xsgetn_mmap): Likewise.
25217 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25218 (_IO_cookie_write): Likewise.
25219 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25220 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25221 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25222 * malloc/obstack.c (_obstack_begin): Likewise.
25223 (_obstack_begin_1): Likewise.
25224 (_obstack_newchunk): Likewise.
25225 (_obstack_allocated_p): Likewise.
25226 (obstack_free): Likewise.
25227 (_obstack_memory_used): Likewise.
25228 * misc/getttyent.c (getttynam): Likewise.
25229 (getttyent): Likewise.
25232 * misc/getusershell.c (initshells): Likewise.
25233 * misc/syslog.c (__vsyslog_chk): Likewise.
25234 * misc/ttyslot.c (ttyslot): Likewise.
25235 * nis/nis_hash.c (__nis_hash): Likewise.
25236 * posix/fnmatch_loop.c (FCT): Likewise.
25237 * posix/getconf.c (print_all): Likewise.
25239 * posix/getopt.c (exchange): Likewise.
25240 * posix/glob.c (globfree): Likewise.
25241 (prefix_array): Likewise.
25242 (__glob_pattern_type): Likewise.
25243 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25244 (NS_GET32): Likewise.
25245 (NS_PUT16): Likewise.
25246 (NS_PUT32): Likewise.
25247 * resolv/gethnamaddr.c (getanswer): Likewise.
25248 (gethostbyname2): Likewise.
25249 (gethostbyaddr): Likewise.
25250 (_gethtent): Likewise.
25251 (_gethtbyname2): Likewise.
25252 (_gethtbyaddr): Likewise.
25253 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25254 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25255 * resolv/res_init.c (__res_vinit): Likewise.
25256 (net_mask): Likewise.
25257 * resolv/res_mkquery.c (outchar): Likewise.
25259 * stdio-common/printf_fp.c (outchar): Likewise.
25261 * stdio-common/printf_fphex.c (outchar): Likewise.
25263 * stdio-common/printf_size.c (outchar): Likewise.
25265 * stdio-common/test_rdwr.c (main): Likewise.
25266 * stdio-common/tfformat.c (matches): Likewise.
25267 * stdio-common/vfprintf.c (outchar): Likewise.
25268 (printf_unknown): Likewise.
25269 (buffered_vfprintf): Likewise.
25270 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25271 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25272 (ReadFile): Likewise.
25273 * stdlib/qsort.c (SWAP): Likewise.
25274 (_quicksort): Likewise.
25275 * stdlib/setenv.c (__add_to_environ): Likewise.
25276 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25277 * stdlib/strtol_l.c (__strtol_l): Likewise.
25278 * stdlib/tst-strtod.c (main): Likewise.
25279 * stdlib/tst-strtol.c (main): Likewise.
25280 * stdlib/tst-strtoll.c (main): Likewise.
25281 * string/bits/string2.h (__strcmp_cc): Likewise.
25282 (__strcmp_cg): Likewise.
25283 (__strcspn_c1): Likewise.
25284 (__strcspn_c2): Likewise.
25285 (__strcspn_c3): Likewise.
25286 (__strspn_c1): Likewise.
25287 (__strspn_c2): Likewise.
25288 (__strspn_c3): Likewise.
25289 (__strsep_1c): Likewise.
25290 (__strsep_2c): Likewise.
25291 (__strsep_3c): Likewise.
25292 * string/memccpy.c (__memccpy): Likewise.
25293 * string/stpcpy.c (__stpcpy): Likewise.
25294 * string/strcmp.c (strcmp): Likewise.
25295 * string/strrchr.c (strrchr): Likewise.
25296 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25298 * sysdeps/mach/hurd/getcwd.c
25299 (_hurd_canonicalize_directory_name_internal): Likewise.
25300 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25301 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25302 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25303 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25304 Likewise, in both definitions.
25305 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25307 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25308 64] (__bswap_64): Likewise.
25309 * time/test_time.c (main): Likewise.
25310 * time/tzfile.c (__tzfile_read): Likewise.
25311 (__tzfile_compute): Likewise.
25312 * time/tzset.c (__tzset_parse_tz): Likewise.
25313 (tzset_internal): Likewise.
25314 (compute_change): Likewise.
25315 * wcsmbs/wcscat.c (__wcscat): Likewise.
25316 * wcsmbs/wcschr.c (wcschr): Likewise.
25317 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25318 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25319 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25320 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25321 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25322 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25323 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25324 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25325 * wcsmbs/wmemset.c (wmemset): Likewise.
25327 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25329 * scripts/config.guess: Update to version 2013-05-16.
25330 * scripts/config.sub: Update to version 2013-04-24.
25331 * scripts/install-sh: Update to version 2011-11-20.07.
25332 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25333 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25335 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25337 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25338 * elf/sln.c: Likewise.
25339 * hurd/hurd/ioctl.h: Likewise.
25340 * hurd/hurdmalloc.c: Likewise.
25341 * hurd/xattr.c: Likewise.
25342 * include/shlib-compat.h: Likewise.
25343 * inet/ruserpass.c: Likewise.
25344 * libio/iofgets_u.c: Likewise.
25345 * libio/iofgetws_u.c: Likewise.
25346 * locale/programs/ld-identification.c: Likewise.
25347 * locale/programs/ld-time.c: Likewise.
25348 * mach/msg-destroy.c: Likewise.
25349 * nss/nss_files/files-netgrp.c: Likewise.
25350 * resolv/res_data.c: Likewise.
25351 * soft-fp/op-1.h: Likewise.
25352 * soft-fp/op-2.h: Likewise.
25353 * soft-fp/op-4.h: Likewise.
25354 * soft-fp/op-common.h: Likewise.
25355 * stdio-common/printf_fphex.c: Likewise.
25356 * stdlib/strtod_l.c: Likewise.
25357 * sunrpc/rpc/clnt.h: Likewise.
25358 * sysdeps/generic/framestate.c: Likewise.
25359 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25360 * sysdeps/i386/bsd-setjmp.S: Likewise.
25361 * sysdeps/i386/__longjmp.S: Likewise.
25362 * sysdeps/i386/setjmp.S: Likewise.
25363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25364 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25365 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25381 * sysdeps/ieee754/support.c: Likewise.
25382 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25383 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25384 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25385 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25386 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25387 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25388 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25389 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25390 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25391 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25392 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25393 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25394 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25395 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25396 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25397 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25398 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25401 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25403 * posix/transbug.c: Remove executable mode.
25405 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25407 * crypt/speeds.c: Remove trailing whitespace.
25408 * dlfcn/default.c: Likewise.
25409 * elf/ifuncdep2.c: Likewise.
25410 * elf/ifuncmain1.c: Likewise.
25411 * elf/ifuncmain1vis.c: Likewise.
25412 * elf/testobj.h: Likewise.
25413 * elf/tst-stackguard1.c: Likewise.
25414 * gmon/sys/gmon.h: Likewise.
25415 * hurd/hurdmsg.c: Likewise.
25416 * hurd/new-fd.c: Likewise.
25417 * hurd/ports-get.c: Likewise.
25418 * iconvdata/ibm1008_420.c: Likewise.
25419 * inet/tst-getni1.c: Likewise.
25420 * inet/tst-getni2.c: Likewise.
25421 * libio/ioungetc.c: Likewise.
25422 * libio/wfiledoalloc.c: Likewise.
25423 * manual/libm-err-tab.pl: Likewise.
25424 * math/w_dremf.c: Likewise.
25425 * misc/ftruncate.c: Likewise.
25426 * posix/bug-glob2.c: Likewise.
25427 * posix/tst-pcre.c: Likewise.
25428 * posix/wait4.c: Likewise.
25429 * resolv/README: Likewise.
25430 * resolv/res_debug.h: Likewise.
25431 * resolv/tst-inet_ntop.c: Likewise.
25432 * setjmp/bug269-setjmp.c: Likewise.
25433 * soft-fp/extended.h: Likewise.
25434 * soft-fp/op-1.h: Likewise.
25435 * soft-fp/op-2.h: Likewise.
25436 * soft-fp/op-4.h: Likewise.
25437 * soft-fp/op-8.h: Likewise.
25438 * soft-fp/testit.c: Likewise.
25439 * stdio-common/bug16.c: Likewise.
25440 * stdlib/random.c: Likewise.
25441 * sunrpc/rpcsvc/rquota.x: Likewise.
25442 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25443 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25445 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25446 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25447 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25448 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25450 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25451 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25452 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25464 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25465 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25471 * sysdeps/ieee754/s_lib_version.c: Likewise.
25472 * sysdeps/mach/hurd/check_fds.c: Likewise.
25473 * sysdeps/mach/hurd/getsockname.c: Likewise.
25474 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25475 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25476 * sysdeps/powerpc/bits/link.h: Likewise.
25477 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25478 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25479 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25480 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25481 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25482 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25483 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25484 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25485 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25486 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25487 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25488 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25489 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25490 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25491 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25492 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25493 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25494 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25495 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25496 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25497 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25498 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25499 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25500 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25501 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25505 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25508 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25509 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25510 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25511 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25512 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25513 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25514 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25515 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25516 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25517 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25518 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25519 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25521 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25526 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25529 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25530 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25531 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25532 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25535 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25536 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25541 * sysdeps/powerpc/sysdep.h: Likewise.
25542 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25543 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25544 * sysdeps/sh/dl-trampoline.S: Likewise.
25545 * sysdeps/sh/memset.S: Likewise.
25546 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25547 * sysdeps/sh/strlen.S: Likewise.
25548 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25549 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25550 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25551 * sysdeps/sparc/sparc32/rem.S: Likewise.
25552 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25553 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25554 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25555 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25556 * sysdeps/sparc/sparc32/urem.S: Likewise.
25557 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25558 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25559 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25560 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25561 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25562 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25563 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25564 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25565 * sysdeps/unix/bsd/times.c: Likewise.
25566 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25567 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25571 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25572 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25573 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25574 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25575 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25576 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25577 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25578 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25579 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25580 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25581 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25582 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25583 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25584 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25585 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25586 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25587 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25588 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25589 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25590 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25591 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25592 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25593 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25594 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25595 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25596 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25597 * sysdeps/x86_64/strcspn.S: Likewise.
25599 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25601 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25602 generated file. Regenerate properly from gen-translit.pl.
25603 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25604 locale/C-translit.h.
25606 2013-06-05 Andreas Schwab <schwab@suse.de>
25609 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25610 week as 6 instead of -1.
25611 * time/tst-strptime.c (day_tests): Add test case.
25613 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25615 * sysdeps/generic/math_private.h
25616 (libc_feholdexcept_setround_53bit): Replace with
25617 libc_feholdsetround_53bit.
25618 (libc_feupdateenv_53bit): Replace with
25619 libc_feresetround_53bit.
25620 (SET_RESTORE_ROUND_53BIT): Adjust.
25622 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25624 * string/test-strchrnul.c: Add copyright header.
25626 * posix/tst-getaddrinfo4.c: Increase test timeout.
25628 2013-06-03 Carlos O'Donell <carlos@redhat.com>
25631 * math/libm-test.inc (MAX_EXP): Remove
25633 (ulp): Use MIN_EXP - MANT_DIG.
25634 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25636 2013-05-31 Carlos O'Donell <carlos@redhat.com>
25638 * po/be.po: Revert last change.
25639 * po/zh_CN.po: Likewise.
25640 * po/header.pot: Likewise.
25642 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25644 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25645 link-libc-deps to empty as target-specific variable.
25646 * Makerules (link-libc-args): New variable.
25647 (libc-for-link): Likewise.
25648 (link-libc-deps): Likewise.
25649 (lib%.so): Depend on $(link-libc-deps). Link with
25651 (build-module): Link with $(link-libc-args).
25652 (build-module-asneeded): Likewise.
25653 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25655 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25656 target-specific variable.
25657 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25658 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25659 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25661 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25663 ($(objpfx)libpcprofile.so): Likewise.
25664 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25666 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25667 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25668 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25670 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25671 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25672 * login/Makefile ($(objpfx)libutil.so): Likewise.
25673 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25674 * math/Makefile ($(objpfx)libm.so): Likewise.
25675 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25676 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25677 variable instead of depending directly on libc.
25678 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25679 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25681 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25683 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25684 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25685 ($(objpfx)libanl.so): Likewise.
25686 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25688 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25690 * sysdeps/i386/fpu/Makefile: Remove file.
25691 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25692 ($(objpfx)libm.so): Remove dependency on ld.so.
25694 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25697 * nis/yp_xdr.c (XDRMAXNAME): Define.
25698 (XDRMAXRECORD): Define.
25699 (xdr_domainname): Use XDRMAXNAME.
25700 (xdr_mapname): Likewise.
25701 (xdr_peername): Likewise.
25702 (xdr_keydat): Use XDRMAXRECORD.
25703 (xdr_valdat): Likewise.
25705 2013-05-30 Jeff Law <law@redhat.com>
25708 * manual/errno.texi (ESTALE): Update to account for more than
25709 just NFS file systems.
25710 * sysdeps/gnu/errlist.c: Regenerated.
25712 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25715 * elf/Makefile (tests): Add tst-null-argv.
25716 (modules-names): Add tst-null-argv-lib.
25717 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25718 (tst-null-argv-ENV): Set environment for tst-null-argv.
25719 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25720 (RTLD_PROGNAME): New macro.
25721 * elf/tst-null-argv.c: New test case.
25722 * elf/tst-null-argv-lib.c: Library for test case.
25723 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25724 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25725 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25726 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25727 * elf/dl-init.c (call_init): Likewise.
25728 (_dl_init): Likewise.
25729 * elf/dl-load.c (print_search_path): Likewise.
25730 (_dl_map_object): Likewise.
25731 * elf/dl-lookup.c (do_lookup_x): Likewise.
25732 (add_dependency): Likewise.
25733 (_dl_lookup_symbol_x): Likewise.
25734 (_dl_debug_bindings): Likewise.
25735 * elf/dl-open.c (_dl_show_scope): Likewise.
25736 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25737 * elf/dl-version.c (match_symbol): Likewise.
25738 (_dl_check_map_versions): Likewise.
25739 * elf/rtld.c (dl_main): Likewise.
25740 (print_unresolved): Use RTLD_PROGNAME.
25741 (print_missing_version): Likewise.
25742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25743 (elf_machine_rela): Likewise.
25744 * sysdeps/powerpc/powerpc32/dl-machine.c
25745 (__process_machine_rela): Likewise.
25746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25748 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25750 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25752 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25753 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25755 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25759 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25761 * po/be.po: Add descriptive title.
25762 * po/zh_CN.po: Likewise.
25763 * po/header.pot: Likewise.
25765 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25767 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25769 (enlarge_archive): Likewise.
25771 2013-05-28 Ben North <ben@redfrontdoor.org>
25773 * manual/arith.texi (frexp): It is the magnitude of the return
25774 value which lies in [0.5, 1), not the return value itself.
25776 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25780 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25782 * stdio-common/bug26.c (main): Correct fscanf template.
25784 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25785 declare _dl_skip_args.
25787 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25790 * manual/platform.texi: Add missing @end deftypefun.
25792 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25795 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25796 bit of mantissa of 2^16382.
25797 * math/libm-test.inc (hypot_test_data): Add more tests.
25799 * math/libm-test.inc: Add drem and pow10 to list of tested
25801 (pow10_test): New function.
25802 (drem_test): Likewise.
25803 (drem_test_tonearest): Likewise.
25804 (drem_test_towardzero): Likewise.
25805 (drem_test_downward): Likewise.
25806 (drem_test_upward): Likewise.
25807 (main): Call the new functions.
25809 * math/libm-test.inc (finite_test_data): Remove.
25810 (finite_test): Run tests from isfinite_test_data.
25811 (gamma_test_data): Remove.
25812 (gamma_test): Run tests from lgamma_test_data.
25813 * sysdeps/i386/fpu/libm-test-ulps: Update.
25814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25816 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25818 * manual/platform.texi: Add PowerPC PPR function set documentation.
25819 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25822 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25824 * math/libm-test.inc (MAX_EXP): Define.
25826 (ulp): New function.
25827 (check_float_internal): Use ULPDIFF.
25828 (cpow_test): Disable failing test.
25829 (check_ulp): Test ulp() implemetnation.
25830 (main): Call check_ulp before starting tests.
25832 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25834 * math/gen-libm-test.pl (generate_testfile): Do not handle
25835 START_DATA and END_DATA.
25836 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25838 (acos_tonearest_test_data): Likewise.
25839 (acos_towardzero_test_data): Likewise.
25840 (acos_downward_test_data): Likewise.
25841 (acos_upward_test_data): Likewise.
25842 (acosh_test_data): Likewise.
25843 (asin_test_data): Likewise.
25844 (asin_tonearest_test_data): Likewise.
25845 (asin_towardzero_test_data): Likewise.
25846 (asin_downward_test_data): Likewise.
25847 (asin_upward_test_data): Likewise.
25848 (asinh_test_data): Likewise.
25849 (atan_test_data): Likewise.
25850 (atanh_test_data): Likewise.
25851 (atan2_test_data): Likewise.
25852 (cabs_test_data): Likewise.
25853 (cacos_test_data): Likewise.
25854 (cacosh_test_data): Likewise.
25855 (carg_test_data): Likewise.
25856 (casin_test_data): Likewise.
25857 (casinh_test_data): Likewise.
25858 (catan_test_data): Likewise.
25859 (catanh_test_data): Likewise.
25860 (cbrt_test_data): Likewise.
25861 (ccos_test_data): Likewise.
25862 (ccosh_test_data): Likewise.
25863 (ceil_test_data): Likewise.
25864 (cexp_test_data): Likewise.
25865 (cimag_test_data): Likewise.
25866 (clog_test_data): Likewise.
25867 (clog10_test_data): Likewise.
25868 (conj_test_data): Likewise.
25869 (copysign_test_data): Likewise.
25870 (cos_test_data): Likewise.
25871 (cos_tonearest_test_data): Likewise.
25872 (cos_towardzero_test_data): Likewise.
25873 (cos_downward_test_data): Likewise.
25874 (cos_upward_test_data): Likewise.
25875 (cosh_test_data): Likewise.
25876 (cosh_tonearest_test_data): Likewise.
25877 (cosh_towardzero_test_data): Likewise.
25878 (cosh_downward_test_data): Likewise.
25879 (cosh_upward_test_data): Likewise.
25880 (cpow_test_data): Likewise.
25881 (cproj_test_data): Likewise.
25882 (creal_test_data): Likewise.
25883 (csin_test_data): Likewise.
25884 (csinh_test_data): Likewise.
25885 (csqrt_test_data): Likewise.
25886 (ctan_test_data): Likewise.
25887 (ctan_tonearest_test_data): Likewise.
25888 (ctan_towardzero_test_data): Likewise.
25889 (ctan_downward_test_data): Likewise.
25890 (ctan_upward_test_data): Likewise.
25891 (ctanh_test_data): Likewise.
25892 (ctanh_tonearest_test_data): Likewise.
25893 (ctanh_towardzero_test_data): Likewise.
25894 (ctanh_downward_test_data): Likewise.
25895 (ctanh_upward_test_data): Likewise.
25896 (erf_test_data): Likewise.
25897 (erfc_test_data): Likewise.
25898 (exp_test_data): Likewise.
25899 (exp_tonearest_test_data): Likewise.
25900 (exp_towardzero_test_data): Likewise.
25901 (exp_downward_test_data): Likewise.
25902 (exp_upward_test_data): Likewise.
25903 (exp10_test_data): Likewise.
25904 (exp2_test_data): Likewise.
25905 (expm1_test_data): Likewise.
25906 (fabs_test_data): Likewise.
25907 (fdim_test_data): Likewise.
25908 (finite_test_data): Likewise.
25909 (floor_test_data): Likewise.
25910 (fma_test_data): Likewise.
25911 (fma_towardzero_test_data): Likewise.
25912 (fma_downward_test_data): Likewise.
25913 (fma_upward_test_data): Likewise.
25914 (fmax_test_data): Likewise.
25915 (fmin_test_data): Likewise.
25916 (fmod_test_data): Likewise.
25917 (fpclassify_test_data): Likewise.
25918 (frexp_test_data): Likewise.
25919 (gamma_test_data): Likewise.
25920 (hypot_test_data): Likewise.
25921 (ilogb_test_data): Likewise.
25922 (isfinite_test_data): Likewise.
25923 (isgreater_test_data): Likewise.
25924 (isgreaterequal_test_data): Likewise.
25925 (isinf_test_data): Likewise.
25926 (isless_test_data): Likewise.
25927 (islessequal_test_data): Likewise.
25928 (islessgreater_test_data): Likewise.
25929 (isnan_test_data): Likewise.
25930 (isnormal_test_data): Likewise.
25931 (issignaling_test_data): Likewise.
25932 (isunordered_test_data): Likewise.
25933 (j0_test_data): Likewise.
25934 (j1_test_data): Likewise.
25935 (jn_test_data): Likewise.
25936 (ldexp_test_data): Likewise.
25937 (lgamma_test_data): Likewise.
25938 (lrint_test_data): Likewise.
25939 (lrint_tonearest_test_data): Likewise.
25940 (lrint_towardzero_test_data): Likewise.
25941 (lrint_downward_test_data): Likewise.
25942 (lrint_upward_test_data): Likewise.
25943 (llrint_test_data): Likewise.
25944 (llrint_tonearest_test_data): Likewise.
25945 (llrint_towardzero_test_data): Likewise.
25946 (llrint_downward_test_data): Likewise.
25947 (llrint_upward_test_data): Likewise.
25948 (log_test_data): Likewise.
25949 (log10_test_data): Likewise.
25950 (log1p_test_data): Likewise.
25951 (log2_test_data): Likewise.
25952 (logb_test_data): Likewise.
25953 (logb_downward_test_data): Likewise.
25954 (lround_test_data): Likewise.
25955 (llround_test_data): Likewise.
25956 (modf_test_data): Likewise.
25957 (nearbyint_test_data): Likewise.
25958 (nextafter_test_data): Likewise.
25959 (nexttoward_test_data): Likewise.
25960 (pow_test_data): Likewise.
25961 (pow_tonearest_test_data): Likewise.
25962 (pow_towardzero_test_data): Likewise.
25963 (pow_downward_test_data): Likewise.
25964 (pow_upward_test_data): Likewise.
25965 (remainder_test_data): Likewise.
25966 (remainder_tonearest_test_data): Likewise.
25967 (remainder_towardzero_test_data): Likewise.
25968 (remainder_downward_test_data): Likewise.
25969 (remainder_upward_test_data): Likewise.
25970 (remquo_test_data): Likewise.
25971 (rint_test_data): Likewise.
25972 (rint_tonearest_test_data): Likewise.
25973 (rint_towardzero_test_data): Likewise.
25974 (rint_downward_test_data): Likewise.
25975 (rint_upward_test_data): Likewise.
25976 (round_test_data): Likewise.
25977 (scalb_test_data): Likewise.
25978 (scalbn_test_data): Likewise.
25979 (scalbln_test_data): Likewise.
25980 (signbit_test_data): Likewise.
25981 (sin_test_data): Likewise.
25982 (sin_tonearest_test_data): Likewise.
25983 (sin_towardzero_test_data): Likewise.
25984 (sin_downward_test_data): Likewise.
25985 (sin_upward_test_data): Likewise.
25986 (sincos_test_data): Likewise.
25987 (sinh_test_data): Likewise.
25988 (sinh_tonearest_test_data): Likewise.
25989 (sinh_towardzero_test_data): Likewise.
25990 (sinh_downward_test_data): Likewise.
25991 (sinh_upward_test_data): Likewise.
25992 (sqrt_test_data): Likewise.
25993 (tan_test_data): Likewise.
25994 (tan_tonearest_test_data): Likewise.
25995 (tan_towardzero_test_data): Likewise.
25996 (tan_downward_test_data): Likewise.
25997 (tan_upward_test_data): Likewise.
25998 (tanh_test_data): Likewise.
25999 (tgamma_test_data): Likewise.
26000 (trunc_test_data): Likewise.
26001 (y0_test_data): Likewise.
26002 (y1_test_data): Likewise.
26003 (yn_test_data): Likewise.
26004 (significand_test_data): Likewise.
26006 * math/gen-libm-test.pl (@functions): Remove variable.
26007 (generate_testfile): Don't handle START and END lines.
26008 * math/libm-test.inc (START): New macro.
26010 (END_COMPLEX): Likewise.
26011 (acos_test): Use END macro without arguments.
26012 (acos_test_tonearest): Likewise.
26013 (acos_test_towardzero): Likewise.
26014 (acos_test_downward): Likewise.
26015 (acos_test_upward): Likewise.
26016 (acosh_test): Likewise.
26017 (asin_test): Likewise.
26018 (asin_test_tonearest): Likewise.
26019 (asin_test_towardzero): Likewise.
26020 (asin_test_downward): Likewise.
26021 (asin_test_upward): Likewise.
26022 (asinh_test): Likewise.
26023 (atan_test): Likewise.
26024 (atanh_test): Likewise.
26025 (atan2_test): Likewise.
26026 (cabs_test): Likewise.
26027 (cacos_test): Use END_COMPLEX macro without arguments.
26028 (cacosh_test): Likewise.
26029 (carg_test): Use END macro without arguments.
26030 (casin_test): Use END_COMPLEX macro without arguments.
26031 (casinh_test): Likewise.
26032 (catan_test): Likewise.
26033 (catanh_test): Likewise.
26034 (cbrt_test): Use END macro without arguments.
26035 (ccos_test): Use END_COMPLEX macro without arguments.
26036 (ccosh_test): Likewise.
26037 (ceil_test): Use END macro without arguments.
26038 (cexp_test): Use END_COMPLEX macro without arguments.
26039 (cimag_test): Use END macro without arguments.
26040 (clog_test): Use END_COMPLEX macro without arguments.
26041 (clog10_test): Likewise.
26042 (conj_test): Likewise.
26043 (copysign_test): Use END macro without arguments.
26044 (cos_test): Likewise.
26045 (cos_test_tonearest): Likewise.
26046 (cos_test_towardzero): Likewise.
26047 (cos_test_downward): Likewise.
26048 (cos_test_upward): Likewise.
26049 (cosh_test): Likewise.
26050 (cosh_test_tonearest): Likewise.
26051 (cosh_test_towardzero): Likewise.
26052 (cosh_test_downward): Likewise.
26053 (cosh_test_upward): Likewise.
26054 (cpow_test): Use END_COMPLEX macro without arguments.
26055 (cproj_test): Likewise.
26056 (creal_test): Use END macro without arguments.
26057 (csin_test): Use END_COMPLEX macro without arguments.
26058 (csinh_test): Likewise.
26059 (csqrt_test): Likewise.
26060 (ctan_test): Likewise.
26061 (ctan_test_tonearest): Likewise.
26062 (ctan_test_towardzero): Likewise.
26063 (ctan_test_downward): Likewise.
26064 (ctan_test_upward): Likewise.
26065 (ctanh_test): Likewise.
26066 (ctanh_test_tonearest): Likewise.
26067 (ctanh_test_towardzero): Likewise.
26068 (ctanh_test_downward): Likewise.
26069 (ctanh_test_upward): Likewise.
26070 (erf_test): Use END macro without arguments.
26071 (erfc_test): Likewise.
26072 (exp_test): Likewise.
26073 (exp_test_tonearest): Likewise.
26074 (exp_test_towardzero): Likewise.
26075 (exp_test_downward): Likewise.
26076 (exp_test_upward): Likewise.
26077 (exp10_test): Likewise.
26078 (exp2_test): Likewise.
26079 (expm1_test): Likewise.
26080 (fabs_test): Likewise.
26081 (fdim_test): Likewise.
26082 (finite_test): Likewise.
26083 (floor_test): Likewise.
26084 (fma_test): Likewise.
26085 (fma_test_towardzero): Likewise.
26086 (fma_test_downward): Likewise.
26087 (fma_test_upward): Likewise.
26088 (fmax_test): Likewise.
26089 (fmin_test): Likewise.
26090 (fmod_test): Likewise.
26091 (fpclassify_test): Likewise.
26092 (frexp_test): Likewise.
26093 (gamma_test): Likewise.
26094 (hypot_test): Likewise.
26095 (ilogb_test): Likewise.
26096 (isfinite_test): Likewise.
26097 (isgreater_test): Likewise.
26098 (isgreaterequal_test): Likewise.
26099 (isinf_test): Likewise.
26100 (isless_test): Likewise.
26101 (islessequal_test): Likewise.
26102 (islessgreater_test): Likewise.
26103 (isnan_test): Likewise.
26104 (isnormal_test): Likewise.
26105 (issignaling_test): Likewise.
26106 (isunordered_test): Likewise.
26107 (j0_test): Likewise.
26108 (j1_test): Likewise.
26109 (jn_test): Likewise.
26110 (ldexp_test): Likewise.
26111 (lgamma_test): Likewise.
26112 (lrint_test): Likewise.
26113 (lrint_test_tonearest): Likewise.
26114 (lrint_test_towardzero): Likewise.
26115 (lrint_test_downward): Likewise.
26116 (lrint_test_upward): Likewise.
26117 (llrint_test): Likewise.
26118 (llrint_test_tonearest): Likewise.
26119 (llrint_test_towardzero): Likewise.
26120 (llrint_test_downward): Likewise.
26121 (llrint_test_upward): Likewise.
26122 (log_test): Likewise.
26123 (log10_test): Likewise.
26124 (log1p_test): Likewise.
26125 (log2_test): Likewise.
26126 (logb_test): Likewise.
26127 (logb_test_downward): Likewise.
26128 (lround_test): Likewise.
26129 (llround_test): Likewise.
26130 (modf_test): Likewise.
26131 (nearbyint_test): Likewise.
26132 (nextafter_test): Likewise.
26133 (nexttoward_test): Likewise.
26134 (pow_test): Likewise.
26135 (pow_test_tonearest): Likewise.
26136 (pow_test_towardzero): Likewise.
26137 (pow_test_downward): Likewise.
26138 (pow_test_upward): Likewise.
26139 (remainder_test): Likewise.
26140 (remainder_test_tonearest): Likewise.
26141 (remainder_test_towardzero): Likewise.
26142 (remainder_test_downward): Likewise.
26143 (remainder_test_upward): Likewise.
26144 (remquo_test): Likewise.
26145 (rint_test): Likewise.
26146 (rint_test_tonearest): Likewise.
26147 (rint_test_towardzero): Likewise.
26148 (rint_test_downward): Likewise.
26149 (rint_test_upward): Likewise.
26150 (round_test): Likewise.
26151 (scalb_test): Likewise.
26152 (scalbn_test): Likewise.
26153 (scalbln_test): Likewise.
26154 (signbit_test): Likewise.
26155 (sin_test): Likewise.
26156 (sin_test_tonearest): Likewise.
26157 (sin_test_towardzero): Likewise.
26158 (sin_test_downward): Likewise.
26159 (sin_test_upward): Likewise.
26160 (sincos_test): Likewise.
26161 (sinh_test): Likewise.
26162 (sinh_test_tonearest): Likewise.
26163 (sinh_test_towardzero): Likewise.
26164 (sinh_test_downward): Likewise.
26165 (sinh_test_upward): Likewise.
26166 (sqrt_test): Likewise.
26167 (tan_test): Likewise.
26168 (tan_test_tonearest): Likewise.
26169 (tan_test_towardzero): Likewise.
26170 (tan_test_downward): Likewise.
26171 (tan_test_upward): Likewise.
26172 (tanh_test): Likewise.
26173 (tgamma_test): Likewise.
26174 (trunc_test): Likewise.
26175 (y0_test): Likewise.
26176 (y1_test): Likewise.
26177 (yn_test): Likewise.
26178 (significand_test): Likewise.
26180 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26183 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26185 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26188 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26189 __ppc_mdoio and __ppc_mdoom.
26190 * manual/platform.texi: Document new functions __ppc_yield,
26191 __ppc_mdoio and __ppc_mdoom.
26193 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26195 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26196 (main): Mention "tls" pseudo-hwcap is legacy.
26197 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26199 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26201 * math/gen-libm-test.pl (parse_args): Output only string of
26202 arguments as text for test name, not full call or descriptions of
26203 tests for extra outputs.
26204 (generate_testfile): Do not pass function name to parse_args.
26205 Generate this_func variable from START.
26206 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26208 (struct test_ff_f_data): Likewise.
26209 (test_ff_f_data_nexttoward): Likewise.
26210 (struct test_fi_f_data): Likewise.
26211 (struct test_fl_f_data): Likewise.
26212 (struct test_if_f_data): Likewise.
26213 (struct test_fff_f_data): Likewise.
26214 (struct test_c_f_data): Likewise.
26215 (struct test_f_f1_data): Likewise. Remove field extra_name.
26216 (struct test_fF_f1_data): Likewise.
26217 (struct test_ffI_f1_data): Likewise.
26218 (struct test_c_c_data): Rename test_name field to arg_str.
26219 (struct test_cc_c_data): Likewise.
26220 (struct test_f_i_data): Likewise.
26221 (struct test_ff_i_data): Likewise.
26222 (struct test_f_l_data): Likewise.
26223 (struct test_f_L_data): Likewise.
26224 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26226 (COMMON_TEST_SETUP): New macro.
26227 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26228 (COMMON_TEST_CLEANUP): Likewise.
26229 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26230 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26232 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26233 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26235 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26236 (RUN_TEST_fff_f): Take argument string. Call new setup and
26238 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26239 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26241 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26242 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26244 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26245 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26247 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26248 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26250 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26251 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26253 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26254 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26256 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26257 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26259 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26260 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26262 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26263 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26265 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26266 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26268 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26269 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26271 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26272 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26274 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26275 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26277 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26278 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26280 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26281 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26283 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26285 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26287 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26288 to _sifields.sigfault.
26289 (si_addr_lsb): Define new macro.
26290 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26292 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26294 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26297 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26299 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26301 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26302 loading the domain.
26304 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26306 * math/gen-libm-test.pl (parse_args): Do not include expected
26307 result in test name.
26308 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26309 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26310 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26312 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26315 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26317 * benchtests/Makefile: Sort function entries.
26319 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26320 tanh, asinh, acosh, atanh.
26321 * benchtests/acos-inputs: New file.
26322 * benchtests/acosh-inputs: New file.
26323 * benchtests/asin-inputs: New file.
26324 * benchtests/asinh-inputs: New file.
26325 * benchtests/atanh-inputs: New file.
26326 * benchtests/cosh-inputs: New file.
26327 * benchtests/log-inputs: New file.
26328 * benchtests/sinh-inputs: New file.
26329 * benchtests/tanh-inputs: New file.
26331 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26334 * posix/tst-getaddrinfo4.c: New test.
26335 * posix/Makefile (tests): Add it.
26337 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26341 when no services were used.
26342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26343 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26345 2013-05-21 Andreas Schwab <schwab@suse.de>
26348 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26349 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26351 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26352 redundant variable declarations and reallocation of buffer when
26353 parsing as IPv6 address. Always set NSS status when called from
26354 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26355 buffer too small. Correct computation of needed size.
26356 * nss/Makefile (tests): Add test-digits-dots.
26357 * nss/test-digits-dots.c: New test.
26359 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26361 * benchtests/Makefile: Remove instructions for adding
26363 * benchtests/README: New file to explain how to execute and
26364 enhance the benchmark tests.
26366 2013-05-21 Andreas Schwab <schwab@suse.de>
26369 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26370 * setjmp/tst-sigsetjmp.c: New test.
26372 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26374 * sysdeps/x86_64/memset.S (memset): New implementation.
26375 (__bzero): Likewise.
26376 (__memset_tail): New function.
26378 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26380 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26381 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26382 __memcpy_sse2_unaligned ifunc selection.
26383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26384 Add memcpy-sse2-unaligned.S.
26385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26386 Add: __memcpy_sse2_unaligned.
26388 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26391 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26392 math_force_eval before restoring floating-point envrionment.
26393 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26394 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26396 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26398 (__nearbyintl): Use math_force_eval before restoring
26399 floating-point environment.
26400 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26402 * math/gen-libm-test.pl (special_functions): Remove.
26403 (parse_args): Don't handle TEST_extra. Handle functions with no
26405 * math/libm-test.inc (struct test_sincos_data): Replace with
26406 struct test_fFF_11_data.
26407 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26408 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26409 (sincos_test_data): Change element type to struct
26410 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26411 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26412 RUN_TEST_LOOP_sincos.
26413 * math/README.libm-test: Don't mention special handling of
26414 individual functions.
26415 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26417 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26418 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26419 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26422 * math/gen-libm-test.pl (get_variable): Remove function.
26423 (parse_args): Don't show pointer parameters to call in test
26424 names. Use "extra output N" in test names for extra outputs
26425 rather than naming variables.
26427 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26430 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26431 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26432 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26434 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26436 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26439 * math/gen-libm-test.pl (@tests): Remove variable.
26440 ($count): Likewise.
26441 (new_test): Remove function.
26442 (show_exceptions): New function.
26443 (special_functions): Use show_exceptions instead of new_test.
26444 (parse_args): Likewise.
26445 (generate_testfile): Pass only function name in generated call to
26446 print_max_error or print_complex_max_error.
26447 (get_ulps): Do not handle complex tests specially.
26448 (output_test): Rename to ...
26449 (get_all_ulps_for_test): ... this. Return a string rather than
26450 printing to a file. Require ulps to be present.
26451 (output_ulps): Generate arrays rather than #defines.
26452 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26453 (struct ulp_data): New type.
26454 (BUILD_COMPLEX_ULP): Remove macro.
26455 (compare_ulp_data): New function.
26456 (find_ulps): Likewise.
26457 (find_test_ulps): Likewise.
26458 (find_function_ulps): Likewise.
26459 (find_complex_function_ulps): Likewise.
26460 (print_max_error): Determine allowed ulps using
26461 find_function_ulps.
26462 (print_complex_max_error): Determine allowed ulps using
26463 find_complex_function_ulps.
26464 (check_float_internal): Determine max ulps using find_test_ulps.
26465 (check_float): Do not take max_ulp parameter. Update call to
26466 check_float_internal.
26467 (check_complex): Likewise.
26468 (check_int): Do not take max_ulp parameter.
26469 (check_long): Likewise.
26470 (check_bool): Likewise.
26471 (check_longlong): Likewise.
26472 (struct test_f_f_data): Remove max_ulp field.
26473 (struct test_ff_f_data): Likewise.
26474 (struct test_ff_f_data_nexttoward): Likewise.
26475 (struct test_fi_f_data): Likewise.
26476 (struct test_fl_f_data): Likewise.
26477 (struct test_if_f_data): Likewise.
26478 (struct test_fff_f_data): Likewise.
26479 (struct test_c_f_data): Likewise.
26480 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26481 (struct test_fF_f1_data): Likewise.
26482 (struct test_ffI_f1_data): Likewise.
26483 (struct test_c_c_data): Remove max_ulp field.
26484 (struct test_cc_c_data): Likewise.
26485 (struct test_f_i_data): Likewise.
26486 (struct test_ff_i_data): Likewise.
26487 (struct test_f_l_data): Likewise.
26488 (struct test_f_L_data): Likewise.
26489 (struct test_sincos_data): Likewise.
26490 (RUN_TEST_f_f): Do not handle ulps.
26491 (RUN_TEST_LOOP_f_f): Likewise.
26492 (RUN_TEST_2_f): Likewise.
26493 (RUN_TEST_LOOP_2_f): Likewise.
26494 (RUN_TEST_fff_f): Likewise.
26495 (RUN_TEST_LOOP_fff_f): Likewise.
26496 (RUN_TEST_c_f): Likewise.
26497 (RUN_TEST_LOOP_c_f): Likewise.
26498 (RUN_TEST_f_f1): Likewise.
26499 (RUN_TEST_LOOP_f_f1): Likewise.
26500 (RUN_TEST_fF_f1): Likewise.
26501 (RUN_TEST_LOOP_fF_f1): Likewise.
26502 (RUN_TEST_fI_f1): Likewise.
26503 (RUN_TEST_LOOP_fI_f1): Likewise.
26504 (RUN_TEST_ffI_f1): Likewise.
26505 (RUN_TEST_LOOP_ffI_f1): Likewise.
26506 (RUN_TEST_c_c): Likewise.
26507 (RUN_TEST_LOOP_c_c): Likewise.
26508 (RUN_TEST_cc_c): Likewise.
26509 (RUN_TEST_LOOP_cc_c): Likewise.
26510 (RUN_TEST_f_i): Likewise.
26511 (RUN_TEST_LOOP_f_i): Likewise.
26512 (RUN_TEST_f_i_tg): Likewise.
26513 (RUN_TEST_LOOP_f_i_tg): Likewise.
26514 (RUN_TEST_ff_i_tg): Likewise.
26515 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26516 (RUN_TEST_f_b): Likewise.
26517 (RUN_TEST_LOOP_f_b): Likewise.
26518 (RUN_TEST_f_b_tg): Likewise.
26519 (RUN_TEST_LOOP_f_b_tg): Likewise.
26520 (RUN_TEST_f_l): Likewise.
26521 (RUN_TEST_LOOP_f_l): Likewise.
26522 (RUN_TEST_f_L): Likewise.
26523 (RUN_TEST_LOOP_f_L): Likewise.
26524 (RUN_TEST_sincos): Likewise.
26525 (RUN_TEST_LOOP_sincos): Likewise.
26527 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26531 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26532 main case of finite arguments, set rounding mode to FE_TONEAREST
26533 and discard exceptions.
26534 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26536 (remainder_tonearest_test_data): New variable.
26537 (remainder_test_tonearest): New function.
26538 (remainder_towardzero_test_data): New variable.
26539 (remainder_test_towardzero): New function.
26540 (remainder_downward_test_data): New variable.
26541 (remainder_test_downward): New function.
26542 (remainder_upward_test_data): New variable.
26543 (remainder_test_upward): New function.
26544 (main): Call the new test functions.
26546 * math/libm-test.inc (struct test_f_f1_data): Remove field
26548 (struct test_fF_f1_data): Likewise.
26549 (struct test_ffI_f1_data): Likewise.
26550 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26551 based on value of EXTRA_EXPECTED.
26552 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26553 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26554 EXTRA_VAR based on value of EXTRA_EXPECTED.
26555 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26556 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26557 EXTRA_VAR based on value of EXTRA_EXPECTED.
26558 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26559 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26560 EXTRA_VAR based on value of EXTRA_EXPECTED.
26561 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26562 * math/gen-libm-test.pl (parse_args): Don't output initializers
26563 for extra output values.
26565 * math/libm-test.inc (check_int): Expect result to be exactly
26566 equal to expected value and do not handle ulps.
26567 (check_long): Likewise.
26568 (check_longlong): Likewise.
26570 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26572 (cimag_test_data): Likewise.
26573 (conj_test_data): Likewise.
26574 (copysign_test_data): Likewise.
26575 (cproj_test_data): Likewise.
26576 (creal_test_data): Likewise.
26577 (fabs_test_data): Likewise.
26578 (fdim_test_data): Likewise.
26579 (finite_test_data): Likewise.
26580 (floor_test_data): Likewise.
26581 (fmax_test_data): Likewise.
26582 (fmin_test_data): Likewise.
26583 (fmod_test_data): Likewise.
26584 (fpclassify_test_data): Likewise.
26585 (frexp_test_data): Likewise.
26586 (ilogb_test_data): Likewise.
26587 (isfinite_test_data): Likewise.
26588 (isgreater_test_data): Likewise.
26589 (isgreaterequal_test_data): Likewise.
26590 (isinf_test_data): Likewise.
26591 (isless_test_data): Likewise.
26592 (islessequal_test_data): Likewise.
26593 (islessgreater_test_data): Likewise.
26594 (isnan_test_data): Likewise.
26595 (isnormal_test_data): Likewise.
26596 (issignaling_test_data): Likewise.
26597 (isunordered_test_data): Likewise.
26598 (ldexp_test_data): Likewise.
26599 (lrint_test_data): Likewise.
26600 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26601 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26602 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26603 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26604 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26605 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26607 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26608 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26609 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26610 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26612 (lrint_downward_test_data): Test for "inexact" exceptions.
26613 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26614 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26615 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26617 (lrint_upward_test_data): Test for "inexact" exceptions.
26618 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26620 (llrint_test_data): Test for "inexact" exceptions.
26621 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26622 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26623 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26624 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26625 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26626 (llrint_downward_test_data): Test for "inexact" exceptions.
26627 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26628 (llrint_upward_test_data): Test for "inexact" exceptions.
26629 (logb_test_data): Likewise.
26630 (logb_downward_test_data): Likewise.
26631 (nextafter_test_data): Likewise.
26632 (nexttoward_test_data): Likewise.
26633 (remainder_test_data): Likewise.
26634 (remquo_test_data): Likewise.
26635 (scalbn_test_data): Likewise.
26636 (scalbln_test_data): Likewise.
26637 (signbit_test_data): Likewise.
26638 (sqrt_test_data): Likewise.
26639 (significand_test_data): Likewise.
26641 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26644 * benchtests/bench-modf.c (struct args): Mark arg0 as
26646 * scripts/bench.pl: Mark members of struct args as volatile.
26648 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26651 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26652 negative infinity on POWER6 or lower.
26653 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26655 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26658 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26659 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26660 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26661 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26662 (_FP_SETQNAN): New macro.
26663 (_FP_SETQNAN_SEMIRAW): Likewise.
26664 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26665 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26666 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26667 (FP_EXTEND): Use _FP_FRAC_SNANP.
26668 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26669 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26671 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26673 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26676 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26678 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26679 with DIVIDE_BY_ZERO_EXCEPTION.
26680 (gamma_test_data): Likewise.
26681 (lgamma_test_data): Likewise.
26682 (log_test_data): Likewise.
26683 (log10_test_data): Likewise.
26684 (log2_test_data): Likewise.
26685 (tgamma_test_data): Likewise.
26687 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26688 (acos_test_tonearest): Likewise.
26689 (acos_test_towardzero): Likewise.
26690 (acos_test_downward): Likewise.
26691 (acos_test_upward): Likewise.
26692 (acosh_test): Likewise.
26693 (asin_test): Likewise.
26694 (asin_test_tonearest): Likewise.
26695 (asin_test_towardzero): Likewise.
26696 (asin_test_downward): Likewise.
26697 (asin_test_upward): Likewise.
26698 (asinh_test): Likewise.
26699 (atan_test): Likewise.
26700 (atanh_test): Likewise.
26701 (atan2_test): Likewise.
26702 (cabs_test): Likewise.
26703 (cacos_test): Likewise.
26704 (cacosh_test): Likewise.
26705 (casin_test): Likewise.
26706 (casinh_test): Likewise.
26707 (catan_test): Likewise.
26708 (catanh_test): Likewise.
26709 (cbrt_test): Likewise.
26710 (ccos_test): Likewise.
26711 (ccosh_test): Likewise.
26712 (cexp_test): Likewise.
26713 (clog_test): Likewise.
26714 (clog10_test): Likewise.
26715 (cos_test): Likewise.
26716 (cos_test_tonearest): Likewise.
26717 (cos_test_towardzero): Likewise.
26718 (cos_test_downward): Likewise.
26719 (cos_test_upward): Likewise.
26720 (cosh_test): Likewise.
26721 (cosh_test_tonearest): Likewise.
26722 (cosh_test_towardzero): Likewise.
26723 (cosh_test_downward): Likewise.
26724 (cosh_test_upward): Likewise.
26725 (cpow_test): Likewise.
26726 (csin_test): Likewise.
26727 (csinh_test): Likewise.
26728 (csqrt_test): Likewise.
26729 (ctan_test): Likewise.
26730 (ctan_test_tonearest): Likewise.
26731 (ctan_test_towardzero): Likewise.
26732 (ctan_test_downward): Likewise.
26733 (ctan_test_upward): Likewise.
26734 (ctanh_test): Likewise.
26735 (ctanh_test_tonearest): Likewise.
26736 (ctanh_test_towardzero): Likewise.
26737 (ctanh_test_downward): Likewise.
26738 (ctanh_test_upward): Likewise.
26739 (erf_test): Likewise.
26740 (erfc_test): Likewise.
26741 (exp_test): Likewise.
26742 (exp_test_tonearest): Likewise.
26743 (exp_test_towardzero): Likewise.
26744 (exp_test_downward): Likewise.
26745 (exp_test_upward): Likewise.
26746 (exp10_test): Likewise.
26747 (exp2_test): Likewise.
26748 (expm1_test): Likewise.
26749 (fmod_test): Likewise.
26750 (gamma_test): Likewise.
26751 (hypot_test): Likewise.
26752 (j0_test): Likewise.
26753 (j1_test): Likewise.
26754 (jn_test): Likewise.
26755 (lgamma_test): Likewise.
26756 (log_test): Likewise.
26757 (log10_test): Likewise.
26758 (log1p_test): Likewise.
26759 (log2_test): Likewise.
26760 (logb_test_downward): Likewise.
26761 (pow_test): Likewise.
26762 (pow_test_tonearest): Likewise.
26763 (pow_test_towardzero): Likewise.
26764 (pow_test_downward): Likewise.
26765 (pow_test_upward): Likewise.
26766 (remainder_test): Likewise.
26767 (remquo_test): Likewise.
26768 (sin_test): Likewise.
26769 (sin_test_tonearest): Likewise.
26770 (sin_test_towardzero): Likewise.
26771 (sin_test_downward): Likewise.
26772 (sin_test_upward): Likewise.
26773 (sincos_test): Likewise.
26774 (sinh_test): Likewise.
26775 (sinh_test_tonearest): Likewise.
26776 (sinh_test_towardzero): Likewise.
26777 (sinh_test_downward): Likewise.
26778 (sinh_test_upward): Likewise.
26779 (sqrt_test): Likewise.
26780 (tan_test): Likewise.
26781 (tan_test_tonearest): Likewise.
26782 (tan_test_towardzero): Likewise.
26783 (tan_test_downward): Likewise.
26784 (tan_test_upward): Likewise.
26785 (tanh_test): Likewise.
26786 (tgamma_test): Likewise.
26787 (y0_test): Likewise.
26788 (y1_test): Likewise.
26789 (yn_test): Likewise.
26791 * math/gen-libm-test.pl (adjust_arg): Remove function.
26792 (special_function): Remove argument $in_func. Only handle
26793 generating output for tables of tests, not inside functions.
26794 (parse_args): Likewise.
26795 (generate_testfile): Remove variable $in_func. Update call to
26797 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26798 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26799 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26800 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26801 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26802 (MAX_VALUE_INIT): Rename macro to max_value.
26803 (MIN_VALUE_INIT): Rename macro to min_value.
26804 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26805 (plus_zero): Remove variable.
26806 (minus_zero): Likewise.
26807 (plus_infty): Likewise.
26808 (minus_infty): Likewise.
26809 (qnan_value): Likewise.
26810 (max_value): Likewise.
26811 (min_value): Likewise.
26812 (min_subnorm_value): Likewise.
26814 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26816 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26817 uint64_t or uint32_t usage.
26818 * crypt/sha256-block.c: Likewise.
26819 * crypt/sha256-crypt.c: Likewise.
26820 * crypt/sha256.c: Likewise.
26821 * crypt/sha512-block.c: Likewise.
26822 * crypt/sha512-crypt.c: Likewise.
26823 * crypt/sha512.c: Likewise.
26824 * debug/backtrace-tst.c: Likewise.
26825 * debug/pcprofiledump.c: Likewise.
26826 * elf/cache.c: Likewise.
26827 * elf/dl-cache.c: Likewise.
26828 * elf/dl-misc.c: Likewise.
26829 * elf/dl-profile.c: Likewise.
26830 * elf/dl-support.c: Likewise.
26831 * elf/ldconfig.c: Likewise.
26832 * elf/sprof.c: Likewise.
26833 * iconv/dummy-repertoire.c: Likewise.
26834 * iconv/iconv_charmap.c: Likewise.
26835 * iconv/skeleton.c: Likewise.
26836 * iconvdata/8bit-generic.c: Likewise.
26837 * iconvdata/cp737.h: Likewise.
26838 * iconvdata/cp775.h: Likewise.
26839 * iconvdata/ibm1008.h: Likewise.
26840 * iconvdata/ibm1025.h: Likewise.
26841 * iconvdata/ibm1046.h: Likewise.
26842 * iconvdata/ibm1097.h: Likewise.
26843 * iconvdata/ibm1112.h: Likewise.
26844 * iconvdata/ibm1122.h: Likewise.
26845 * iconvdata/ibm1123.h: Likewise.
26846 * iconvdata/ibm1124.h: Likewise.
26847 * iconvdata/ibm1129.h: Likewise.
26848 * iconvdata/ibm1130.h: Likewise.
26849 * iconvdata/ibm1132.h: Likewise.
26850 * iconvdata/ibm1133.h: Likewise.
26851 * iconvdata/ibm1137.h: Likewise.
26852 * iconvdata/ibm1140.h: Likewise.
26853 * iconvdata/ibm1141.h: Likewise.
26854 * iconvdata/ibm1142.h: Likewise.
26855 * iconvdata/ibm1143.h: Likewise.
26856 * iconvdata/ibm1144.h: Likewise.
26857 * iconvdata/ibm1145.h: Likewise.
26858 * iconvdata/ibm1146.h: Likewise.
26859 * iconvdata/ibm1147.h: Likewise.
26860 * iconvdata/ibm1148.h: Likewise.
26861 * iconvdata/ibm1149.h: Likewise.
26862 * iconvdata/ibm1153.h: Likewise.
26863 * iconvdata/ibm1154.h: Likewise.
26864 * iconvdata/ibm1155.h: Likewise.
26865 * iconvdata/ibm1156.h: Likewise.
26866 * iconvdata/ibm1157.h: Likewise.
26867 * iconvdata/ibm1158.h: Likewise.
26868 * iconvdata/ibm1160.h: Likewise.
26869 * iconvdata/ibm1161.h: Likewise.
26870 * iconvdata/ibm1162.h: Likewise.
26871 * iconvdata/ibm1163.h: Likewise.
26872 * iconvdata/ibm1164.h: Likewise.
26873 * iconvdata/ibm1166.h: Likewise.
26874 * iconvdata/ibm1167.h: Likewise.
26875 * iconvdata/ibm12712.h: Likewise.
26876 * iconvdata/ibm1390.h: Likewise.
26877 * iconvdata/ibm1399.h: Likewise.
26878 * iconvdata/ibm16804.h: Likewise.
26879 * iconvdata/ibm4517.h: Likewise.
26880 * iconvdata/ibm4899.h: Likewise.
26881 * iconvdata/ibm4909.h: Likewise.
26882 * iconvdata/ibm4971.h: Likewise.
26883 * iconvdata/ibm5347.h: Likewise.
26884 * iconvdata/ibm803.h: Likewise.
26885 * iconvdata/ibm856.h: Likewise.
26886 * iconvdata/ibm901.h: Likewise.
26887 * iconvdata/ibm902.h: Likewise.
26888 * iconvdata/ibm9030.h: Likewise.
26889 * iconvdata/ibm9066.h: Likewise.
26890 * iconvdata/ibm921.h: Likewise.
26891 * iconvdata/ibm922.h: Likewise.
26892 * iconvdata/ibm9448.h: Likewise.
26893 * iconvdata/isiri-3342.h: Likewise.
26894 * iconvdata/jis0201.h: Likewise.
26895 * include/link.h: Likewise.
26896 * include/netdb.h: Likewise.
26897 * inet/check_native.c: Likewise.
26898 * inet/check_pf.c: Likewise.
26899 * inet/getipv4sourcefilter.c: Likewise.
26900 * inet/getnameinfo.c: Likewise.
26901 * inet/getsourcefilter.c: Likewise.
26902 * inet/htonl.c: Likewise.
26903 * inet/setipv4sourcefilter.c: Likewise.
26904 * inet/setsourcefilter.c: Likewise.
26905 * inet/test-inet6_opt.c: Likewise.
26906 * inet/tst-network.c: Likewise.
26907 * locale/C-collate.c: Likewise.
26908 * locale/C-ctype.c: Likewise.
26909 * locale/C-time.c: Likewise.
26910 * locale/C-translit.h: Likewise.
26911 * locale/loadarchive.c: Likewise.
26912 * locale/programs/3level.h: Likewise.
26913 * locale/programs/charmap.c: Likewise.
26914 * locale/programs/charmap.h: Likewise.
26915 * locale/programs/ld-address.c: Likewise.
26916 * locale/programs/ld-collate.c: Likewise.
26917 * locale/programs/ld-ctype.c: Likewise.
26918 * locale/programs/ld-identification.c: Likewise.
26919 * locale/programs/ld-measurement.c: Likewise.
26920 * locale/programs/ld-messages.c: Likewise.
26921 * locale/programs/ld-monetary.c: Likewise.
26922 * locale/programs/ld-name.c: Likewise.
26923 * locale/programs/ld-numeric.c: Likewise.
26924 * locale/programs/ld-paper.c: Likewise.
26925 * locale/programs/ld-telephone.c: Likewise.
26926 * locale/programs/ld-time.c: Likewise.
26927 * locale/programs/linereader.c: Likewise.
26928 * locale/programs/locale.c: Likewise.
26929 * locale/programs/locarchive.c: Likewise.
26930 * locale/programs/locfile.h: Likewise.
26931 * locale/programs/repertoire.c: Likewise.
26932 * locale/programs/simple-hash.c: Likewise.
26933 * locale/programs/simple-hash.h: Likewise.
26934 * malloc/memusage.c: Likewise.
26935 * malloc/memusagestat.c: Likewise.
26936 * nis/nis_defaults.c: Likewise.
26937 * nis/nis_hash.c: Likewise.
26938 * nis/nis_print.c: Likewise.
26939 * nis/nis_xdr.c: Likewise.
26940 * nscd/connections.c: Likewise.
26941 * nscd/hstcache.c: Likewise.
26942 * nscd/nscd_gethst_r.c: Likewise.
26943 * nscd/nscd_getserv_r.c: Likewise.
26944 * nscd/nscd_helper.c: Likewise.
26945 * nscd/servicescache.c: Likewise.
26946 * nss/makedb.c: Likewise.
26947 * nss/nss_db/db-XXX.c: Likewise.
26948 * nss/nss_db/db-initgroups.c: Likewise.
26949 * nss/nss_db/db-netgrp.c: Likewise.
26950 * nss/nss_files/files-network.c: Likewise.
26951 * nss/nss_files/files-parse.c: Likewise.
26952 * posix/bug-regex5.c: Likewise.
26953 * posix/fnmatch_loop.c: Likewise.
26954 * posix/regcomp.c: Likewise.
26955 * posix/regexec.c: Likewise.
26956 * posix/tst-rfc3484-2.c: Likewise.
26957 * posix/tst-rfc3484-3.c: Likewise.
26958 * posix/tst-rfc3484.c: Likewise.
26959 * resolv/nss_dns/dns-canon.c: Likewise.
26960 * resolv/nss_dns/dns-network.c: Likewise.
26961 * resolv/res_init.c: Likewise.
26962 * resolv/res_mkquery.c: Likewise.
26963 * resolv/tst-aton.c: Likewise.
26964 * stdlib/cxa_atexit.c: Likewise.
26965 * stdlib/cxa_finalize.c: Likewise.
26966 * stdlib/gen-fpioconst.c: Likewise.
26967 * stdlib/strtol_l.c: Likewise.
26968 * string/tst-endian.c: Likewise.
26969 * sunrpc/auth_des.c: Likewise.
26970 * sunrpc/clnt_udp.c: Likewise.
26971 * sunrpc/rtime.c: Likewise.
26972 * sunrpc/svcauth_des.c: Likewise.
26973 * sunrpc/xdr.c: Likewise.
26974 * sunrpc/xdr_intXX_t.c: Likewise.
26975 * sunrpc/xdr_rec.c: Likewise.
26976 * sysdeps/generic/ldconfig.h: Likewise.
26977 * sysdeps/generic/ldsodefs.h: Likewise.
26978 * sysdeps/generic/memusage.h: Likewise.
26979 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26980 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26981 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26983 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26984 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26985 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26988 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26989 * sysdeps/posix/getaddrinfo.c: Likewise.
26990 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26991 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26992 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26993 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26994 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26995 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26996 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26997 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26998 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26999 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27000 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27001 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27002 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27003 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27004 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27005 * sysdeps/x86_64/dl-tls.h: Likewise.
27006 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27007 * time/alt_digit.c: Likewise.
27008 * time/era.c: Likewise.
27009 * wcsmbs/tst-c16c32-1.c: Likewise.
27011 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27013 * math/libm-test.inc (struct test_sincos_data): New type.
27014 (RUN_TEST_LOOP_sincos): New macro.
27015 (sincos_test_data): New variable.
27016 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27018 2013-05-16 Richard Henderson <rth@redhat.com>
27020 * math/atest-exp2.c (LIMB64): New macro.
27021 (CONSTSZ): New macro.
27022 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27024 (print_mpn_fp): ... to function scope.
27025 (read_mpn_hex): Remove.
27026 (get_log2): Remove.
27027 (exp2_mpn): Use mp_log2.
27028 (main): Use mp_exp1.
27030 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27032 * math/libm-test.inc: Remove comment about not testing "inexact"
27034 (INEXACT_EXCEPTION): New macro.
27035 (NO_INEXACT_EXCEPTION): Likewise.
27036 (INVALID_EXCEPTION_OK): Update value.
27037 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27038 (OVERFLOW_EXCEPTION_OK): Likewise.
27039 (UNDERFLOW_EXCEPTION_OK): Likewise.
27040 (IGNORE_ZERO_INF_SIGN): Likewise.
27041 (ERRNO_UNCHANGED): Likewise.
27042 (ERRNO_EDOM): Likewise.
27043 (ERRNO_ERANGE): Likewise.
27044 (test_exceptions): Handle testing "inexact" exceptions.
27045 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27046 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27047 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27048 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27050 (rint_towardzero_test_data): Likewise.
27051 (rint_downward_test_data): Likewise.
27052 (rint_upward_test_data): Likewise.
27054 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27055 with OVERFLOW_EXCEPTION.
27056 (exp10_test_data): Likewise.
27057 (exp2_test_data): Likewise.
27058 (expm1_test_data): Likewise.
27059 (lgamma_test_data): Likewise.
27060 (pow_test_data): Likewise.
27061 (tgamma_test_data): Likewise.
27062 (yn_test_data): Remove duplicate test of overflow.
27064 * math/libm-test.inc (struct test_cc_c_data): New type.
27065 (RUN_TEST_LOOP_cc_c): New macro.
27066 (cpow_test_data): New variable.
27067 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27069 * math/libm-test.inc (struct test_f_L_data): New type.
27070 (RUN_TEST_LOOP_f_L): New macro.
27071 (llrint_test_data): New variable.
27072 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27073 (llrint_tonearest_test_data): New variable.
27074 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27075 (llrint_towardzero_test_data): New variable.
27076 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27077 (llrint_downward_test_data): New variable.
27078 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27079 (llrint_upward_test_data): New variable.
27080 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27081 (llround_test_data): New variable.
27082 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27084 2013-05-13 Peter Collingbourne <pcc@google.com>
27086 * math/atest-exp2.c (get_log2): Remove const attribute.
27088 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27090 * math/libm-test.inc (struct test_f_l_data): New type.
27091 (RUN_TEST_LOOP_f_l): New macro.
27092 (lrint_test_data): New variable.
27093 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27094 (lrint_tonearest_test_data): New variable.
27095 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27096 (lrint_towardzero_test_data): New variable.
27097 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27098 (lrint_downward_test_data): New variable.
27099 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27100 (lrint_upward_test_data): New variable.
27101 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27102 (lround_test_data): New variable.
27103 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27105 2013-05-15 Peter Collingbourne <pcc@google.com>
27107 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27108 (EXTRACT_WORDS64) Use where appropriate.
27109 (INSERT_WORDS64) Likewise.
27111 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27112 constraints with x constraints.
27113 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27115 * malloc/obstack.c (_obstack_compat): Add initializer.
27117 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27120 si_trapno and add si_addr_lsb to _sifields.sigfault.
27121 (si_trapno): Remove macro.
27122 (si_addr_lsb): Define new macro.
27123 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27125 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27127 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27128 instead of TEST_f_l.
27129 (llrint_test_tonearest): Likewise.
27130 (llrint_test_towardzero): Likewise.
27131 (llrint_test_downward): Likewise.
27132 (llrint_test_upward): Likewise.
27133 (llround_test): Likewise.
27135 * math/libm-test.inc (struct test_f_i_data): Add comment.
27136 (RUN_TEST_LOOP_f_b): New macro.
27137 (RUN_TEST_LOOP_f_b_tg): Likewise.
27138 (finite_test_data): New variable.
27139 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27140 (isfinite_test_data): New variable.
27141 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27142 (isinf_test_data): New variable.
27143 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27144 (isnan_test_data): New variable.
27145 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27146 (isnormal_test_data): New variable.
27147 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27148 (issignaling_test_data): New variable.
27149 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27150 (signbit_test_data): New variable.
27151 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27153 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27154 with INVALID_EXCEPTION.
27155 (acosh_test_data): Likewise.
27156 (asin_test_data): Likewise.
27157 (atanh_test_data): Likewise.
27158 (fmod_test_data): Likewise.
27159 (log_test_data): Likewise.
27160 (log10_test_data): Likewise.
27161 (log2_test_data): Likewise.
27162 (pow_test_data): Likewise.
27163 (sqrt_test_data): Likewise.
27164 (y0_test_data): Likewise.
27165 (y1_test_data): Likewise.
27166 (yn_test_data): Likewise.
27168 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27171 * math/libm-test.inc (struct test_ff_i_data): New type.
27172 (RUN_TEST_LOOP_ff_i_tg): New macro.
27173 (isgreater_test_data): New variable.
27174 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27175 (isgreaterequal_test_data): New variable.
27176 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27177 (isless_test_data): New variable.
27178 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27179 (islessequal_test_data): New variable.
27180 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27181 (islessgreater_test_data): New variable.
27182 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27183 (isunordered_test_data): New variable.
27184 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27186 2013-05-14 David S. Miller <davem@davemloft.net>
27188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27190 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27192 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27194 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27196 (struct test_f_i_data): Change type of max_ulp to int.
27198 * math/libm-test.inc (test_ffI_f1_data): New type.
27199 (RUN_TEST_LOOP_ffI_f1): New macro.
27200 (remquo_test_data): New variable.
27201 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27203 * setjmp/tst-setjmp-fp.c: New file.
27204 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27205 (link-libm): New variable.
27206 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27208 * math/libm-test.inc (struct test_f_i_data): New type.
27209 (RUN_TEST_LOOP_f_i): New macro.
27210 (RUN_TEST_LOOP_f_i_tg): Likewise.
27211 (fpclassify_test_data): New variable.
27212 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27213 (ilogb_test_data): New variable.
27214 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27216 * math/libm-test.inc (scalbln_test): Correct function name in END
27219 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27220 (RUN_TEST_LOOP_fI_f1): New macro.
27221 (frexp_test_data): New variable.
27222 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27224 * math/libm-test.inc (struct test_fF_f1_data): New type.
27225 (RUN_TEST_LOOP_fF_f1): New macro.
27226 (modf_test_data): New variable.
27227 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27229 * math/libm-test.inc (struct test_f_f1_data): New type.
27230 (RUN_TEST_LOOP_f_f1): New macro.
27231 (gamma_test_data): New variable.
27232 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27233 (lgamma_test_data): New variable.
27234 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27236 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27238 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27239 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27240 (main): Comment "tls" pseudo-hwcap.
27242 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27244 * math/libm-test.inc (struct test_fl_f_data): New type.
27245 (RUN_TEST_LOOP_fl_f): New variable.
27246 (scalbln_test_data): New variable.
27247 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27249 * math/libm-test.inc (struct test_fi_f_data): New type.
27250 (RUN_TEST_LOOP_fi_f): New macro.
27251 (ldexp_test_data): New variable.
27252 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27253 (scalbn_test_data): New variable.
27254 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27256 * math/libm-test.inc (struct test_c_f_data): New type.
27257 (RUN_TEST_LOOP_c_f): New macro.
27258 (cabs_test_data): New variable.
27259 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27260 (carg_test_data): New variable.
27261 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27262 (cimag_test_data): New variable.
27263 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27264 (creal_test_data): New variable.
27265 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27267 * math/libm-test.inc (struct test_if_f_data): New type.
27268 (RUN_TEST_LOOP_if_f): New macro.
27269 (jn_test_data): New variable.
27270 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27271 (yn_test_data): New variable.
27272 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27274 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27276 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27278 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27279 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27281 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27283 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27284 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27285 (bench-deps): Add bench-timing.h.
27286 * benchtests-bench-skeleton.c: Include bench-timing.h.
27287 (main): Use TIMING_* macros instead of clock_gettime.
27288 * benchtests/bench-timing.h: New file.
27291 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27292 Renamed from _LIB_VERSION.
27293 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27295 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27297 * math/libm-test.inc (struct test_fff_f_data): New type.
27298 (RUN_TEST_LOOP_fff_f): New macro.
27299 (fma_test_data): New variable.
27300 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27301 (fma_towardzero_test_data): New variable.
27302 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27303 (fma_downward_test_data): New variable.
27304 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27305 (fma_upward_test_data): New variable.
27306 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27308 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27309 (struct test_c_c_data): New type.
27310 (RUN_TEST_LOOP_c_c): New macro.
27311 (cacos_test_data): New variable.
27312 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27313 (cacosh_test_data): New variable.
27314 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27315 (casin_test_data): New variable.
27316 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27317 (casinh_test_data): New variable.
27318 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27319 (catan_test_data): New variable.
27320 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27321 (catanh_test_data): New variable.
27322 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27323 (ccos_test_data): New variable.
27324 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27325 (ccosh_test_data): New variable.
27326 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27327 (cexp_test_data): New variable.
27328 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27329 (clog_test_data): New variable.
27330 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27331 (clog10_test_data): New variable.
27332 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27333 (conj_test_data): New variable.
27334 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27335 (cproj_test_data): New variable.
27336 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27337 (csin_test_data): New variable.
27338 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27339 (csinh_test_data): New variable.
27340 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27341 (csqrt_test_data): New variable.
27342 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27343 (ctan_test_data): New variable.
27344 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27345 (ctan_tonearest_test_data): New variable.
27346 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27347 (ctan_towardzero_test_data): New variable.
27348 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27349 (ctan_downward_test_data): New variable.
27350 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27351 (ctan_upward_test_data): New variable.
27352 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27353 (ctanh_test_data): New variable.
27354 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27355 (ctanh_tonearest_test_data): New variable.
27356 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27357 (ctanh_towardzero_test_data): New variable.
27358 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27359 (ctanh_downward_test_data): New variable.
27360 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27361 (ctanh_upward_test_data): New variable.
27362 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27363 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27366 * math/libm-test.inc (struct test_ff_f_data): New type.
27367 (struct test_ff_f_data_nexttoward): Likewise.
27368 (RUN_TEST_LOOP_2_f): New macro.
27369 (RUN_TEST_LOOP_ff_f): Likewise.
27370 (atan2_test_data): New variable.
27371 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27372 (copysign_test_data): New variable.
27373 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27374 (fdim_test_data): New variable.
27375 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27376 (fmax_test_data): New variable.
27377 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27378 (fmin_test_data): New variable.
27379 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27380 (fmod_test_data): New variable.
27381 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27382 (hypot_test_data): New variable.
27383 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27384 (nextafter_test_data): New variable.
27385 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27386 (nexttoward_test_data): New variable.
27387 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27388 (pow_test_data): New variable.
27389 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27390 (pow_tonearest_test_data): New variable.
27391 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27392 (pow_towardzero_test_data): New variable.
27393 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27394 (pow_downward_test_data): New variable.
27395 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27396 (pow_upward_test_data): New variable.
27397 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27398 (remainder_test_data): New variable.
27399 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27400 (scalb_test_data): New variable.
27401 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27402 * sysdeps/i386/fpu/libm-test-ulps: Update.
27404 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27406 * math/libm-test.inc (fma_test): Use max_value instead of local
27408 (nextafter_test): Likewise.
27410 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27411 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27412 (acos_downward_test_data): New variable.
27413 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27414 (acos_upward_test_data): New variable.
27415 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27416 (acosh_test_data): New variable.
27417 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27418 (asin_test_data): New variable.
27419 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27420 (asin_tonearest_test_data): New variable.
27421 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27422 (asin_towardzero_test_data): New variable.
27423 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27424 (asin_downward_test_data): New variable.
27425 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27426 (asin_upward_test_data): New variable.
27427 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27428 (asinh_test_data): New variable.
27429 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27430 (atan_test_data): New variable.
27431 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27432 (atanh_test_data): New variable.
27433 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27434 (cbrt_test_data): New variable.
27435 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27436 (ceil_test_data): New variable.
27437 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27438 (cos_test_data): New variable.
27439 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27440 (cos_tonearest_test_data): New variable.
27441 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27442 (cos_towardzero_test_data): New variable.
27443 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27444 (cos_downward_test_data): New variable.
27445 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27446 (cos_upward_test_data): New variable.
27447 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27448 (cosh_test_data): New variable.
27449 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27450 (cosh_tonearest_test_data): New variable.
27451 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27452 (cosh_towardzero_test_data): New variable.
27453 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27454 (cosh_downward_test_data): New variable.
27455 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27456 (cosh_upward_test_data): New variable.
27457 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27458 (erf_test_data): New variable.
27459 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27460 (erfc_test_data): New variable.
27461 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27462 (exp_test_data): New variable.
27463 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27464 (exp_tonearest_test_data): New variable.
27465 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27466 (exp_towardzero_test_data): New variable.
27467 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27468 (exp_downward_test_data): New variable.
27469 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27470 (exp_upward_test_data): New variable.
27471 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27472 (exp10_test_data): New variable.
27473 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27474 (exp2_test_data): New variable.
27475 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27476 (expm1_test_data): New variable.
27477 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27478 (fabs_test_data): New variable.
27479 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27480 (floor_test_data): New variable.
27481 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27482 (j0_test_data): New variable.
27483 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27484 (j1_test_data): New variable.
27485 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27486 (log_test_data): New variable.
27487 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27488 (log10_test_data): New variable.
27489 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27490 (log1p_test_data): New variable.
27491 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27492 (log2_test_data): New variable.
27493 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27494 (logb_test_data): New variable.
27495 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27496 (logb_downward_test_data): New variable.
27497 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27498 (nearbyint_test_data): New variable.
27499 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27500 (rint_test_data): New variable.
27501 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27502 (rint_tonearest_test_data): New variable.
27503 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27504 (rint_towardzero_test_data): New variable.
27505 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27506 (rint_downward_test_data): New variable.
27507 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27508 (rint_upward_test_data): New variable.
27509 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27510 (round_test_data): New variable.
27511 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27512 (sin_test_data): New variable.
27513 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27514 (sin_tonearest_test_data): New variable.
27515 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27516 (sin_towardzero_test_data): New variable.
27517 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27518 (sin_downward_test_data): New variable.
27519 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27520 (sin_upward_test_data): New variable.
27521 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27522 (sinh_test_data): New variable.
27523 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27524 (sinh_tonearest_test_data): New variable.
27525 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27526 (sinh_towardzero_test_data): New variable.
27527 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27528 (sinh_downward_test_data): New variable.
27529 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27530 (sinh_upward_test_data): New variable.
27531 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27532 (sqrt_test_data): New variable.
27533 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27534 (tan_test_data): New variable.
27535 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27536 (tan_tonearest_test_data): New variable.
27537 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27538 (tan_towardzero_test_data): New variable.
27539 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27540 (tan_downward_test_data): New variable.
27541 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27542 (tan_upward_test_data): New variable.
27543 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27544 (tanh_test_data): New variable.
27545 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27546 (tgamma_test_data): New variable.
27547 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27548 (trunc_test_data): New variable.
27549 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27550 (y0_test_data): New variable.
27551 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27552 (y1_test_data): New variable.
27553 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27554 (significand_test_data): New variable.
27555 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27557 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27560 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27562 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27564 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27566 2013-05-10 Andreas Jaeger <aj@suse.de>
27569 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27570 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27572 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27574 * math/gen-libm-test.pl (adjust_arg): New function.
27575 (special_functions): Handle generating output in both functions
27577 (parse_args): Likewise.
27578 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27579 $in_func argument to parse_args.
27580 * math/libm-test.inc (struct test_f_f_data): New type.
27581 (IF_ROUND_INIT_): New macro.
27582 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27583 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27584 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27585 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27586 (ROUND_RESTORE_): Likewise.
27587 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27588 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27589 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27590 (ROUND_RESTORE_FE_UPWARD): Likewise.
27591 (RUN_TEST_LOOP_f_f): New macro.
27592 (acos_test_data): New variable.
27593 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27594 (acos_tonearest_test_data): New variable.
27595 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27597 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27599 * benchtests/bench-skeleton.c (startup): Fix coding style.
27601 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27604 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27605 negative infinity argument.
27606 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27607 negative infinity argument.
27608 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27609 negative infinity argument.
27610 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27613 2013-05-10 Florian Weimer <fweimer@redhat.com>
27615 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27616 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27617 * iconv/iconv_prog.c (main): Likewise.
27618 * locale/programs/charmap-dir.c (charmap_readdir)
27619 (fopen_uncompressed): Likewise.
27620 * locale/programs/locfile.c (siblings_uncached)
27621 (write_locale_data): Use lstat64 instead of lstat.
27622 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27625 2013-05-10 Andreas Jaeger <aj@suse.de>
27628 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27630 Include <locale.h>.
27632 2013-05-09 Carlos O'Donell <carlos@redhat.com>
27634 * elf/dl-close.c (_dl_close_worker): Add comments.
27636 2013-05-09 Joseph Myers <joseph@codesourcery.com>
27639 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27641 (__ieee754_rem_pio2l): Update comments.
27644 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27646 (__ieee754_rem_pio2l): Update comments.
27648 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27649 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27651 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27654 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27655 (M_PI_34_LOG10El): Likewise.
27656 (M_PI2_LOG10El): Likewise.
27657 (M_PI4_LOG10El): Likewise.
27658 (M_PI_LOG10El): Likewise.
27660 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27664 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27666 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27667 (MINUS_ZERO_INIT): Likewise.
27668 (PLUS_INFTY_INIT): Likewise.
27669 (MINUS_INFTY_INIT): Likewise.
27670 (QNAN_VALUE_INIT): Likewise.
27671 (MAX_VALUE_INIT): Likewise.
27672 (MIN_VALUE_INIT): Likewise.
27673 (MIN_SUBNORM_VALUE_INIT): Likewise.
27674 (plus_zero): Initialize with PLUS_ZERO_INIT.
27675 (minus_zero): Initialize with MINUS_ZERO_INIT.
27676 (plus_infty): Initialize with PLUS_INFTY_INIT.
27677 (minus_infty): Initialize with MINUS_INFTY_INIT.
27678 (qnan_value): Initialize with QNAN_VALUE_INIT.
27679 (max_value): Initialize with MAX_VALUE_INIT.
27680 (min_value): Initialize with MIN_VALUE_INIT.
27681 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27683 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27684 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27685 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27686 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27688 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27689 (RUN_TEST_2_f): Likewise.
27690 (RUN_TEST_ff_f): Likewise.
27691 (RUN_TEST_fi_f): Likewise.
27692 (RUN_TEST_fl_f): Likewise.
27693 (RUN_TEST_fff_f): Likewise.
27694 (RUN_TEST_c_f): Likewise.
27695 (RUN_TEST_f_f1): Likewise.
27696 (RUN_TEST_fF_f1): Likewise.
27697 (RUN_TEST_fI_f1): Likewise.
27698 (RUN_TEST_ffI_f1): Likewise.
27699 (RUN_TEST_c_c): Likewise.
27700 (RUN_TEST_cc_c): Likewise.
27701 (RUN_TEST_f_i): Likewise.
27702 (RUN_TEST_f_i_tg): Likewise.
27703 (RUN_TEST_ff_i_tg): Likewise.
27704 (RUN_TEST_f_b): Likewise.
27705 (RUN_TEST_f_b_tg): Likewise.
27706 (RUN_TEST_f_l): Likewise.
27707 (RUN_TEST_f_L): Likewise.
27708 (RUN_TEST_sincos): Likewise.
27709 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27710 whether to show exceptions. Do not include ");\n" in return
27712 (special_functions): Output call to RUN_TEST_sincos instead of
27713 check_float calls. Update calls to new_test.
27714 (parse_args): Output call to single RUN_TEST_* macro instead of
27715 check_* calls and other assignments. Update calls to new_test.
27721 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27722 input to result for tgamma overflow.
27723 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27724 (gamma_coeff): New variable.
27725 (NCOEFF): New macro.
27726 (gamma_positive): New function.
27727 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27728 underflow here. Use gamma_positive instead of exp (lgamma) for
27730 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27731 (gamma_coeff): New variable.
27732 (NCOEFF): New macro.
27733 (gammaf_positive): New function.
27734 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27735 underflow here. Use gamma_positive instead of exp (lgamma) for
27737 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27738 (gamma_coeff): New variable.
27739 (NCOEFF): New macro.
27740 (gammal_positive): New function.
27741 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27742 underflow here. Use gamma_positive instead of exp (lgamma) for
27744 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27745 (gamma_coeff): New variable.
27746 (NCOEFF): New macro.
27747 (gammal_positive): New function.
27748 (__ieee754_gammal_r): Handle positive infinity, overflow and
27749 underflow here. Handle NaN the same as positive infinity. Remove
27750 check x < 0xffffffff for negative integers. Use gamma_positive
27751 instead of exp (lgamma) for other arguments.
27752 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27753 (gamma_coeff): New variable.
27754 (NCOEFF): New macro.
27755 (gammal_positive): New function.
27756 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27757 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27761 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27762 * sysdeps/generic/math_private.h (__gamma_productf): New
27764 (__gamma_product): Likewise.
27765 (__gamma_productl): Likewise.
27766 * math/Makefile (libm-calls): Add gamma_product.
27767 * math/libm-test.inc (tgamma_test): Add more tests.
27768 * sysdeps/i386/fpu/libm-test-ulps: Update.
27769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27771 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27773 * benchtests/bench-skeleton.c (main): Preheat CPU.
27775 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27777 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27779 2013-05-07 Roland McGrath <roland@hack.frob.com>
27781 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27782 and _dl_skip_args_internal.
27784 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27786 * manual/message.texi (Message Translation): Talk about users.
27787 Message to key mapping impacts design.
27789 2013-05-06 Roland McGrath <roland@hack.frob.com>
27791 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27793 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27795 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27796 * sysdeps/wordsize-64/glob64.c: ... here.
27798 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27799 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27802 * debug/getlogin_r_chk.c: Moved to ...
27803 * login/getlogin_r_chk.c: ... here.
27804 * debug/Makefile (routines): Move getlogin_r_chk to ...
27805 * login/Makefile (routines): ... here.
27806 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27807 * login/Versions (libc: GLIBC_2.4): ... here.
27809 * io/poll.c (__poll): Renamed from poll.
27810 Add libc_hidden_def.
27811 (poll): Define as weak alias.
27813 * debug/ptsname_r_chk.c: Moved to ...
27814 * login/ptsname_r_chk.c: ... here.
27815 * debug/Makefile (routines): Move ptsname_r_chk to ...
27816 * login/Makefile (routines): ... here.
27817 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27818 * login/Versions (libc: GLIBC_2.4): ... here.
27820 * posix/getlogin.c: Moved to ...
27821 * login/getlogin.c: ... here.
27822 * posix/getlogin_r.c: Moved to ...
27823 * login/getlogin_r.c: ... here.
27824 * posix/getlogin_r.c: Moved to ...
27825 * login/getlogin_r.c: ... here.
27826 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27827 * login/Makefile (routines): ... here.
27828 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27829 * login/Versions (libc: GLIBC_2.0): ... here.
27831 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27832 (setrlimit): Define as weak alias.
27834 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27835 Call __ names for open, ftruncate, and close.
27836 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27837 (truncate): Define as weak alias.
27839 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27841 * math/gen-libm-test.pl (parse_args): Initialize x before each
27842 test of frexp, modf and remquo.
27844 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27845 test signgam value.
27847 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27851 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27855 2013-05-06 Roland McGrath <roland@hack.frob.com>
27857 * elf/dl-writev.h: New file.
27858 * elf/dl-misc.c: Include it.
27859 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27860 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27862 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27864 * math/libm-test.inc (noXFails): Remove variable.
27865 (noXPasses): Likewise.
27866 (BUILD_COMPLEX_INT): Remove macro.
27867 (print_screen): Remove xfail argument.
27868 (print_screen_max_error): Likewise.
27869 (update_stats): Likewise.
27870 (print_max_error): Likewise. Update calls to other affected
27872 (print_complex_max_error): Likewise.
27873 (test_single_exception): Update calls to print_screen.
27874 (test_single_errno): Likewise.
27875 (check_float_internal): Remove xfail argument. Update calls to
27876 other affected functions.
27877 (check_float): Likewise.
27878 (check_complex): Likewise.
27879 (check_int): Likewise.
27880 (check_long): Likewise.
27881 (check_bool): Likewise.
27882 (check_longlong): Likewise.
27883 (main): Don't print noXFails and noXPasses.
27884 * math/gen-libm-test.pl (top level): Don't mention expected
27885 failure handling in comment.
27886 (new_test): Don't handle expected failures.
27887 (parse_args): Don't mention expected failure handling in comment.
27888 (generate_testfile): Don't handle expected failures.
27889 (parse_ulps): Likewise.
27890 (print_ulps_file): Likewise.
27891 (get_failure): Remove function.
27892 (output_test): Don't handle expected failures.
27893 * make/README.libm-test: Don't mention expected failure handling.
27895 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27896 (minus_zero): Likewise.
27897 (plus_infty): Likewise.
27898 (minus_infty): Likewise.
27899 (qnan_value): Likewise.
27900 (max_value): Likewise.
27901 (min_value): Likewise.
27902 (min_subnorm_value): Likewise.
27903 (initialize): Do not initialize those variables dynamically.
27905 2013-05-03 Roland McGrath <roland@hack.frob.com>
27907 * io/open.c (__open_2): Moved to ...
27908 * io/open_2.c: ... this new file.
27909 * io/open64.c (__open64_2): Moved to ...
27910 * io/open64_2.c: ... this new file.
27911 * io/openat.c (__openat_2): Moved to ...
27912 * io/openat_2.c: ... this new file.
27913 * io/openat64.c (__openat64_2): Moved to ...
27914 * io/openat64_2.c: ... this new file.
27915 * io/Makefile (routines): Add them.
27916 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27917 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27918 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27919 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27920 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27921 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27922 (__openat64): Add hidden_ver.
27923 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27924 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27926 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27927 Separately conditionalize setting of GLRO(dl_sysinfo) so
27928 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27929 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27931 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27933 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27934 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27936 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27937 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27938 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27939 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27940 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27942 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27944 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27945 test signgam value.
27947 * math/libm-test.inc (hypot_test): Do not use
27948 IGNORE_ZERO_INF_SIGN.
27950 2013-05-03 Andreas Jaeger <aj@suse.de>
27952 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27954 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27955 (PF_MAX): Adjust for VSOCK change.
27957 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27961 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27964 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27965 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27966 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27968 2013-05-02 David S. Miller <davem@davemloft.net>
27970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27972 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27974 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27976 2013-05-01 Roland McGrath <roland@hack.frob.com>
27978 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27980 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27983 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27984 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27985 Use __attribute__ ((__gnu_inline__)).
27986 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27987 Don't use __attribute__ ((__gnu_inline__)).
27989 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27992 * math/s_catan.c (__catan): Handle small real or imaginary part of
27993 input specially to avoid spurious underflow.
27994 * math/s_catanf.c (__catanf): Likewise.
27995 * math/s_catanh.c (__catanh): Likewise.
27996 * math/s_catanhf.c (__catanhf): Likewise.
27997 * math/s_catanhl.c (__catanhl): Likewise.
27998 * math/s_catanl.c (__catanl): Likewise.
27999 * math/libm-test.inc (catan_test): Add more tests.
28000 (catanh_test): Likewise.
28001 * sysdeps/i386/fpu/libm-test-ulps: Update.
28002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28004 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28008 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28011 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28012 accurately for denominator in atan2.
28013 * math/s_catanf.c (__catanf): Likewise.
28014 * math/s_catanh.c (__catanh): Likewise.
28015 * math/s_catanhf.c (__catanhf): Likewise.
28016 * math/s_catanhl.c (__catanhl): Likewise.
28017 * math/s_catanl.c (__catanl): Likewise.
28018 * math/libm-test.inc (catan_test): Add more tests.
28019 (catanh_test): Likewise.
28020 * sysdeps/i386/fpu/libm-test-ulps: Update.
28021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28023 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28025 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28027 * benchtests/Makefile (bench): Remove slow benchmarks.
28028 * benchtests/atan-inputs: Add slow benchmark inputs.
28029 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28030 (BENCH_FUNC): Accept variant offset.
28032 * benchtests/bench-skeleton.c (main): Run benchmark for each
28034 * benchtests/cos-inputs: Add slow benchmark inputs.
28035 * benchtests/exp-inputs: Likewise.
28036 * benchtests/pow-inputs: Likewise.
28037 * benchtests/sin-inputs: Likewise.
28038 * benchtests/slowatan-inputs: Remove.
28039 * benchtests/slowatan.c: Remove.
28040 * benchtests/slowcos-inputs: Remove.
28041 * benchtests/slowcos.c: Remove.
28042 * benchtests/slowexp-inputs: Remove.
28043 * benchtests/slowexp.c: Remove.
28044 * benchtests/slowpow-inputs: Remove.
28045 * benchtests/slowpow.c: Remove.
28046 * benchtests/slowsin-inputs: Remove.
28047 * benchtests/slowsin.c: Remove.
28048 * benchtests/slowtan-inputs: Remove.
28049 * benchtests/slowtan.c: Remove.
28050 * benchtests/tan-inputs: Add slow benchmark inputs.
28051 * scripts/bench.pl: Parse comments and directives.
28053 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28055 ($(objpfx)bench-%.c): Remove *-ITER.
28056 * benchtests/bench-modf.c: Remove definition of ITER.
28057 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28058 (main): Loop for DURATION seconds instead of fixed number of
28060 * scripts/bench.pl: Don't expect iterations in parameters.
28062 2013-04-29 Roland McGrath <roland@hack.frob.com>
28064 * io/fchdir.c (__fchdir): Renamed from fchdir.
28065 (fchdir): Define as weak alias.
28067 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28069 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28070 (ERRNO_EDOM): Likewise.
28071 (ERRNO_ERANGE): Likewise.
28072 (noErrnoTests): New variable.
28073 (init_max_error): Set errno to 0.
28074 (test_single_errno): New function.
28075 (test_errno): Likewise.
28076 (check_float_internal): Call test_errno. Set errno to 0.
28077 (check_complex): Refer to errno tests in comment.
28078 (check_int): Call test_errno. Set errno to 0.
28079 (check_long): Likewise.
28080 (check_bool): Likewise.
28081 (check_longlong): Likewise.
28082 (cos_test): Use ERRNO_* flags for errno tests instead of
28084 (expm1_test): Likewise.
28085 (fmod_test): Likewise.
28086 (ilogb_test): Likewise.
28087 (lgamma_test): Likewise.
28088 (pow_test): Likewise.
28089 (remainder_test): Likewise.
28090 (sin_test): Likewise.
28091 (tan_test): Likewise.
28092 (yn_test): Likewise.
28093 (initialize): Set errno to 0.
28094 (main): Print number of errno tests.
28095 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28097 2013-04-29 Andreas Jaeger <aj@suse.de>
28100 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28104 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28105 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28109 * stdlib/random.c (__initstate): Return NULL if
28113 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28114 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28117 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28121 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28123 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28124 of individual tests.
28125 (casin_test): Likewise.
28126 (casinh_test): Likewise.
28128 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28131 * math/s_catan.c (__catan): Handle arguments with large real or
28132 imaginary part separately without squaring.
28133 * math/s_catanf.c (__catanf): Likewise.
28134 * math/s_catanh.c (__catanh): Likewise.
28135 * math/s_catanhf.c (__catanhf): Likewise.
28136 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28138 (__catanhl): Handle arguments with large real or imaginary part
28139 separately without squaring.
28140 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28142 (__catanl): Handle arguments with large real or imaginary part
28143 separately without squaring.
28144 * math/libm-test.inc (catan_test): Add more tests.
28145 (catanh_test): Likewise.
28146 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28149 2013-04-27 Andreas Jaeger <aj@suse.de>
28152 * stdlib/stdlib.h: Update guards for qecvt.
28153 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28156 2013-04-27 Allan McRae <allan@archlinux.org>
28158 * sysdeps/i386/fpu/libm-test-ulps: Update.
28160 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28163 * math/s_catan.c: Include <float.h>.
28164 (__catan): Ensure underflow exception occurs for underflowed
28166 * math/s_catanf.c: Include <float.h>.
28167 (__catanf): Ensure underflow exception occurs for underflowed
28169 * math/s_catanh.c: Include <float.h>.
28170 (__catanh): Ensure underflow exception occurs for underflowed
28172 * math/s_catanhf.c: Include <float.h>.
28173 (__catanhf): Ensure underflow exception occurs for underflowed
28175 * math/s_catanhl.c: Include <float.h>.
28176 (__catanhl): Ensure underflow exception occurs for underflowed
28178 * math/s_catanl.c: Include <float.h>.
28179 (__catanl): Ensure underflow exception occurs for underflowed
28181 * math/libm-test.inc (catan_test): Add more tests.
28182 (catanh_test): Likewise.
28185 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28186 underflowed result.
28187 * math/s_ccoshf.c (__ccoshf): Likewise.
28188 * math/s_ccoshl.c (__ccoshl): Likewise.
28189 * math/s_csin.c (__csin): Likewise.
28190 * math/s_csinf.c (__csinf): Likewise.
28191 * math/s_csinh.c (__csinh): Likewise.
28192 * math/s_csinhf.c (__csinhf): Likewise.
28193 * math/s_csinhl.c (__csinhl): Likewise.
28194 * math/s_csinl.c (__csinl): Likewise.
28195 * math/libm-test.inc (ccos_test): Add more tests.
28196 (ccosh_test): Likewise.
28197 (csin_test): Likewise.
28198 (csinh_test): Likewise.
28200 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28202 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28203 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28204 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28205 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28206 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28207 powerpc/power5+/fpu folders.
28208 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28211 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28215 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28217 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28218 additions to variable.
28219 [$(config-machine) = x86_64] (modules-names): Likewise.
28220 ($(objpfx)tst-audit3): Remove dependency.
28221 ($(objpfx)tst-audit3.out): Likewise.
28222 ($(objpfx)tst-audit4): Likewise.
28223 ($(objpfx)tst-audit4.out): Likewise.
28224 ($(objpfx)tst-audit5): Likewise.
28225 ($(objpfx)tst-audit5.out): Likewise.
28226 ($(objpfx)tst-audit6): Likewise.
28227 ($(objpfx)tst-audit6.out): Likewise.
28228 ($(objpfx)tst-audit7): Likewise.
28229 ($(objpfx)tst-audit7.out): Likewise.
28230 (tst-audit3-ENV): Remove variable.
28231 (tst-audit4-ENV): Likewise.
28232 (tst-audit5-ENV): Likewise.
28233 (tst-audit6-ENV): Likewise.
28234 (tst-audit7-ENV): Likewise.
28235 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28236 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28237 addition to variable.
28238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28239 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28240 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28241 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28242 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28243 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28244 tst-audit3, tst-audit4 and tst-audit5.
28245 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28246 tst-audit6 and tst-audit7.
28247 [$(subdir) = elf] (modules-names): Add audit modules for those
28249 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28250 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28251 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28252 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28253 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28254 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28255 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28256 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28257 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28258 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28259 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28260 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28261 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28262 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28263 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28264 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28266 [$(subdir) = elf && $(config-cflags-avx) = yes]
28267 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28268 [$(subdir) = elf && $(config-cflags-avx) = yes]
28269 (CFLAGS-tst-auditmod4a.c): Likewise.
28270 [$(subdir) = elf && $(config-cflags-avx) = yes]
28271 (CFLAGS-tst-auditmod4b.c): Likewise.
28272 [$(subdir) = elf && $(config-cflags-avx) = yes]
28273 (CFLAGS-tst-auditmod6b.c): Likewise.
28274 [$(subdir) = elf && $(config-cflags-avx) = yes]
28275 (CFLAGS-tst-auditmod6c.c): Likewise.
28276 [$(subdir) = elf && $(config-cflags-avx) = yes]
28277 (CFLAGS-tst-auditmod7b.c): Likewise.
28278 * elf/tst-audit3.c: Move to ...
28279 * sysdeps/x86_64/tst-audit3.c: ... here.
28280 * elf/tst-audit4.c: Move to ...
28281 * sysdeps/x86_64/tst-audit4.c: ... here.
28282 * elf/tst-audit5.c: Move to ...
28283 * sysdeps/x86_64/tst-audit5.c: ... here.
28284 * elf/tst-audit6.c: Move to ...
28285 * sysdeps/x86_64/tst-audit6.c: ... here.
28286 * elf/tst-audit7.c: Move to ...
28287 * sysdeps/x86_64/tst-audit7.c: ... here.
28288 * elf/tst-auditmod3a.c: Move to ...
28289 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28290 * elf/tst-auditmod3b.c: Move to ...
28291 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28292 * elf/tst-auditmod4a.c: Move to ...
28293 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28294 * elf/tst-auditmod4b.c: Move to ...
28295 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28296 * elf/tst-auditmod5a.c: Move to ...
28297 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28298 * elf/tst-auditmod5b.c: Move to ...
28299 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28300 * elf/tst-auditmod6a.c: Move to ...
28301 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28302 * elf/tst-auditmod6b.c: Move to ...
28303 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28304 * elf/tst-auditmod6c.c: Move to ...
28305 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28306 * elf/tst-auditmod7a.c: Move to ...
28307 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28308 * elf/tst-auditmod7b.c: Move to ...
28309 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28311 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28314 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28315 define unconditionally.
28316 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28317 define unconditionally.
28318 (INT8_C, INT16_C, etc.): Likewise.
28320 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28322 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28323 __ehdr_start with hidden visibility.
28325 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28327 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28329 * math/libm-test.inc (cos_test): Use accurate hex constants.
28330 (sincost_test): Likewise.
28332 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28334 * math/libm-test.inc (catan_test): Add more tests.
28335 (catanh_test): Likewise.
28337 * math/s_catanf.c (__catanf): Use suffixed floating-point
28339 * math/s_catanhf.c (__catanhf): Likewise.
28340 * math/s_catanhl.c (__catanhl): Likewise.
28341 * math/s_catanl.c (__catanl): Likewise.
28344 * math/s_catan.c (__catan): Calculate imaginary part of result
28345 with log1p not log unless computing log of number close to 0.
28346 * math/s_catanf.c (__catanf): Likewise.
28347 * math/s_catanl.c (__catanl): Likewise.
28348 * math/s_catanh.c (__catanh): Calculate real part of result with
28349 log1p not log unless computing log of number close to 0.
28350 * math/s_catanhf.c (__catanhf): Likewise.
28351 * math/s_catanhl.c (__catanhl): Likewise.
28352 * math/libm-test.inc (catan_test): Add more tests.
28353 (catanh_test): Likewise.
28354 * sysdeps/i386/fpu/libm-test-ulps: Update.
28355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28357 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28359 * benchtests/Makefile: Mention files in which fast and slow
28360 paths of math functions are implemented.
28362 2013-04-23 Roland McGrath <roland@hack.frob.com>
28364 * sysdeps/posix/timespec_get.c: New file.
28366 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28368 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28370 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28372 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28373 powerpc/power5/fpu folders.
28374 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28375 * benchtests/Makefile: Add modf testcase.
28376 * benchtests/bench-modf.c: New file: Benchmark test for mo
28378 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28381 * time/Makefile (tests): Add tst-strptime-whitespace.
28382 * time/strptime_l.c (get_number): Use ISSPACE.
28383 (__strptime_internal): Likewise.
28384 * time/tst-strptime-whitespace.c: New test case.
28386 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28388 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28390 (_nss_files_init): Set it here.
28392 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28394 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28395 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28398 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28400 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28402 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28407 2013-04-21 David S. Miller <davem@davemloft.net>
28409 * po/ru.po: Update Russion translation from translation project.
28411 2013-04-17 Adam Conrad <adconrad@0c3.net>
28413 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28416 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28418 * configure.in: Remove i386 configure warning. Remove i386 case.
28419 * configure: Regenerate.
28420 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28421 Add example to error message.
28422 * sysdeps/i386/configure: Regenerate.
28424 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28426 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28428 * benchtests/cos-inputs: New file.
28429 * benchtests/slowcos-inputs: New file.
28430 * benchtests/slowcos.c: New file.
28431 * benchtests/slowtan-inputs: New file.
28432 * benchtests/slowtan.c: New file.
28433 * benchtests/tan-inputs: New file.
28435 2013-04-16 Roland McGrath <roland@hack.frob.com>
28437 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28440 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28442 * benchtests/Makefile: Include cppflags-iterator.mk to add
28443 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28445 * Makefile.in (bench-clean): New target.
28446 * benchtests/Makefile (bench-clean): Likewise.
28448 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28450 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28452 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28454 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28456 2013-04-15 Andreas Schwab <schwab@suse.de>
28458 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28459 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28460 * nscd/pwdcache.c (cache_addpw): Likewise.
28461 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28464 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28466 * benchtests/Makefile (bench): Write all output to
28467 bench-out.tmp together.
28469 2013-04-15 Andreas Schwab <schwab@suse.de>
28471 * nscd/nscd.c (main): Don't fork again after closing files.
28473 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28475 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28477 * benchtests/Rules (bench-deps): Collect dependencies into a
28478 single variable. Add Makefile to dependencies.
28479 ($(objpfx)bench-%.c): Depend on bench-deps.
28481 2013-04-12 Roland McGrath <roland@hack.frob.com>
28482 Xavier Roche <roche+kml2@exalead.com>
28485 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28486 just that it's a file descriptor.
28487 * manual/llio.texi (Synchronizing AIO Operations): Update description
28488 for EBADF error from aio_fsync.
28490 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28492 * Rules (bench): Move target definition...
28493 * benchtests/Makefile: ... here.
28495 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28497 * math/libm-test.inc (cos_test): Fix PI/2 test.
28498 (sincos_test): Likewise.
28499 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28500 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28502 2013-04-11 Andreas Schwab <schwab@suse.de>
28505 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28506 accept exponent character only when digits were seen.
28507 * stdio-common/Makefile (tests): Add bug26.
28508 * stdio-common/bug26.c: New file.
28511 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28514 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28516 * Makeconfig (rtld-prefix): Define built linker prefix.
28517 * Rules (run-bench): Use it.
28518 * math/Makefile (run-regen-ulps): Likewise.
28520 * Rules (bench): Remove eval.
28522 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28523 Roland McGrath <roland@hack.frob.com>
28524 Ondrej Bilka <neleai@seznam.cz>
28527 * time/getdate.c: Include ctype.h and alloca.h.
28528 (__getdate_r): Trim leading and trailing spaces of input.
28529 * time/tst-getdate.c (tests): Add tests with leading and
28532 2013-04-08 Roland McGrath <roland@hack.frob.com>
28535 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28536 when computing value.
28538 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28540 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28541 Use testrun.sh to run libm tests.
28544 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28546 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28549 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28551 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28553 * Makefile.in (regen-ulps): New target.
28554 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28555 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28556 [ifneq (no,$(PERL)] (regen-ulps): New target.
28557 [ifeq (no,$(PERL)] (regen-ulps): New target.
28558 * math/libm-test.inc (ulps_file_name): Define.
28559 (output_dir): New variable.
28560 (options): Add "output-dir" option.
28561 (parse_opt): Handle 'o' case.
28562 (main): If output_dir is non-NULL use it as a prefix
28564 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28566 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28568 [BZ #10060, #10062]
28569 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28570 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28571 fail configure if __sync_val_compare_and_swap is not inlined.
28572 * sysdeps/i386/configure: Regenerate.
28573 * configure.in: Build for i686 when configured for i386.
28574 * configure: Regenerate.
28575 * README: Remove i386 reference.
28577 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28579 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28582 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28584 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28585 (lmsnanval): New variables.
28586 (F): Add conversion tests.
28587 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28588 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28590 * stdio-common/tstdiomisc.c (F): Properly collect individual
28593 [BZ #14686, #15336]
28594 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28595 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28596 Instead, use input NaN values or generate a qNaN by arithmetic
28597 operation. Also fix bugs to comply with the standard.
28598 * math/libm-test.inc (remainder_test): Add more tests.
28600 [BZ #15335, #15342]
28601 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28603 input NaN values or generate a qNaN by arithmetic operation.
28605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28608 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28611 2013-04-03 Joseph Myers <joseph@codesourcery.com>
28614 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28615 underflowed result.
28616 * math/s_cexpf.c (__cexpf): Likewise.
28617 * math/s_cexpl.c (__cexpl): Likewise.
28618 * math/libm-test.inc (cexp_test): Add more tests.
28620 2013-04-03 Andreas Schwab <schwab@suse.de>
28623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28624 order arrays from heap if bigger than alloca cutoff.
28626 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28628 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28629 (SNAN_TESTS_double): Refer to GCC PR56831.
28630 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28633 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28635 * Rules (bench): Move bench.out after the run is complete.
28637 * Rules (bench): Echo currently running benchmark.
28639 * benchtests/Makefile (bench): Add atan and slowatan.
28640 * benchtests/atan-inputs: New file.
28641 * benchtests/slowatan-inputs: New file.
28642 * benchtests/slowatan.c: New file.
28644 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28645 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28649 * sysdeps/unix/sysv/linux/kernel-features.h
28650 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28651 __ASSUME_XFS_RESTRICTED_CHOWN.
28652 * sysdeps/unix/sysv/linux/pathconf.c
28653 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28654 Save and restore errno.
28656 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28659 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28660 arguments using __kernel_casinh.
28661 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28662 arguments using __kernel_casinhf.
28663 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28664 arguments using __kernel_casinhl.
28665 * math/libm-test.inc (cacosh_test): Add more tests.
28666 * sysdeps/i386/fpu/libm-test-ulps: Update.
28667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28669 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28671 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28674 * bench/Makefile (bench): Add sin and slowsin.
28675 * benchtests/sin-inputs: New file.
28676 * benchtests/slowsin-inputs: New file.
28677 * benchtests/slowsin.c: New file.
28679 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28680 (bench): Add slowexp and slowpow.
28681 (exp-ITER): Increase iterations.
28682 (pow-ITER): Likewise.
28683 * benchtests/exp-inputs: Change input.
28684 * benchtests/pow-inputs: Likewise.
28685 * benchtests/slowexp-inputs: New file.
28686 * benchtests/slowexp.c: New file.
28687 * benchtests/slowpow-inputs: New file.
28688 * benchtests/slowpow.c: New file.
28690 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28692 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28694 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28695 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28696 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28697 * benchtests/Makefile: Add rint benchtest.
28698 * benchtests/rint-inputs: Input for rint benchtest.
28700 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28702 * Versions.def (libm): Add GLIBC_2.18.
28703 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28704 hidden libm prototypes.
28705 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28706 * math/Makefile (libm-calls): Add s_issignaling.
28707 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28708 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28709 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28711 * math/math.h [__USE_GNU] (issignaling): New macro.
28712 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28713 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28715 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28718 * manual/arith.texi (issignaling): New section.
28719 * manual/libm-err-tab.pl (@all_functions): Update comment.
28720 * math/gen-libm-test.pl (parse_args): Apply special handling for
28722 * math/libm-test.inc (print_float, issignaling_test): New
28724 (check_float_internal): Add issignaling checks.
28725 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28726 default definition.
28727 * sysdeps/powerpc/math-tests.h: New file.
28728 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28730 * math/test-snan.c (TEST_FUNC): Likewise.
28732 2013-03-30 David S. Miller <davem@davemloft.net>
28734 * po/de.po: Update from translation team.
28736 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28739 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28740 imaginary part less than 1.0 and real part less than 0.5
28742 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28743 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28744 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28745 (cacos_test): Add more tests.
28746 (casin_test): Likewise.
28747 (casinh_test): Likewise.
28748 * sysdeps/i386/fpu/libm-test-ulps: Update.
28749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28751 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28753 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28754 ONE with its value.
28756 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28757 (__pow_mp): Replace ONE and MONE with their values.
28758 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28759 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28760 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28761 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28762 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28763 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28765 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28767 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28768 (__pow_mp): Replace ZERO and MZERO with their values.
28769 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28770 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28771 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28773 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28774 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28777 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28779 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28781 2013-03-28 Roland McGrath <roland@hack.frob.com>
28783 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28784 Declare with __attribute__ ((weak)).
28785 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28786 Call __call_tls_dtors only if it's not NULL.
28788 2013-03-28 Roland McGrath <roland@hack.frob.com>
28790 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28791 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28792 magic __ehdr_start linker symbol if it's defined.
28793 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28794 them up here if it was already done.
28796 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28797 (_dl_aux_init): Use const in cast when setting it.
28798 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28799 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28800 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28802 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28804 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28805 * csu/libc-tls.c: Nor here.
28806 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28808 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28809 (__libc_message): Never call vsyslog.
28811 2013-03-28 Alan Modra <amodra@gmail.com>
28813 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28815 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28818 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28821 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28825 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28828 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28829 Don't add gid passed as argument.
28831 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28833 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28836 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28837 imaginary part between 1.0 and 1.5 and real part less than 0.5
28839 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28840 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28841 * math/libm-test.inc (cacos_test): Add more tests.
28842 (casin_test): Likewise.
28843 (casinh_test): Likewise.
28844 * sysdeps/i386/fpu/libm-test-ulps: Update.
28845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28847 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28849 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28852 (denorm): Likewise.
28853 (__dbl_mp): Likewise.
28854 (add_magnitudes): Likewise.
28855 (sub_magnitudes): Likewise.
28863 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28865 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28866 (__dubcos): Likewise.
28867 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28868 (__ieee754_acos): Likewise.
28869 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28870 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28871 (__exp1): Likewise.
28872 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28875 (my_log2): Likewise.
28876 (checkint): Likewise.
28877 * sysdeps/ieee754/dbl-64/e_remainder.c
28878 (__ieee754_remainder): Likewise.
28879 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28880 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28881 (bsloww): Likewise.
28882 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28884 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28885 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28886 MANTISSA_STORE_T to store computations on mantissa. Use
28887 macros for rounding and division.
28888 (denorm): Likewise.
28889 (__dbl_mp): Likewise.
28890 (add_magnitudes): Likewise.
28891 (sub_magnitudes): Likewise.
28894 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28895 powers of two in terms of TWOPOW macro.
28896 (mp_no): Make type of mantissa as MANTISSA_T.
28897 [!RADIXI]: Define RADIXI.
28898 [!TWO52]: Define TWO52.
28899 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28901 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28903 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28904 llroundl symbol when building for PPC32.
28906 2013-03-24 Mark H Weaver <mhw@netris.org>
28908 * manual/arith.texi (Normalization Functions): Fix prototypes for
28909 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28911 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28915 high value to check if expl overflow.
28916 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28917 to check for underflow and overflow.
28918 * math/libm-test.inc: Add exp test.
28920 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28923 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28926 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28928 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28931 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28933 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28934 wrap blocks consisting of several statements.
28936 * sysdeps/generic/math-tests.h: New file.
28937 * sysdeps/i386/fpu/math-tests.h: Likewise.
28938 * math/test-snan.c: Include it.
28939 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28941 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28944 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28945 (__ieee754_j0l): Do not improve calculations using cos of twice
28946 input for inputs above LDBL_MAX / 2.0L.
28947 (__ieee754_y0l): Likewise.
28948 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28949 (__ieee754_j1l): Do not improve calculations using cos of twice
28950 input for inputs above LDBL_MAX / 2.0L.
28951 (__ieee754_y1l): Likewise.
28952 * math/libm-test.inc (j0_test): Add another test.
28953 (j1_test): Likewise.
28954 (y0_test): Likewise.
28955 (y1_test): Likewise.
28956 * sysdeps/i386/fpu/libm-test-ulps: Update.
28958 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28960 * Rules ($(objpfx)bench-%.c): Include code from a C source
28963 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28966 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28967 imaginary part 1.0 and real part less than 0.5 specially.
28968 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28969 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28970 * math/libm-test.inc (cacos_test): Add more tests.
28971 (casin_test): Likewise.
28972 (casinh_test): Likewise.
28973 * sysdeps/i386/fpu/libm-test-ulps: Update.
28974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28976 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28978 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28979 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28981 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28983 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28984 * config.make.in (config-cflags-sse4): Remove variable.
28985 (config-cflags-avx): Likewise.
28986 (config-cflags-sse2avx): Likewise.
28987 (config-cflags-novzeroupper): Likewise.
28988 (config-asflags-i686): Likewise.
28989 (have-mfma4): Likewise.
28990 (have-as-vis3): Likewise.
28992 * configure.in (MIG): Do not AC_SUBST.
28993 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28994 (libc_cv_cc_sse4): Do not AC_SUBST.
28995 (libc_cv_cc_avx): Likewise.
28996 (libc_cv_cc_sse2avx): Likewise.
28997 (libc_cv_cc_novzeroupper): Likewise.
28998 (libc_cv_cc_fma4): Likewise.
28999 (libc_cv_as_i686): Likewise.
29000 (libc_cv_sparc_as_vis3): Likewise.
29001 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29003 (config-asflags-i686): Likewise.
29004 (config-cflags-avx): Likewise.
29005 (config-cflags-sse2avx): Likewise.
29006 (have-mfma4): Likewise.
29007 (config-cflags-novzeroupper): Likewise.
29008 * sysdeps/mach/configure.in (MIG): Likewise.
29009 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29010 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29012 (config-cflags-avx): Likewise.
29013 (config-cflags-sse2avx): Likewise.
29014 (have-mfma4): Likewise.
29015 (config-cflags-novzeroupper): Likewise.
29016 * configure: Regenerated.
29017 * sysdeps/i386/configure: Likewise.
29018 * sysdeps/mach/configure: Likewise.
29019 * sysdeps/sparc/configure: Likewise.
29020 * sysdeps/x86_64/configure: Likewise.
29022 2013-03-20 Roland McGrath <roland@hack.frob.com>
29025 * locale/programs/localedef.c (options): Put N_ translation marker
29026 on argument names, not just descriptions.
29028 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29030 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29032 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29035 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29037 2013-03-19 Roland McGrath <roland@hack.frob.com>
29039 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29040 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29041 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29042 [!BEFORE_ABORT] (before_abort): New function.
29043 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29044 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29045 (writev_for_fatal): New function.
29046 (WRITEV_FOR_FATAL): New macro; call that.
29047 (backtrace_and_maps): New function.
29048 (BEFORE_ABORT): New macro; call that.
29049 (struct str_list): Type removed.
29050 (__libc_message, __libc_fatal): Functions removed.
29051 Include <sysdeps/posix/libc_fatal.c> instead.
29053 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29055 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29057 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29060 2013-03-19 Andreas Schwab <schwab@suse.de>
29062 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29063 * sysdeps/gnu/configure: Regenerate.
29065 * configure.in: Substitute libc_cv_rtlddir.
29066 * configure: Regenerate.
29067 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29068 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29069 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29070 * elf/Makefile (install-others, CFLAGS-interp.c)
29071 (ldso_install, common-ldd-rewrite): Likewise.
29072 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29073 $(inst_slibdir)/$(rtld-installed-name).
29074 * scripts/rellns-sh: Add -p option.
29075 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29078 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29080 * manual/nptl.texi: Renamed to ...
29081 * manual/threads.texi: ... this.
29082 * manual/Makefile (chapters): Update.
29084 2013-03-18 Roland McGrath <roland@hack.frob.com>
29087 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29088 on argument names, not just descriptions.
29089 * malloc/memusagestat.c (options): Likewise.
29090 * nss/getent.c (options): Likewise.
29092 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29095 * iconv/iconv_prog.c (options): Put N_ translation marker
29096 on argument names, not just descriptions.
29097 * iconv/iconvconfig.c (options): Likewise.
29099 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29101 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29102 implementation which is faster on all x86_64 architectures.
29103 Tested on AMD, Intel Nehalem, SNB, IVB.
29104 * sysdeps/x86_64/strnlen.S: Likewise.
29106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29107 Remove all multiarch strlen and strnlen versions.
29108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29109 Remove strlen and strnlen related parts.
29111 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29112 Inline strlen part.
29113 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29115 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29116 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29117 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29118 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29119 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29120 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29122 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29124 * manual/memory.texi (Malloc Tunable Parameters):
29125 Sort parameters alphabetically. Add comments for missing entries.
29127 2013-03-17 David S. Miller <davem@davemloft.net>
29129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29131 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29134 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29135 for arguments at most half maximum finite value.
29136 * math/libm-test.inc (j0_test): Add more tests.
29137 (j1_test): Likewise.
29138 (y0_test): Likewise.
29139 (y1_test): Likewise.
29140 * sysdeps/i386/fpu/libm-test-ulps: Update.
29141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29144 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29145 1 / x and functions P and Q for arguments above 0x1p256L.
29146 (__ieee754_y0l): Likewise.
29147 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29148 (__ieee754_y1l): Likewise.
29149 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29150 (j1_test): Likewise.
29151 (y0_test): Likewise.
29152 (y1_test): Likewise.
29154 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29156 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29159 2013-03-15 Roland McGrath <roland@hack.frob.com>
29161 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29162 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29163 zero since it's initialized to EXEC_PAGESIZE.
29165 * sysdeps/unix/sysv/linux/ldsodefs.h
29166 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29167 * sysdeps/generic/ldsodefs.h: ... here.
29169 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29171 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29173 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29175 * math/test-snan.c: Renamed from
29176 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29177 * math/Makefile (tests): Add test-snan.
29178 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29181 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29182 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29184 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29185 __builtin_nan family of functions.
29186 * math/libm-test.inc (initialize): Initialize qnan_value with
29187 __builtin_nan family of functions.
29188 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29190 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29192 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29193 storage class. Initialize qNaN_var and sNaN_var with
29194 __builtin_nan and __builtin_nans families of functions,
29197 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29198 (sqrt_test): Remove duplicate test with qNaN input.
29199 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29200 (round_test, signbit_test, significand_test): Note missing +/-Inf
29201 as well as qNaN tests.
29203 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29204 qNaN_var. Fix a few strings, too.
29205 * math/libm-test.inc (nan_value): Rename to qnan_value.
29206 * math/gen-libm-test.pl (%beautify): Adjust to that.
29207 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29208 * math/test-misc.c (main): Likewise.
29209 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29210 to __qnan_bytes, and __qnan_union, respectively.
29211 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29213 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29214 and lqnanval, respectively.
29215 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29216 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29217 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29218 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29220 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29221 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29224 * math/test-misc.c (main): Fix copy'n'pastos.
29225 * misc/tst-efgcvt.c (special): Likewise.
29227 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29228 Remove declarations.
29230 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29232 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29233 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29234 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29235 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29237 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29239 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29240 macro to return vdso values correctly in IFUNC implementations.
29241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29242 Optimization by using IFUNC.
29244 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29245 Richard Henderson <rth@redhat.com>
29246 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29248 * Makefile.in (bench): New target.
29249 * NEWS: Mention the benchmark framework.
29250 * Rules (bench): Likewise.
29251 (binaries-bench): Generate binaries for functions to
29253 * benchtests/Makefile: New makefile for benchmark tests.
29254 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29256 * benchtests/exp-inputs: New input file for EXP function.
29257 * benchtests/pow-inputs: New input file for POW function.
29258 * scripts/bench.pl: New script to generate source files for
29259 benchmark programs.
29261 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29263 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29264 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29265 computations on mantissa. Use macros for rounding and
29267 (denorm): Likewise.
29268 (__dbl_mp): Likewise.
29269 (add_magnitudes): Likewise.
29270 (sub_magnitudes): Likewise.
29273 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29274 powers of two in terms of TWOPOW macro.
29275 (mp_no): Make type of mantissa as MANTISSA_T.
29276 [!RADIXI]: Define RADIXI.
29277 [!TWO52]: Define TWO52.
29278 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29280 * manual/nptl.texi (cindex): Modify threads to pthreads.
29282 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29284 * sysdeps/x86_64/preconfigure: Regenerated.
29286 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29289 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29291 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29292 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29294 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29295 * math/libm-test.inc (j0_test): Do not allow one spurious
29296 underflow exception.
29297 (y1_test): Likewise.
29299 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29301 * manual/Makefile (chapters): Add nptl.
29302 * manual/debug.texi (Debugging Support): Add link to Threads
29304 * manual/nptl.texi: New file.
29306 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29308 2013-03-14 Petr Baudis <pasky@ucw.cz>
29310 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29311 for non-NULL pointer before the memory validity test. Pointed
29312 out by Holger Brunck <holger.brunck@keymile.com>.
29314 2013-03-13 Andreas Schwab <schwab@suse.de>
29316 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29319 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29321 * timezone/zic.c: Update from tzcode 2013b.
29323 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29325 * manual/install.texi (Configuring and compiling):
29326 Mention i686 and i586.
29327 * INSTALL: Regenerate.
29329 2013-03-12 Roland McGrath <roland@hack.frob.com>
29331 * sysdeps/init_array/elf-init.c: New file.
29333 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29334 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29336 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29337 __gmon_start__ as global, but as static with a .preinit_array pointer.
29338 * sysdeps/init_array/gmon-start.c: New file. Use that.
29339 * sysdeps/init_array/crti.S: New file, empty except for comments.
29340 * sysdeps/init_array/crtn.S: Likewise.
29342 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29344 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29347 Remove Prefer_SSE_for_memop.
29348 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29349 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29350 HAS_PREFER_SSE_FOR_MEMOP.
29351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29354 Remove bzero, memset ifunc support.
29355 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29356 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29357 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29358 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29360 2013-03-11 Andreas Schwab <schwab@suse.de>
29363 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29366 (GLIBC_2.16): Remove pthread_atfork.
29368 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29370 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29371 (ptestcases.h): Likewise.
29373 2013-03-08 Roland McGrath <roland@hack.frob.com>
29375 * Makeconfig ($(common-objpfx)config.status): Depend on
29376 sysdeps/*/preconfigure{,.in} too.
29378 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29380 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29381 (__free_hook): Use void * instead of __malloc_ptr_t.
29382 (__malloc_hook): Likewise.
29383 (__realloc_hook): Likewise.
29384 (__memalign_hook): Likewise.
29385 (__after_morecore_hook): Likewise.
29386 * malloc/arena.c (save_malloc_hook): Likewise.
29387 (save_free_hook): Likewise.
29388 * malloc/hooks.c (malloc_hook_ini): Likewise.
29389 (realloc_hook_ini): Likewise.
29390 (memalign_hook_ini): Likewise.
29391 * malloc/malloc.c (malloc_hook_ini): Likewise.
29392 (realloc_hook_ini): Likewise.
29393 (memalign_hook_ini): Likewise.
29394 (__free_hook): Likewise.
29395 (__malloc_hook): Likewise.
29396 (__realloc_hook): Likewise.
29397 (__memalign_hook): Likewise.
29398 (__libc_malloc): Likewise.
29399 (__libc_free): Likewise.
29400 (__libc_realloc): Likewise.
29401 (__libc_memalign): Likewise.
29402 (__libc_valloc): Likewise.
29403 (__libc_pvalloc): Likewise.
29404 (__libc_calloc): Likewise.
29405 (__posix_memalign): Likewise.
29406 * malloc/morecore.c (__sbrk): Likewise.
29407 (__default_morecore): Likewise.
29409 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29411 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29412 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29413 __malloc_ptrdiff_t.
29415 * malloc/malloc.h (__malloc_size_t): Remove macro.
29416 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29418 (old_memalign_hook): Likewise.
29419 (old_realloc_hook): Likewise.
29420 (struct hdr): Likewise.
29422 (mallochook): Likewise.
29423 (memalignhook): Likewise.
29424 (reallochook): Likewise.
29425 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29426 (tr_old_realloc_hook): Likewise.
29427 (tr_old_memalign_hook): Likewise.
29428 (tr_mallochook): Likewise.
29429 (tr_reallochook): Likewise.
29430 (tr_memalignhook): Likewise.
29432 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29435 default_ldbl_pack and using as default implementation.
29436 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29438 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29439 redundant definition.
29440 (ldbl_insert_mantissa): Likewise.
29441 (ldbl_canonicalize): Likewise.
29442 (ldbl_nearbyint): Likewise.
29443 (ldbl_pack): Rename to ldbl_pack_ppc.
29444 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29445 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29446 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29448 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29451 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29452 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29453 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29455 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29456 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29457 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29459 2013-03-07 Andreas Jaeger <aj@suse.de>
29461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29464 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29466 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29467 Include mpa.h and declare __MPEXP.
29468 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29469 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29470 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29471 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29472 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29473 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29474 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29476 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29477 (__slowpow): Use long double EXPL and LOGL functions to
29479 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29480 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29481 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29483 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29484 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29487 intermediate variable to calculate exponent.
29489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29493 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29494 [!NO__SQR]: Define __sqr.
29495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29496 and NO__SQR. Remove all code except __mul and __sqr. Include
29497 sysdeps/ieee754/dbl-64/mpa.c.
29498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29501 * posix/Makefile (tests): Add tst-pathconf.
29502 * posix/tst-pathconf.c: New test case.
29503 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29505 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29507 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29509 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29511 2013-03-06 Andreas Jaeger <aj@suse.de>
29513 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29514 definition via __MAP_ANONYMOUS.
29516 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29517 it's not part of Linux headers.
29519 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29520 (MAP_HUGE_MASK): Define.
29522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29524 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29527 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29528 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29530 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29533 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29535 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29536 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29537 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29538 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29539 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29540 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29542 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29545 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29546 Handle f2fs and efivarfs.
29548 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29551 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29552 (EFIVARFS_MAGIC): Add.
29553 (F2FS_LINK_MAX): Add.
29555 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29557 * stdio-common/vfprintf.c: Replace __builtin_expect with
29560 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29563 * sysdeps/generic/bp-sym.h: Remove file.
29564 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29565 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29566 <bp-sym.h> and <bp-asm.h>.
29567 (__longjmp): Don't use BP_SYM.
29568 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29570 (memcpy): Don't use BP_SYM.
29571 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29572 <bp-sym.h> and <bp-asm.h>.
29573 (memcpy): Don't use BP_SYM.
29574 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29576 (memcpy): Don't use BP_SYM.
29577 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29579 (memset): Don't use BP_SYM.
29580 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29581 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29582 (__bzero): Don't use BP_SYM.
29583 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29584 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29585 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29586 <bp-sym.h> and <bp-asm.h>.
29587 (memcmp): Don't use BP_SYM. Remove comment about bounded
29589 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29590 <bp-sym.h> and <bp-asm.h>.
29591 (memcpy): Don't use BP_SYM.
29592 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29593 <bp-sym.h> and <bp-asm.h>.
29594 (memset): Don't use BP_SYM.
29595 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29596 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29597 (__bzero): Don't use BP_SYM.
29598 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29599 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29600 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29601 <bp-sym.h> and <bp-asm.h>.
29602 (strncmp): Don't use BP_SYM. Remove comment about bounded
29604 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29605 <bp-sym.h> and <bp-asm.h>.
29606 (memcpy): Don't use BP_SYM.
29607 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29608 <bp-sym.h> and <bp-asm.h>.
29609 (memset): Don't use BP_SYM.
29610 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29611 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29612 (__bzero): Don't use BP_SYM.
29613 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29614 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29615 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29616 <bp-sym.h> and <bp-asm.h>.
29617 (__memchr): Don't use BP_SYM.
29618 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29619 <bp-sym.h> and <bp-asm.h>.
29620 (memcmp): Don't use BP_SYM. Remove comment about bounded
29622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29623 <bp-sym.h> and <bp-asm.h>.
29624 (memcpy): Don't use BP_SYM.
29625 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29626 <bp-sym.h> and <bp-asm.h>.
29627 (__mempcpy): Don't use BP_SYM.
29628 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29629 <bp-sym.h> and <bp-asm.h>.
29630 (__memrchr): Don't use BP_SYM.
29631 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29632 <bp-sym.h> and <bp-asm.h>.
29633 (memset): Don't use BP_SYM.
29634 (__bzero): Likewise.
29635 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29636 <bp-sym.h> and <bp-asm.h>.
29637 (__rawmemchr): Don't use BP_SYM.
29638 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29639 <bp-sym.h> and <bp-asm.h>.
29640 (__STRCMP): Don't use BP_SYM.
29641 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29642 <bp-sym.h> and <bp-asm.h>.
29643 (strchr): Don't use BP_SYM.
29644 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29645 <bp-sym.h> and <bp-asm.h>.
29646 (__strchrnul): Don't use BP_SYM.
29647 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29648 <bp-sym.h> and <bp-asm.h>.
29649 (strlen): Don't use BP_SYM.
29650 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29651 <bp-sym.h> and <bp-asm.h>.
29652 (strncmp): Don't use BP_SYM. Remove comment about bounded
29654 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29655 <bp-sym.h> and <bp-asm.h>.
29656 (__strnlen): Don't use BP_SYM.
29657 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29658 <bp-sym.h> and <bp-asm.h>.
29659 (__GI__setjmp): Don't use BP_SYM.
29660 (_setjmp): Likewise.
29661 (__sigsetjmp): Likewise.
29662 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29663 (L(start_addresses)): Don't use BP_SYM.
29664 (_start): Likewise.
29665 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29667 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29668 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29669 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29670 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29671 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29673 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29674 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29675 about bounded pointers.
29676 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29677 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29678 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29680 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29681 about bounded pointers. Remove GKM FIXME comments.
29682 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29683 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29685 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29686 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29687 Remove GKM FIXME comments.
29688 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29689 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29690 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29692 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29693 about bounded pointers. Remove GKM FIXME comment.
29694 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29696 (strncmp): Don't use BP_SYM. Remove comment about bounded
29698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29699 <bp-sym.h> and <bp-asm.h>.
29700 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29702 <bp-sym.h> and <bp-asm.h>.
29703 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29706 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29708 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29711 2013-03-05 David S. Miller <davem@davemloft.net>
29713 * po/es.po: Update from translation team.
29715 2013-03-05 Andreas Jaeger <aj@suse.de>
29717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29718 <bits/mman-linux.h>.
29719 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29721 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29722 <bits/mman-linux.h> to end of file.
29723 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29725 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29726 <bits/mman-linux.h> to end of file.
29727 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29729 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29730 <bits/mman-linux.h> to end of file.
29732 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29733 (MCL_CURRENT, MCL_FUTURE): Define here.
29735 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29738 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29740 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29742 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29744 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29745 fourth parameter needed for rt_sigprocmask syscall.
29746 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29747 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29748 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29749 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29750 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29751 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29753 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29756 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29757 comment about bounded pointers.
29758 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29759 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29761 2013-03-04 Andreas Jaeger <aj@suse.de>
29763 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29764 common definitions.
29766 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29767 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29768 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29770 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29773 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29776 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29777 __ieee754_sqrl instead of __sqrl.
29779 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29781 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29782 * sysdeps/powerpc/fpu_control.h: ... here.
29783 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29784 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29785 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29786 * sysdeps/powerpc/bits/mathinline.h: ... here.
29788 2013-03-01 Roland McGrath <roland@hack.frob.com>
29790 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29791 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29792 to just [NEED_DL_SYSINFO_DSO].
29793 * elf/dl-support.c: Likewise.
29794 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29795 * elf/rtld.c (dl_main): Likewise.
29796 * elf/setup-vdso.h (setup_vdso): Likewise.
29797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29798 * sysdeps/unix/sysv/linux/dl-sysdep.c
29799 (_dl_discover_osversion): Likewise.
29801 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29803 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29804 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29806 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29808 * NEWS: Mention libm performance improvements and non-x86 PI
29811 * csu/libc-start.c (__pthread_initialize_minimal): Change
29812 function arguments.
29813 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29815 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29818 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29819 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29820 <bp-sym.h> and <bp-asm.h>.
29821 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29822 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29824 (memcpy): Don't use BP_SYM.
29825 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29827 (__mpn_add_n): Don't use BP_SYM.
29828 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29829 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29831 (__mpn_addmul_1): Don't use BP_SYM.
29832 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29833 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29835 (_setjmp): Don't use BP_SYM.
29836 (__novmx_setjmp): Likewise.
29837 (__GI__setjmp): Likewise.
29838 (__vmx_setjmp): Likewise.
29839 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29841 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29842 (__bzero): Don't use BP_SYM.
29843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29845 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29846 <bp-sym.h> and <bp-asm.h>.
29847 (memcpy): Don't use BP_SYM.
29848 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29849 <bp-sym.h> and <bp-asm.h>.
29850 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29851 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29852 <bp-sym.h> and <bp-asm.h>.
29853 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29854 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29856 (__mpn_lshift): Don't use BP_SYM.
29857 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29858 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29860 (memset): Don't use BP_SYM.
29861 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29862 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29863 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29865 (__mpn_mul_1): Don't use BP_SYM.
29866 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29867 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29868 <bp-sym.h> and <bp-asm.h>.
29869 (memcmp): Don't use BP_SYM.
29870 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29871 <bp-sym.h> and <bp-asm.h>.
29872 (memcpy): Don't use BP_SYM.
29873 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29874 <bp-sym.h> and <bp-asm.h>.
29875 (memset): Don't use BP_SYM.
29876 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29877 <bp-sym.h> and <bp-asm.h>.
29878 (strncmp): Don't use BP_SYM.
29879 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29880 <bp-sym.h> and <bp-asm.h>.
29881 (memcpy): Don't use BP_SYM.
29882 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29883 <bp-sym.h> and <bp-asm.h>.
29884 (memset): Don't use BP_SYM.
29885 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29886 <bp-sym.h> and <bp-asm.h>.
29887 (__memchr): Don't use BP_SYM.
29888 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29889 <bp-sym.h> and <bp-asm.h>.
29890 (memcmp): Don't use BP_SYM.
29891 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29892 <bp-sym.h> and <bp-asm.h>.
29893 (memcpy): Don't use BP_SYM.
29894 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29895 <bp-sym.h> and <bp-asm.h>.
29896 (__mempcpy): Don't use BP_SYM.
29897 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29898 <bp-sym.h> and <bp-asm.h>.
29899 (__memrchr): Don't use BP_SYM.
29900 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29901 <bp-sym.h> and <bp-asm.h>.
29902 (memset): Don't use BP_SYM.
29903 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29904 <bp-sym.h> and <bp-asm.h>.
29905 (__rawmemchr): Don't use BP_SYM.
29906 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29907 <bp-sym.h> and <bp-asm.h>.
29908 (__STRCMP): Don't use BP_SYM.
29909 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29910 <bp-sym.h> and <bp-asm.h>.
29911 (strchr): Don't use BP_SYM.
29912 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29913 <bp-sym.h> and <bp-asm.h>.
29914 (__strchrnul): Don't use BP_SYM.
29915 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29916 <bp-sym.h> and <bp-asm.h>.
29917 (strlen): Don't use BP_SYM.
29918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29919 <bp-sym.h> and <bp-asm.h>.
29920 (strncmp): Don't use BP_SYM.
29921 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29922 <bp-sym.h> and <bp-asm.h>.
29923 (__strnlen): Don't use BP_SYM.
29924 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29926 (__mpn_rshift): Don't use BP_SYM.
29927 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29928 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29929 <bp-sym.h> and <bp-asm.h>.
29930 (__sigsetjmp): Don't use BP_SYM.
29931 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29932 (L(start_addresses)): Don't use BP_SYM.
29933 (_start): Likewise.
29934 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29936 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29937 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29938 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29939 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29941 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29942 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29943 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29944 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29946 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29948 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29949 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29951 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29953 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29954 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29955 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29957 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29959 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29961 (strncmp): Don't use BP_SYM,
29962 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29964 (__mpn_sub_n): Don't use BP_SYM.
29965 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29966 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29968 (__mpn_submul_1): Don't use BP_SYM.
29969 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29971 <bp-sym.h> and <bp-asm.h>.
29972 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29974 <bp-sym.h> and <bp-asm.h>.
29975 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29978 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29981 Use ZK to minimize writes to Z.
29982 (sub_magnitudes): Simplify code a bit.
29983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29984 Use ZK to minimize writes to Z.
29985 (sub_magnitudes): Simplify code a bit.
29987 2013-02-27 Roland McGrath <roland@hack.frob.com>
29989 * csu/gmon-start.c: Add special exception to license text.
29991 2013-02-27 Richard Henderson <rth@redhat.com>
29993 * scripts/config.guess: Update from config.git.
29994 * scripts/config.sub: Likewise.
29996 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30000 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30002 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30004 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30006 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30008 2013-02-26 Roland McGrath <roland@hack.frob.com>
30010 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30011 [$(build-shared = yes].
30013 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30015 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30016 (__mul): Reduce iterations for calculating mantissa.
30018 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30020 (__mpranred): Likewise.
30023 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30024 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30026 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30028 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30029 Define __attribute__.
30031 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30033 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30035 * posix/regex_internal.h (__attribute): Remove.
30036 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30037 (re_string_context_at): Likewise.
30038 (bitset_not): Use __attribute__ and mark function as possibly
30040 (bitset_merge): Likewise.
30041 (bitset_mask): Likewise.
30042 (re_string_char_size_at): Likewise.
30043 (re_string_wchar_at): Likewise.
30044 (re_string_elem_size_at): Likewise.
30046 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30048 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30052 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30056 (denorm): Likewise.
30057 (__dbl_mp): Likewise.
30058 (add_magnitudes): Likewise.
30059 (sub_magnitudes): Likewise.
30063 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30066 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30069 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30073 up changes with default code.
30074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30077 2013-02-24 Allan McRae <allan@archlinux.org>
30079 * manual/socket.texi (The Internet Namespace): Order menu items
30080 to match that in the file.
30082 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30083 node listing of the info page menu.
30085 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30088 * sysdeps/i386/bp-asm.h: Remove file.
30089 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30090 (PARMS): Do not use macros from bp-asm.h.
30094 (__mpn_add_n): Do not use BP_SYM
30095 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30097 (PARMS): Do not use macros from bp-asm.h.
30100 (__mpn_addmul_1): Do not use BP_SYM
30101 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30103 (PARMS): Do not use macros from bp-asm.h.
30104 (SIGMSK): Likewise.
30105 (_setjmp): Likewise. Do not use BP_SYM.
30106 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30108 (PARMS): Do not use macros from bp-asm.h.
30109 (SIGMSK): Likewise.
30110 (setjmp): Likewise. Do not use BP_SYM.
30111 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30113 (PARMS): Do not use macros from bp-asm.h.
30114 (__frexp): Do not use BP_SYM.
30116 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30118 (PARMS): Do not use macros from bp-asm.h.
30119 (__frexpf): Do not use BP_SYM.
30120 (frexpf): Likewise.
30121 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30123 (PARMS): Do not use macros from bp-asm.h.
30124 (__frexpl): Do not use BP_SYM.
30125 (frexpl): Likewise.
30126 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30128 (PARMS): Do not use macros from bp-asm.h.
30129 (__remquo): Do not use BP_SYM.
30130 (remquo): Likewise.
30131 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30133 (PARMS): Do not use macros from bp-asm.h.
30134 (__remquof): Do not use BP_SYM.
30135 (remquof): Likewise.
30136 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30138 (PARMS): Do not use macros from bp-asm.h.
30139 (__remquol): Do not use BP_SYM.
30140 (remquol): Likewise.
30141 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30143 (PARMS): Do not use macros from bp-asm.h.
30146 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30147 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30149 (PARMS): Do not use macros from bp-asm.h.
30150 (strlen): Do not use BP_SYM.
30151 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30153 (PARMS): Do not use macros from bp-asm.h.
30157 (__mpn_add_n): Do not use BP_SYM.
30158 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30160 (PARMS): Do not use macros from bp-asm.h.
30163 (__mpn_addmul_1): Do not use BP_SYM.
30164 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30167 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30169 (PARMS): Do not use macros from bp-asm.h.
30172 (__mpn_lshift): Do not use BP_SYM.
30173 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30175 (PARMS): Do not use macros from bp-asm.h.
30179 (memcpy): Likewise. Do not use BP_SYM.
30180 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30181 libc_hidden_def and weak_alias.
30182 (mempcpy): Do not use BP_SYM in weak_alias.
30183 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30185 (PARMS): Do not use macros from bp-asm.h.
30188 [!BZERO_P] (CHR): Likewise.
30189 (memset): Likewise. Do not use BP_SYM.
30190 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30192 (PARMS): Do not use macros from bp-asm.h.
30195 (__mpn_mul_1): Do not use BP_SYM.
30196 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30198 (PARMS): Do not use macros from bp-asm.h.
30201 (__mpn_rshift): Do not use BP_SYM.
30202 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30204 (PARMS): Do not use macros from bp-asm.h.
30207 (strchr): Likewise. Do not use BP_SYM.
30208 (index): Do not use BP_SYM in weak_alias.
30209 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30211 (PARMS): Do not use macros from bp-asm.h.
30214 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30215 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30217 (PARMS): Do not use macros from bp-asm.h.
30218 (strlen): Do not use BP_SYM.
30219 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30221 (PARMS): Do not use macros from bp-asm.h.
30225 (__mpn_sub_n): Do not use BP_SYM.
30226 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30228 (PARMS): Do not use macros from bp-asm.h.
30231 (__mpn_submul_1): Do not use BP_SYM.
30232 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30234 (PARMS): Do not use macros from bp-asm.h.
30238 (__mpn_add_n): Do not use BP_SYM.
30239 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30242 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30244 (PARMS): Do not use macros from bp-asm.h.
30247 (memcmp): Do not use BP_SYM.
30248 (bcmp): Do not use BP_SYM in weak_alias.
30249 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30251 (PARMS): Do not use macros from bp-asm.h.
30255 (memcpy): Likewise. Do not use BP_SYM.
30256 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30258 (PARMS): Do not use macros from bp-asm.h.
30262 (memmove): Likewise. Do not use BP_SYM.
30263 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30265 (PARMS): Do not use macros from bp-asm.h.
30269 (__mempcpy): Likewise. Do not use BP_SYM.
30270 (mempcpy): Do not use BP_SYM in weak_alias.
30271 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30273 (PARMS): Do not use macros from bp-asm.h.
30276 [!BZERO_P] (CHR): Likewise.
30277 (memset): Likewise. Do not use BP_SYM.
30278 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30280 (PARMS): Do not use macros from bp-asm.h.
30282 (strcmp): Do not use BP_SYM.
30283 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30285 (PARMS): Do not use macros from bp-asm.h.
30288 [USE_AS_STRTOK_R] (SAVE): Likewise.
30289 (FUNCTION): Likewise. Do not use BP_SYM.
30290 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30292 (strtok_r): Likewise.
30293 (__GI___strtok_r): Likewise.
30294 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30295 (PARMS): Do not use macros from bp-asm.h.
30298 (__mpn_lshift): Do not use BP_SYM.
30299 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30300 (PARMS): Do not use macros from bp-asm.h.
30303 (__memchr): Do not use BP_SYM.
30304 (memchr): Do not use BP_SYM in weak_alias.
30305 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30306 (PARMS): Do not use macros from bp-asm.h.
30309 (memcmp): Do not use BP_SYM.
30310 (bcmp): Do not use BP_SYM in weak_alias.
30311 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30312 (PARMS): Do not use macros from bp-asm.h.
30315 (__mpn_mul_1): Do not use BP_SYM.
30316 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30318 (PARMS): Do not use macros from bp-asm.h.
30321 (__rawmemchr): Do not use BP_SYM.
30322 (rawmemchr): Do not use BP_SYM in weak_alias.
30323 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30324 (PARMS): Do not use macros from bp-asm.h.
30327 (__mpn_rshift): Do not use BP_SYM.
30328 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30329 (PARMS): Do not use macros from bp-asm.h.
30330 (SIGMSK): Likewise.
30331 (__sigsetjmp): Likewise. Do not use BP_SYM.
30332 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30333 (_start): Do not use BP_SYM.
30334 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30335 (PARMS): Do not use macros from bp-asm.h.
30338 (__stpcpy): Likewise. Do not use BP_SYM.
30339 (stpcpy): Do not use BP_SYM in weak_alias.
30340 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30342 (PARMS): Do not use macros from bp-asm.h.
30346 (__stpncpy): Likewise. Do not use BP_SYM.
30347 (stpncpy): Do not use BP_SYM in weak_alias.
30348 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30349 (PARMS): Do not use macros from bp-asm.h.
30352 (strchr): Likewise. Do not use BP_SYM.
30353 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30355 (PARMS): Do not use macros from bp-asm.h.
30358 (__strchrnul): Likewise. Do not use BP_SYM.
30359 (strchrnul): Do not use BP_SYM in weak_alias.
30360 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30362 (PARMS): Do not use macros from bp-asm.h.
30364 (strcspn): Do not use BP_SYM.
30365 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30367 (PARMS): Do not use macros from bp-asm.h.
30370 (strpbrk): Likewise. Do not use BP_SYM.
30371 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30373 (PARMS): Do not use macros from bp-asm.h.
30376 (strrchr): Likewise. Do not use BP_SYM.
30377 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30378 (PARMS): Do not use macros from bp-asm.h.
30380 (strspn): Do not use BP_SYM.
30381 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30382 (PARMS): Do not use macros from bp-asm.h.
30386 (FUNCTION): Likewise. Do not use BP_SYM.
30387 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30389 (strtok_r): Likewise.
30390 (__GI___strtok_r): Likewise.
30391 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30392 (PARMS): Do not use macros from bp-asm.h.
30396 (__mpn_sub_n): Do not use BP_SYM.
30397 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30399 (PARMS): Do not use macros from bp-asm.h.
30402 (__mpn_submul_1): Do not use BP_SYM.
30403 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30405 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30407 (PARMS): Do not use macros from bp-asm.h.
30412 (__clone): Do not use BP_SYM.
30413 (clone): Do not use BP_SYM in weak_alias.
30414 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30416 (PARMS): Do not use macros from bp-asm.h.
30418 (__mmap64): Do not use BP_SYM.
30419 (mmap64): Do not use BP_SYM in weak_alias.
30420 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30421 <bp-sym.h> and <bp-asm.h>.
30422 (PARMS): Do not use macros from bp-asm.h.
30423 (__posix_fadvise64_l64): Do not use BP_SYM.
30424 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30425 (PARMS): Do not use macros from bp-asm.h.
30427 (semtimedop): Do not use BP_SYM.
30428 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30431 2013-02-21 Allan McRae <allan@archlinux.org>
30433 * manual/message.texi (Charset conversion in gettext):
30434 Move @end statement to beginning of line.
30436 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30443 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30444 (denorm): Likewise.
30445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30448 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30450 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30451 tail-call to the resolved function if pltexit isn't needed.
30453 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30456 or Y being zero as being unlikely.
30457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30460 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30462 * manual/nss.texi (System Databases and Name Service Switch):
30463 Remove frobnicate @pxref.
30465 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30467 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30468 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30470 2013-02-20 Petr Machata <pmachata@redhat.com>
30472 * elf/elf.h (R_ARM_TARGET1): New macro.
30473 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30474 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30475 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30476 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30477 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30478 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30479 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30480 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30481 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30482 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30483 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30484 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30485 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30486 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30487 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30488 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30489 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30490 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30491 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30492 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30493 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30494 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30495 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30496 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30497 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30498 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30499 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30500 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30501 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30502 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30503 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30504 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30505 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30506 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30507 (R_ARM_THM_GOT_BREL12): Likewise.
30508 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30509 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30510 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30511 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30512 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30513 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30514 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30515 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30516 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30518 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30520 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30521 __attribute_used__ to __attribute__ ((unused)).
30523 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30525 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30528 comment formatting.
30529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30531 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30534 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30536 (ENTER): Remove both macro definitions.
30538 (CHECK_BOUNDS_LOW): Likewise.
30539 (CHECK_BOUNDS_HIGH): Likewise.
30540 (CHECK_BOUNDS_BOTH): Likewise.
30541 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30542 (RETURN_BOUNDED_POINTER): Likewise.
30543 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30544 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30545 (POP_ERRNO_LOCATION_RETURN): Likewise.
30546 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30547 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30548 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30550 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30551 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30552 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30553 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30554 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30555 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30556 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30557 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30558 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30559 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30560 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30561 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30562 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30563 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30565 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30566 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30568 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30569 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30570 * sysdeps/i386/i586/memset.S (memset): Likewise.
30571 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30572 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30573 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30575 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30576 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30577 Change uses of L(2) to L(out).
30578 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30579 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30580 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30581 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30582 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30584 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30585 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30587 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30588 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30589 (RETURN): Do not use macro LEAVE.
30590 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30591 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30592 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30593 * sysdeps/i386/i686/memset.S (memset): Likewise.
30594 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30595 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30596 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30597 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30599 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30600 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30601 L(1_2) and L(1_3) into L(1).
30602 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30603 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30604 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30605 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30606 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30607 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30608 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30609 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30610 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30612 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30613 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30614 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30615 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30616 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30617 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30618 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30619 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30620 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30621 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30622 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30623 * sysdeps/i386/strspn.S (strspn): Likewise.
30624 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30626 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30627 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30628 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30629 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30630 L(1_3) into L(1_1).
30631 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30632 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30633 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30635 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30637 2013-02-19 Jakub Jelinek <jakub@redhat.com>
30639 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30642 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30644 * math/atest-exp.c (exp_mpn): Remove ROUND.
30645 * math/atest-exp2.c (exp_mpn): Likewise.
30646 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30648 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30649 * stdlib/tst-tls-atexit-lib.c: Likewise.
30650 * stdlib/tst-tls-atexit.c: Likewise.
30652 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30654 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30655 and __attribute_alloc_size__.
30657 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30659 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30660 __attribute_alloc_size__.
30661 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30662 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30664 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30666 * include/programs/xmalloc.h: New file.
30667 * catgets/gencat.c: Include it.
30668 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30669 * elf/pldd.c: Likewise.
30670 * iconv/iconv_charmap.c: Likewise.
30671 * iconv/iconvconfig.c: Likewise.
30672 * iconv/strtab.c: Likewise.
30673 * locale/programs/locale.c: Likewise.
30674 * locale/programs/localedef.h: Likewise.
30675 * locale/programs/simple-hash.c: Likewise.
30676 * nscd/nscd.h: Likewise.
30677 * nss/makedb.c: Likewise.
30678 * sysdeps/generic/ldconfig.h: Likewise.
30680 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30682 * Versions.def: Add GLIBC_2.18.
30683 * include/link.h (struct link_map): New member l_tls_dtor_count.
30684 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30685 (__call_tls_dtors): Likewise.
30686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30687 __cxa_thread_atexit_impl.
30688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30696 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30704 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30705 (tests): Add test case tst-tls-atexit.
30706 (modules-names): Add shared library for tst-tls-atexit.
30707 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30708 (GLIBC_PRIVATE): Add __call_tls_dtors.
30709 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30711 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30712 * stdlib/tst-tls-atexit.c: New test case.
30713 * stdlib/tst-tls-atexit-lib.c: New test case.
30715 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30717 * elf/Versions (ld): Add _dl_find_dso_for_object.
30718 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30719 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30720 (dl_open_worker): Use _dl_find_dso_for_object.
30721 * elf/dl-sym.c (do_sym): Likewise.
30722 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30724 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30726 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30727 Syntactic changes only.
30728 (_dl_runtime_profile): Do a tail-call to the resolved function.
30730 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30733 * sysdeps/x86_64/bp-asm.h: Remove file.
30734 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30735 <bp-sym.h> and <bp-asm.h>.
30736 (__clone): Do not use BP_SYM.
30737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30738 <bp-sym.h> and <bp-asm.h>.
30739 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30740 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30742 (_setjmp): Do not use BP_SYM.
30743 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30745 (setjmp): Do not use BP_SYM.
30746 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30748 (mempcpy): Do not use BP_SYM in weak_alias.
30749 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30751 (strchr): Do not use BP_SYM.
30752 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30754 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30755 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30756 (_start): Do not use BP_SYM.
30757 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30759 (strcat): Do not use BP_SYM.
30760 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30762 (STRCMP): Do not use BP_SYM.
30763 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30765 (STRCPY): Do not use BP_SYM.
30766 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30768 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30770 (FUNCTION): Do not use BP_SYM.
30771 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30773 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30775 2013-02-17 Andreas Jaeger <aj@suse.de>
30777 * time/Versions: Sort entries.
30778 * string/Versions: Likewise.
30779 * resolv/Versions: Likewise.
30780 * posix/Versions: Likewise.
30781 * iconv/Versions: Likewise.
30782 * elf/Versions: Likewise.
30783 * wcsmbs/Versions: Likewise.
30785 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30787 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30788 loop termination condition.
30790 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30791 variable to calculate EZ.
30794 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30795 the lower precision input.
30797 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30800 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30801 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30802 (run-via-rtld-prefix): Do not handle %-bp tests.
30803 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30804 (all-object-suffixes): Remove .ob.
30805 (bppfx): Remove variable.
30806 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30807 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30808 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30809 [$(build-bounded) = yes] (libtype.ob): Likewise.
30810 * Makerules (elide-routines.ob): Remove variable.
30811 (do-tests-clean): Do not handle *-bp.out.
30812 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30813 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30814 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30815 (tests): Do not include $(tests-bp.out).
30816 (xtests): Do not include $(xtests-bp.out).
30817 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30818 [$(build-bounded) = yes] ($(addprefix
30819 $(objpfx),$(binaries-bounded))): Remove rule.
30820 ($(objpfx)%-bp.out): Remove rule.
30821 * config.make.in (build-bounded): Remove variable.
30822 * crypt/Makefile [$(build-bounded) = yes]
30823 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30824 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30825 append to variable.
30826 [$(build-bounded) = yes] (install-lib): Likewise.
30827 [$(build-bounded) = yes] (generated): Likewise.
30828 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30830 * intl/Makefile [$(build-bounded) = yes]
30831 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30832 * math/Makefile [$(build-bounded) = yes]
30833 ($(tests:%=$(objpfx)%-bp): Likewise.
30834 * misc/Makefile [$(build-bounded) = yes]
30835 ($(objpfx)tst-tsearch-bp): Likewise.
30836 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30837 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30839 * string/Makefile (o-objects.ob): Remove variable.
30840 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30841 (CFLAGS-.ob): Remove variable.
30842 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30843 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30844 both definitions of variable.
30845 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30846 (ASFLAGS-.ob): Remove variable.
30848 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30851 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30852 Remove __BOUNDED_POINTERS__ from condition.
30853 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30854 * string/bits/string2.h [!__NO_STRING_INLINES &&
30855 !__BOUNDED_POINTERS__]: Likewise.
30856 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30858 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30859 Remove conditional code.
30860 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30861 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30862 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30866 * csu/libc-start.c: Do not include <bp-sym.h>.
30867 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30868 * elf/dl-open.c: Do not include <bp-sym.h>.
30869 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30870 * math/fegetenv.c: Do not include <bp-sym.h>.
30871 (fegetenv): Do not use BP_SYM in versioned symbols.
30872 * nptl/sysdeps/pthread/bits/libc-lockP.h
30873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30876 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30878 (__pthread_mutex_destroy): Likewise.
30879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30880 (__pthread_mutex_lock): Likewise.
30881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30882 (__pthread_mutex_trylock): Likewise.
30883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30884 (__pthread_mutex_unlock): Likewise.
30885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30886 (__pthread_mutexattr_init): Likewise.
30887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30888 (__pthread_mutexattr_destroy): Likewise.
30889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30890 (__pthread_mutexattr_settype): Likewise.
30891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30892 (__pthread_rwlock_init): Likewise.
30893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30894 (__pthread_rwlock_destroy): Likewise.
30895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30896 (__pthread_rwlock_rdlock): Likewise.
30897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30898 (__pthread_rwlock_tryrdlock): Likewise.
30899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30900 (__pthread_rwlock_wrlock): Likewise.
30901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30902 (__pthread_rwlock_trywrlock): Likewise.
30903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30904 (__pthread_rwlock_unlock): Likewise.
30905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30906 (__pthread_key_create): Likewise.
30907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30908 (__pthread_setspecific): Likewise.
30909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30910 (__pthread_getspecific): Likewise.
30911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30914 (_pthread_cleanup_push_defer): Likewise.
30915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30916 (_pthread_cleanup_pop_restore): Likewise.
30917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30918 (pthread_setcancelstate): Likewise.
30919 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30921 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30922 (memchr): Do not use BP_SYM in weak_alias.
30923 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30924 (fegetenv): Do not use BP_SYM in versioned symbols.
30925 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30926 (fesetenv): Do not use BP_SYM in versioned symbols.
30927 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30928 (feupdateenv): Do not use BP_SYM in versioned symbols.
30929 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30930 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30931 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30932 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30933 (open64): Do not use BP_SYM in weak_alias.
30934 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30935 (fegetenv): Do not use BP_SYM in versioned symbols.
30936 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30937 (fesetenv): Do not use BP_SYM in versioned symbols.
30938 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30939 (feupdateenv): Do not use BP_SYM in versioned symbols.
30940 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30941 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30942 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30943 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30944 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30945 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30946 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30948 (__libc_start_main): Do not use BP_SYM.
30950 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30953 redundant return line.
30955 (denorm): Likewise.
30956 (dbl_mp): Likewise.
30957 (sub_magnitudes): Likewise.
30963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30965 (denorm): Likewise.
30966 (dbl_mp): Likewise.
30967 (sub_magnitudes): Likewise.
30974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30976 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30977 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30980 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30981 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30983 of __mul for squares.
30984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30989 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30991 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30994 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30996 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30997 prototype or function definition. Rename ubp_* variables and
30998 parameters. Remove argv definitions conditional on
30999 [__BOUNDED_POINTERS__].
31000 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31001 * elf/dl-runtime.c (_dl_fixup): Likewise.
31002 * include/set-hooks.h (RUN_HOOK): Likewise.
31003 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31005 * string/strcpy.c (strcpy): Do not use __unbounded.
31006 * sysdeps/generic/frame.h (struct layout): Likewise.
31007 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31008 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31009 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31010 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31011 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31012 (__backtrace): Likewise.
31013 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31015 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31016 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31017 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31019 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31020 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31021 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31022 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31023 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31024 Do not use __unbounded.
31025 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31026 Rename __unboundedrlimits parameter to rlimits in prototype.
31027 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31028 Do not use __unbounded.
31029 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31030 not use __ptrvalue.
31031 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31032 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31033 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31034 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31035 __ptrvalue or __unbounded.
31036 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31037 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31039 (__new_msgctl): Do not use __ptrvalue.
31040 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31042 (__libc_msgrcv): Do not use __ptrvalue.
31043 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31044 startup_info): Do not use __unbounded.
31045 (__libc_start_main): Likewise. Rename ubp_* variables and
31046 parameters. Remove argv definitions conditional on
31047 [__BOUNDED_POINTERS__].
31048 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31050 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31052 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31054 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31056 (__new_shmctl): Do not use __ptrvalue.
31057 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31058 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31060 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31061 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31062 (__libc_sigaction): Likewise.
31063 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31064 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31066 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31068 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31070 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31072 * string/mempcpy.c: Implement by calling memcpy.
31074 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31078 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31081 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31082 values in the mantissa.
31084 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31085 minimize writes to Z.
31086 (sub_magnitudes): Simplify code a bit.
31088 2013-02-12 Roland McGrath <roland@hack.frob.com>
31090 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31091 from the message. The linker prefixes all warnings with that already.
31093 2013-02-12 Andreas Schwab <schwab@suse.de>
31096 * posix/regexec.c (extend_buffers): Add parameter min_len.
31097 (check_matching): Pass minimum needed length.
31098 (clean_state_log_if_needed): Likewise.
31099 (get_subexp): Likewise.
31100 * posix/Makefile (tests): Add bug-regex34.
31101 (bug-regex34-ENV): Define.
31102 * posix/bug-regex34.c: New file.
31105 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31106 elements compare against the byte sequence of it, not its name.
31107 * posix/Makefile (tests): Add bug-regex35.
31108 (bug-regex35-ENV): Define.
31109 * posix/bug-regex35.c: New file.
31111 2013-02-11 Tom de Vries <tom@codesourcery.com>
31113 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31115 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31116 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31117 (CHECK_EOL): Add undef.
31119 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31121 * bits/stdlib-bsearch.h: New file.
31122 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31123 * stdlib/stdlib.h: Likewise.
31125 2013-02-11 Roland McGrath <roland@hack.frob.com>
31127 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31128 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31130 * manual/search.texi (Array Search Function): Add missing const in
31132 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31133 declaration to use rlim_t.
31134 (Basic Scheduling Functions): Remove erroneous const from
31135 sched_getparam prototype. Remove erroneous * from
31136 sched_get_priority_max and sched_get_priority_min prototypes.
31137 (Resource Usage): Fix summary @comment on vtimes to refer to
31138 sys/vtimes.h rather than vtimes.h.
31139 Add missing *s in vtimes prototype.
31140 (Limits on Resources): Fix ulimit prototype to return long int.
31141 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31142 prototypes to use long int rather than double.
31143 (BSD Random): Fix initstate and setstate to use char *, not void *.
31144 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31145 prototype to make second argument 'struct aiocb64 *const[]'.
31146 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31147 (Status of AIO Operations): Remove erroneous const in aio_return and
31148 aio_return64 prototypes.
31149 (Synchronizing I/O): Fix sync prototype to return void.
31150 * manual/startup.texi (Suboptions): Remove an erroneous const in
31151 getsubopt prototype.
31152 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31153 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31154 use size_t rather than int.
31155 (Scanning All Users): Likewise for getpwent_r.
31156 (Setting Groups): Add missing const to setgroups prototype.
31157 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31158 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31159 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31160 'const void *' rather than 'const char *'.
31161 (Host Address Functions): Likewise for inet_ntop.
31162 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31163 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31164 ssize_t for return value.
31165 (Sending Data): Likewise for send, sendto, sendmsg.
31166 (Socket Option Functions): Add a missing const in setsockopt prototype.
31167 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31168 use wchar_t for the argument.
31169 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31170 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31172 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31173 double/float/long double for second argument.
31174 Fix return types of significand, significandf, significandl.
31175 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31176 argument in fchmod prototype.
31177 (File Owner): Use uid_t and gid_t in fchown prototype.
31178 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31179 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31180 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31181 use 'const struct dirent **' as argument types to CMP function pointer
31183 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31184 (File Times): Fix summary magic @comment for struct utimbuf and utime
31185 to refer to utime.h, not time.h.
31186 * manual/string.texi (Argz Functions): Add missing const in
31187 argz_extract and argz_next prototypes.
31188 (Finding Tokens in a String): Likewise for basename.
31189 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31190 (Copying and Concatenation): Fix typo in wmemmove prototype.
31191 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31192 (Signal Stack): Remove erroneous const in sigstack prototype.
31193 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31195 (Simple Calendar Time): Likewise for stime.
31196 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31198 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31199 say sys/sysctl.h instead.
31200 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31201 and vsyslog prototypes.
31203 2013-02-11 Tom de Vries <tom@codesourcery.com>
31205 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31208 2013-02-11 Roland McGrath <roland@hack.frob.com>
31210 * misc/sys/mman.h: Fix typo in mremap comment.
31212 2013-02-08 Roland McGrath <roland@hack.frob.com>
31214 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31215 the '\0' terminator.
31217 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31220 * debug/segfault.c: Don't include <bp-checks.h>.
31221 * sysdeps/generic/bp-checks.h: Remove file.
31222 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31223 (__GETDENTS): Don't use CHECK_N.
31224 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31225 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31226 (__getgroups): Don't use CHECK_N.
31227 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31228 (setgroups): Don't use CHECK_N.
31229 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31230 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31231 (__libc_msgrcv): Don't use CHECK_N.
31232 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31233 (__libc_msgsnd): Don't use CHECK_N.
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31236 (__libc_pread): Don't use CHECK_N.
31237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31238 include <bp-checks.h>.
31239 (__libc_pread64): Don't use CHECK_N.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31241 include <bp-checks.h>.
31242 (__libc_pwrite): Don't use CHECK_N.
31243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31244 include <bp-checks.h>.
31245 (__libc_pwrite64): Don't use CHECK_N.
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31248 (__libc_pread): Don't use CHECK_N.
31249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31250 include <bp-checks.h>.
31251 (__libc_pread64): Don't use CHECK_N.
31252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31253 include <bp-checks.h>.
31254 (__libc_pwrite): Don't use CHECK_N.
31255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31256 include <bp-checks.h>.
31257 (__libc_pwrite64): Don't use CHECK_N.
31258 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31259 (do_pread): Don't use CHECK_N.
31260 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31261 (do_pread64): Don't use CHECK_N.
31262 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31263 (do_pwrite): Don't use CHECK_N.
31264 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31265 (do_pwrite64): Don't use CHECK_N.
31266 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31267 (__libc_readv): Don't use CHECK_N.
31268 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31269 (semop): Don't use CHECK_N.
31270 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31272 (semtimedop): Don't use CHECK_N.
31273 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31274 (__libc_pread): Don't use CHECK_N.
31275 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31277 (__libc_pread64): Don't use CHECK_N.
31278 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31280 (__libc_pwrite): Don't use CHECK_N.
31281 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31283 (__libc_pwrite64): Don't use CHECK_N.
31284 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31286 (__libc_msgrcv): Don't use CHECK_N.
31287 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31288 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31289 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31290 (__libc_writev): Don't use CHECK_N.
31292 2013-02-08 Roland McGrath <roland@hack.frob.com>
31294 * string/strcpy.c: Removed unused variable.
31296 * Makeconfig (+sysdep-includes): Define with := rather than =.
31297 Use an existing include/ subdir of each sysdeps dir before it.
31299 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31301 * nscd/connection.c (register_traced_file): Comment function.
31302 [HAVE_INOTIFY] (union __inev): Define.
31303 [HAVE_INOTIFY] (inotify_check_files): New function.
31304 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31305 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31307 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31309 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31311 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31312 loaded if not already and that a failure is permanent.
31314 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31317 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31318 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31320 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31323 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31324 (CHECK_1_NULL_OK): Likewise.
31325 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31326 (__fxstat): Do not use CHECK_1.
31327 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31329 (___fxstat64): Do not use CHECK_1.
31330 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31332 (__fxstatat): Do not use CHECK_1.
31333 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31335 (__fxstatat64): Do not use CHECK_1.
31336 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31338 (__fxstat): Do not use CHECK_1.
31339 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31341 (__fxstatat): Do not use CHECK_1.
31342 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31344 (__getresgid): Do not use CHECK_1.
31345 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31347 (__getresuid): Do not use CHECK_1.
31348 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31350 (__lxstat): Do not use CHECK_1.
31351 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31353 (__old_msgctl): Do not use CHECK_1.
31354 (__new_msgctl): Likewise.
31355 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31357 (__new_setrlimit): Do not use CHECK_1.
31358 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31360 (__old_shmctl): Do not use CHECK_1.
31361 (__new_shmctl): Likewise.
31362 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31364 (__xstat): Do not use CHECK_1.
31365 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31366 (__lxstat): Do not use CHECK_1.
31367 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31369 (___lxstat64): Do not use CHECK_1.
31370 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31371 (__old_msgctl): Do not use CHECK_1.
31372 (__new_msgctl): Likewise.
31373 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31375 (__gettimeofday): Do not use CHECK_1.
31376 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31377 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31378 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31380 (__gettimeofday): Do not use CHECK_1.
31381 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31382 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31383 (__new_shmctl): Do not use CHECK_1.
31384 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31386 (do_sigtimedwait): Do not use CHECK_1.
31387 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31389 (do_sigwaitinfo): Do not use CHECK_1.
31390 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31392 (msgctl): Do not use CHECK_1.
31393 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31395 (shmctl): Do not use CHECK_1.
31396 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31397 (ustat): Do not use CHECK_1.
31398 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31400 (__fxstat): Do not use CHECK_1.
31401 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31403 (__fxstatat): Do not use CHECK_1.
31404 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31406 (__lxstat): Do not use CHECK_1.
31407 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31409 (__xstat): Do not use CHECK_1.
31410 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31411 (__xstat): Do not use CHECK_1.
31412 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31413 (___xstat64): Do not use CHECK_1.
31416 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31418 (CHECK_BOUNDS_HIGH): Likewise.
31419 * string/strcpy.c: Do not include <bp-checks.h>.
31420 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31422 2013-02-07 Roland McGrath <roland@hack.frob.com>
31424 * nscd/nscd-client.h (__nscd_drop_map_ref):
31425 Add __attribute__ ((unused)).
31426 * nis/nss-nisplus.h (niserr2nss): Likewise.
31428 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31429 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31431 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31432 Remove inline keyword.
31433 * include/rounding-mode.h (round_away): Likewise.
31434 * libio/wfileops.c (adjust_wide_data): Likewise.
31435 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31436 (__m128i_strloadu_tolower): Likewise.
31437 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31438 (__m128i_strloadu_tolower): Likewise.
31439 * time/mktime.c (ydhms_diff): Likewise.
31440 * locale/elem-hash.h (elem_hash): Likewise.
31441 * locale/setlocale.c (setdata): Likewise.
31442 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31443 (re_string_wchar_at): Likewise.
31444 (bitset_not, bitset_merge, bitset_mask): Likewise.
31445 [!(__GNUC__ > 3)] (inline): Remove macro.
31446 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31447 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31448 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31449 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31450 * string/memcmp.c (memcmp_bytes): Likewise.
31451 * locale/programs/locarchive.c (compute_hashval): Likewise.
31452 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31453 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31454 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31455 * nss/getent.c (print_rpc, print_protocols): Likewise.
31456 (print_passwd, print_group, print_aliases): Likewise.
31457 * nis/nss-nisplus.h (niserr2nss): Likewise.
31458 * nscd/connections.c (restart_p): Likewise.
31459 Change return type to bool.
31461 2013-02-05 Roland McGrath <roland@hack.frob.com>
31463 * Makeconfig (all-Depend-files): Add existing
31464 $(sorted-subdirs:=/Depend) files.
31465 (all-subdirs): Remove nss.
31466 * sysdeps/unix/inet/Subdirs: Add it here instead.
31467 * hesiod/Depend: New file.
31469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31470 instead of calling alloca.
31472 * io/lseek.c (__lseek): Rename to __libc_lseek.
31473 Define __lseek as an alias.
31475 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31477 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31479 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31480 else clause and remove check for non-standard endianness.
31482 2013-02-04 David S. Miller <davem@davemloft.net>
31484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31486 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31489 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31490 (__ubp_memchr): Remove prototype.
31491 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31492 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31493 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31494 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31495 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31497 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31498 (__ubp_memchr): Likewise.
31499 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31500 (__ubp_memchr): Likewise.
31501 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31502 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31503 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31504 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31506 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31507 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31508 (__getcwd): Do not use CHECK_STRING.
31509 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31511 (__real_chown): Do not use CHECK_STRING.
31512 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31514 (fchownat): Do not use CHECK_STRING.
31515 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31517 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31519 (__lchown): Do not use CHECK_STRING.
31520 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31521 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31522 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31523 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31525 include <bp-checks.h>.
31526 (truncate64): Do not use CHECK_STRING.
31527 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31529 (__real_chown): Do not use CHECK_STRING.
31530 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31532 (__lchown): Do not use CHECK_STRING.
31533 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31535 (__chown): Do not use CHECK_STRING.
31536 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31538 (truncate64): Do not use CHECK_STRING.
31539 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31541 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31542 (__xmknod): Do not use CHECK_STRING.
31543 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31545 (__xmknodat): Do not use CHECK_STRING.
31546 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31547 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31549 2013-02-04 Andreas Schwab <schwab@suse.de>
31552 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31553 * include/netdb.h: Likewise for h_errno.
31554 * elf/tst-stackguard1.c: Include <tls.h>.
31556 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31558 * elf/link.h (struct link_map): Extend the l_addr comment.
31559 * include/link.h (struct link_map): Likewise.
31561 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31564 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31565 (BOUNDED_1): Remove macro.
31566 * debug/backtrace.c: Don't include <bp-checks.h>.
31567 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31568 (__backtrace): Likewise.
31569 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31571 (__backtrace): Don't use BOUNDED_1.
31572 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31574 (__backtrace): Don't use BOUNDED_1.
31575 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31576 (__backtrace): Don't use BOUNDED_1.
31577 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31578 (shmat): Don't use BOUNDED_N.
31580 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31583 * sysdeps/generic/bp-start.h: Remove file.
31584 * csu/libc-start.c: Don't include <bp-start.h>.
31585 (LIBC_START_MAIN): Set up __environ directly instead of using
31586 INIT_ARGV_and_ENVIRON.
31587 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31591 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31593 (CHECK_FCNTL): Likewise.
31594 (CHECK_N_PAGES): Likewise.
31597 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31599 (CHECK_SIGSET_NULL_OK): Likewise.
31600 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31602 (sigpending): Don't use CHECK_SIGSET.
31603 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31605 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31606 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31608 (do_sigsuspend): Don't use CHECK_SIGSET.
31609 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31611 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31612 (do_sigwait): Don't use CHECK_SIGSET.
31613 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31615 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31616 include <bp-checks.h>.
31617 (sigpending): Don't use CHECK_SIGSET.
31618 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31619 include <bp-checks.h>.
31620 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31621 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31623 (sigpending): Don't use CHECK_SIGSET.
31624 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31626 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31629 * sysdeps/generic/bp-semctl.h: Remove file.
31630 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31631 <bp-checks.h> and <bp-semctl.h>.
31632 (__old_semctl): Don't use CHECK_SEMCTL.
31633 (__new_semctl): Likewise.
31634 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31636 (__old_semctl): Don't use CHECK_SEMCTL.
31637 (__new_semctl): Likewise.
31638 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31639 <bp-checks.h> and <bp-semctl.h>.
31640 (__old_semctl): Don't use CHECK_SEMCTL.
31641 (__new_semctl): Likewise.
31642 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31643 <bp-checks.h> and <bp-semctl.h>.
31644 (semctl): Don't use CHECK_SEMCTL.
31647 * Makerules (elide-bp-thunks): Remove variable.
31648 (elide-routines.oS): Don't use $(elide-bp-thunks).
31649 (elide-routines.os): Likewise.
31650 (elide-routines.o): Likewise.
31651 (elide-routines.op): Likewise.
31652 (elide-routines.og): Likewise.
31653 (objects): Don't use $(bp-thunks).
31654 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31656 (common-generated): Do not add s-proto-bp.d.
31657 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31660 Do not generate makefile rules for bounded-pointer thunks.
31661 * sysdeps/generic/bp-thunks.h: Remove file.
31662 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31663 * sysdeps/unix/s-proto-bp.S: Likewise.
31666 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31667 parts of result separately when argument is not close to line from
31668 -i to i and one part of argument is small.
31669 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31670 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31671 * math/libm-test.inc (cacos_test): Add more tests.
31672 (casin_test): Likewise.
31673 (casinh_test): Likewise.
31674 * sysdeps/i386/fpu/libm-test-ulps: Update.
31675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31677 2013-01-31 David S. Miller <davem@davemloft.net>
31679 * po/de.po: Update from translation team.
31681 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31683 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31685 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31687 * configure.in (_AC_PROG_CC_C89): New definition.
31688 * configure: Regenerate.
31690 * configure.in (AC_PROG_CPP): New definition.
31691 * configure: Regenerate.
31693 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31695 * debug/tst-backtrace.h: New file.
31696 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31697 (ret): Remove variable.
31699 (FAIL): Remove macro.
31700 (NO_INLINE): Likewise.
31701 (fn1): Use match function instead of strstr.
31702 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31703 (ret): Remove variable.
31705 (FAIL): Remove macro.
31706 (NO_INLINE): Likewise.
31707 (fn): Use match function instead of strstr.
31708 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31709 (ret): Remove variable.
31711 (FAIL): Remove macro.
31712 (NO_INLINE): Likewise.
31713 (handle_signal): Use match function instead of strstr.
31714 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31715 (ret): Remove variable.
31717 (FAIL): Remove macro.
31718 (NO_INLINE): Likewise.
31719 (handle_signal): Use match function instead of strstr.
31721 2013-01-23 Roland McGrath <roland@hack.frob.com>
31723 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31725 2013-01-23 David S. Miller <davem@davemloft.net>
31727 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31728 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31729 argument of CAS if possible.
31730 * sysdeps/sparc/sparc64/bits/atomic.h
31731 (__arch_compare_and_exchange_val_32_acq): Likewise.
31732 (__arch_compare_and_exchange_val_64_acq): Likewise.
31734 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31736 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31737 * sysdeps/posix/ulimit.c: ... this.
31738 Include <limits.h>.
31739 * sysdeps/unix/bsd/ulimit.c: Remove file.
31741 2013-01-23 Adam Conrad <adconrad@0c3.net>
31743 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31744 (LDFLAGS-tst-array5): Likewise.
31746 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31749 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31750 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31751 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31752 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31754 2013-01-21 David S. Miller <davem@davemloft.net>
31756 * sysdeps/sparc/backtrace.c: New file.
31757 * sysdeps/sparc/sparc32/backtrace.h: New file.
31758 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31759 * sysdeps/sparc/sparc64/backtrace.h: New file.
31760 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31761 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31764 2013-01-21 Andreas Schwab <schwab@suse.de>
31767 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31770 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31776 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31777 Mark Mitchell <mark@codesourcery.com>
31778 Tom de Vries <tom@codesourcery.com>
31779 Paul Pluzhnikov <ppluzhnikov@google.com>
31781 * debug/tst-backtrace2.c: New file.
31782 * debug/tst-backtrace3.c: Likewise.
31783 * debug/tst-backtrace4.c: Likewise.
31784 * debug/tst-backtrace5.c: Likewise.
31785 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31786 (CFLAGS-tst-backtrace3.c): Likewise.
31787 (CFLAGS-tst-backtrace4.c): Likewise.
31788 (CFLAGS-tst-backtrace5.c): Likewise.
31789 (LDFLAGS-tst-backtrace2): Likewise.
31790 (LDFLAGS-tst-backtrace3): Likewise.
31791 (LDFLAGS-tst-backtrace4): Likewise.
31792 (LDFLAGS-tst-backtrace5): Likewise.
31793 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31794 tst-backtrace4 and tst-backtrace5.
31796 2013-01-18 Anton Blanchard <anton@samba.org>
31797 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31799 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31800 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31801 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31802 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31804 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31805 "+r" and remove output regs list as redundant. Add explicit inline
31806 asm to specify register of return val to work around compiler codegen
31807 bug. Remove (int) cast on return value. Add return type parameter to
31808 use in macro so that this macro does not truncate return value for
31810 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31811 pass to INTERNAL_VSYSCALL_NCS.
31812 (INLINE_VSYSCALL): Add 'long int' as return type to
31813 INTERNAL_VSYSCALL_NCS macro invocation.
31814 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31815 INTERNAL_VSYSCALL_NCS macro invocation.
31816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31818 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31821 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31822 Fix application of SIMD FP exception mask.
31824 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31825 mp_no from a power of two.
31826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31827 __mpexp_twomm1. Use __pow_mp.
31829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31832 2013-01-17 David S. Miller <davem@davemloft.net>
31834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31836 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31839 * include/complex.h: Condition contents on [!_COMPLEX_H].
31840 (__kernel_casinhf): New prototype.
31841 (__kernel_casinh): Likewise.
31842 (__kernel_casinhl): Likewise.
31843 * math/Makefile (libm_calls): Add k_casinh.
31844 * math/k_casinh.c: New file.
31845 * math/k_casinhf.c: Likewise.
31846 * math/k_casinhl.c: Likewise.
31847 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31848 finite nonzero arguments.
31849 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31850 finite nonzero arguments.
31851 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31852 finite nonzero arguments.
31853 * math/s_casinh.c: Do not include <float.h>.
31854 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31855 * math/s_casinhf.c: Do not include <float.h>.
31856 (__casinhf): Move code for finite nonzero arguments to
31858 * math/s_casinhl.c: Do not include <float.h>.
31859 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31861 (__casinhl): Move code for finite nonzero arguments to
31863 * math/libm-test.inc (cacos_test): Add more tests.
31864 * sysdeps/i386/fpu/libm-test-ulps: Update.
31865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31867 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31869 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31870 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31871 [!HAVE_MREMAP]: Remove [defined linux] case.
31872 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31874 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31876 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31878 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31880 * elf/elf.h (R_386_SIZE32): New relocation.
31881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31883 (elf_machine_rela): Likewise.
31884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31885 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31887 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31889 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31890 (FP_FAST_FMA): Do not define.
31891 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31892 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31893 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31894 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31895 !_SOFT_FLOAT]: Likewise.
31896 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31897 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31899 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31900 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31902 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31903 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31904 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31907 2013-01-16 Andreas Schwab <schwab@suse.de>
31910 * include/stdlib.h (__mktemp): Add declaration.
31911 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31912 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31914 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31916 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31918 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31919 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31920 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31922 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31923 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31925 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31927 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31928 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31929 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31931 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31932 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31934 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31936 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31938 2013-01-15 David S. Miller <davem@davemloft.net>
31940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31941 trunc{,f} to libm-sysdep_routes.
31942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31952 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31953 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31954 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31955 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31956 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31957 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31960 nearbyint{,f} to libm-sysdep_routes.
31961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31972 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31975 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31977 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31978 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31979 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31981 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31982 libc_feholdexcept and libc_fesetenv.
31984 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31986 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31988 2013-01-14 David S. Miller <davem@davemloft.net>
31990 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31991 (SPARC_ASM_VIS2_IFUNC): Likewise.
31992 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31994 use of 'siam' instruction.
31995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32028 routines to libm-sysdep_routines.
32029 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32032 fdim/fdimf to libm-sysdep_routines.
32033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32041 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32042 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32043 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32044 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32046 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32048 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32049 to optimize copies.
32051 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32056 local variable MPTWO.
32057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32060 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32062 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32065 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32067 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32069 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32071 * manual/pattern.texi (glob_t): Document gl_flags.
32072 (glob64_t): Likewise.
32074 2013-01-11 David S. Miller <davem@davemloft.net>
32076 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32077 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32078 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32079 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32080 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32081 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32082 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32083 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32084 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32085 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32086 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32087 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32088 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32090 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32091 sparc V9 rather than using V8 code.
32092 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32093 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32095 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32097 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32100 2013-01-11 Roland McGrath <roland@hack.frob.com>
32102 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32103 not in the main loop.
32104 * configure: Regenerated.
32106 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32108 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32109 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32111 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32112 [!__GLIBC_HAVE_LONG_LONG] case.
32113 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32114 condition to just #else.
32115 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32116 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32117 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32118 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32120 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32121 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32122 #elif condition to just #else.
32123 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32124 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32125 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32126 #elif condition to just #else.
32128 2013-01-11 Steve Ellcey <sellcey@mips.com>
32130 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32131 (EF_MIPS_ARCH_64): Fix value.
32132 (EF_MIPS_ARCH_32R2): New.
32133 (EF_MIPS_ARCH_64R2): New.
32135 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32137 * Makeconfig (+link-pie-before-libc): New.
32138 (+link-pie-after-libc): Likewise.
32139 (+link-pie-tests): Likewise.
32140 (+link-pie): Rewritten.
32141 (link-before-libc): Remove $(config-LDFLAGS).
32142 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32143 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32144 (config-LDFLAGS): Renamed to ...
32145 (rtld-LDFLAGS): This.
32146 (rtld-tests-LDFLAGS): New macro.
32147 (link-libc-rpath-link): Likewise.
32148 (link-libc-tests-rpath-link): Likewise.
32149 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32150 (link-libc): Prepand $(link-libc-rpath-link).
32151 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32152 (test-program-prefix): New macro.
32153 (test-via-rtld-prefix): Likewise.
32154 (test-program-cmd): Likewise.
32155 (host-test-program-cmd): Likewise.
32156 * Makefile ($(common-objpfx)testrun.sh): Replace
32157 $(run-program-prefix) with $(test-program-prefix).
32158 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32160 ($(common-objpfx)shlib.lds): Likewise.
32161 (build-module-helper): Likewise.
32162 ($(common-objpfx)format.lds): Likewise.
32163 * Rules (binaries-pie-tests): New.
32164 (binaries-pie-notests): Likewise.
32165 (binaries-pie): Rewritten.
32166 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32167 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32168 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32169 (make-test-out): Replace $(host-built-program-cmd) with
32170 $(host-test-program-cmd).
32171 * config.make.in (build-hardcoded-path-in-tests): New variable.
32172 * configure.in (--enable-hardcoded-path-in-tests): New configure
32174 (hardcoded_path_in_tests): New AC_SUBST.
32175 * configure: Regenerated.
32176 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32177 $(built-program-cmd) with $(test-program-cmd).
32178 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32179 (test_program_cmd): This.
32180 * elf/Makefile ($(objpfx)order.out): Run test with
32181 $(test-program-prefix).
32182 ($(objpfx)order2.out): Likewise.
32183 ($(objpfx)tst-initorder.out): Likewise.
32184 ($(objpfx)tst-initorder2.out): Likewise.
32185 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32186 $(test-program-cmd).
32187 ($(objpfx)tst-array1-static.out): Likewise.
32188 ($(objpfx)tst-array2.out): Likewise.
32189 ($(objpfx)tst-array3.out): Likewise.
32190 ($(objpfx)tst-array4.out): Likewise.
32191 ($(objpfx)tst-array5.out): Likewise.
32192 ($(objpfx)tst-array5-static.out): Likewise.
32193 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32194 $(test-program-cmd).
32195 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32196 $(run-program-prefix) with $(test-program-prefix).
32197 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32198 (test_program_prefix): This.
32199 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32200 $(run-program-prefix) with $(test-program-prefix).
32201 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32202 (test_program_prefix): This.
32203 * iconvdata/tst-tables.sh: Likewise.
32204 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32205 $(run-program-prefix) with $(test-program-prefix).
32206 ($(objpfx)tst-translit.out): Likewise.
32207 ($(objpfx)tst-gettext2.out): Likewise.
32208 ($(objpfx)tst-gettext4.out): Likewise.
32209 ($(objpfx)tst-gettext6.out): Likewise.
32210 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32211 (test_program_prefix): This.
32212 * intl/tst-gettext2.sh: Likewise.
32213 * intl/tst-gettext4.sh Likewise.
32214 * intl/tst-gettext6.sh: Likewise.
32215 * intl/tst-translit.sh: Likewise.
32216 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32217 with $(test-program-cmd).
32218 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32219 $(run-program-prefix) with $(test-program-prefix).
32220 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32221 (test_program_prefix): This.
32222 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32223 $(run-program-prefix) with $(test-program-prefix).
32224 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32225 (test_program_prefix): This.
32226 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32227 * posix/Makefile ($(objpfx)globtest.out): Replace
32228 $(run-via-rtld-prefix) and $(test-wrapper) with
32229 $(test-program-prefix) and $(test-via-rtld-prefix).
32230 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32231 $(test-program-prefix).
32232 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32233 $(host-test-program-cmd).
32234 (tst-spawn-ARGS): Likewise.
32235 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32236 $(test-program-prefix).
32237 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32238 (test_via_rtld_prefix): This.
32239 (test_wrapper): Renamed to ...
32240 (test_program_prefix): This.
32241 (run_program_prefix): Replaced by test_program_prefix.
32242 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32243 (test_program_prefix): This.
32244 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32245 with $(host-test-program-cmd).
32246 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32247 $(run-program-prefix) with $(test-program-prefix).
32248 ($(objpfx)tst-printf.out): Likewise.
32249 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32250 $(test-program-cmd).
32251 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32252 (test_program_prefix): This.
32253 * stdio-common/tst-unbputc.sh: Likewise.
32254 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32255 $(run-program-prefix) with $(test-program-prefix).
32256 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32257 (test_program_prefix): This.
32258 * string/Makefile ($(objpfx)tst-svc.out): Replace
32259 $(built-program-cmd) with $(test-program-cmd).
32261 2013-01-11 Andreas Jaeger <aj@suse.de>
32264 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32265 value. Sync with Linux 3.7.
32267 2013-01-10 David S. Miller <davem@davemloft.net>
32269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32270 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32271 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32273 2013-01-10 Roland McGrath <roland@hack.frob.com>
32275 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32277 * configure: Regenerated.
32279 2013-01-10 David S. Miller <davem@davemloft.net>
32281 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32282 sparc V9 rather than using V8 code.
32283 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32284 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32286 2013-01-10 Roland McGrath <roland@hack.frob.com>
32288 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32289 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32290 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32291 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32292 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32293 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32294 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32295 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32296 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32297 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32298 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32299 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32300 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32301 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32302 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32303 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32304 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32305 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32306 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32307 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32308 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32309 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32310 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32311 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32312 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32313 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32314 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32316 2013-01-10 David S. Miller <davem@davemloft.net>
32318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32320 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32322 * posix/Makefile (tests-static): New variable.
32323 (tests): Add $(tests-static).
32324 (tst-exec-static-ARGS): New variable.
32325 (tst-spawn-static-ARGS): Likewise.
32326 * posix/tst-exec-static.c: New file.
32327 * posix/tst-spawn-static.c: Likewise.
32328 * posix/tst-exec.c: Support run directly.
32329 * posix/tst-spawn.c: Likewise.
32331 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32333 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32335 * math/bits/mathcalls.h (llrint): Likewise.
32336 (llround): Likewise.
32337 * stdlib/stdlib.h (struct drand48_data): Likewise.
32338 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32339 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32340 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32342 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32344 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32345 (elf_greg_t): Likewise.
32346 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32347 (__jmp_buf): Likewise.
32348 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32350 (llrint): Likewise, for all definitions.
32351 (llrintl): Likewise.
32353 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32354 Remove [__GNUC__] condition.
32355 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32356 condition to just [__USE_ISOC99].
32357 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32359 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32362 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32363 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32365 (_POSIX_V6_ILP32_OFF32): Likewise.
32366 (_XBS5_ILP32_OFF32): Likewise.
32367 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32368 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32370 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32372 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32375 doubles __mpexp_twomm1. Adjust usage.
32376 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32379 2013-01-10 Andreas Schwab <schwab@suse.de>
32382 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32383 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32385 2013-01-09 David S. Miller <davem@davemloft.net>
32388 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32389 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32390 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32391 (TCP_FASTOPEN): Define.
32392 (tcp_repair_opt): New structure.
32393 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32395 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32396 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32397 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32398 (tcp_cookie_transactions): New structure.
32400 2013-01-09 Anton Blanchard <anton@samba.org>
32402 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32403 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32404 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32407 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32409 * include/features.h (__USE_ANSI): Remove.
32411 2013-01-09 Roland McGrath <roland@hack.frob.com>
32413 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32415 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32417 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32419 * sysdeps/s390/fpu/libm-test-ulps: Update.
32421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32423 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32427 (denorm): Likewise.
32428 (__mp_dbl): Likewise.
32429 (__dbl_mp): Likewise.
32430 (add_magnitudes): Likewise.
32431 (sub_magnitudes): Likewise.
32437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32441 (denorm): Likewise.
32442 (__mp_dbl): Likewise.
32443 (__dbl_mp): Likewise.
32444 (add_magnitudes): Likewise.
32445 (sub_magnitudes): Likewise.
32451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32455 (denorm): Likewise.
32456 (__mp_dbl): Likewise.
32457 (__dbl_mp): Likewise.
32458 (add_magnitudes): Likewise.
32459 (sub_magnitudes): Likewise.
32466 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32468 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32469 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32470 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32471 2 && __USE_EXTERN_INLINES]: Likewise.
32473 2013-01-08 Andreas Jaeger <aj@suse.de>
32476 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32478 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32479 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32481 2013-01-07 Anton Blanchard <anton@samba.org>
32483 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32484 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32485 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32486 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32487 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32488 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32489 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32490 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32492 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32494 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32495 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32496 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32497 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32499 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32500 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32501 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32502 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32503 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32504 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32506 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32507 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32508 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32509 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32510 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32511 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32512 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32513 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32515 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32517 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32518 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32520 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32521 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32522 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32523 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32525 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32527 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32529 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32530 (__MALLOC_PMT): Likewise.
32531 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32532 [__GNUC__], only on [_LIBC].
32533 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32534 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32535 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32536 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32537 forward declaration.
32538 (realloc_hook_ini): Likewise.
32539 (memalign_hook_ini): Likewise.
32540 (__libc_memalign): Do not use __MALLOC_PMT in variable
32542 (__libc_valloc): Likewise.
32543 (__libc_pvalloc): Likewise.
32544 (__libc_calloc): Likewise.
32545 (__posix_memalign): Likewise.
32548 * math/s_casinh.c: Include <float.h>.
32549 (__casinh): Do not do computation with squaring and square root
32550 for large arguments.
32551 * math/s_casinhf.c: Include <float.h>.
32552 (__casinhf): Do not do computation with squaring and square root
32553 for large arguments.
32554 * math/s_casinhl.c: Include <float.h>.
32555 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32556 (__casinhl): Do not do computation with squaring and square root
32557 for large arguments.
32558 * math/libm-test.inc (casin_test): Add more tests.
32559 (casinh_test): Likewise.
32560 * sysdeps/i386/fpu/libm-test-ulps: Update.
32561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32563 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32565 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32566 (__x86_64_raw_data_cache_size): Likewise.
32567 (__x86_64_data_cache_size_half): Likewise.
32568 (__x86_64_raw_data_cache_size_half): Likewise.
32569 (__x86_64_shared_cache_size): Likewise.
32570 (__x86_64_raw_shared_cache_size): Likewise.
32571 (__x86_64_shared_cache_size_half): Likewise.
32572 (__x86_64_raw_shared_cache_size_half): Likewise.
32573 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32575 (__x86_data_cache_size): This.
32576 (__x86_64_raw_data_cache_size): Renamed to ...
32577 (__x86_raw_data_cache_size): This.
32578 (__x86_64_data_cache_size_half): Renamed to ...
32579 (__x86_data_cache_size_half): This.
32580 (__x86_64_raw_data_cache_size_half): Renamed to ...
32581 (__x86_raw_data_cache_size_half): This.
32582 (__x86_64_shared_cache_size): Renamed to ...
32583 (__x86_shared_cache_size): This.
32584 (__x86_64_raw_shared_cache_size): Renamed to ...
32585 (__x86_raw_shared_cache_size): This.
32586 (__x86_64_shared_cache_size_half): Renamed to ...
32587 (__x86_shared_cache_size_half): This.
32588 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32589 (__x86_raw_shared_cache_size_half): This.
32590 * sysdeps/x86_64/memcpy.S: Updated.
32591 * sysdeps/x86_64/memset.S: Likewise.
32592 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32593 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32594 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32596 2013-01-04 David S. Miller <davem@davemloft.net>
32598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32600 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32602 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32603 1 to avoid redefinition warning.
32604 (__USE_GNU): Don't define.
32605 (init_signaling_nan): Protoize.
32607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32609 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32611 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32613 (__cpymn): Likewise.
32614 (norm): Remove commented code.
32615 (denorm): Likewise.
32616 (__mp_dbl): Likewise.
32618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32619 (__cpymn): Likewise.
32620 (norm): Remove commented code.
32621 (denorm): Likewise.
32622 (__mp_dbl): Likewise.
32625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32626 mp_no value for 1.0 and 2.0.
32627 (norm): Use RADIXI instead of radixi.d.
32628 (denorm): Likewise.
32629 (__mul): Use 0.0 instead of zero.d.
32630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32631 mp_no value for 1.0 and 2.0.
32632 (norm): Use RADIXI instead of radixi.d.
32633 (denorm): Likewise.
32634 (__mul): Use 0.0 instead of zero.d.
32636 2013-01-04 Joseph Myers <joseph@codesourcery.com>
32639 * math/s_casinh.c (__casinh): Reduce finite argument to first
32640 quadrant then set signs of results at the end.
32641 * math/s_casinhf.c (__casinhf): Likewise.
32642 * math/s_casinhl.c (__casinhl): Likewise.
32643 * math/libm-test.inc (casin_test): Add more tests.
32644 (casinh_test): Likewise.
32645 * sysdeps/i386/fpu/libm-test-ulps: Update.
32646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32648 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32650 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32652 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32654 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32656 (denorm): Likewise.
32657 (__mp_dbl): Likewise.
32660 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32661 and adjust the header comment.
32663 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32664 variable name from declaration.
32666 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32669 Initialize COMMON_CPUID_INDEX_7 element.
32670 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32671 (CPUID_RTM): Likewise.
32672 (HAS_RTM): Likewise.
32673 (COMMON_CPUID_INDEX_7): New enum.
32675 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32678 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32679 size is zero, record memory as freed.
32681 2013-01-03 Andreas Jaeger <aj@suse.de>
32683 * po/ia.po: Add new Interlingua translation.
32685 2012-01-03 Allan McRae <allan@archlinux.org>
32687 * locale/programs/localedef.c: Fix description of '--posix' flag.
32689 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32691 * NEWS: Update dates in second copyright notice.
32692 * README: Update copyright dates in example.
32693 * manual/libc.texinfo: Update copyright dates.
32694 * scripts/test-installation.pl: Update copyright date in --version
32697 * hurd/ctty-input.c: Fix copyright notice formatting.
32698 * hurd/ctty-output.c: Likewise.
32699 * hurd/dtable.c: Likewise.
32700 * hurd/hurd-raise.c: Likewise.
32701 * hurd/hurdprio.c: Likewise.
32702 * hurd/msgportdemux.c: Likewise.
32703 * misc/sys/file.h: Likewise.
32704 * misc/sys/ioctl.h: Likewise.
32705 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32706 * sysdeps/mach/hurd/chdir.c: Likewise.
32707 * sysdeps/mach/hurd/fchdir.c: Likewise.
32708 * sysdeps/mach/hurd/rename.c: Likewise.
32709 * sysdeps/mach/hurd/rmdir.c: Likewise.
32710 * sysdeps/mach/hurd/seekdir.c: Likewise.
32711 * sysdeps/mach/hurd/setsid.c: Likewise.
32712 * sysdeps/posix/wait3.c: Likewise.
32714 * All files with FSF copyright notices: Update copyright dates
32715 using scripts/update-copyrights.
32716 * intl/plural.c: Regenerated.
32717 * locale/programs/charmap-kw.h: Likewise.
32718 * locale/programs/locfile-kw.h: Likewise.
32720 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32722 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32726 calculation loop and add branch prediction.
32728 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32729 check access beyond bounds of m1np.
32731 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32733 (__inv): Remove local variable MPTWO to use the global
32735 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32738 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32739 MP3HALFS static const.
32741 2013-01-01 David S. Miller <davem@davemloft.net>
32743 * po/ca.po: Update from translation team.
32745 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32747 * scripts/update-copyrights: New file.
32748 * Makeconfig: Reformat copyright notice.
32749 * ctype/ctype.h: Likewise.
32750 * debug/swprintf_chk.c: Likewise.
32751 * elf/dl-cache.c: Likewise.
32752 * elf/dl-debug.c: Likewise.
32753 * elf/dl-object.c: Likewise.
32754 * grp/initgroups.c: Likewise.
32755 * hurd/Makefile: Likewise.
32756 * hurd/hurd/signal.h: Likewise.
32757 * hurd/hurdfault.c: Likewise.
32758 * hurd/hurdioctl.c: Likewise.
32759 * hurd/hurdlookup.c: Likewise.
32760 * hurd/intr-msg.c: Likewise.
32761 * iconv/gconv_open.c: Likewise.
32762 * libio/swprintf.c: Likewise.
32763 * locale/lc-ctype.c: Likewise.
32764 * locale/nl_langinfo.c: Likewise.
32765 * mach/Machrules: Likewise.
32766 * mach/Makefile: Likewise.
32767 * malloc/obstack.h: Likewise.
32768 * manual/Makefile: Likewise.
32769 * manual/tsort.awk: Likewise.
32770 * misc/bits/stab.def: Likewise.
32771 * nis/nis_print_group_entry.c: Likewise.
32772 * nis/nis_table.c: Likewise.
32773 * nis/nss_compat/compat-pwd.c: Likewise.
32774 * nis/nss_compat/compat-spwd.c: Likewise.
32775 * po/Makefile: Likewise.
32776 * posix/fnmatch.c: Likewise.
32777 * posix/regex.h: Likewise.
32778 * resolv/Makefile: Likewise.
32779 * resolv/nss_dns/dns-network.c: Likewise.
32780 * resolv/res_hconf.c: Likewise.
32781 * scripts/gen-sorted.awk: Likewise.
32782 * soft-fp/soft-fp.h: Likewise.
32783 * stdio-common/printf.h: Likewise.
32784 * stdlib/monetary.h: Likewise.
32785 * stdlib/random.c: Likewise.
32786 * stdlib/random_r.c: Likewise.
32787 * sysdeps/generic/Makefile: Likewise.
32788 * sysdeps/gnu/Makefile: Likewise.
32789 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32791 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32793 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32794 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32795 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32796 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32799 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32801 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32802 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32803 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32804 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32805 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32806 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32807 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32808 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32809 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32810 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32811 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32812 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32813 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32814 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32815 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32816 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32817 * sysdeps/mach/hurd/errnos.awk: Likewise.
32818 * sysdeps/mach/hurd/fork.c: Likewise.
32819 * sysdeps/mach/hurd/getcwd.c: Likewise.
32820 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32821 * sysdeps/mach/hurd/mmap.c: Likewise.
32822 * sysdeps/mach/hurd/utimes.c: Likewise.
32823 * sysdeps/mach/hurd/xmknod.c: Likewise.
32824 * sysdeps/posix/profil.c: Likewise.
32825 * sysdeps/posix/readdir_r.c: Likewise.
32826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32827 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32828 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32829 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32831 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32832 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32833 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32835 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32836 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32837 * sysdeps/pthread/lio_listio.c: Likewise.
32838 * sysdeps/sparc/dl-procinfo.h: Likewise.
32839 * sysdeps/unix/i386/sysdep.S: Likewise.
32840 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32841 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32842 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32843 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32845 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32846 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32847 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32848 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32849 * sysdeps/wordsize-32/divdi3.c: Likewise.
32850 * time/sys/time.h: Likewise.
32851 * wcsmbs/Makefile: Likewise.
32853 2013-01-01 David S. Miller <davem@davemloft.net>
32855 * po/fr.po: Update from translation team.
32857 * catgets/gencat.c: Update copyright year.
32858 * csu/version.c: Likewise.
32859 * debug/catchsegv.sh: Likewise.
32860 * debug/pcprofiledump.c: Likewise.
32861 * debug/xtrace.sh: Likewise.
32862 * elf/ldconfig.c: Likewise.
32863 * elf/ldd.bash.in: Likewise.
32864 * elf/pldd.c: Likewise.
32865 * elf/sotruss.ksh: Likewise.
32866 * elf/sprof.c: Likewise.
32867 * iconv/iconv_prog.c: Likewise.
32868 * iconv/iconvconfig.c: Likewise.
32869 * locale/programs/locale.c: Likewise.
32870 * locale/programs/localedef.c: Likewise.
32871 * login/programs/pt_chown.c: Likewise.
32872 * malloc/memusage.sh: Likewise.
32873 * malloc/memusagestat.c: Likewise.
32874 * malloc/mtrace.pl: Likewise.
32875 * nscd/nscd.c: Likewise.
32876 * nss/getent.c: Likewise.
32877 * nss/makedb.c: Likewise.
32878 * posix/getconf.c: Likewise.
32880 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32882 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32885 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32887 * math/bits/mathcalls.h (modf): Use __nonnull.
32889 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32891 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32892 (split): Use macro CN instead of the bare value.
32893 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32896 instead of the bare value.
32897 (power1): Likewise.
32899 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32903 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32905 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32907 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32908 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32909 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32910 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32912 2012-12-28 Andreas Jaeger <aj@suse.de>
32914 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32915 values are from Linux 3.7.
32917 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32918 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32920 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32922 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32925 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32927 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32928 variables with preprocessor constants.
32929 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32930 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32931 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32933 2012-12-27 Bruno Haible <bruno@clisp.org>
32936 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32939 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32942 and use variable directly.
32943 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32945 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32947 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32948 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32950 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32952 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32953 include directive. Remove local variable MPONE.
32954 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32955 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32956 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32958 2012-12-25 David S. Miller <davem@davemloft.net>
32960 * version.h (RELEASE): Set to "development".
32961 (VERSION): Set to "2.17.90".
32962 * NEWS: Add 2.18 section.
32964 2012-12-21 David S. Miller <davem@davemloft.net>
32966 * po/hr.po: Update from translation team.
32968 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32970 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32972 2012-12-19 Steve Ellcey <sellcey@mips.com>
32974 * NEWS: Mention new memcpy for MIPS.
32976 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32978 * manual/contrib.texi (Contributors): Spelling correction.
32980 2012-12-15 David S. Miller <davem@davemloft.net>
32982 * po/ru.po: Update from translation team.
32984 2012-12-13 David S. Miller <davem@davemloft.net>
32986 * NEWS: Mention IFUNC testsuite enhancements.
32988 * po/pl.po: Update from translation team.
32989 * po/bg.po: Likewise.
32991 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32992 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32994 2012-12-11 David S. Miller <davem@davemloft.net>
32996 * po/sv.po: Update from translation team.
32998 * po/vi.po: Update from translation team.
33000 * po/cs.po: Update from translation team.
33002 * po/de.po: Update from translation team.
33003 * po/eo.po: Likewise.
33004 * po/nl.po: Likewise.
33006 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33009 * manual/argp.texi (Argp Helper Functions): Move node to follow
33010 Argp Parsing State.
33013 * manual/conf.texi (Limits on File System Capacity): Mention if
33014 terminating null is included in the max size.
33016 2012-12-10 Andreas Jaeger <aj@suse.de>
33018 * po/cs.po: Update from translation team.
33020 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33022 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33023 void pointer and cast to uintptr_t.
33024 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33026 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33027 * sysdeps/s390/s390-64/memset.S: Likewise.
33029 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33032 * menual/message.texi (Message Translation): Fix typos.
33033 (Helper programs for gettext): Likewise.
33035 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33038 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33041 2012-12-07 David S. Miller <davem@davemloft.net>
33043 * po/libc.pot: Update.
33045 2012-12-07 Richard Henderson <rth@redhat.com>
33048 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33049 normal/normal case to before the switch.
33050 (_FP_DIV): Likewise.
33052 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33053 Mike Frysinger <vapier@gentoo.org>
33055 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33056 check for __NR_fadvise64_64.
33058 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33060 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33061 0, not just to plain "0" as a statement.
33062 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33065 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33067 * NEWS: Use sourceware.org in Bugzilla URL.
33069 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33072 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33074 * stdio-common/tst-put-error.c (do_test): Add newline to the
33075 padded test to ensure flush.
33077 2012-12-05 Jeff Law <law@redhat.com>
33079 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33081 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33083 * README: Don't refer to ports add-on as distributed separately.
33084 Mention AArch64 in list of systems supported in the ports add-on.
33086 * LICENSES: Add more non-FSF copyright and license notices.
33088 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33091 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33093 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33094 10000 as width of padded output.
33096 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33098 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33100 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33101 variable LX with __attribute__ ((unused)).
33102 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33104 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33106 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33107 with __attribute__ ((unused)).
33109 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33111 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33113 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33115 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33116 (CFLAGS-nldbl-acos.c): New variable.
33117 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33118 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33119 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33120 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33121 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33122 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33123 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33124 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33125 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33126 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33127 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33128 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33129 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33130 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33131 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33132 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33133 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33134 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33135 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33136 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33137 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33138 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33139 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33140 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33141 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33142 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33143 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33144 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33145 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33146 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33147 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33148 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33149 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33150 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33151 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33152 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33153 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33154 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33155 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33156 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33157 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33158 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33159 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33160 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33161 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33162 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33163 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33164 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33165 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33166 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33167 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33168 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33169 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33170 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33171 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33172 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33173 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33174 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33175 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33176 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33177 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33178 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33179 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33180 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33181 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33182 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33183 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33184 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33185 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33186 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33187 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33188 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33189 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33190 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33191 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33192 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33193 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33194 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33195 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33196 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33197 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33198 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33199 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33200 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33201 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33202 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33203 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33204 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33205 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33206 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33207 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33208 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33209 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33210 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33211 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33212 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33213 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33216 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33220 whole low double instead of just low 47 bits when splitting values
33223 2012-12-03 Allan McRae <allan@archlinux.org>
33225 * manual/stdio.texi (Predefined Printf Handlers): Remove
33226 @hsep and @vsep usage.
33228 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33230 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33231 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33233 2012-12-03 Jeff Law <law@redhat.com>
33235 * time/sys/time.h (settimeofday): Do not mark TV argument
33238 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33240 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33241 when currently writing and seek to current position when not.
33242 * libio/Makefile (tests): Remove bug-fclose1.
33243 * libio/bug-fclose1.c: Delete.
33245 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33247 * manual/arith.texi (feenableexcept): Fix typo.
33248 (fedisableexcept): Likewise.
33250 2012-11-30 Roland McGrath <roland@hack.frob.com>
33252 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33253 second, differently-typed declaration, rather than a cast.
33255 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33257 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33258 * include/rpc/svc.h: ... here.
33260 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33263 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33264 depending n and resplen2 to catch cases where answer
33267 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33269 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33270 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33272 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33274 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33276 2012-11-29 Roland McGrath <roland@hack.frob.com>
33278 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33280 2012-11-28 Jeff Law <law@redhat.com>
33283 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33284 dataset_temporary. Track alloca usage into alloca_used.
33285 If dataset is large allocate and release it via malloc/free.
33287 2012-06-04 Florian Weimer <fweimer@redhat.com>
33290 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33292 2012-11-28 David S. Miller <davem@davemloft.net>
33294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33296 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33300 of pi/2 rounded to nearest to 64 bits.
33301 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33302 nearest to 64 bits.
33303 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33306 2012-11-28 Jeff Law <law@redhat.com>
33307 Martin Osvald <mosvald@redhat.com>
33310 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33311 * sunrpc/svc.c: Include time.h.
33312 (__svc_accept_failed): New function.
33313 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33314 any reason other than EINTR, call __svc_accept_failed.
33315 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33316 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33318 2012-11-28 Andreas Schwab <schwab@suse.de>
33320 * scripts/abilist.awk: Also handle indirect functions in .opd
33323 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33326 * sysdeps/x86/fpu/powl_helper.c: New file.
33327 * sysdeps/x86/fpu/Makefile: Likewise.
33328 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33330 (__ieee754_powl): Use __powl_helper for finite arguments except
33331 integer exponents below 8.
33332 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33334 (__ieee754_powl): Use __powl_helper for finite arguments except
33335 integer exponents below 8.
33336 * math/libm-test.inc (pow_test): Add more tests and enable some
33337 previously disabled tests.
33338 * sysdeps/i386/fpu/libm-test-ulps: Update.
33339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33341 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33342 Carlos O'Donell <carlos_odonell@mentor.com>
33344 * nss/makedb.c (is_prime): Assert that input is odd and greater
33345 than 4. Note that fact in a comment too.
33346 (next_prime): Add 4 to input.
33348 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33351 * libio/Makefile (tests): Add test case tst-fwrite-error.
33352 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33353 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33354 * libio/tst-fwrite-error.c: New test case.
33356 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33358 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33359 before casting to void *.
33360 * include/libc-internal.h (__pointer_type): New macro.
33361 (__integer_if_pointer_type_sub): Likewise.
33362 (__integer_if_pointer_type): Likewise.
33363 (cast_to_integer): Likewise.
33364 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33365 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33366 before casting to atomic64_t.
33367 (atomic_exchange_acq): Likewise.
33368 (__arch_exchange_and_add_body): Likewise.
33369 (__arch_add_body): Likewise.
33370 (atomic_add_negative): Likewise.
33371 (atomic_add_zero): Likewise.
33373 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33375 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33376 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33377 (add_fdes): Likewise.
33378 (linear_search_fdes): Likewise.
33379 (binary_search_unencoded_fdes): Likewise.
33381 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33383 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33385 2012-11-24 Adam Conrad <adconrad@0c3.net>
33387 * configure.in: Autodetect C++ header directories.
33388 * configure: Regenerated.
33390 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33392 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33394 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33398 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33400 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33401 LDBL_MANT_DIG == 106]: Disable some tests.
33402 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33404 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33408 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33409 input for small inputs. Return +/- pi/2 for large inputs.
33410 * math/libm-test.inc (atan_test): Add more tests.
33412 * sysdeps/generic/unwind-dw2-fde-glibc.c
33413 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33414 __attribute__ ((unused)).
33417 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33418 x * y if x and y are nonzero and z is zero.
33421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33422 nonzero exponents with absolute value below 0x1p-117 to +/-
33426 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33427 up arguments below 2**-450, not just those below 2**-500.
33428 * math/libm-test.inc (hypot_test): Add another test.
33431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33432 Return a+b for ratio over 2**120, not 2**60.
33433 * math/libm-test.inc (hypot_test): Add another test.
33435 * math/libm-test.inc (clog_test): Use
33436 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33437 (clog10_test): Likewise.
33440 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33442 2012-11-22 Andreas Schwab <schwab@suse.de>
33444 * sysdeps/i386/fpu/libm-test-ulps: Update.
33446 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33448 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33449 printf output with newline.
33451 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33454 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33455 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33456 -z nodlopen, -z initfirst and -z execstack support.
33457 * configure: Regenerated.
33459 * elf/elf.h (DF_1_NODIRECT): New macro.
33460 (DF_1_IGNMULDEF): Likewise.
33461 (DF_1_NOKSYMS): Likewise.
33462 (DF_1_NOHDR): Likewise.
33463 (DF_1_EDITED): Likewise.
33464 (DF_1_NORELOC): Likewise.
33465 (DF_1_SYMINTPOSE): Likewise.
33466 (DF_1_GLOBAUDIT): Likewise.
33467 (DF_1_SINGLETON): Likewise.
33468 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33469 DT_1_SUPPORTED_MASK bits.
33470 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33472 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33474 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33476 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33478 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33481 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33482 (sendmmsg): Move declarations...
33483 * socket/sys/socket.h: ... here.
33484 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33485 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33487 * socket/recvmmsg.c: ... this new file.
33488 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33489 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33490 definition of __sendmmsg hidden.
33491 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33492 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33493 Move ENOSYS stub into and include it from...
33494 * socket/sendmmsg.c: ... this new file.
33495 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33496 (sysdep_routines): Move recvmmsg and sendmmsg...
33497 * socket/Makefile (routines): ... here.
33498 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33499 (GLIBC_PRIVATE): Add __sendmmsg.
33500 * include/sys/socket.h (__sendmmsg): Add declarations.
33501 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33504 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33507 variable I1 with __attribute__ ((unused)).
33508 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33510 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33512 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33513 DUMMY variables with __attribute__ ((unused)).
33515 * bits/byteswap.h: Include <bits/types.h>.
33516 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33518 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33520 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33521 string_t. Do not manually set errno.
33522 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33523 length with __strnlen. Make sure to both set errno and return it on
33526 2012-11-19 David S. Miller <davem@davemloft.net>
33528 With help from Joseph Myers.
33529 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33530 very large arguments properly.
33531 * math/libm-test.inc (atan_test): New tests.
33532 (atan2_test): New tests.
33533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33536 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33539 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33542 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33543 [POSIX] (EADDRNOTAVAIL): Likewise.
33544 [POSIX] (EAFNOSUPPORT): Likewise.
33545 [POSIX] (EALREADY): Likewise.
33546 [POSIX] (ECONNABORTED): Likewise.
33547 [POSIX] (ECONNREFUSED): Likewise.
33548 [POSIX] (ECONNRESET): Likewise.
33549 [POSIX] (EDESTADDRREQ): Likewise.
33550 [POSIX] (EDQUOT): Likewise.
33551 [POSIX] (EHOSTUNREACH): Likewise.
33552 [POSIX] (EIDRM): Likewise.
33553 [POSIX] (EISCONN): Likewise.
33554 [POSIX] (ELOOP): Likewise.
33555 [POSIX] (EMULTIHOP): Likewise.
33556 [POSIX] (ENETDOWN): Likewise.
33557 [POSIX] (ENETUNREACH): Likewise.
33558 [POSIX] (ENOBUFS): Likewise.
33559 [POSIX] (ENODATA): Likewise.
33560 [POSIX] (ENOLINK): Likewise.
33561 [POSIX] (ENOMSG): Likewise.
33562 [POSIX] (ENOPROTOOPT): Likewise.
33563 [POSIX] (ENOSR): Likewise.
33564 [POSIX] (ENOSTR): Likewise.
33565 [POSIX] (ENOTCONN): Likewise.
33566 [POSIX] (ENOTSOCK): Likewise.
33567 [POSIX] (EOPNOTSUPP): Likewise.
33568 [POSIX] (EOVERFLOW): Likewise.
33569 [POSIX] (EPROTO): Likewise.
33570 [POSIX] (EPROTONOSUPPORT): Likewise.
33571 [POSIX] (EPROTOTYPE): Likewise.
33572 [POSIX] (ESTALE): Likewise.
33573 [POSIX] (ETIME): Likewise.
33574 [POSIX] (ETXTBSY): Likewise.
33575 [POSIX] (EWOULDBLOCK): Likewise.
33576 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33577 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33578 [POSIX] (SEEK_CUR): Likewise.
33579 [POSIX] (SEEK_END): Likewise.
33580 [POSIX || UNIX98] (mode_t): Do not require.
33581 [POSIX] (off_t): Likewise.
33582 [POSIX] (pid_t): Likewise.
33583 [POSIX] (sys/stat.h): Do not allow header.
33584 [POSIX] (unistd.h): Likewise.
33585 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33586 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33587 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33588 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33590 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33591 sigevent): Specify elements.
33592 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33594 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33595 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33597 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33598 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33599 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33600 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33601 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33602 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33603 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33604 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33605 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33606 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33607 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33608 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33609 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33610 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33612 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33614 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33616 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33618 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33619 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33620 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33621 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33622 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33623 Specify lower bound on value.
33624 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33625 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33626 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33627 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33628 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33629 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33630 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33631 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33633 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33635 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33636 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33637 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33638 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33639 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33640 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33641 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33642 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33643 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33644 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33645 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33646 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33647 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33648 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33649 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33650 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33652 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33654 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33655 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33656 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33657 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33658 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33659 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33661 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33662 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33663 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33664 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33665 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33666 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33667 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33669 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33670 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33671 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33672 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33673 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33674 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33675 specify as optional.
33676 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33677 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33678 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33679 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33680 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33681 [XPG3] (NL_LANGMAX): Likewise.
33682 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33683 [POSIX || XPG3] (NL_NMAX): Likewise.
33684 [POSIX || XPG3] (NL_SETMAX): Likewise.
33685 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33686 [XPG3] (NZERO): Likewise.
33687 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33688 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33689 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33690 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33691 (REG_ERANGE): Expect.
33692 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33694 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33695 Use (void) in prototype.
33696 [POSIX] (*_t): Allow.
33697 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33698 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33699 (WRDE_BADVAL): Expect.
33701 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33703 [XPG3 || XPG4] (O_RSYNC): Likewise.
33704 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33706 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33707 [XPG3 || XPG4] (sigqueue): Likewise.
33708 [XPG3 || XPG4] (sigtimedwait): Likewise.
33709 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33710 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33711 [XPG3 || XPG4] (vsnprintf): Likewise.
33712 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33714 [XPG3 || XPG4] (blksize_t): Likewise.
33715 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33717 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33718 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33719 [XPG3 || XPG4] (struct itimerspec): Likewise.
33720 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33721 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33722 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33723 [XPG3 || XPG4] (clockid_t): Likewise.
33724 [XPG3 || XPG4] (timer_t): Likewise.
33725 [XPG3 || XPG4] (clock_getres): Likewise.
33726 [XPG3 || XPG4] (clock_gettime): Likewise.
33727 [XPG3 || XPG4] (clock_settime): Likewise.
33728 [XPG3 || XPG4] (nanosleep): Likewise.
33729 [XPG3 || XPG4] (timer_create): Likewise.
33730 [XPG3 || XPG4] (timer_delete): Likewise.
33731 [XPG3 || XPG4] (timer_gettime): Likewise.
33732 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33733 [XPG3 || XPG4] (timer_settime): Likewise.
33734 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33735 [XPG3 || XPG4] (getlogin_r): Likewise.
33736 [XPG3 || XPG4] (pread): Likewise.
33737 [XPG3 || XPG4] (pthread_atfork): Likewise.
33738 [XPG3 || XPG4] (pwrite): Likewise.
33741 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33744 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33746 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33747 finalizing MALLSTREAM.
33749 * sysdeps/mach/hurd/syncfs.c: New file.
33751 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33754 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33755 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33756 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33757 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33758 (_nss_dns_gethostbyname4_r): Likewise.
33759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33760 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33762 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33765 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33767 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33769 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33770 * elf/cache.c (print_entry): Print ",AArch64" for
33773 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33774 * elf/cache.c (print_entry): Print ",hard-float" for
33777 2012-11-18 David S. Miller <davem@davemloft.net>
33779 With help from Joseph Myers.
33780 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33782 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33784 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33785 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33787 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33788 * math/libm-test.inc (y0_test): New tests.
33789 (y1_test): New tests.
33790 * sysdeps/i386/fpu/libm-test-ulps: Update.
33791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33794 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33796 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33798 * configure: Regenerated.
33800 2012-11-17 David S. Miller <davem@davemloft.net>
33803 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33804 nonzero exponents with absolute value below 0x1p-128 to +/-
33807 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33809 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33811 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33813 * posix/getconf-speclist.c: New file.
33814 * posix/posix-envs.def: Likewise.
33815 * posix/confstr.c (START_ENV_GROUP): New macro.
33816 (END_ENV_GROUP): Likewise.
33817 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33818 (KNOWN_PRESENT_ENV_STRING): Likewise.
33819 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33820 (UNKNOWN_ENVIRONMENT): Likewise.
33821 (confstr): Include posix-envs.def instead of handling
33822 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33823 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33824 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33825 (END_ENV_GROUP): Likewise.
33826 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33827 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33828 (UNKNOWN_ENVIRONMENT): Likewise.
33829 (__sysconf): Include posix-envs.def instead of handling associated
33830 cases directly here.
33831 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33832 preprocessing getconf-speclist.c rather than running getconf or
33833 generating empty file.
33835 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33837 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33839 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33842 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33844 2012-11-16 David S. Miller <davem@davemloft.net>
33846 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33847 smaller than LDBL_EPSILON/2.0L, just return xm1.
33849 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33851 * elf/tst-array1.c (init): Set constructor priority to 1000.
33852 (fini): Set destructor priority to 1000.
33853 * elf/tst-array2dep.c: Likewise.
33855 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33858 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33859 (_IO_new_file_xsputn): Also return EOF if none of the input
33860 data was written when overflow failed.
33861 * libio/iopadn.c (_IO_padn): Likewise.
33862 * libio/iowpadn.c (_IO_wpadn): Likewise.
33863 * stdio-common/tst-put-error.c: Add copyright notice.
33864 (do_test): Add case for printing padded string.
33865 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33866 _IO_padn returned error.
33867 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33868 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33871 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33873 * libio/libioP.h: Add comment note that the references to C++
33874 bits are now obsolete.
33876 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33878 * math/libm-test.inc (check_complex): Use asprintf.
33880 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33882 * debug/pcprofiledump.c (print_version): Update copyright year.
33883 * malloc/memusagestat.c (print_version): Likewise.
33885 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33888 * elf/Makefile (tests): Add tst-audit8.
33889 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33890 ($(objpfx)tst-audit8.out): New target.
33891 (tst-audit8-ENV): New variable.
33892 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33893 audit if l_reloc_result is NULL.
33894 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33895 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33896 * elf/tst-audit8.c: New file.
33898 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33900 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33901 * misc/Makefile (CFLAGS-select.c): Define.
33902 * posix/Makefile (CFLAGS-pause.c): Define.
33904 2012-11-13 David S. Miller <davem@davemloft.net>
33906 * crypt/Makefile: Move test targets after toplevel Rules
33907 inclusion. Grab any necessary sysdep routines when linking.
33908 * crypt/md5.c (md5_process_block): Remove define, we will always
33909 name it __md5_process_block.
33910 (md5_finish_ctx): Update md5_process_block call.
33911 (md5_stream): Likewise.
33912 (md5_process_bytes): Likewise.
33913 (md5_process_block): Rename to __md5_process_block and move to ...
33914 * crypt/md5-block.c: ... here.
33915 * crypt/sha256.c (sha256_process_block): Move to ...
33916 * crypt/sha256-block.c: ... here.
33917 * crypt/sha512.c (sha512_process_block): Move to ...
33918 * crypt/sha512-block.c: ... here.
33919 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33921 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33922 * sysdeps/sparc/sparc64/multiarch/Makefile
33923 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33925 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33926 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33928 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33929 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33930 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33931 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33932 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33933 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33934 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33935 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33936 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33939 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33941 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33943 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33945 * timezone/tzselect.ksh: Update from tzcode git revision
33946 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33947 * timezone/zdump.c: Likewise.
33948 * timezone/zic.c: Likewise.
33949 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33950 in TZVERSION setting, not $(PKGVERSION).
33951 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33952 REPORT_BUGS_TO settings.
33955 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33958 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33960 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33961 detection to immediately after _FP_ROUND().
33962 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33965 2012-11-11 David S. Miller <davem@davemloft.net>
33967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33969 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33970 __close rather than their public counterparts.
33972 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33974 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33976 [UNIX98] (sem_timedwait): Do not expect.
33977 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33978 [XPG4 || UNIX98] (sockatmark): Do not expect.
33979 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33980 (clock_getcpuclockid): Do not expect.
33981 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33982 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33984 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33985 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33986 [UNIX98] (vwscanf): Likewise.
33987 [UNIX98] (vswscanf): Likewise.
33989 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33991 * timezone/version.h: Remove file.
33992 * timezone/README: Do not refer to version.h.
33993 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33994 $(objpfx)version.h.
33995 ($(objpfx)zdump.o): Likewise.
33996 ($(objpfx)version.h): New target.
33998 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34000 * timezone/README: Don't mention modification to tzselect.ksh.
34001 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34002 work on unmodified tzselect.ksh. Substitute version numbers in
34005 * Makefile (format-me): Remove.
34006 (INSTALL): Adjust indentation. Use commands directly instead of
34007 using $(format-me).
34009 * aclocal.m4 (ACX_PKGVERSION): New macro.
34010 (ACX_BUGURL): Likewise.
34011 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34012 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34013 (REPORT_BUGS_TO): Likewise.
34014 * configure: Regenerated.
34015 * config.h.in (PKGVERSION): New macro.
34016 (REPORT_BUGS_TO): Likewise.
34017 * config.make.in (PKGVERSION): New variable.
34018 (PKGVERSION_TEXI): Likewise.
34019 (REPORT_BUGS_TO): Likewise.
34020 (REPORT_BUGS_TEXI): Likewise.
34021 * Makefile (format-me): Use -I$(common-objpfx)manual.
34022 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34023 ($(common-objpfx)manual/%): New target.
34024 (manual/%): Remove target.
34025 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34026 (print_version): Use PKGVERSION.
34027 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34028 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34029 and REPORT_BUGS_TO.
34030 ($(objpfx)xtrace): Likewise.
34031 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34032 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34033 (print_version): Use PKGVERSION.
34034 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34035 (do_version): Use PKGVERSION.
34036 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34038 (common-ldd-rewrite): Likewise.
34039 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34040 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34041 (print_version): Use PKGVERSION.
34042 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34043 * elf/pldd.c (argp_program_bug_address): Remove variable.
34044 (more_help): New function.
34045 (argp): Use more_help.
34046 (print_version): Use PKGVERSION.
34047 * elf/sln.c (main): Use PKGVERSION.
34048 (usage): Use REPORT_BUGS_TO.
34049 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34050 (top level): Use PKGVERSION.
34051 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34052 (print_version): Use PKGVERSION.
34053 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34054 (print_version): Use PKGVERSION.
34055 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34056 (print_version): Use PKGVERSION.
34057 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34058 (print_version): Use PKGVERSION.
34059 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34060 (print_version): Use PKGVERSION.
34061 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34062 (print_version): Use PKGVERSION.
34063 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34065 ($(objpfx)memusage): Likewise.
34066 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34067 (do_version): Use PKGVERSION.
34068 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34069 (print_version): Use PKGVERSION.
34070 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34071 ($PKGVERSION): New variable.
34072 ($REPORT_BUGS_TO): Likewise.
34073 (usage): Use $REPORT_BUGS_TO.
34074 (top level): Use $PKGVERSION.
34075 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34076 ($(objpfx)pkgvers.texi): New rule.
34077 ($(objpfx)stamp-pkgvers): Likewise.
34078 * manual/install.texi: Include pkgvers.texi.
34079 (--with-pkgversion): Document new configure option.
34080 (--with-bugurl): Likewise.
34081 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34082 than necessarily for this particular distribution. Use
34083 REPORT_BUGS_TO for where to report bugs.
34084 * INSTALL: Regenerated.
34085 * manual/libc.texinfo: Include pkgvers.texi.
34086 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34087 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34088 (print_version): Use PKGVERSION.
34089 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34090 (print_version): Use PKGVERSION.
34091 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34092 (print_version): Use PKGVERSION.
34093 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34094 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34096 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34097 (print_version): Use PKGVERSION.
34098 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34099 (print_version): Use PKGVERSION.
34100 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34103 * timezone/checktab.awk: Update from tzcode 2012i.
34104 * timezone/ialloc.c: Likewise.
34105 * timezone/private.h: Likewise.
34106 * timezone/scheck.c: Likewise.
34107 * timezone/tzfile.h: Likewise.
34108 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34109 (TZVERSION): Hardcode tzcode version number.
34110 * timezone/zdump.c: Update from tzcode 2012i.
34111 * timezone/zic.c: Likewise.
34112 * timezone/version.h: New file.
34113 * timezone/README: Describe version.h. Update upstream location.
34116 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34117 (mktemp): Enable declaration.
34118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34135 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34136 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34137 for copies of such integer values.
34138 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34139 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34141 2012-11-09 Andreas Jaeger <aj@suse.de>
34143 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34144 definitions and declarations that are provided by
34145 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34147 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34149 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34150 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34151 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34154 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34156 * elf/elf.h: Update comment before AArch64 relocations.
34158 2012-11-07 David S. Miller <davem@davemloft.net>
34160 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34161 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34162 (__start_context): Declare.
34163 (__makecontext_ret): Delete.
34164 (__makecontext): Hook up __start_context instead of
34166 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34167 (sysdep_routines): Add __start_context when in stdlib.
34169 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34171 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34172 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34173 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34175 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34176 (READELF): New variable. Use it instead of hardcoded "readelf".
34178 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34180 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34181 * sysdeps/x86/Makefile: Here.
34182 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34183 * sysdeps/x86/tst-xmmymm.sh: This.
34185 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34187 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34189 [UNIX98] (pthread_barrier_t): Do not expect.
34190 [UNIX98] (pthread_barrierattr_t): Likewise.
34191 [UNIX98] (pthread_spinlock_t): Likewise.
34192 [UNIX98] (pthread_barrier_destroy): Likewise.
34193 [UNIX98] (pthread_barrier_init): Likewise.
34194 [UNIX98] (pthread_barrier_wait): Likewise.
34195 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34196 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34197 [UNIX98] (pthread_barrierattr_init): Likewise.
34198 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34199 [UNIX98] (pthread_getcpuclockid): Likewise.
34200 [UNIX98] (pthread_mutex_timedlock): Likewise.
34201 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34202 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34203 [UNIX98] (pthread_sigmask): Likewise.
34204 [UNIX98] (pthread_spin_destroy): Likewise.
34205 [UNIX98] (pthread_spin_init): Likewise.
34206 [UNIX98] (pthread_spin_lock): Likewise.
34207 [UNIX98] (pthread_spin_trylock): Likewise.
34208 [UNIX98] (pthread_spin_unlock): Likewise.
34209 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34211 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34213 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34214 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34215 [XPG3 || XPG4] (pthread_key_t): Likewise.
34216 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34217 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34218 [XPG3 || XPG4] (pthread_once_t): Likewise.
34219 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34220 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34222 [XPG3 || XPG4] (pthread_t): Likewise.
34224 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34226 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34228 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34229 Change function return type to int.
34231 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34232 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34233 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34234 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34235 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34236 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34237 [!POSIX] (posix_madvise): Likewise.
34238 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34240 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34241 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34242 (mode_t): Likewise.
34243 (posix_mem_offset): Likewise.
34244 (posix_typed_mem_get_info): Likewise.
34245 (posix_typed_mem_open): Likewise.
34247 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34248 Change condition to [XOPEN2K8].
34250 * conform/conformtest.pl: Preprocess allow-header data with -x c
34251 instead of from stdin.
34252 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34253 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34254 [C99-based standards] (cerfc): Likewise.
34255 [C99-based standards] (cexp2): Likewise.
34256 [C99-based standards] (cexpm1): Likewise.
34257 [C99-based standards] (clog10): Likewise.
34258 [C99-based standards] (clog1p): Likewise.
34259 [C99-based standards] (clog2): Likewise.
34260 [C99-based standards] (clgamma): Likewise.
34261 [C99-based standards] (ctgamma): Likewise.
34262 [C99-based standards] (cerff): Likewise.
34263 [C99-based standards] (cerfcf): Likewise.
34264 [C99-based standards] (cexp2f): Likewise.
34265 [C99-based standards] (cexpm1f): Likewise.
34266 [C99-based standards] (clog10f): Likewise.
34267 [C99-based standards] (clog1pf): Likewise.
34268 [C99-based standards] (clog2f): Likewise.
34269 [C99-based standards] (clgammaf): Likewise.
34270 [C99-based standards] (ctgammaf): Likewise.
34271 [C99-based standards] (cerfl): Likewise.
34272 [C99-based standards] (cerfcl): Likewise.
34273 [C99-based standards] (cexp2l): Likewise.
34274 [C99-based standards] (cexpm1l): Likewise.
34275 [C99-based standards] (clog10l): Likewise.
34276 [C99-based standards] (clog1pl): Likewise.
34277 [C99-based standards] (clog2l): Likewise.
34278 [C99-based standards] (clgammal): Likewise.
34279 [C99-based standards] (ctgammal): Likewise.
34280 * conform/data/inttypes.h-data [C99-based standards]: Include
34281 stdint.h-data. Remove all expectations for stdint.h contents.
34282 [C99-based standards] (PRI*): Do not allow.
34283 [C99-based standards] (SCN*): Likewise.
34284 [C99-based standards] (*_t): Likewise.
34285 [C99-based-standards] (PRId8): Expect macro.
34286 [C99-based-standards] (PRIi8): Likewise.
34287 [C99-based-standards] (PRIo8): Likewise.
34288 [C99-based-standards] (PRIu8): Likewise.
34289 [C99-based-standards] (PRIx8): Likewise.
34290 [C99-based-standards] (PRIX8): Likewise.
34291 [C99-based-standards] (SCNd8): Likewise.
34292 [C99-based-standards] (SCNi8): Likewise.
34293 [C99-based-standards] (SCNo8): Likewise.
34294 [C99-based-standards] (SCNu8): Likewise.
34295 [C99-based-standards] (SCNx8): Likewise.
34296 [C99-based-standards] (PRIdLEAST8): Likewise.
34297 [C99-based-standards] (PRIiLEAST8): Likewise.
34298 [C99-based-standards] (PRIoLEAST8): Likewise.
34299 [C99-based-standards] (PRIuLEAST8): Likewise.
34300 [C99-based-standards] (PRIxLEAST8): Likewise.
34301 [C99-based-standards] (PRIXLEAST8): Likewise.
34302 [C99-based-standards] (SCNdLEAST8): Likewise.
34303 [C99-based-standards] (SCNiLEAST8): Likewise.
34304 [C99-based-standards] (SCNoLEAST8): Likewise.
34305 [C99-based-standards] (SCNuLEAST8): Likewise.
34306 [C99-based-standards] (SCNxLEAST8): Likewise.
34307 [C99-based-standards] (PRIdFAST8): Likewise.
34308 [C99-based-standards] (PRIiFAST8): Likewise.
34309 [C99-based-standards] (PRIoFAST8): Likewise.
34310 [C99-based-standards] (PRIuFAST8): Likewise.
34311 [C99-based-standards] (PRIxFAST8): Likewise.
34312 [C99-based-standards] (PRIXFAST8): Likewise.
34313 [C99-based-standards] (SCNdFAST8): Likewise.
34314 [C99-based-standards] (SCNiFAST8): Likewise.
34315 [C99-based-standards] (SCNoFAST8): Likewise.
34316 [C99-based-standards] (SCNuFAST8): Likewise.
34317 [C99-based-standards] (SCNxFAST8): Likewise.
34318 [C99-based-standards] (PRId16): Likewise.
34319 [C99-based-standards] (PRIi16): Likewise.
34320 [C99-based-standards] (PRIo16): Likewise.
34321 [C99-based-standards] (PRIu16): Likewise.
34322 [C99-based-standards] (PRIx16): Likewise.
34323 [C99-based-standards] (PRIX16): Likewise.
34324 [C99-based-standards] (SCNd16): Likewise.
34325 [C99-based-standards] (SCNi16): Likewise.
34326 [C99-based-standards] (SCNo16): Likewise.
34327 [C99-based-standards] (SCNu16): Likewise.
34328 [C99-based-standards] (SCNx16): Likewise.
34329 [C99-based-standards] (PRIdLEAST16): Likewise.
34330 [C99-based-standards] (PRIiLEAST16): Likewise.
34331 [C99-based-standards] (PRIoLEAST16): Likewise.
34332 [C99-based-standards] (PRIuLEAST16): Likewise.
34333 [C99-based-standards] (PRIxLEAST16): Likewise.
34334 [C99-based-standards] (PRIXLEAST16): Likewise.
34335 [C99-based-standards] (SCNdLEAST16): Likewise.
34336 [C99-based-standards] (SCNiLEAST16): Likewise.
34337 [C99-based-standards] (SCNoLEAST16): Likewise.
34338 [C99-based-standards] (SCNuLEAST16): Likewise.
34339 [C99-based-standards] (SCNxLEAST16): Likewise.
34340 [C99-based-standards] (PRIdFAST16): Likewise.
34341 [C99-based-standards] (PRIiFAST16): Likewise.
34342 [C99-based-standards] (PRIoFAST16): Likewise.
34343 [C99-based-standards] (PRIuFAST16): Likewise.
34344 [C99-based-standards] (PRIxFAST16): Likewise.
34345 [C99-based-standards] (PRIXFAST16): Likewise.
34346 [C99-based-standards] (SCNdFAST16): Likewise.
34347 [C99-based-standards] (SCNiFAST16): Likewise.
34348 [C99-based-standards] (SCNoFAST16): Likewise.
34349 [C99-based-standards] (SCNuFAST16): Likewise.
34350 [C99-based-standards] (SCNxFAST16): Likewise.
34351 [C99-based-standards] (PRId32): Likewise.
34352 [C99-based-standards] (PRIi32): Likewise.
34353 [C99-based-standards] (PRIo32): Likewise.
34354 [C99-based-standards] (PRIu32): Likewise.
34355 [C99-based-standards] (PRIx32): Likewise.
34356 [C99-based-standards] (PRIX32): Likewise.
34357 [C99-based-standards] (SCNd32): Likewise.
34358 [C99-based-standards] (SCNi32): Likewise.
34359 [C99-based-standards] (SCNo32): Likewise.
34360 [C99-based-standards] (SCNu32): Likewise.
34361 [C99-based-standards] (SCNx32): Likewise.
34362 [C99-based-standards] (PRIdLEAST32): Likewise.
34363 [C99-based-standards] (PRIiLEAST32): Likewise.
34364 [C99-based-standards] (PRIoLEAST32): Likewise.
34365 [C99-based-standards] (PRIuLEAST32): Likewise.
34366 [C99-based-standards] (PRIxLEAST32): Likewise.
34367 [C99-based-standards] (PRIXLEAST32): Likewise.
34368 [C99-based-standards] (SCNdLEAST32): Likewise.
34369 [C99-based-standards] (SCNiLEAST32): Likewise.
34370 [C99-based-standards] (SCNoLEAST32): Likewise.
34371 [C99-based-standards] (SCNuLEAST32): Likewise.
34372 [C99-based-standards] (SCNxLEAST32): Likewise.
34373 [C99-based-standards] (PRIdFAST32): Likewise.
34374 [C99-based-standards] (PRIiFAST32): Likewise.
34375 [C99-based-standards] (PRIoFAST32): Likewise.
34376 [C99-based-standards] (PRIuFAST32): Likewise.
34377 [C99-based-standards] (PRIxFAST32): Likewise.
34378 [C99-based-standards] (PRIXFAST32): Likewise.
34379 [C99-based-standards] (SCNdFAST32): Likewise.
34380 [C99-based-standards] (SCNiFAST32): Likewise.
34381 [C99-based-standards] (SCNoFAST32): Likewise.
34382 [C99-based-standards] (SCNuFAST32): Likewise.
34383 [C99-based-standards] (SCNxFAST32): Likewise.
34384 [C99-based-standards] (PRId64): Likewise.
34385 [C99-based-standards] (PRIi64): Likewise.
34386 [C99-based-standards] (PRIo64): Likewise.
34387 [C99-based-standards] (PRIu64): Likewise.
34388 [C99-based-standards] (PRIx64): Likewise.
34389 [C99-based-standards] (PRIX64): Likewise.
34390 [C99-based-standards] (SCNd64): Likewise.
34391 [C99-based-standards] (SCNi64): Likewise.
34392 [C99-based-standards] (SCNo64): Likewise.
34393 [C99-based-standards] (SCNu64): Likewise.
34394 [C99-based-standards] (SCNx64): Likewise.
34395 [C99-based-standards] (PRIdLEAST64): Likewise.
34396 [C99-based-standards] (PRIiLEAST64): Likewise.
34397 [C99-based-standards] (PRIoLEAST64): Likewise.
34398 [C99-based-standards] (PRIuLEAST64): Likewise.
34399 [C99-based-standards] (PRIxLEAST64): Likewise.
34400 [C99-based-standards] (PRIXLEAST64): Likewise.
34401 [C99-based-standards] (SCNdLEAST64): Likewise.
34402 [C99-based-standards] (SCNiLEAST64): Likewise.
34403 [C99-based-standards] (SCNoLEAST64): Likewise.
34404 [C99-based-standards] (SCNuLEAST64): Likewise.
34405 [C99-based-standards] (SCNxLEAST64): Likewise.
34406 [C99-based-standards] (PRIdFAST64): Likewise.
34407 [C99-based-standards] (PRIiFAST64): Likewise.
34408 [C99-based-standards] (PRIoFAST64): Likewise.
34409 [C99-based-standards] (PRIuFAST64): Likewise.
34410 [C99-based-standards] (PRIxFAST64): Likewise.
34411 [C99-based-standards] (PRIXFAST64): Likewise.
34412 [C99-based-standards] (SCNdFAST64): Likewise.
34413 [C99-based-standards] (SCNiFAST64): Likewise.
34414 [C99-based-standards] (SCNoFAST64): Likewise.
34415 [C99-based-standards] (SCNuFAST64): Likewise.
34416 [C99-based-standards] (SCNxFAST64): Likewise.
34417 [C99-based-standards] (PRIdMAX): Likewise.
34418 [C99-based-standards] (PRIiMAX): Likewise.
34419 [C99-based-standards] (PRIoMAX): Likewise.
34420 [C99-based-standards] (PRIuMAX): Likewise.
34421 [C99-based-standards] (PRIxMAX): Likewise.
34422 [C99-based-standards] (PRIXMAX): Likewise.
34423 [C99-based-standards] (SCNdMAX): Likewise.
34424 [C99-based-standards] (SCNiMAX): Likewise.
34425 [C99-based-standards] (SCNoMAX): Likewise.
34426 [C99-based-standards] (SCNuMAX): Likewise.
34427 [C99-based-standards] (SCNxMAX): Likewise.
34428 [C99-based-standards] (PRIdPTR): Likewise.
34429 [C99-based-standards] (PRIiPTR): Likewise.
34430 [C99-based-standards] (PRIoPTR): Likewise.
34431 [C99-based-standards] (PRIuPTR): Likewise.
34432 [C99-based-standards] (PRIxPTR): Likewise.
34433 [C99-based-standards] (PRIXPTR): Likewise.
34434 [C99-based-standards] (SCNdPTR): Likewise.
34435 [C99-based-standards] (SCNiPTR): Likewise.
34436 [C99-based-standards] (SCNoPTR): Likewise.
34437 [C99-based-standards] (SCNuPTR): Likewise.
34438 [C99-based-standards] (SCNxPTR): Likewise.
34439 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34441 * conform/data/stdint.h-data: Update comments to clarify
34443 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34445 [C99-based standards] (INT8_MAX): Likewise.
34446 [C99-based standards] (INT16_MIN): Likewise.
34447 [C99-based standards] (INT16_MAX): Likewise.
34448 [C99-based standards] (INT32_MIN): Likewise.
34449 [C99-based standards] (INT32_MAX): Likewise.
34450 [C99-based standards] (INT64_MIN): Likewise.
34451 [C99-based standards] (INT64_MAX): Likewise.
34452 [C99-based standards] (UINT8_MAX): Likewise.
34453 [C99-based standards] (UINT16_MAX): Likewise.
34454 [C99-based standards] (UINT32_MAX): Likewise.
34455 [C99-based standards] (UINT64_MAX): Likewise.
34456 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34457 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34458 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34459 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34460 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34461 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34462 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34463 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34464 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34465 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34466 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34467 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34468 [C99-based standards] (INT_FAST8_MIN): Likewise.
34469 [C99-based standards] (INT_FAST8_MAX): Likewise.
34470 [C99-based standards] (INT_FAST16_MIN): Likewise.
34471 [C99-based standards] (INT_FAST16_MAX): Likewise.
34472 [C99-based standards] (INT_FAST32_MIN): Likewise.
34473 [C99-based standards] (INT_FAST32_MAX): Likewise.
34474 [C99-based standards] (INT_FAST64_MIN): Likewise.
34475 [C99-based standards] (INT_FAST64_MAX): Likewise.
34476 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34477 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34478 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34479 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34480 [C99-based standards] (INTPTR_MIN): Likewise.
34481 [C99-based standards] (INTPTR_MAX): Likewise.
34482 [C99-based standards] (UINTPTR_MAX): Likewise.
34483 [C99-based standards] (INTMAX_MIN): Likewise.
34484 [C99-based standards] (INTMAX_MAX): Likewise.
34485 [C99-based standards] (UINTMAX_MAX): Likewise.
34486 [C99-based standards] (PTRDIFF_MIN): Likewise.
34487 [C99-based standards] (PTRDIFF_MAX): Likewise.
34488 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34489 [C99-based standards] (SIZE_MAX): Likewise.
34490 [C99-based standards] (WCHAR_MAX): Likewise.
34491 [C99-based standards] (WINT_MAX): Likewise.
34492 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34493 constraint on value.
34494 [C99-based standards] (WCHAR_MIN): Likewise.
34495 [C99-based standards] (WINT_MIN): Likewise.
34496 [C99-based standards] (*_t): Allow.
34497 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34498 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34499 Include math.h-data and complex.h-data. Remove all expectations
34500 of math.h and complex.h contents.
34501 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34503 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34504 (struct tm): Expect tag.
34505 [C99-based-standards] (wcstof): Expect function.
34506 [C99-based-standards] (wcstold): Likewise.
34507 [C99-based-standards] (wcstoll): Likewise.
34508 [C99-based-standards] (wcstoull): Likewise.
34509 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34510 macro-int-constant. Specify type.
34511 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34512 constraint on value.
34513 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34515 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34517 [ISO C standards]: Do not allow headers.
34518 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34519 wcs[abcdefghijklmnopqrstuvwxyz]*.
34520 [ISO C standards] (*_t): Do not allow.
34521 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34523 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34524 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34526 [ISO C standards]: Do not allow headers.
34527 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34528 is[abcdefghijklmnopqrstuvwxyz]*.
34529 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34530 to[abcdefghijklmnopqrstuvwxyz]*.
34531 [ISO C standards] (*_t): Do not allow.
34532 * conform/data/stdalign.h-data: New file.
34533 * conform/data/stdbool.h-data: Likewise.
34534 * conform/data/stdnoreturn.h-data: Likewise.
34536 2012-11-07 Roland McGrath <roland@hack.frob.com>
34539 * manual/filesys.texi (Directory Entries): Typo fix.
34540 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34542 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34544 * elf/elf.h (EM_AARCH64): New macro.
34545 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34546 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34547 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34548 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34549 (R_AARCH64_TLSDESC): Likewise.
34550 (NT_ARM_TLS): Likewise.
34551 (NT_ARM_HW_BREAK): Likewise.
34552 (NT_ARM_HW_WATCH): Likewise.
34554 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34557 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34558 (__ieee754_powl): Saturate nonzero exponents with absolute value
34559 below 0x1p-79 to +/- 0x1p-79.
34560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34561 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34562 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34563 nonzero exponents with absolute value below 0x1p-32 to +/-
34565 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34566 (__ieee754_powl): Saturate nonzero exponents with absolute value
34567 below 0x1p-79 to +/- 0x1p-79.
34568 * math/libm-test.inc (pow_test): Add more tests.
34570 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34572 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34573 _dl_s390_cap_flags with kernel. Increase string length.
34574 (_dl_s390_platforms): Add z196 and zEC12.
34576 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34578 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34579 Change XOPEN21K to XOPEN2K.
34581 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34583 * string/memmove.c: Use memcpy when possible.
34585 2012-11-06 Andreas Jaeger <aj@suse.de>
34587 * po/eo.po: Update from translation team.
34589 2012-11-06 Joseph Myers <joseph@codesourcery.com>
34592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34593 exponent and small x and y exponents, scale x or y up. Increase
34594 by 2 the exponent used in scaling up.
34595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34597 * math/libm-test.inc (fma_test): Add more tests.
34598 (fma_test_towardzero): Likewise.
34599 (fma_test_downward): Likewise.
34600 (fma_test_upward): Likewise.
34602 2012-11-05 Joseph Myers <joseph@codesourcery.com>
34605 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34609 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34610 namespace for names of struct fields.
34611 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34613 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34614 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34616 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34619 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34621 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34623 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34627 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34630 2012-11-04 Joseph Myers <joseph@codesourcery.com>
34633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34634 definitely overflow as x * y not x * y + z.
34635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34637 * math/libm-test.inc (fma_test): Add more tests.
34638 (fma_test_towardzero): Likewise.
34639 (fma_test_downward): Likewise.
34640 (fma_test_upward): Likewise.
34642 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34646 * include/stub-tag.h: Remove file.
34647 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34649 * manual/maint.texi (Porting): Don't reference it.
34650 * Makerules ($(objpfx)stubs): Likewise.
34651 * dirent/closedir.c: Don't include <stub-tag.h>.
34652 * dirent/dirfd.c: Likewise.
34653 * dirent/fdopendir.c: Likewise.
34654 * dirent/getdents.c: Likewise.
34655 * dirent/getdents64.c: Likewise.
34656 * dirent/opendir.c: Likewise.
34657 * dirent/readdir.c: Likewise.
34658 * dirent/readdir64.c: Likewise.
34659 * dirent/readdir64_r.c: Likewise.
34660 * dirent/readdir_r.c: Likewise.
34661 * dirent/rewinddir.c: Likewise.
34662 * dirent/seekdir.c: Likewise.
34663 * dirent/telldir.c: Likewise.
34664 * gmon/profil.c: Likewise.
34665 * grp/setgroups.c: Likewise.
34666 * inet/if_index.c: Likewise.
34667 * io/access.c: Likewise.
34668 * io/chdir.c: Likewise.
34669 * io/chmod.c: Likewise.
34670 * io/chown.c: Likewise.
34671 * io/close.c: Likewise.
34672 * io/dup.c: Likewise.
34673 * io/dup2.c: Likewise.
34674 * io/dup3.c: Likewise.
34675 * io/euidaccess.c: Likewise.
34676 * io/faccessat.c: Likewise.
34677 * io/fchdir.c: Likewise.
34678 * io/fchmod.c: Likewise.
34679 * io/fchmodat.c: Likewise.
34680 * io/fchown.c: Likewise.
34681 * io/fchownat.c: Likewise.
34682 * io/fcntl.c: Likewise.
34683 * io/flock.c: Likewise.
34684 * io/fstatfs.c: Likewise.
34685 * io/fstatfs64.c: Likewise.
34686 * io/fstatvfs.c: Likewise.
34687 * io/fstatvfs64.c: Likewise.
34688 * io/futimens.c: Likewise.
34689 * io/fxstat.c: Likewise.
34690 * io/fxstat64.c: Likewise.
34691 * io/fxstatat.c: Likewise.
34692 * io/fxstatat64.c: Likewise.
34693 * io/getcwd.c: Likewise.
34694 * io/isatty.c: Likewise.
34695 * io/lchmod.c: Likewise.
34696 * io/lchown.c: Likewise.
34697 * io/link.c: Likewise.
34698 * io/linkat.c: Likewise.
34699 * io/lseek.c: Likewise.
34700 * io/lseek64.c: Likewise.
34701 * io/lxstat64.c: Likewise.
34702 * io/mkdir.c: Likewise.
34703 * io/mkdirat.c: Likewise.
34704 * io/mkfifo.c: Likewise.
34705 * io/mkfifoat.c: Likewise.
34706 * io/open.c: Likewise.
34707 * io/open64.c: Likewise.
34708 * io/openat.c: Likewise.
34709 * io/openat64.c: Likewise.
34710 * io/pipe.c: Likewise.
34711 * io/pipe2.c: Likewise.
34712 * io/poll.c: Likewise.
34713 * io/posix_fadvise.c: Likewise.
34714 * io/posix_fadvise64.c: Likewise.
34715 * io/posix_fallocate.c: Likewise.
34716 * io/posix_fallocate64.c: Likewise.
34717 * io/read.c: Likewise.
34718 * io/readlink.c: Likewise.
34719 * io/readlinkat.c: Likewise.
34720 * io/rmdir.c: Likewise.
34721 * io/sendfile.c: Likewise.
34722 * io/sendfile64.c: Likewise.
34723 * io/statfs.c: Likewise.
34724 * io/statfs64.c: Likewise.
34725 * io/statvfs.c: Likewise.
34726 * io/statvfs64.c: Likewise.
34727 * io/symlink.c: Likewise.
34728 * io/symlinkat.c: Likewise.
34729 * io/ttyname.c: Likewise.
34730 * io/ttyname_r.c: Likewise.
34731 * io/umask.c: Likewise.
34732 * io/unlink.c: Likewise.
34733 * io/unlinkat.c: Likewise.
34734 * io/utime.c: Likewise.
34735 * io/utimensat.c: Likewise.
34736 * io/write.c: Likewise.
34737 * io/xmknod.c: Likewise.
34738 * io/xmknodat.c: Likewise.
34739 * io/xstat.c: Likewise.
34740 * io/xstat64.c: Likewise.
34741 * login/getpt.c: Likewise.
34742 * login/grantpt.c: Likewise.
34743 * login/unlockpt.c: Likewise.
34744 * math/e_acoshl.c: Likewise.
34745 * math/e_acosl.c: Likewise.
34746 * math/e_asinl.c: Likewise.
34747 * math/e_atan2l.c: Likewise.
34748 * math/e_atanhl.c: Likewise.
34749 * math/e_coshl.c: Likewise.
34750 * math/e_expl.c: Likewise.
34751 * math/e_fmodl.c: Likewise.
34752 * math/e_gammal_r.c: Likewise.
34753 * math/e_hypotl.c: Likewise.
34754 * math/e_j0l.c: Likewise.
34755 * math/e_j1l.c: Likewise.
34756 * math/e_jnl.c: Likewise.
34757 * math/e_lgammal_r.c: Likewise.
34758 * math/e_log10l.c: Likewise.
34759 * math/e_log2l.c: Likewise.
34760 * math/e_logl.c: Likewise.
34761 * math/e_powl.c: Likewise.
34762 * math/e_rem_pio2l.c: Likewise.
34763 * math/e_sinhl.c: Likewise.
34764 * math/e_sqrtl.c: Likewise.
34765 * math/fclrexcpt.c: Likewise.
34766 * math/fedisblxcpt.c: Likewise.
34767 * math/feenablxcpt.c: Likewise.
34768 * math/fegetenv.c: Likewise.
34769 * math/fegetexcept.c: Likewise.
34770 * math/fegetround.c: Likewise.
34771 * math/feholdexcpt.c: Likewise.
34772 * math/fesetenv.c: Likewise.
34773 * math/fesetround.c: Likewise.
34774 * math/feupdateenv.c: Likewise.
34775 * math/fgetexcptflg.c: Likewise.
34776 * math/fraiseexcpt.c: Likewise.
34777 * math/fsetexcptflg.c: Likewise.
34778 * math/ftestexcept.c: Likewise.
34779 * math/k_cosl.c: Likewise.
34780 * math/k_rem_pio2l.c: Likewise.
34781 * math/k_sinl.c: Likewise.
34782 * math/k_tanl.c: Likewise.
34783 * math/s_asinhl.c: Likewise.
34784 * math/s_atanl.c: Likewise.
34785 * math/s_cbrtl.c: Likewise.
34786 * math/s_erfl.c: Likewise.
34787 * math/s_expm1l.c: Likewise.
34788 * math/s_log1pl.c: Likewise.
34789 * math/s_tanhl.c: Likewise.
34790 * misc/acct.c: Likewise.
34791 * misc/brk.c: Likewise.
34792 * misc/chflags.c: Likewise.
34793 * misc/chroot.c: Likewise.
34794 * misc/fchflags.c: Likewise.
34795 * misc/fgetxattr.c: Likewise.
34796 * misc/flistxattr.c: Likewise.
34797 * misc/fremovexattr.c: Likewise.
34798 * misc/fsetxattr.c: Likewise.
34799 * misc/fsync.c: Likewise.
34800 * misc/ftruncate.c: Likewise.
34801 * misc/futimes.c: Likewise.
34802 * misc/futimesat.c: Likewise.
34803 * misc/getdomain.c: Likewise.
34804 * misc/getdtsz.c: Likewise.
34805 * misc/gethostid.c: Likewise.
34806 * misc/gethostname.c: Likewise.
34807 * misc/getloadavg.c: Likewise.
34808 * misc/getpagesize.c: Likewise.
34809 * misc/getsysstats.c: Likewise.
34810 * misc/getxattr.c: Likewise.
34811 * misc/gtty.c: Likewise.
34812 * misc/ioctl.c: Likewise.
34813 * misc/lgetxattr.c: Likewise.
34814 * misc/listxattr.c: Likewise.
34815 * misc/llistxattr.c: Likewise.
34816 * misc/lremovexattr.c: Likewise.
34817 * misc/lsetxattr.c: Likewise.
34818 * misc/lutimes.c: Likewise.
34819 * misc/madvise.c: Likewise.
34820 * misc/mincore.c: Likewise.
34821 * misc/mlock.c: Likewise.
34822 * misc/mlockall.c: Likewise.
34823 * misc/mmap.c: Likewise.
34824 * misc/mprotect.c: Likewise.
34825 * misc/msync.c: Likewise.
34826 * misc/munlock.c: Likewise.
34827 * misc/munlockall.c: Likewise.
34828 * misc/munmap.c: Likewise.
34829 * misc/preadv.c: Likewise.
34830 * misc/preadv64.c: Likewise.
34831 * misc/ptrace.c: Likewise.
34832 * misc/pwritev.c: Likewise.
34833 * misc/pwritev64.c: Likewise.
34834 * misc/readv.c: Likewise.
34835 * misc/reboot.c: Likewise.
34836 * misc/remap_file_pages.c: Likewise.
34837 * misc/removexattr.c: Likewise.
34838 * misc/revoke.c: Likewise.
34839 * misc/select.c: Likewise.
34840 * misc/setdomain.c: Likewise.
34841 * misc/setegid.c: Likewise.
34842 * misc/seteuid.c: Likewise.
34843 * misc/sethostid.c: Likewise.
34844 * misc/sethostname.c: Likewise.
34845 * misc/setregid.c: Likewise.
34846 * misc/setreuid.c: Likewise.
34847 * misc/setxattr.c: Likewise.
34848 * misc/sstk.c: Likewise.
34849 * misc/stty.c: Likewise.
34850 * misc/swapoff.c: Likewise.
34851 * misc/swapon.c: Likewise.
34852 * misc/sync.c: Likewise.
34853 * misc/syncfs.c: Likewise.
34854 * misc/syscall.c: Likewise.
34855 * misc/truncate.c: Likewise.
34856 * misc/ualarm.c: Likewise.
34857 * misc/usleep.c: Likewise.
34858 * misc/ustat.c: Likewise.
34859 * misc/utimes.c: Likewise.
34860 * misc/vhangup.c: Likewise.
34861 * misc/writev.c: Likewise.
34862 * posix/_exit.c: Likewise.
34863 * posix/alarm.c: Likewise.
34864 * posix/execve.c: Likewise.
34865 * posix/fexecve.c: Likewise.
34866 * posix/fork.c: Likewise.
34867 * posix/fpathconf.c: Likewise.
34868 * posix/getaddrinfo.c: Likewise.
34869 * posix/getegid.c: Likewise.
34870 * posix/geteuid.c: Likewise.
34871 * posix/getgid.c: Likewise.
34872 * posix/getgroups.c: Likewise.
34873 * posix/getlogin.c: Likewise.
34874 * posix/getlogin_r.c: Likewise.
34875 * posix/getpgid.c: Likewise.
34876 * posix/getpid.c: Likewise.
34877 * posix/getppid.c: Likewise.
34878 * posix/getresgid.c: Likewise.
34879 * posix/getresuid.c: Likewise.
34880 * posix/getsid.c: Likewise.
34881 * posix/getuid.c: Likewise.
34882 * posix/glob64.c: Likewise.
34883 * posix/nanosleep.c: Likewise.
34884 * posix/pathconf.c: Likewise.
34885 * posix/pause.c: Likewise.
34886 * posix/posix_madvise.c: Likewise.
34887 * posix/pread.c: Likewise.
34888 * posix/pread64.c: Likewise.
34889 * posix/pwrite.c: Likewise.
34890 * posix/pwrite64.c: Likewise.
34891 * posix/sched_getaffinity.c: Likewise.
34892 * posix/sched_getp.c: Likewise.
34893 * posix/sched_gets.c: Likewise.
34894 * posix/sched_primax.c: Likewise.
34895 * posix/sched_primin.c: Likewise.
34896 * posix/sched_rr_gi.c: Likewise.
34897 * posix/sched_setaffinity.c: Likewise.
34898 * posix/sched_setp.c: Likewise.
34899 * posix/sched_sets.c: Likewise.
34900 * posix/sched_yield.c: Likewise.
34901 * posix/setgid.c: Likewise.
34902 * posix/setlogin.c: Likewise.
34903 * posix/setpgid.c: Likewise.
34904 * posix/setresgid.c: Likewise.
34905 * posix/setresuid.c: Likewise.
34906 * posix/setsid.c: Likewise.
34907 * posix/setuid.c: Likewise.
34908 * posix/sleep.c: Likewise.
34909 * posix/spawni.c: Likewise.
34910 * posix/sysconf.c: Likewise.
34911 * posix/times.c: Likewise.
34912 * posix/wait.c: Likewise.
34913 * posix/wait3.c: Likewise.
34914 * posix/wait4.c: Likewise.
34915 * posix/waitpid.c: Likewise.
34916 * resolv/gai_sigqueue.c: Likewise.
34917 * resource/getpriority.c: Likewise.
34918 * resource/getrlimit.c: Likewise.
34919 * resource/getrusage.c: Likewise.
34920 * resource/nice.c: Likewise.
34921 * resource/setpriority.c: Likewise.
34922 * resource/setrlimit.c: Likewise.
34923 * resource/ulimit.c: Likewise.
34924 * rt/aio_cancel.c: Likewise.
34925 * rt/aio_fsync.c: Likewise.
34926 * rt/aio_read.c: Likewise.
34927 * rt/aio_sigqueue.c: Likewise.
34928 * rt/aio_suspend.c: Likewise.
34929 * rt/aio_write.c: Likewise.
34930 * rt/clock_getres.c: Likewise.
34931 * rt/clock_gettime.c: Likewise.
34932 * rt/clock_nanosleep.c: Likewise.
34933 * rt/clock_settime.c: Likewise.
34934 * rt/lio_listio.c: Likewise.
34935 * rt/mq_close.c: Likewise.
34936 * rt/mq_getattr.c: Likewise.
34937 * rt/mq_notify.c: Likewise.
34938 * rt/mq_open.c: Likewise.
34939 * rt/mq_receive.c: Likewise.
34940 * rt/mq_send.c: Likewise.
34941 * rt/mq_setattr.c: Likewise.
34942 * rt/mq_timedreceive.c: Likewise.
34943 * rt/mq_timedsend.c: Likewise.
34944 * rt/mq_unlink.c: Likewise.
34945 * rt/shm_open.c: Likewise.
34946 * rt/shm_unlink.c: Likewise.
34947 * rt/timer_create.c: Likewise.
34948 * rt/timer_delete.c: Likewise.
34949 * rt/timer_getoverr.c: Likewise.
34950 * rt/timer_gettime.c: Likewise.
34951 * rt/timer_settime.c: Likewise.
34952 * setjmp/__longjmp.c: Likewise.
34953 * setjmp/setjmp.c: Likewise.
34954 * signal/kill.c: Likewise.
34955 * signal/killpg.c: Likewise.
34956 * signal/raise.c: Likewise.
34957 * signal/sigaction.c: Likewise.
34958 * signal/sigaltstack.c: Likewise.
34959 * signal/sigblock.c: Likewise.
34960 * signal/sigignore.c: Likewise.
34961 * signal/sigintr.c: Likewise.
34962 * signal/signal.c: Likewise.
34963 * signal/sigpause.c: Likewise.
34964 * signal/sigpending.c: Likewise.
34965 * signal/sigqueue.c: Likewise.
34966 * signal/sigreturn.c: Likewise.
34967 * signal/sigset.c: Likewise.
34968 * signal/sigsetmask.c: Likewise.
34969 * signal/sigstack.c: Likewise.
34970 * signal/sigsuspend.c: Likewise.
34971 * signal/sigtimedwait.c: Likewise.
34972 * signal/sigvec.c: Likewise.
34973 * signal/sigwait.c: Likewise.
34974 * signal/sigwaitinfo.c: Likewise.
34975 * signal/sysv_signal.c: Likewise.
34976 * socket/accept.c: Likewise.
34977 * socket/accept4.c: Likewise.
34978 * socket/bind.c: Likewise.
34979 * socket/connect.c: Likewise.
34980 * socket/getpeername.c: Likewise.
34981 * socket/getsockname.c: Likewise.
34982 * socket/getsockopt.c: Likewise.
34983 * socket/isfdtype.c: Likewise.
34984 * socket/listen.c: Likewise.
34985 * socket/recv.c: Likewise.
34986 * socket/recvfrom.c: Likewise.
34987 * socket/recvmsg.c: Likewise.
34988 * socket/send.c: Likewise.
34989 * socket/sendmsg.c: Likewise.
34990 * socket/sendto.c: Likewise.
34991 * socket/setsockopt.c: Likewise.
34992 * socket/shutdown.c: Likewise.
34993 * socket/sockatmark.c: Likewise.
34994 * socket/socket.c: Likewise.
34995 * socket/socketpair.c: Likewise.
34996 * stdio-common/ctermid.c: Likewise.
34997 * stdio-common/cuserid.c: Likewise.
34998 * stdio-common/remove.c: Likewise.
34999 * stdio-common/rename.c: Likewise.
35000 * stdio-common/renameat.c: Likewise.
35001 * stdio-common/tempname.c: Likewise.
35002 * stdlib/getcontext.c: Likewise.
35003 * stdlib/makecontext.c: Likewise.
35004 * stdlib/setcontext.c: Likewise.
35005 * stdlib/swapcontext.c: Likewise.
35006 * stdlib/system.c: Likewise.
35007 * streams/fattach.c: Likewise.
35008 * streams/fdetach.c: Likewise.
35009 * streams/getmsg.c: Likewise.
35010 * streams/getpmsg.c: Likewise.
35011 * streams/putmsg.c: Likewise.
35012 * streams/putpmsg.c: Likewise.
35013 * sysdeps/unix/bsd/getpt.c: Likewise.
35014 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35015 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35016 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35019 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35020 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35021 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35022 * sysvipc/msgctl.c: Likewise.
35023 * sysvipc/msgget.c: Likewise.
35024 * sysvipc/msgrcv.c: Likewise.
35025 * sysvipc/msgsnd.c: Likewise.
35026 * sysvipc/semctl.c: Likewise.
35027 * sysvipc/semget.c: Likewise.
35028 * sysvipc/semop.c: Likewise.
35029 * sysvipc/semtimedop.c: Likewise.
35030 * sysvipc/shmat.c: Likewise.
35031 * sysvipc/shmctl.c: Likewise.
35032 * sysvipc/shmdt.c: Likewise.
35033 * sysvipc/shmget.c: Likewise.
35034 * termios/tcdrain.c: Likewise.
35035 * termios/tcflow.c: Likewise.
35036 * termios/tcflush.c: Likewise.
35037 * termios/tcgetattr.c: Likewise.
35038 * termios/tcgetpgrp.c: Likewise.
35039 * termios/tcsendbrk.c: Likewise.
35040 * termios/tcsetattr.c: Likewise.
35041 * termios/tcsetpgrp.c: Likewise.
35042 * time/adjtime.c: Likewise.
35043 * time/clock.c: Likewise.
35044 * time/getitimer.c: Likewise.
35045 * time/gettimeofday.c: Likewise.
35046 * time/setitimer.c: Likewise.
35047 * time/settimeofday.c: Likewise.
35048 * time/stime.c: Likewise.
35049 * time/time.c: Likewise.
35051 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35053 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35056 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35058 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35060 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35064 FE_TONEAREST before applying Dekker multiplication and Knuth
35065 addition. Clear inexact exceptions and check for exact zero
35066 results afterwards.
35067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35068 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35069 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35070 * math/libm-test.inc (fma_test): Add more tests.
35071 (fma_test_towardzero): Likewise.
35072 (fma_test_downward): Likewise.
35073 (fma_test_upward): Likewise.
35074 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35076 (libc_fesetround): New macro.
35077 (libc_fesetroundf): Likewise.
35078 (libc_fesetroundl): Likewise.
35079 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35081 (libc_fesetround_387): Likewise.
35082 (libc_fesetroundf): New macro.
35083 (libc_fesetround): Likewise.
35084 (libc_fesetroundl): Likewise.
35085 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35087 (libc_fesetroundf): New macro.
35088 (libc_fesetround): Likewise.
35089 (libc_fesetroundl): Likewise.
35090 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35091 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35092 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35094 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35095 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35097 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35098 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35100 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35104 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35105 integer constant usable in #if and use that to give value to enum
35107 (FE_DIVBYZERO): Likewise.
35108 (FE_UNDERFLOW): Likewise.
35109 (FE_OVERFLOW): Likewise.
35110 (FE_INVALID): Likewise.
35111 (FE_INVALID_SNAN): Likewise.
35112 (FE_INVALID_ISI): Likewise.
35113 (FE_INVALID_IDI): Likewise.
35114 (FE_INVALID_ZDZ): Likewise.
35115 (FE_INVALID_IMZ): Likewise.
35116 (FE_INVALID_COMPARE): Likewise.
35117 (FE_INVALID_SOFTWARE): Likewise.
35118 (FE_INVALID_SQRT): Likewise.
35119 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35120 (FE_TONEAREST): Likewise.
35121 (FE_TOWARDZERO): Likewise.
35122 (FE_UPWARD): Likewise.
35123 (FE_DOWNWARD): Likewise.
35124 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35125 (FE_DIVBYZERO): Likewise.
35126 (FE_OVERFLOW): Likewise.
35127 (FE_UNDERFLOW): Likewise.
35128 (FE_INEXACT): Likewise.
35129 (FE_TONEAREST): Likewise.
35130 (FE_DOWNWARD): Likewise.
35131 (FE_UPWARD): Likewise.
35132 (FE_TOWARDZERO): Likewise.
35133 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35134 (FE_UNDERFLOW): Likewise.
35135 (FE_OVERFLOW): Likewise.
35136 (FE_DIVBYZERO): Likewise.
35137 (FE_INVALID): Likewise.
35138 (FE_TONEAREST): Likewise.
35139 (FE_TOWARDZERO): Likewise.
35140 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35141 (FE_OVERFLOW): Likewise.
35142 (FE_UNDERFLOW): Likewise.
35143 (FE_DIVBYZERO): Likewise.
35144 (FE_INEXACT): Likewise.
35145 (FE_TONEAREST): Likewise.
35146 (FE_TOWARDZERO): Likewise.
35147 (FE_UPWARD): Likewise.
35148 (FE_DOWNWARD): Likewise.
35149 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35150 (FE_DIVBYZERO): Likewise.
35151 (FE_OVERFLOW): Likewise.
35152 (FE_UNDERFLOW): Likewise.
35153 (FE_INEXACT): Likewise.
35154 (FE_TONEAREST): Likewise.
35155 (FE_DOWNWARD): Likewise.
35156 (FE_UPWARD): Likewise.
35157 (FE_TOWARDZERO): Likewise.
35159 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35161 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35163 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35165 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35166 commands. Quote $PWD.
35167 (blacklist_exports): Don't use remove_newlines. Replace "declare
35169 (remove_newlines): Remove.
35171 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35173 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35174 * stdlib/stdlib.h (atof): Moved to ...
35175 * include/bits/stdlib-float.h: Here. New file.
35176 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35177 * stdlib/bits/stdlib-float.h: New file.
35178 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35180 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35183 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35185 * conform/conformtest.pl (@headers): Add fenv.h.
35186 * conform/data/fenv.h-data: New file.
35187 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35188 include of <math/fenv.h>.
35190 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35191 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35192 && !UNIX98]. Enables tests for XOPEN2K8.
35193 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35194 POSIX2008]: Likewise.
35196 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35197 (struct rusage): Do not expect type or its members.
35200 * math/math.h (FP_NAN): Define macro to integer constant usable in
35201 #if and use that to give value to enum constant.
35202 (FP_INFINITE): Likewise.
35203 (FP_ZERO): Likewise.
35204 (FP_SUBNORMAL): Likewise.
35205 (FP_NORMAL): Likewise.
35207 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35209 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35210 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35213 2012-11-02 Roland McGrath <roland@hack.frob.com>
35215 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35216 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35217 autoconf-time if not.
35218 * configure.in: Remove AC_PREREQ.
35220 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35222 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35223 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35224 of the internal implementation.
35226 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35228 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35229 except include of <misc/sys/syslog.h>.
35231 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35234 function returns with a NULL context exit with zero.
35236 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35238 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35240 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35242 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35243 (run_program_cmd): This.
35244 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35245 (tst_langinfo): New variable. Use it.
35247 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35249 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35250 floating point opcodes.
35252 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35254 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35257 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35259 * sysdeps/mach/hurd/powerpc: Remove directory.
35260 * sysdeps/mach/powerpc: Likewise.
35262 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35264 * scripts/check-local-headers.sh: Ignore c++ headers.
35266 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35268 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35269 __libc_cleanup_region_start argument.
35271 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35276 x * y using scaling, not as x * y + z.
35277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35279 * math/libm-test.inc (fma_test): Add more tests.
35280 (fma_test_towardzero): Likewise.
35281 (fma_test_downward): Likewise.
35282 (fma_test_upward): Likewise.
35284 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35286 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35288 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35290 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35293 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35295 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35297 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35304 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35307 Fix the order of the list for glibc 2.17.
35308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35311 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35315 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35318 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35319 for low part of x being zero before using __atanl (y).
35320 * math/libm-test.inc (atan2_test): Add another test.
35322 * manual/install.texi (Configuring and compiling): Document
35323 general use of test-wrapper and test-wrapper-env.
35324 * INSTALL: Regenerated.
35326 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35327 (__fma): Do not extract and scale down low bits on after-rounding
35328 systems when result rounded to normal precision would have normal
35330 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35331 (__fmal): Do not extract and scale down low bits on after-rounding
35332 systems when result rounded to normal precision would have normal
35334 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35335 (__fmal): Do not extract and scale down low bits on after-rounding
35336 systems when result rounded to normal precision would have normal
35338 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35340 (fma_test): Add more tests.
35341 (fma_test_towardzero): Likewise.
35342 (fma_test_downward): Likewise.
35343 (fma_test_upward): Likewise.
35345 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35347 * sysdeps/i386/tininess.h: Renamed to ...
35348 * sysdeps/x86/tininess.h: This.
35349 * sysdeps/x86_64/tininess.h: Removed.
35351 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35353 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35354 input. Use $(build-program-cmd).
35355 ($(objpfx)tst-array1-static.out): Likewise.
35356 ($(objpfx)tst-array2.out): Likewise.
35357 ($(objpfx)tst-array3.out): Likewise.
35358 ($(objpfx)tst-array4.out): Likewise.
35359 ($(objpfx)tst-array5.out): Likewise.
35360 ($(objpfx)tst-array5-static.out): Likewise.
35362 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35364 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35367 * nss/nsswitch.h (nss_interface_function): Provide new
35368 macro for use with NSS functions.
35369 * grp/initgroups.c: Use new macro.
35370 * nss/getXXbyYY.c: Likewise.
35371 * nss/getXXbyYY_r.c: Likewise.
35372 * nss/getXXent.c: Likewise.
35373 * nss/getXXent_r.c: Likewise.
35374 * sysdeps/posix/getaddrinfo.c: Likewise.
35376 2012-10-30 Andreas Jaeger <aj@suse.de>
35378 * po/ru.po: Update Russion translation from translation project.
35380 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35385 result and shift together with sticky bit instead of replicating
35386 round-to-nearest rounding.
35387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35389 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35390 missing underflow exceptions.
35391 (fma_test_towardzero): Add more tests.
35392 (fma_test_downward): Likewise.
35393 (fma_test_upward): Likewise.
35396 * sysdeps/generic/tininess.h: New file.
35397 * sysdeps/i386/tininess.h: Likewise.
35398 * sysdeps/sh/tininess.h: Likewise.
35399 * sysdeps/x86_64/tininess.h: Likewise.
35400 * stdlib/tst-strtod-underflow.c: Likewise.
35401 * stdlib/tst-tininess.c: Likewise.
35402 * stdlib/strtod_l.c: Include <tininess.h>.
35403 (round_and_return): Do not set errno for exact underflow cases.
35404 Force an underflow exception when setting errno for underflow.
35405 Determine underflow based on rounding to normal precision if
35406 TININESS_AFTER_ROUNDING.
35407 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35408 ERANGE for exact underflow cases.
35409 * stdlib/Makefile (tests): Add tst-tininess and
35410 tst-strtod-underflow.
35411 ($(objpfx)tst-tininess): Use $(link-libm).
35412 ($(objpfx)tst-strtod-underflow): Likewise.
35414 2012-10-30 Andreas Jaeger <aj@suse.de>
35417 * elf/Makefile (tests): Remove conditional for have-initfini-array
35418 since this is now always required and the variable does not exist
35420 (tests-static): Likewise.
35421 (modules-names): Likewise.
35423 * po/eo.po: Add Esperanto translation from translation project.
35425 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35426 merged with constructor/destructor.
35427 (init_array): Likewise.
35428 * elf/tst-array2dep.c (fini_array): Likewise.
35429 (init_array): Likewise.
35431 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35433 * manual/message.texi: Delete @cartouche tags.
35435 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35437 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35439 * sysdeps/mach/hurd/fsync.c: Likewise.
35441 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35442 [_POSIX_REALTIME_SIGNALS]: Change condition to
35443 [_POSIX_REALTIME_SIGNALS > 0].
35445 2012-10-27 Andreas Jaeger <aj@suse.de>
35447 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35448 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35450 [__WORDSIZE != 64]: Likewise.
35452 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35454 * iconvdata/tst-table.sh: Remove ${SHELL}.
35455 * iconvdata/tst-tables.sh: Likewise.
35457 2012-10-25 David S. Miller <davem@davemloft.net>
35459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35460 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35465 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35466 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35467 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35470 2012-10-25 Roland McGrath <roland@hack.frob.com>
35472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35473 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35476 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35477 Jim Blandy <jimb@codesourcery.com>
35479 * scripts/cross-test-ssh.sh: New file.
35480 * manual/install.texi (Configuring and compiling): Document use of
35482 * INSTALL: Regenerated.
35484 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35486 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35489 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35491 * Makeconfig (run-program-prefix): Fix comment.
35493 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35494 Jim Blandy <jimb@codesourcery.com>
35496 * Makeconfig (test-wrapper): New variable,
35497 (test-wrapper-env): Likewise.
35498 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35499 (run-built-tests): Define to yes.
35500 (run-program-prefix): Use $(test-wrapper).
35501 (built-program-cmd): Likewise.
35502 * Rules (make-test-out): Use $(test-wrapper-env) and
35503 $(host-built-program-cmd).
35504 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35505 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35507 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35508 $(test-wrapper-env) to tst-rtld-load-self.sh.
35509 ($(objpfx)order2.out): Use $(test-wrapper).
35510 ($(objpfx)tst-initorder.out): Likewise.
35511 ($(objpfx)tst-initorder2.out): Likewise.
35512 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35513 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35514 (test_wrapper_env): New variable. Use it to run ld.so.
35515 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35516 Use it to run ld.so.
35517 (test_wrapper_env): Likewise.
35518 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35519 $(test-wrapper) to run-iconv-test.sh.
35520 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35521 (ICONV): Use $test_wrapper.
35522 * posix/Makefile ($(objpfx)globtest.out): Pass
35523 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35524 globtest.sh, not $(run-program-prefix).
35525 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35526 (test_wrapper): Likewise.
35527 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35528 set together with run_via_rtld_prefix.
35529 (run_program_prefix): Define in terms of test_wrapper and
35530 run_via_rtld_prefix.
35532 2012-10-24 Roland McGrath <roland@hack.frob.com>
35534 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35535 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35539 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35540 Declare __clock_getres, __clock_gettime, __clock_settime,
35541 __clock_nanosleep, and __clock_getcpuclockid.
35542 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35543 Remove librt_hidden_def (clock_gettime).
35544 * sysdeps/unix/clock_gettime.c: Likewise.
35545 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35546 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35547 * rt/clock_getres.c: Define __clock_getres as an alias.
35548 * sysdeps/posix/clock_getres.c: Likewise.
35549 * rt/clock_settime.c: Define __clock_settime as an alias.
35550 * sysdeps/unix/clock_settime.c: Likewise.
35551 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35552 * sysdeps/unix/clock_nanosleep.c: Likewise.
35553 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35554 * rt/clock-compat.c: New file.
35555 * rt/Makefile (librt-routines): Add clock-compat and move
35556 $(clock-routines) to ...
35557 (routines): ... here, new variable.
35558 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35559 Don't add get_clockfreq here.
35560 * rt/Versions (libc: GLIBC_2.17): New version set.
35561 Add clock_* symbols here.
35562 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35563 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35564 (GLIBC_2.17): Add clock_* symbols.
35565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35576 * NEWS: Mention the move.
35578 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35579 Use __open, __read, __close rather than their public counterparts.
35580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35581 (__get_clockfreq_via_cpuinfo): Likewise.
35582 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35583 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35585 * config.h.in (HAVE_IFUNC): New #undef.
35586 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35588 * configure: Regenerated.
35590 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35592 * configure.in: Move READELF check to start of file.
35593 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35594 libc_cv_asm_gnu_indirect_function in the process.
35595 * configure: Regenerated.
35597 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35599 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35600 send the output to /dev/null.
35601 (libc_cv_cc_with_libunwind): Likewise.
35602 (libc_cv_as_noexecstack): Likewise.
35603 * configure: Regenerate.
35605 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35607 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35609 * posix/globtest.sh (TMPDIR): Do not set.
35610 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35611 (testout): Likewise.
35613 2012-10-24 Andreas Jaeger <aj@suse.de>
35615 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35616 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35617 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35618 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35619 posix_fadvise64, posix_fallocate64.
35621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35622 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35623 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35625 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35627 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35630 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35631 <bits/fcntl-linux.h>.
35632 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35635 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35636 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35637 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35638 [__WORDSIZE != 64]: Likewise.
35640 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35642 * Makeconfig (run-built-tests): New variable.
35643 * Rules [$(cross-compiling) = yes]: Change condition to
35644 [$(run-built-tests) = no].
35645 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35646 to [$(run-built-tests) = yes].
35647 * elf/Makefile [$(cross-compiling) = no]: Likewise
35648 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35649 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35650 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35651 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35652 * io/Makefile [$(cross-compiling) = no]: Likewise.
35653 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35654 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35655 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35656 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35657 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35658 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35659 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35660 * string/Makefile [$(cross-compiling) = no]: Likewise.
35662 * posix/Makefile ($(objpfx)globtest.out): Pass
35663 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35664 $(rtld-installed-name).
35665 * posix/globtest.sh (elf_objpfx): Remove variable.
35666 (rtld_installed_name): Likewise.
35667 (library_path): Likewise.
35668 (run_program_prefix): New variable. Use for running globtest
35671 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35672 Joseph Myers <joseph@codesourcery.com>
35674 * Makeconfig (host-built-program-cmd): New variable.
35675 * elf/Makefile (tst-stackguard1-ARGS): Use
35676 $(host-built-program-cmd).
35677 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35678 (tst-spawn-ARGS): Likewise.
35679 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35681 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35682 Jim Blandy <jimb@codesourcery.com>
35684 * Makeconfig (run-via-rtld-prefix): New variable.
35685 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35686 (built-program-cmd): Likewise.
35688 2012-10-22 Andreas Jaeger <aj@suse.de>
35690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35691 __O_RSYNC if it exists, otherwise to O_SYNC.
35693 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35694 Joseph Myers <joseph@codesourcery.com>
35696 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35698 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35700 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35703 2012-10-22 Andreas Jaeger <aj@suse.de>
35705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35710 bits/fcntl-linux.h.
35712 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35713 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35720 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35721 Joseph Myers <joseph@codesourcery.com>
35723 * config.make.in (NM): New variable.
35725 2012-10-21 Andreas Jaeger <aj@suse.de>
35727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35728 definitions and declarations that are provided by
35729 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35731 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35734 * elf/Makefile (tests-static): Add tst-leaks1-static.
35735 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35736 ($(objpfx)tst-leaks1-static): New rule.
35737 ($(objpfx)tst-leaks1-static-mem): Likewise.
35738 (tst-leaks1-static-ENV): New macro.
35739 * elf/dl-open.c (dl_open_worker): Check the main application
35740 only if SHARED is defined.
35741 * elf/tst-leaks1-static.c: New file.
35743 2012-10-20 Andreas Jaeger <aj@suse.de>
35745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35746 generic values for Linux.
35747 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35748 and declarations that are provided by <bits/fcntl-linux.h> and
35749 include <bits/fcntl-linux.h>.
35750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35753 2012-10-20 Roland McGrath <roland@hack.frob.com>
35755 * io/fcntl.h: Move include of <bits/types.h> to the top and
35756 include it unconditionally.
35758 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35760 * wcsmbs/Makefile (tests-ifunc): New variable.
35761 (tests): Add $(tests-ifunc).
35762 * wcsmbs/test-wcschr-ifunc.c: New file.
35763 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35764 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35765 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35766 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35767 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35769 * string/Makefile (tests-ifunc): New variable.
35770 (tests): Add $(tests-ifunc).
35771 * string/test-memccpy.c (TEST_NAME): New macro.
35772 * string/test-memchr.c (TEST_NAME): Likewise.
35773 * string/test-memcmp.c (TEST_NAME): Likewise.
35774 * string/test-memcpy.c (TEST_NAME): Likewise.
35775 * string/test-memmem.c (TEST_NAME): Likewise.
35776 * string/test-memmove.c (TEST_NAME): Likewise.
35777 * string/test-memset.c (TEST_NAME): Likewise.
35778 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35779 * string/test-stpcpy.c (TEST_NAME): Likewise.
35780 * string/test-stpncpy.c (TEST_NAME): Likewise.
35781 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35782 * string/test-strcasestr.c (TEST_NAME): Likewise.
35783 * string/test-strcat.c (TEST_NAME): Likewise.
35784 * string/test-strchr.c (TEST_NAME): Likewise.
35785 * string/test-strcmp.c(TEST_NAME): Likewise.
35786 * string/test-strcpy.c (TEST_NAME): Likewise.
35787 * string/test-strcspn.c (TEST_NAME): Likewise.
35788 * string/test-strlen.c (TEST_NAME): Likewise.
35789 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35790 * string/test-strncmp.c (TEST_NAME): Likewise.
35791 * string/test-strncpy.c (TEST_NAME): Likewise.
35792 * string/test-strnlen.c (TEST_NAME): Likewise.
35793 * string/test-strpbrk.c (TEST_NAME): Likewise.
35794 * string/test-strrchr.c (TEST_NAME): Likewise.
35795 * string/test-strspn.c (TEST_NAME): Likewise.
35796 * string/test-strstr.c (TEST_NAME): Likewise.
35797 * string/test-bcopy-ifunc.c: New file.
35798 * string/test-bzero-ifunc.c: Likewise.
35799 * string/test-memccpy-ifunc.c: Likewise.
35800 * string/test-memchr-ifunc.c: Likewise.
35801 * string/test-memcmp-ifunc.c: Likewise.
35802 * string/test-memcpy-ifunc.c: Likewise.
35803 * string/test-memmem-ifunc.c: Likewise.
35804 * string/test-memmove-ifunc.c: Likewise.
35805 * string/test-mempcpy-ifunc.c: Likewise.
35806 * string/test-memset-ifunc.c: Likewise.
35807 * string/test-rawmemchr-ifunc.c: Likewise.
35808 * string/test-stpcpy-ifunc.c: Likewise.
35809 * string/test-stpncpy-ifunc.c: Likewise.
35810 * string/test-strcasecmp-ifunc.c: Likewise.
35811 * string/test-strcasestr-ifunc.c: Likewise.
35812 * string/test-strcat-ifunc.c: Likewise.
35813 * string/test-strchr-ifunc.c: Likewise.
35814 * string/test-strchrnul-ifunc.c: Likewise.
35815 * string/test-strcmp-ifunc.c: Likewise.
35816 * string/test-strcpy-ifunc.c: Likewise.
35817 * string/test-strcspn-ifunc.c: Likewise.
35818 * string/test-strlen-ifunc.c: Likewise.
35819 * string/test-strncasecmp-ifunc.c: Likewise.
35820 * string/test-strncat-ifunc.c: Likewise.
35821 * string/test-strncmp-ifunc.c: Likewise.
35822 * string/test-strncpy-ifunc.c: Likewise.
35823 * string/test-strnlen-ifunc.c: Likewise.
35824 * string/test-strpbrk-ifunc.c: Likewise.
35825 * string/test-strrchr-ifunc.c: Likewise.
35826 * string/test-strspn-ifunc.c: Likewise.
35827 * string/test-strstr-ifunc.c: Likewise.
35829 * debug/Makefile (tests-ifunc): New variable.
35830 (tests): Add $(tests-ifunc).
35831 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35832 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35833 * debug/test-stpcpy_chk-ifunc.c: New file.
35834 * debug/test-strcpy_chk-ifunc.c: Likewise.
35836 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35839 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35840 header is not read in.
35842 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35844 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35845 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35846 directly. Pass built executable to script as
35847 $(built-program-cmd).
35848 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35849 $testprogram without using LD_LIBRARY_PATH and $ldso.
35851 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35852 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35853 $(rtld-installed-name).
35854 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35855 (rtld_installed_name): Likewise.
35856 (library_path): Likewise.
35857 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35858 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35859 $(run-program-prefix) to tst-tables.sh.
35860 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35861 it to run tst-table-from and tst-table-to.
35862 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35863 Pass it to tst-table.sh.
35864 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35865 $(run-program-prefix) to tst-gettext.sh.
35866 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35868 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35870 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35871 to run tst-gettext.
35872 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35873 to run tst-gettext2.
35874 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35875 to run tst-translit.
35876 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35877 $(run-program-prefix) to tst-mtrace.sh.
35878 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35880 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35881 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35882 $(rtld-installed-name).
35883 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35884 (rtld_installed_name): Likewise.
35885 (run_program_prefix): New variable. Use it to run wordexp-test.
35887 * Makeconfig (ARCH): Remove all definitions.
35888 (machine): Likewise.
35889 [ARCH]: Remove conditional code.
35890 [!objdir]: Give error.
35891 [!objdir] (objpfx): Remove.
35892 [!objdir] (common-objpfx): Likewise.
35893 [!objdir] (common-objdir): Likewise.
35894 * configure.in (config_makefile): Remove. Hardcode Makefile in
35895 AC_CONFIG_FILES call.
35896 * configure: Regenerated.
35899 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35901 (testout): Likewise.
35903 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35904 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35905 $(rtld-installed-name).
35906 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35907 (rtld_installed_name): Likwise.
35908 (runit): Remove function.
35909 (run_getconf): New variable, Use it for running getconf binary.
35911 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35914 * string/test-memmem.c (check_result): New function.
35915 (do_one_test): Use it.
35916 (check1): New function.
35917 (test_main): Use it.
35919 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35921 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35923 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35925 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35926 (_G_LSEEK64): Likewise.
35927 (_G_MMAP64): Likewise.
35928 (_G_FSTAT64): Likewise.
35929 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35930 (_G_LSEEK64): Likewise.
35931 (_G_MMAP64): Likewise.
35932 (_G_FSTAT64): Likewise.
35933 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35934 unconditional. Call __mmap64 directly.
35935 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35936 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35937 __lseek64 directly.
35938 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35939 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35941 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35942 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35943 __lseek64 directly.
35944 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35945 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35946 __lseek64 directly.
35947 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35948 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35949 __lseek64 directly.
35950 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35951 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35952 __fxstat64 directly.
35953 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35954 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35956 (freopen64) [!_G_OPEN64]: Remove conditional code.
35957 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35959 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35960 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35962 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35963 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35965 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35966 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35968 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35969 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35971 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35972 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35974 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35975 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35977 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35979 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35982 * manual/memory.texi (Malloc Tunable Parameters): Add note
35983 about free list pointers overwriting some perturb bytes.
35984 Wording suggested by Roland McGrath.
35986 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35988 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35989 (lgamma_test): Likewise.
35990 (tgamma_test): Likewise.
35992 2012-10-16 Florian Weimer <fweimer@redhat.com>
35995 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35996 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35998 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36000 * NEWS: Mention BZ #14716.
36001 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36002 when removing AVAILABLE1_USES_J macro.
36004 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36006 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36007 (__bswap_64): __uint64_t for unsigned 64-bit int.
36009 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36011 * include/string.h (memmem): Declare libc hidden alias.
36012 * string/memmem.c (memmem): Define libc hidden alias.
36013 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36014 __read, __close instead of open, read, close.
36016 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36019 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36021 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36022 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36023 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36025 (__rawmemchr_sse2): Likewise.
36026 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36027 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36028 (__strchr_sse2): Likewise.
36029 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36030 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36031 (__strcasecmp_sse2): Likewise.
36032 (__strncasecmp_sse2): Likewise.
36033 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36034 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36035 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36036 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36037 (__strrchr_sse2): Likewise.
36038 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36040 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36041 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36042 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36043 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36044 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36045 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36046 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36047 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36048 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36049 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36050 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36051 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36052 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36053 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36054 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36055 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36056 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36057 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36058 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36059 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36060 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36061 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36062 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36063 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36064 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36065 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36066 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36067 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36068 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36069 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36071 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36073 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36074 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36075 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36076 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36078 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36080 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36081 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36082 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36083 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36085 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36086 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36087 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36088 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36089 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36090 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36091 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36092 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36093 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36094 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36095 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36096 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36097 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36098 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36099 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36100 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36101 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36102 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36103 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36104 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36105 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36106 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36107 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36108 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36109 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36110 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36111 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36112 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36113 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36114 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36115 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36116 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36117 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36118 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36119 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36120 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36121 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36122 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36123 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36124 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36125 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36127 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36128 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36129 * include/ifunc-impl-list.h: New file.
36130 * misc/ifunc-impl-list.c: Likewise.
36131 * misc/Makefile (routines): Add ifunc-impl-list.
36132 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36133 * string/test-string.h: Include <ifunc-impl-list.h>.
36134 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36135 TEST_NAME]: New variables.
36136 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36138 (test_init): Call __libc_ifunc_impl_list to initialize
36139 func_list if TEST_IFUNC and TEST_NAME are defined.
36141 * string/Makefile (strop-tests): Add bcopy and bzero.
36142 * string/test-bcopy.c: New file.
36143 * string/test-bzero.c: Likewise.
36144 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36146 * string/test-memset.c: Support bzero test if TEST_BZERO is
36148 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36150 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36152 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36155 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36157 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36158 * configure: Regenerated.
36160 * Makeconfig (+link-static-before-libc): Don't include
36161 $(link-static-libc).
36163 * libio/libio.h (_IO_pos_t): Remove.
36165 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36167 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36170 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36172 * crypt/crypt-entry.c: Include fips-private.h.
36173 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36174 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36175 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36176 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36178 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36180 * crypt/crypt-private.h: Include stdbool.h.
36181 (_ufc_setup_salt_r): Return bool.
36182 * crypt/crypt-entry.c: Include errno.h.
36183 (__crypt_r): Return NULL with EINVAL for bad salt.
36184 * crypt/crypt_util.c (bad_for_salt): New.
36185 (_ufc_setup_salt_r): Check that salt is long enough and within
36186 the specified alphabet.
36187 * crypt/badsalttest.c: New file.
36188 * crypt/Makefile (tests): Add it.
36189 ($(objpfx)badsalttest): New.
36191 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36193 * NEWS: Add entry for BZ #14602.
36195 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36197 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36199 * math/libm-test.inc: Update comment listing what functions and
36201 (isgreater_test): New function.
36202 (isgreaterequal_test): Likewise.
36203 (isless_test): Likewise.
36204 (islessequal_test): Likewise.
36205 (islessgreater_test): Likewise.
36206 (isunordered_test): Likewise.
36207 (main): Call the new functions.
36209 2012-10-09 Roland McGrath <roland@hack.frob.com>
36211 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36212 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36213 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36214 * sysdeps/i386/configure: Regenerated.
36215 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36216 * sysdeps/mach/configure: Regenerated.
36217 * sysdeps/mach/hurd/configure: Regenerated.
36218 * sysdeps/powerpc/configure: Regenerated.
36219 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36220 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36221 * sysdeps/s390/s390-32/configure: Regenerated.
36222 * sysdeps/s390/s390-64/configure: Regenerated.
36223 * sysdeps/sh/configure: Regenerated.
36224 * sysdeps/sparc/configure: Regenerated.
36225 * sysdeps/unix/sysv/linux/configure: Regenerated.
36226 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36227 * sysdeps/x86_64/configure: Regenerated.
36229 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36230 defined. Don't check if MAP is NULL.
36232 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36234 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36235 (_G_stat64): Likewise.
36236 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36237 (_G_stat64): Likewise.
36238 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36239 instead of struct _G_stat64.
36240 * libio/fileops.c (mmap_remap_check): Likewise.
36241 (decide_maybe_mmap): Likewise.
36242 (_IO_new_file_seekoff): Likewise.
36243 (_IO_file_stat): Likewise.
36244 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36246 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36247 instead of struct _G_stat64.
36248 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36250 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36253 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36255 (CHECK_EOL): New macro.
36256 (two_way_short_needle): Check beginning of haystack for EOL. Use
36258 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36259 Replace with CHECK_EOL.
36260 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36261 Replace with CHECK_EOL.
36263 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36265 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36267 * math/libm-test.inc: Update comment listing what functions and
36269 (finite_test): New function.
36270 (isinf_test): Likewise.
36271 (isnan_test): Likewise.
36272 (fpclassify_test): Test subnormal input.
36273 (isfinite_test): Likewise.
36274 (isnormal_test): Likewise.
36275 (main): Call the new functions.
36277 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36280 * Makerules (%.dynsym): Force C locale when running
36281 $(OBJDUMP) --dynamic-syms.
36283 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36285 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36288 2012-10-06 David S. Miller <davem@davemloft.net>
36290 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36291 upper 32-bits of the length value in %o2 since we use branch-on-register
36292 tests which consider the entire 64-bit register.
36294 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36296 * string/test-strstr.c (check2): Add a test for page boundary.
36298 2012-10-05 David S. Miller <davem@davemloft.net>
36300 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36301 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36303 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36305 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36306 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36307 and bzero when HWCAP_SPARC_CRYPTO is present.
36309 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36312 * string/test-strstr.c (check2): New function.
36313 (test_main): Call check2.
36315 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36317 * string/bug-strcasestr1.c (do_test): Moved to ...
36318 * string/test-strcasestr.c (check1): Here. New function.
36319 (do_one_test): Break out result checking code into ...
36320 (check_result): This. New function.
36321 (do_one_test): Call check_result.
36322 (test_main): Call check1.
36323 * string/bug-strchr1.c (do_test): Moved to ...
36324 * string/test-strchr.c (check1): Here. New function.
36325 (do_one_test): Break out result checking code into ...
36326 (check_result): This. New function.
36327 (do_one_test): Call check_result.
36328 (test_main): Call check1.
36329 * string/bug-strstr1.c (main): Moved to ...
36330 * string/test-strstr.c (check1): Here. New function.
36331 (do_one_test): Break out result checking code into ...
36332 (check_result): This. New function.
36333 (do_one_test): Call check_result.
36334 (test_main): Call check1.
36335 * string/bug-strcasestr1.c: Removed.
36336 * string/bug-strchr1.c: Likewise.
36337 * string/bug-strstr1.c: Likewise.
36339 * elf/Makefile (dl-routines): Add hwcaps.
36340 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36341 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36342 (_dl_important_hwcaps): Moved to ...
36343 * elf/dl-hwcaps.c: Here. New file.
36344 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36347 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36348 if IS_IN_rtld isn't defined.
36350 * elf/dl-support.c (_dl_sysinfo_map): New.
36351 Include "get-dynamic-info.h" and "setup-vdso.h".
36352 (_dl_non_dynamic_init): Call setup_vdso.
36353 * elf/dynamic-link.h: Don't include <assert.h>.
36354 (elf_get_dynamic_info): Moved to ...
36355 * elf/get-dynamic-info.h: Here. New file.
36356 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36357 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36358 * elf/setup-vdso.h: Here. New file.
36359 * elf/rtld.c: Include "setup-vdso.h".
36360 (dl_main): Call setup_vdso.
36362 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36364 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36365 creal in comment listing functions tested. List finite, isinf,
36366 isnan, isless, islessequal, isgreater, isgreaterequal,
36367 islessgreater, isunordered, lgamma_r and pow10 as functions and
36368 macros not tested. Mention which functions not tested are aliases
36369 for other functions. Fix typo. Note that signs of NaNs are not
36372 * scripts/config.guess: Update from config.git.
36373 * scripts/config.sub: Likewise.
36375 2012-10-04 Roland McGrath <roland@hack.frob.com>
36377 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36378 * misc/madvise.c (madvise): Renamed to __madvise.
36379 Make madvise a weak alias.
36380 * include/sys/mman.h: Declare __madvise.
36381 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36382 * sysdeps/unix/syscalls.list
36383 (madvise): Make __madvise the strong name, and madvise a weak alias.
36384 * sysdeps/unix/sysv/linux/syscalls.list
36385 (madvise, mmap): Remove redundant entries.
36386 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36387 * malloc/malloc.c (mtrim): Likewise.
36388 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36390 2012-10-03 Roland McGrath <roland@hack.frob.com>
36392 * sysdeps/mach/hurd/dl-cache.c: File removed.
36393 * config.h.in (USE_LDCONFIG): New #undef.
36394 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36395 * configure: Regenerated.
36396 * elf/Makefile (dl-routines): Add dl-cache only under
36397 [$(use-ldconfig) = yes].
36398 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36399 cache on [USE_LDCONFIG].
36400 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36402 * elf/rtld.c (dl_main): Likewise.
36404 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36406 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36407 _SC_LEVEL4_CACHE_LINESIZE.
36409 2012-10-03 Roland McGrath <roland@hack.frob.com>
36411 * sysdeps/unix/bsd/confstr.h: File removed.
36413 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36415 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36418 2012-10-02 Roland McGrath <roland@hack.frob.com>
36420 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36421 Make 'mapoff' field ElfW(Off) rather than off_t.
36423 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36425 * nscd/Makefile: Remove nscd-cflags and all its users.
36426 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36427 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36430 * malloc.c (malloc_printerr): Clarify error message.
36432 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36436 Set bit_FMA_Usable if FMA is supported.
36437 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36439 (bit_FMA4_Usable): Updated.
36440 (index_FMA_Usable): New macro.
36441 (CPUID_FMA): Likewise
36442 (HAS_FMA): Defined with bit_FMA_Usable.
36444 2012-10-01 Roland McGrath <roland@hack.frob.com>
36446 * bits/types.h (__swblk_t): Type removed.
36447 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36448 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36450 (__SWBLK_T_TYPE): Likewise.
36451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36452 (__SWBLK_T_TYPE): Likewise.
36453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36454 (__SWBLK_T_TYPE): Likewise.
36455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36456 (__SWBLK_T_TYPE): Likewise.
36458 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36459 Honza Horak <hhorak@redhat.com>
36461 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36462 (xdr_mapname): Use YPMAXMAP as maxsize.
36463 (xdr_peername): Use YPMAXPEER as maxsize.
36464 (xdr_keydat): Use YPAXRECORD as maxsize.
36465 (xdr_valdat): Use YPMAXRECORD as maxsize.
36467 2012-10-01 Roland McGrath <roland@hack.frob.com>
36469 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36471 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36472 * csu/init-first.c: ... here.
36473 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36474 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36475 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36476 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36477 * sysdeps/i386/init-first.c: File removed.
36478 * sysdeps/sh/init-first.c: File removed.
36480 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36484 if x * y might underflow to zero and z is zero.
36485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36487 * math/libm-test.inc (min_subnorm_value): New variable.
36488 (fma_test): Add more tests.
36489 (fma_test_towardzero): Likewise.
36490 (fma_test_downward): Likewise
36491 (fma_test_upward): Likewise.
36492 (initialize): Set min_subnorm_value.
36494 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36499 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36500 mode for addition resulting in exact zero.
36501 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36504 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36505 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36506 * math/libm-test.inc (fma_test): Add more tests.
36507 (fma_test_towardzero): New function.
36508 (fma_test_downward): Likewise.
36509 (fma_test_upward): Likewise.
36510 (main): Call the new functions.
36512 2012-09-28 David S. Miller <davem@davemloft.net>
36514 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36516 2012-09-28 Roland McGrath <roland@hack.frob.com>
36518 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36519 instead of SIGALRM.
36521 * sysdeps/gnu/_G_config.h: Moved to ...
36522 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36523 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36524 * sysdeps/generic/_G_config.h: ... here.
36526 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36528 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36530 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36531 Conditionalize target on [libnss_test1.so-version].
36533 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36535 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36536 (elfobjdir): Move out of conditionals.
36538 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36539 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36540 (__nss_lookup_function): Conditionalize label remove_from_tree on
36541 [!DO_STATIC_NSS || SHARED], matching its only use.
36543 2012-09-28 David S. Miller <davem@davemloft.net>
36545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36546 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36548 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36550 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36552 when HWCAP_SPARC_CRYPTO is present.
36554 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36556 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36558 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36561 * stdio-common/vfprintf.c (process_string_arg): Revert
36564 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36566 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36568 * stdio-common/tst-sprintf.c: Include <locale.h>
36569 (main): Test sprintf's handling of incomplete multibyte
36572 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36574 * elf/dl-runtime.c (VERSYMIDX): Removed.
36575 * elf/dl-version.c (VERSYMIDX): Likewise.
36576 * elf/do-rel.h (VERSYMIDX): Likewise.
36577 (VALIDX): Likewise.
36578 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36579 * elf/rtld.c (VALIDX): Likewise.
36580 (ADDRIDX): Likewise.
36581 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36582 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36583 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36584 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36585 (VALIDX): Likewise.
36586 (ADDRIDX): Likewise.
36588 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36590 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36592 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36595 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36597 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36598 addresses are in the same scope as 192.0.2/24.
36599 * posix/gai.conf: Document new scope table defaults.
36601 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36604 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36605 for ftell. Compute offsets from write pointers instead.
36606 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36608 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36611 * libio/Makefile (tests): New test case tst-fseek.
36612 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36613 combination works in wide mode.
36614 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36615 state when the external buffer state changes.
36617 2012-09-27 David S. Miller <davem@davemloft.net>
36620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36621 pass reloc->r_addend in as the 'high' argument to
36622 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36626 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36628 * rt/tst-aio2.c: Include <pthread.h>.
36629 * rt/tst-aio3.c: Likewise.
36631 2012-09-27 Steve Ellcey <sellcey@mips.com>
36633 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36635 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36637 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36638 contents on [SHARED].
36640 2012-09-26 Marek Polacek <polacek@redhat.com>
36644 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36645 for C++ and GCC <4.3 as well as for non GCC compilers.
36647 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36651 2012-09-25 Roland McGrath <roland@hack.frob.com>
36653 * Makefile.in (all, install): Declare with .PHONY.
36654 Reported by Michael Hope <michael.hope@linaro.org>.
36656 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36658 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36659 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36661 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36663 (sydep_routines): Add the new and the internal functions.
36664 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36665 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36667 (GLIBC_2.17): Add the new function.
36668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36669 (GLIBC_2.17): Likewise.
36670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36671 (GLIBC_2.17): Likewise.
36672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36673 (GLIBC_2.17): Likewise.
36674 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36676 2012-09-25 Alan Modra <amodra@gmail.com>
36678 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36679 Add release barrier before setting once_control to say
36680 initialisation is done. Add hints on lwarx. Use macro in
36682 (clear_once_control): Add release barrier.
36684 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36687 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36689 * math/s_clog10.c (__clog10): Likewise.
36690 * math/s_clog10f.c (__clog10f): Likewise.
36691 * math/s_clog10l.c (__clog10l): Likewise.
36692 * math/s_clogf.c (__clogf): Likewise.
36693 * math/s_clogl.c (__clogl): Likewise.
36694 * math/Makefile (libm-calls): Add x2y2m1.
36695 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36696 (__x2y2m1): Likewise.
36697 (__x2y2m1l): Likewise.
36698 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36699 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36702 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36703 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36704 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36705 * sysdeps/i386/fpu/libm-test-ulps: Update.
36706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36709 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36710 int as type of variable DEPTH.
36711 (glob): Use size_t instead of int as type of variables NEWCOUNT
36714 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36716 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36717 Add s_sincosf-sse2.
36718 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36719 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36720 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36721 macros for using routine as __sincosf_ia32.
36722 Use macro for function declaration and weak_alias.
36723 * sysdeps/i386/fpu/libm-test-ulps: Update.
36725 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36728 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36729 subnormal argument.
36730 * math/s_cexpf.c (__cexpf): Likewise.
36731 * math/s_csinf.c (__csinf): Likewise.
36732 * math/s_csinhf.c (__csinhf): Likewise.
36733 * math/s_ctanf.c (__ctanf): Likewise.
36734 * math/s_ctanhf.c (__ctanhf): Likewise.
36735 * math/s_ccosh.c (__ccoshf): Likewise.
36736 * math/s_cexp.c (__cexpl): Likewise.
36737 * math/s_csin.c (__csin): Likewise.
36738 * math/s_csinh.c (__csinh): Likewise.
36739 * math/s_ctan.c (__ctan): Likewise.
36740 * math/s_ctanh.c (ctanh): Likewise.
36741 * math/s_ccoshl.c (__ccoshl): Likewise.
36742 * math/s_cexpl.c (__cexpl): Likewise.
36743 * math/s_csinl.c (__csinl): Likewise.
36744 * math/s_csinhl.c (__csinhl): Likewise.
36745 * math/s_ctanl.c (__ctanl): Likewise.
36746 * math/s_ctanhl.c (__ctanhl): Likewise.
36748 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36750 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36751 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36752 (_IO_off_t): Define to __off_t, not _G_off_t.
36753 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36754 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36755 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36756 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36757 type of __dummy and __dummy2 fields.
36758 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36759 (_G_ssize_t): Likewise.
36760 (_G_off_t): Likewise.
36761 (_G_pid_t): Likewise.
36762 (_G_uid_t): Likewise.
36763 (_G_wchar_t): Likewise.
36764 (_G_wint_t): Likewise.
36765 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36766 (_G_ssize_t): Likewise.
36767 (_G_off_t): Likewise.
36768 (_G_pid_t): Likewise.
36769 (_G_uid_t): Likewise.
36770 (_G_wchar_t): Likewise.
36771 (_G_wint_t): Likewise.
36772 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36773 (_G_ssize_t): Likewise.
36774 (_G_off_t): Likewise.
36775 (_G_pid_t): Likewise.
36776 (_G_uid_t): Likewise.
36777 (_G_wchar_t): Likewise.
36778 (_G_wint_t): Likewise.
36780 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36782 * malloc/arena.c: Include malloc-sysdep.h.
36783 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36784 is sufficient to shrink the heap or an unmap is needed.
36785 * sysdeps/generic/malloc-sysdep.h: New file. Define
36786 new function check_may_shrink_heap.
36787 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36788 new function check_may_shrink_heap.
36790 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36792 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36795 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36797 * catgets/test-gencat.sh: Add "set -e".
36798 * elf/tst-pathopt.sh: Likewise.
36799 * grp/tst_fgetgrent.sh: Likewise.
36800 * iconvdata/run-iconv-test.sh: Likewise.
36801 * intl/tst-gettext.sh: Likewise.
36802 * intl/tst-gettext2.sh: Likewise.
36803 * intl/tst-gettext4.sh: Likewise.
36804 * intl/tst-gettext6.sh: Likewise.
36805 * intl/tst-translit.sh: Likewise.
36806 * io/ftwtest-sh: Likewise.
36807 * libio/test-freopen.sh: Likewise.
36808 * malloc/tst-mtrace.sh: Likewise.
36809 * posix/globtest.sh: Likewise.
36810 * posix/tst-getconf.sh: Likewise.
36811 * posix/wordexp-tst.sh: Likewise.
36812 * stdio-common/tst-printf.sh: Likewise.
36813 * stdio-common/tst-unbputc.sh: Likewise.
36814 * stdlib/tst-fmtmsg.sh: Likewise.
36815 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36816 * catgets/Makefile: Do not specify -e option when running
36817 testsuite shell scripts.
36818 * elf/Makefile: Likewise.
36819 * grp/Makefile: Likewise.
36820 * iconvdata/Makefile: Likewise.
36821 * intl/Makefile: Likewise.
36822 * io/Makefile: Likewise.
36823 * libio/Makefile: Likewise.
36824 * malloc/Makefile: Likewise.
36825 * posix/Makefile: Likewise.
36826 * stdio-common/Makefile: Likewise.
36827 * stdlib/Makefile: Likewise.
36828 * sysdeps/x86_64/Makefile: Likewise.
36830 * io/ftwtest-sh: Add copyright header.
36831 * posix/globtest.sh: Likewise.
36832 * posix/tst-getconf.sh: Likewise.
36833 * posix/wordexp-tst.sh: Likewise.
36834 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36836 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36839 * Makeconfig (+link): Defined as $(+link-static) if
36840 $(build-shared) isn't yes.
36841 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36843 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36845 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36848 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36849 new chunk size with MALLOC_ALIGN_MASK.
36851 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36854 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36856 (__printf_fphex): Determine rounding using get_rounding_mode and
36858 * stdio-common/tst-printf-round.c (struct hex_test): New
36860 (hex_tests): New variable.
36861 (test_hex_in_one_mode): New function.
36862 (do_test): Also run tests for hex float output.
36864 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36866 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36867 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36868 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36869 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36870 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36871 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36872 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36873 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36875 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36877 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36878 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36879 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36880 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36882 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36885 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36887 * elf/tst-rtld-load-self.sh: New test.
36888 * elf/Makefile: Run it.
36890 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36892 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36893 (tst-writev-ENV): Remove.
36894 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36896 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36898 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36900 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36902 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36904 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36906 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36907 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36908 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36911 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36914 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36915 * config.make.in (have-cpp-asm-debuginfo): Removed.
36916 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36917 * configure: Regenerated.
36919 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36922 * stdio-common/printf_fp.c: Include <stdbool.h> and
36924 (___printf_fp): Determine rounding using get_rounding_mode and
36926 * stdio-common/tst-printf-round.c: New file.
36927 * stdio-common/Makefile (tests): Add tst-printf-round.
36928 (link-libm): New variable.
36929 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36931 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36934 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36935 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36937 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36940 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36942 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36943 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36944 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36945 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36947 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36950 * include/rounding-mode.h: New file.
36951 * sysdeps/generic/get-rounding-mode.h: Likewise.
36952 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36953 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36954 (MAX_VALUE): New macro.
36955 (MIN_VALUE): Likewise.
36956 (overflow_value): New function.
36957 (underflow_value): Likewise.
36958 (round_and_return): Use overflow_value and underflow_value to
36959 determine return values in overflow and underflow cases. Use
36960 round_away to determine rounding depending on rounding mode.
36961 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36962 determine return values in overflow and underflow cases.
36963 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36964 (struct test_results): New structure.
36965 (struct test): Use struct test_results to store expected results
36966 for all rounding modes.
36967 (TEST): Include expected results for all rounding modes.
36968 (test_in_one_mode): New function.
36969 (do_test): Use test_in_one_mode to compute and check results.
36970 Check results for all rounding modes.
36971 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36974 2012-12-09 Allan McRae <allan@archlinux.org>
36976 * sysdeps/i386/fpu/libm-test-ulps: Update
36978 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36980 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36981 (_G_int32_t): Likewise.
36982 (_G_uint16_t): Likewise.
36983 (_G_uint32_t): Likewise.
36984 (_G_HAVE_BOOL): Likewise.
36985 (_G_HAVE_ATEXIT): Likewise.
36986 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36987 (_G_HAVE_IO_FILE_OPEN): Likewise.
36988 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36989 (_G_int32_t): Likewise.
36990 (_G_uint16_t): Likewise.
36991 (_G_uint32_t): Likewise.
36992 (_G_HAVE_BOOL): Likewise.
36993 (_G_HAVE_ATEXIT): Likewise.
36994 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36995 (_G_HAVE_IO_FILE_OPEN): Likewise.
36996 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36997 (_G_int32_t): Likewise.
36998 (_G_uint16_t): Likewise.
36999 (_G_uint32_t): Likewise.
37000 (_G_HAVE_BOOL): Likewise.
37001 (_G_HAVE_ATEXIT): Likewise.
37002 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37003 (_G_HAVE_IO_FILE_OPEN): Likewise.
37005 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37007 * csu/libc-tls.c: Update copyright years.
37009 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37011 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37012 [!_G_USING_THUNKS]: Remove conditional code.
37013 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37014 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37016 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37017 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37018 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37019 (_G_VTABLE_LABEL_PREFIX): Likewise.
37020 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37021 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37022 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37023 (_G_VTABLE_LABEL_PREFIX): Likewise.
37024 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37025 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37026 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37027 (_G_VTABLE_LABEL_PREFIX): Likewise.
37028 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37030 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37032 * libio/Makefile: Include ../Makeconfig before tests.
37033 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37034 only if $(build-shared) is yes.
37036 * iconv/gconv_db.c: Update copyright years.
37038 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37040 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37041 unwind info if defined PIC. Fix special cases description.
37042 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37044 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37046 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37048 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37050 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37052 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37055 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37056 (LDLIBS-tst-chk4): This.
37057 (LDFLAGS-tst-chk5): Renamed to ...
37058 (LDLIBS-tst-chk5): This.
37059 (LDFLAGS-tst-chk6): Renamed to ...
37060 (LDLIBS-tst-chk6): This.
37061 (LDFLAGS-tst-lfschk4): Renamed to ...
37062 (LDLIBS-tst-lfschk4): This.
37063 (LDFLAGS-tst-lfschk5): Renamed to ...
37064 (LDLIBS-tst-lfschk5): This.
37065 (LDFLAGS-tst-lfschk6): Renamed to ...
37066 (LDLIBS-tst-lfschk6): This.
37068 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37069 on $(common-objpfx)soversions.mk.
37071 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37074 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37077 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37079 * malloc/arena.c (arena_get_retry): New function that gets
37080 another arena for the caller to try its request on.
37081 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37082 current arena cannot fulfill the request.
37083 (__libc_memalign): Likewise.
37084 (__libc_memalign): Likewise.
37085 (__libc_pvalloc): Likewise.
37086 (__libc_calloc): Likewise.
37088 2012-09-05 John Tobey <john.tobey@gmail.com>
37091 * manual/arith.texi (Operations on Complex): Fix description
37092 of carg branch cut.
37094 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37097 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37101 * manual/memory.texi (Memory): Make order of menu items match
37104 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37106 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37107 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37108 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37110 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37112 * csu/libc-tls.c (static_dtv): Renamed to ...
37113 (_dl_static_dtv): This. Make it global.
37114 (_dl_initial_dtv): Removed.
37115 (__libc_setup_tls): Updated.
37116 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37117 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37120 2012-09-06 Petr Machata <pmachata@redhat.com>
37122 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37123 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37124 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37125 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37127 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37130 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37131 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37134 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37137 * Makeconfig (link-static-before-libc): Replace $(+prector)
37139 (link-static-after-libc): Replace $(+postctor) with
37141 (link-bounded): Replace $(+prector)/$(+postctor) with
37142 $(+prectorT)/$(+postctorT).
37143 (+prectorT): New macro.
37144 (+postctorT): Likewise.
37146 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37148 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37149 (round_str): Handle values above the maximum for IBM long double
37151 * stdlib/tst-strtod-round.c (tests): Regenerated.
37153 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37155 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37157 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37158 zarch_nohighgprs around the zarch optimized routines.
37159 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37160 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37161 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37164 2012-09-05 David S. Miller <davem@davemloft.net>
37166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37168 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37169 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37170 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37171 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37174 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37176 * malloc/arena.c: Fold copyright years.
37177 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37179 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37181 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37183 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37185 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37187 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37189 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37190 change internal state upon failure.
37192 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37194 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37195 * malloc/memusage.c (mmap): Likewise.
37196 (mmap64, mremap): Likewise. Adjust name in comment.
37198 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37200 * libio/fileops.c: Fix typos in comments.
37201 * libio/oldfileops.c: Likewise.
37202 * libio/wfileops.c: Likewise.
37204 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37207 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37208 (tst-malloc-usable-ENV): Set environment for test case.
37209 * malloc/hooks.c (malloc_check_get_size): New function to get
37211 * malloc/malloc.c (musable): Use malloc_check_get_size.
37212 * malloc/tst-malloc-usable.c: New test case.
37214 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37216 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37218 2012-09-05 Allan McRae <allan@archlinux.org>
37221 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37222 determine header location.
37223 * configure: Regenerated.
37225 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37227 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37229 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37230 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37232 (test): Regenerate.
37234 2012-09-04 David S. Miller <davem@davemloft.net>
37236 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37237 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37238 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37240 2012-09-04 Florian Weimer <fweimer@redhat.com>
37242 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37245 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37247 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37250 * libio/iogetdelim.c: Include <limits.h>.
37251 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37252 + len + 1 would overflow.
37254 2012-09-03 Andreas Jaeger <aj@suse.de>
37256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37257 * sysdeps/i386/fpu/libm-test-ulps: Update.
37259 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37261 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37262 Add s_sinf-sse2, s_conf-sse2.
37264 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37265 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37266 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37267 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37269 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37270 for using routine as __sinf_ia32.
37271 Use macro for function declaration and weak_alias.
37272 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37273 for using routine as __cosf_ia32.
37274 Use macro for function declaration and weak_alias.
37276 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37277 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37279 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37280 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37283 * math/libm-test.inc (cos_test): Add more test cases.
37284 (sin_test): Likewise.
37285 (sincos_test): Likewise.
37287 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37289 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37290 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37292 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37294 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37297 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37298 first element of the GOT.
37299 (elf_machine_load_address): Return the difference between
37300 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37302 2012-09-01 Allan McRae <allan@archlinux.org>
37305 * configure.in (AWK): Require gawk version 3.0 or later.
37306 * configure: Regenerated.
37308 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37310 * sysdeps/unix/sysv/linux/kernel-features.h
37311 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37312 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37313 [__NR_clock_getres]: Make code unconditional.
37314 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37315 (clock_getcpuclockid): Remove code left unreachable by removal of
37317 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37318 code unconditional.
37319 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37320 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37321 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37322 Make code unconditional.
37323 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37324 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37325 * sysdeps/unix/sysv/linux/clock_settime.c
37326 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37328 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37329 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37331 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37334 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37335 scripts/test-installation.pl.
37337 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37338 and $ld_so_version if it is set.
37340 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37343 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37344 failure if reading from procfs failed.
37345 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37347 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37349 * sysdeps/unix/sysv/linux/kernel-features.h
37350 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37351 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37352 Remove conditional code.
37353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37354 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37355 Remove conditional code.
37356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37357 * sysdeps/unix/sysv/linux/i386/fxstat.c
37358 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37360 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37361 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37363 * sysdeps/unix/sysv/linux/i386/lxstat.c
37364 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37366 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37367 Remove conditional code.
37368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37369 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37370 Remove conditional code.
37371 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37372 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37373 <kernel-features.h>.
37374 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37376 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37377 Remove conditional code.
37378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37379 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37380 Remove conditional.
37382 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37385 * NEWS: Add fixed bug number.
37387 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37390 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37391 underflowing exponent in case of negative sign.
37392 * stdlib/tst-strtod-round-data: Add more tests.
37393 * stdlib/tst-strtod-round.c (tests): Regenerated.
37396 * stdlib/strtod_l.c (NDIG): Remove.
37397 (HEXNDIG): Likewise.
37398 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37399 smallest representable value.
37400 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37401 lie within an exact representation of 1/2 ulp of the result.
37402 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37404 (TENS_P9_IDX): Define unconditionally.
37405 (TENS_P9_SIZE): Likewise.
37406 (TENS_P10_IDX): Likewise.
37407 (TENS_P10_SIZE): Likewise.
37408 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37409 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37410 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37411 entries for 10^2^13 and 10^2^14.
37412 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37413 (TENS_P13_IDX): Define.
37414 (TENS_P13_SIZE): Likewise.
37415 (TENS_P14_IDX): Likewise.
37416 (TENS_P14_SIZE): Likewise.
37417 (_fpioconst_pow10): Change array size to
37418 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37420 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37421 1024]: Add entries for 10^2^13 and 10^2^14.
37422 [LAST_POW10 > _LAST_POW10]: Remove #error.
37423 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37424 (_fpioconst_pow10): Change array size to
37425 FPIOCONST_POW10_ARRAY_SIZE.
37426 * stdlib/gen-fpioconst.c: New file.
37427 * stdlib/gen-tst-strtod-round.c: Likewise.
37428 * stdlib/tst-strtod-round-data: Likewise.
37429 * stdlib/tst-strtod-round.c: Likewise.
37430 * stdlib/Makefile (tests): Add tst-strtod-round.
37433 * stdlib/strtod_l.c: Include <stdint.h>.
37434 (NDEBUG): Do not define.
37435 (round_and_return): Change EXPONENT parameter to type intmax_t.
37436 Rearrange calculations to avoid internal overflow possibilities.
37437 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37438 Rearrange calculations to avoid internal overflow possibilities.
37439 Assert that number fits inside MPNSIZE limbs.
37440 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37441 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37442 calculations and add assertions to avoid internal overflow
37443 possibilities. Add casts to avoid signed/unsigned operations.
37444 * stdlib/tst-strtod-overflow.c: New file.
37445 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37447 2012-08-25 Marek Polacek <polacek@redhat.com>
37449 * time/time.h: Fix some typos in comments.
37451 2012-08-23 Roland McGrath <roland@hack.frob.com>
37453 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37454 * posix/tst-rfc3484-2.c: Likewise.
37455 * posix/tst-rfc3484-3.c: Likewise.
37457 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37459 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37460 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37462 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37464 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37465 #include of fxstatat64.c.
37467 2012-08-22 Roland McGrath <roland@hack.frob.com>
37469 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37470 * shadow/getspent_r.c: Likewise.
37471 * shadow/getspnam.c: Likewise.
37472 * shadow/getspnam_r.c: Likewise.
37473 * gshadow/getsgent.c: Likewise.
37474 * gshadow/getsgent_r.c: Likewise.
37475 * gshadow/getsgnam.c: Likewise.
37476 * gshadow/getsgnam_r.c: Likewise.
37477 * inet/getnetbyad.c: Likewise.
37478 * inet/getnetbyad_r.c: Likewise.
37479 * inet/getnetbynm.c: Likewise.
37480 * inet/getnetbynm_r.c: Likewise.
37481 * inet/getnetent.c: Likewise.
37482 * inet/getnetent_r.c: Likewise.
37483 * inet/getproto.c: Likewise.
37484 * inet/getproto_r.c: Likewise.
37485 * inet/getprtent.c: Likewise.
37486 * inet/getprtent_r.c: Likewise.
37487 * inet/getprtname.c: Likewise.
37488 * inet/getprtname_r.c: Likewise.
37489 * inet/getrpcbyname.c: Likewise.
37490 * inet/getrpcbyname_r.c: Likewise.
37491 * inet/getrpcbynumber.c: Likewise.
37492 * inet/getrpcbynumber_r.c: Likewise.
37493 * inet/getrpcent.c: Likewise.
37494 * inet/getrpcent_r.c: Likewise.
37495 * inet/getaliasent.c: Likewise.
37496 * inet/getaliasent_r.c: Likewise.
37497 * inet/getaliasname.c: Likewise.
37498 * inet/getaliasname_r.c: Likewise.
37499 * nscd/getgrgid_r.c: Likewise.
37500 * nscd/getgrnam_r.c: Likewise.
37501 * nscd/gethstbyad_r.c: Likewise.
37502 * nscd/gethstbynm3_r.c: Likewise.
37503 * nscd/getpwnam_r.c: Likewise.
37504 * nscd/getpwuid_r.c: Likewise.
37505 * nscd/getsrvbynm_r.c: Likewise.
37506 * nscd/getsrvbypt_r.c: Likewise.
37507 * nscd/gai.c: Likewise.
37509 * configure.in (build_nscd): New substituted variable, set
37510 by --disable-build-nscd and defaults to $use_nscd.
37511 * configure: Regenerated.
37512 * config.make.in (build-nscd): New substituted variable.
37513 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37514 Change conditional to require [$(build-nscd) = yes] as well.
37515 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37518 * configure.in (use_nscd): New substituted variable, set by
37519 --disable-nscd. If enabled, define USE_NSCD.
37520 * configure: Regenerated.
37521 * config.h.in: Add USE_NSCD.
37522 * config.make.in (use-nscd): New substituted variable.
37523 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37524 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37525 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37526 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37527 (CFLAGS-getgrnam_r.c): Likewise.
37528 (CFLAGS-initgroups.c): Likewise.
37529 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37530 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37532 * inet/getnetgrent_r.c
37533 (nscd_setnetgrent): New function, broken out of ...
37534 (setnetgrent): ... here. Call it.
37535 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37536 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37537 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37538 * nscd/Makefile (routines, aux): Move definitions after include of
37539 Makeconfig. Conditionalize on [$(use-nscd) != no].
37540 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37541 Conditionalize on [USE_NSCD].
37542 (is_nscd, nscd_init_cb): Likewise.
37543 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37544 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37545 * nss/nss_db/db-init.c: Likewise.
37546 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37548 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37549 (make_request): Use it.
37550 (cache_valid_p): New function.
37551 (__check_pf): Use it.
37552 * NEWS: Add item for --disable-nscd.
37554 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37556 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37557 to support sed >= 4.2.1-20-ga9bf076.
37558 * configure: Regenerated.
37560 2012-08-22 Roland McGrath <roland@hack.frob.com>
37562 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37563 Conditionalize whole body on [IREL].
37565 2012-08-22 Jeff Law <law@redhat.com>
37568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37569 if the family is PF_UNSPEC.
37571 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37573 * Makerules (lib-version): Rename from V.
37574 (install-lib-nosubdir): Change V to lib-version.
37576 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37579 * powerpc32/power6/wcschr.c: New file.
37580 * powerpc32/power6/wcscpy.c: New file.
37581 * powerpc32/power6/wcsrchr.c: New file.
37582 * powerpc64/power6/wcschr.c: New file.
37583 * powerpc64/power6/wcscpy.c: New file.
37584 * powerpc64/power6/wcsrchr.c: New file.
37586 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37588 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37589 (two_way_short_needle): Use it.
37590 * string/strstr.c (AVAILABLE1_USES_J): Define.
37591 * string/strcasestr.c: Likewise.
37593 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37595 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37598 * NEWS: Add an entry.
37599 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37600 define their defaults.
37601 (two_way_short_needle): Detect end-of-string on-the-fly.
37602 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37603 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37604 * string/bug-strcasestr1.c: New test.
37605 * string/Makefile: Run it.
37607 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37610 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37611 the first character.
37613 2012-08-21 Roland McGrath <roland@hack.frob.com>
37615 * csu/elf-init.c (__libc_csu_irel): Function removed.
37616 * csu/libc-start.c (apply_irel): New function.
37617 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37619 2012-08-21 Joseph Myers <joseph@codesourcery.com>
37621 * sysdeps/unix/sysv/linux/kernel-features.h
37622 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37623 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37624 <kernel-features.h>.
37625 [__NR_fadvise64_64]: Make code unconditional.
37626 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37627 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37628 !__NR_fadvise64_64)]: Likewise.
37629 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37630 !__NR_fadvise64_64))]: Likewise.
37631 [__NR_fadvise64]: Make code unconditional.
37632 [!__NR_fadvise64]: Remove conditional code.
37633 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37634 <kernel-features.h>.
37635 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37637 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37640 not include <kernel-features.h>.
37641 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37643 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37645 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37646 include <kernel-features.h>.
37647 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37649 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37652 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37654 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37655 slight instruction rearrangements per scrollpipe analysis.
37656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37658 2012-08-20 Roland McGrath <roland@hack.frob.com>
37660 * manual/syslog.texi (syslog; vsyslog, closelog):
37661 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37662 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37664 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37665 DSOCAPS to match condition on defining it.
37667 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37669 * sysdeps/unix/sysv/linux/kernel-features.h
37670 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37672 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37673 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37675 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37676 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37678 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37679 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37681 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37682 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37684 * sysdeps/unix/sysv/linux/kernel-features.h
37685 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37686 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37688 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37689 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37690 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37691 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37692 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37693 Make code unconditional.
37694 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37695 (__mmap64) [!__NR_mmap2]: Likewise.
37696 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37697 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37698 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37699 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37700 [__NR_mmap2]: Make code unconditional.
37701 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37702 (__mmap64) [!__NR_mmap2]: Likewise.
37704 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37706 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37708 2012-08-18 Andreas Jaeger <aj@suse.de>
37710 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37712 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37714 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37715 * include/unistd.h (__have_sock_cloexec): Likewise.
37716 (__have_pipe2): Likewise.
37717 (__have_dup3): Likewise.
37719 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37722 * include/unistd.h (__have_pipe2): Change define into an extern int.
37723 (__have_dup3): Likewise.
37724 * socket/have_sock_cloexec.c: Include fcntl.h.
37725 (__have_pipe2): New variable.
37726 (__have_dup3): Likewise.
37728 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37730 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37732 2012-08-17 Marek Polacek <polacek@redhat.com>
37734 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37735 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37737 2012-08-17 Roland McGrath <roland@hack.frob.com>
37739 * configure.in: Add AC_SUBST for sysheaders.
37740 * configure: Regenerated.
37741 * config.make.in (sysheaders): New substituted variable.
37743 * sysdeps/unix/mkfifo.c: Moved ...
37744 * sysdeps/posix/mkfifo.c: ... here.
37745 * sysdeps/unix/mkfifoat.c: Moved ...
37746 * sysdeps/posix/mkfifoat.c: ... here.
37748 * sysdeps/unix/utime.c: Moved ...
37749 * sysdeps/posix/utime.c: ... here.
37751 * sysdeps/unix/time.c: Moved ...
37752 * sysdeps/posix/time.c: ... here.
37753 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37754 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37756 * sysdeps/unix/nice.c: Moved ...
37757 * sysdeps/posix/nice.c: ... here.
37759 * sysdeps/unix/alarm.c: Moved ...
37760 * sysdeps/posix/alarm.c: ... here.
37762 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37764 2012-08-17 Jeff Law <law@redhat.com>
37766 * intl/Makefile (codeset_mo): New variable.
37767 ($(codeset_mo)): New target.
37768 (tst-codeset.out): Depend on that. Remove explicit rule.
37769 (tst-gettext3.out, tst-gettext5.out): Likewise.
37770 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37771 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37772 * intl/tst-codeset.sh: Remove.
37773 * intl/tst-gettext3.sh: Likewise.
37774 * intl/tst-gettext5.sh: Likewise.
37776 2012-08-17 Roland McGrath <roland@hack.frob.com>
37778 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37779 * sysdeps/unix/syscalls.list: ... here.
37781 * sysdeps/posix/getaddrinfo.c
37782 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37783 (gaiconf_init, gaiconf_reload): Use them.
37784 [!_STATBUF_ST_NSEC]
37785 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37786 Define using time_t rather than struct timespec.
37788 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37789 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37791 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37793 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37794 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37797 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37798 __libc_cleanup_push argument.
37800 * bits/param.h: New file.
37801 * misc/sys/param.h: New file.
37802 * include/sys/param.h: New file.
37803 * misc/Makefile (headers): Add bits/param.h.
37804 * sysdeps/generic/sys/param.h: File removed.
37805 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37806 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37807 * sysdeps/mach/hurd/bits/param.h: New file.
37808 * sysdeps/mach/hurd/sys/param.h: File removed.
37810 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37813 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37815 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37816 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37819 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37820 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37821 rather than -D_IO_MTSAFE_IO conditionally.
37822 * stdio-common/Makefile (CPPFLAGS): Likewise.
37823 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37824 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37825 Use $(libio-mtsafe).
37826 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37827 of -D_IO_MTSAFE_IO.
37828 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37829 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37830 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37831 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37832 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37833 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37834 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37835 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37836 (CFLAGS-fread_u_chk.c): Likewise.
37837 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37838 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37839 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37840 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37841 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37842 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37843 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37844 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37845 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37847 * libio/Makefile: Test [$(libc-reentrant) = yes]
37848 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37851 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37852 * sysdeps/pthread/configure: File removed.
37853 * sysdeps/pthread/Makeconfig: New file.
37854 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37855 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37857 2012-08-16 Gary Benson <gbenson@redhat.com>
37859 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37860 unmapping the first object in a namespace.
37862 2012-08-16 Roland McGrath <roland@hack.frob.com>
37864 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37865 (__internal_setnetgrent): ... this. Add internal_function to
37866 definition. Add libc_hidden_def.
37867 (setnetgrent): Update caller.
37868 (internal_endnetgrent): Renamed to ...
37869 (__internal_endnetgrent): ... this. Add internal_function to
37870 definition. Add libc_hidden_def.
37871 (endnetgrent): Update caller.
37872 (internal_getnetgrent_r): Renamed to ...
37873 (__internal_getnetgrent_r): ... this. Add internal_function to
37874 definition. Add libc_hidden_def.
37875 (__getnetgrent_r): Update caller.
37876 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37878 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37880 * stdlib/longlong.h: Update from GCC.
37882 2012-08-16 Roland McGrath <roland@hack.frob.com>
37884 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37885 on _QL, which is set by umul_ppmm but never used.
37886 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37887 variables, which are set by GMP macros but never used.
37888 * stdio-common/_itowa.c (_itowa): Likewise.
37889 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37890 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37892 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37894 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37895 struct La_sh_regs is not constant.
37896 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37897 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37898 and struct La_sparc64_regs are not constant.
37900 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37902 * sysdeps/unix/sysv/linux/kernel-features.h
37903 (__ASSUME_POSIX_TIMERS): Remove.
37904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37906 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37907 Make code unconditional.
37908 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37909 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37910 Make code unconditional.
37911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37912 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37913 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37914 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37915 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37916 Make code unconditional.
37917 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37918 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37919 (__libc_missing_posix_timers): Remove.
37921 2012-08-15 Roland McGrath <roland@hack.frob.com>
37923 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37924 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37926 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37928 * elf/dl-sym.c: Include <stdlib.h>.
37930 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37931 constants, which avoids warnings in 32-bit builds.
37933 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37934 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37936 * misc/lseek.c: File moved to ...
37937 * io/lseek.c: ... here.
37939 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37941 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37942 shifting LEN more than 31 bits at once.
37944 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37947 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37948 segmentation fault for a case of two empty input strings.
37949 * string/test-strncasecmp.c (check1): Renamed to...
37950 (bz12205): ...this.
37951 (bz14195): Add new testcase for two empty input strings and N > 0.
37952 (test_main): Call new testcase, adapt for renamed function.
37954 2012-08-15 Andreas Jaeger <aj@suse.de>
37957 * crypt/md5test2.c: New test, based on test supplied by Serge
37958 Belyshev <belyshev@depni.sinp.msu.ru>.
37959 * crypt/Makefile (xtests): Add md5test-giant..
37960 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37962 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37965 * crypt/md5.c (md5_process_block): Don't assume the buffer
37966 length is less than 2**32.
37967 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37968 length is less than 2**64.
37970 2012-08-15 Roland McGrath <roland@hack.frob.com>
37972 * string/str-two-way.h: Include <sys/param.h>.
37973 (MAX): Macro removed.
37975 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37976 Move #define and #undef of memmove to just before and after
37977 including <string.h>.
37979 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37980 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37981 and after including <string.h>. Move declarations of
37982 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37983 to before #include "string/memmove.c".
37985 * include/dirent.h: Declare __getdirentries.
37987 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37988 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37990 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37992 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37993 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37994 * sysdeps/i386/configure: Regenerated.
37995 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37996 STABS_CURRENT_FILE, and STABS_FUN.
37997 (END): Remove call to STABS_FUN_END.
37998 (STABS_CURRENT_FILE1): Delete.
37999 (STABS_CURRENT_FILE): Likewise.
38000 (STABS_FUN): Likewise.
38001 (STABS_FUN_END): Likewise.
38002 (STABS_FUN2): Likewise.
38003 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38004 * sysdeps/x86_64/configure: Regenerated.
38006 2012-08-14 Roland McGrath <roland@hack.frob.com>
38008 * elf/dl-open.c: Include <atomic.h>.
38009 * elf/dl-lookup.c: Likewise.
38011 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38013 * sysdeps/unix/sysv/linux/kernel-features.h
38014 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38015 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38017 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38019 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38020 condition on __ASSUME_CLONE_THREAD_FLAGS.
38022 2012-08-14 Andreas Jaeger <aj@suse.de>
38024 * sysdeps/i386/fpu/libm-test-ulps: Update.
38026 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38028 * include/atomic.h (atomic_exchange_and_add): Split into ...
38029 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38032 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38036 2012-08-13 Jeff Law <law@redhat.com>
38038 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38039 null byte in the output string.
38041 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38043 * sysdeps/unix/sysv/linux/kernel-features.h
38044 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38045 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38046 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38047 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38048 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38049 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38050 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38052 2012-08-09 Jeff Law <law@redhat.com>
38055 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38056 When avoid_arena is set, don't retry in the that arena. Pick the
38057 next one, whatever it might be.
38058 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38059 (arena_lock): Pass in new parameter to arena_get2.
38060 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38062 (__libc_malloc): Unify retrying after main arena failure with
38063 __libc_memalign version.
38064 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38066 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38069 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38070 to __redirect_strstr.
38071 (__strstr_sse42): Use typeof __redirect_strstr.
38072 (__strstr_ia32): Likewise.
38073 (__libc_strstr): New prototype.
38074 (strstr): Renamed to ...
38075 (__libc_strstr): This.
38076 (strstr): New strong alias of __libc_strstr.
38077 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38078 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38081 (__libc_time): New prototype.
38082 (time_ifunc): Replace time with __libc_time.
38083 (time): New strong alias and hidden definition of __libc_time.
38084 (__GI_time): Remove strong alias.
38085 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38086 Include <stddef.h>.
38087 (memmove): Redefined to __redirect_memmove.
38088 (__memmove_sse2): Use typeof __redirect_memmove.
38089 (__memmove_ssse3): Likewise.
38090 (__memmove_ssse3_back): Likewise.
38091 (__libc_memmove): New prototype.
38092 (memmove): Renamed to ...
38093 (__libc_memmove): This.
38094 (memmove): New strong alias of __libc_memmove.
38096 2012-08-08 Mark Salter <msalter@redhat.com>
38099 (R_MN10300_TLS_GD): Define.
38100 (R_MN10300_TLS_LD): Likewise.
38101 (R_MN10300_TLS_LDO): Likewise.
38102 (R_MN10300_TLS_GOTIE): Likewise.
38103 (R_MN10300_TLS_IE): Likewise.
38104 (R_MN10300_TLS_LE): Likewise.
38105 (R_MN10300_TLS_DTPMOD): Likewise.
38106 (R_MN10300_TLS_DTPOFF): Likewise.
38107 (R_MN10300_TLS_TPOFF): Likewise.
38108 (R_MN10300_SYM_DIFF): Likewise.
38109 (R_MN10300_ALIGN): Likewise.
38110 (R_MN10300_NUM): Update.
38112 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38114 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38117 2012-08-08 Roland McGrath <roland@hack.frob.com>
38119 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38121 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38122 sysdeps/unix -> sysdeps/posix move.
38123 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38125 2012-08-07 Allan McRae <allan@archlinux.org>
38128 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38129 (SUNOS_CPP): Likewise.
38130 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38132 (open_input): Call CPP using execvp.
38134 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38136 * sysdeps/unix/sysv/linux/kernel-features.h
38137 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38138 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38139 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38140 (__ASSUME_WAITID_SYSCALL): Likewise.
38141 * sysdeps/unix/sysv/linux/dl-execstack.c
38142 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38143 code unconditional.
38144 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38146 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38147 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38148 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38150 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38152 [__ASSUME_WAITID_SYSCALL]: Likewise.
38153 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38155 2012-08-07 Roland McGrath <roland@hack.frob.com>
38157 * sysdeps/unix/closedir.c: Renamed to ...
38158 * sysdeps/posix/closedir.c: ... here.
38159 * sysdeps/unix/dirfd.c: Renamed to ...
38160 * sysdeps/posix/dirfd.c: ... here.
38161 * sysdeps/unix/dirstream.h: Renamed to ...
38162 * sysdeps/posix/dirstream.h: ... here.
38163 * sysdeps/unix/fdopendir.c: Renamed to ...
38164 * sysdeps/posix/fdopendir.c: ... here.
38165 * sysdeps/unix/opendir.c: Renamed to ...
38166 * sysdeps/posix/opendir.c: ... here.
38167 * sysdeps/unix/readdir.c: Renamed to ...
38168 * sysdeps/posix/readdir.c: ... here.
38169 * sysdeps/unix/readdir_r.c: Renamed to ...
38170 * sysdeps/posix/readdir_r.c: ... here.
38171 * sysdeps/unix/rewinddir.c: Renamed to ...
38172 * sysdeps/posix/rewinddir.c: ... here.
38173 * sysdeps/unix/seekdir.c: Renamed to ...
38174 * sysdeps/posix/seekdir.c: ... here.
38175 * sysdeps/unix/telldir.c: Renamed to ...
38176 * sysdeps/posix/telldir.c: ... here.
38177 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38178 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38179 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38180 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38182 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38183 * bits/fcntl.h: ... here.
38185 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38187 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38188 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38189 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38190 (struct flock): Move l_start, l_len to the beginning.
38191 Use __pid_t for l_pid.
38192 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38193 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38194 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38195 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38196 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38197 [__USE_LARGEFILE64] (struct flock64): New type.
38198 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38200 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38201 * bits/dirent.h: ... here.
38203 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38204 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38206 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38209 Change from 2.6.0 to 2.6.16.
38210 * sysdeps/unix/sysv/linux/configure: Regenerated.
38211 * sysdeps/unix/sysv/linux/kernel-features.h
38212 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38213 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38215 (__ASSUME_UTIMES): Likewise.
38216 (__ASSUME_CLONE_STOPPED): Remove.
38217 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38218 architectures, not kernel version.
38219 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38220 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38221 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38222 (__ASSUME_WAITID_SYSCALL): Likewise.
38223 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38224 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38225 * README: State 2.6.16 as minimum Linux kernel version. Do not
38226 refer to older versions.
38228 2012-08-06 Roland McGrath <roland@hack.frob.com>
38230 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38231 Define alphasort64 as an alias.
38232 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38233 Define versionsort64 as an alias.
38234 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38235 Define scandir64 as an alias.
38236 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38237 Define scandirat64 as an alias.
38238 * dirent/alphasort64.c (alphasort64):
38239 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38240 * dirent/versionsort64.c: Likewise.
38241 * dirent/scandir64.c: Likewise.
38242 * dirent/scandirat64.c: Likewise.
38243 * sysdeps/wordsize-64/alphasort.c: File removed.
38244 * sysdeps/wordsize-64/alphasort64.c: File removed.
38245 * sysdeps/wordsize-64/scandir.c: File removed.
38246 * sysdeps/wordsize-64/scandir64.c: File removed.
38247 * sysdeps/wordsize-64/scandirat.c: File removed.
38248 * sysdeps/wordsize-64/scandirat64.c: File removed.
38249 * sysdeps/wordsize-64/versionsort.c: File removed.
38250 * sysdeps/wordsize-64/versionsort64.c: File removed.
38251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38252 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38254 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38256 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38260 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38262 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38264 [defined __arch64__ || defined __sparcv9]
38265 (__INO_T_MATCHES_INO64_T): New macro.
38266 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38267 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38268 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38269 * sysdeps/unix/sysv/linux/bits/dirent.h
38270 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38271 (_DIRENT_MATCHES_DIRENT64): New macro.
38273 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38274 Define lockf64 as an alias.
38275 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38276 Define fseeko64 as an alias.
38277 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38278 Define ftello64 as an alias.
38279 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38280 Define _IO_fgetpos64 and fgetpos64 as aliases.
38281 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38282 Define _IO_fsetpos64 and fsetpos64 as aliases.
38283 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38284 Conditionalize body on this.
38285 * libio/fseeko64.c: Likewise.
38286 * libio/ftello64.c: Likewise.
38287 * libio/iofgetpos64.c: Likewise.
38288 * libio/iofsetpos64.c: Likewise.
38289 * sysdeps/wordsize-64/lockf.c: File removed.
38290 * sysdeps/wordsize-64/lockf64.c: File removed.
38291 * sysdeps/wordsize-64/fseeko.c: File removed.
38292 * sysdeps/wordsize-64/fseeko64.c: File removed.
38293 * sysdeps/wordsize-64/ftello.c: File removed.
38294 * sysdeps/wordsize-64/ftello64.c: File removed.
38295 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38296 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38297 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38298 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38299 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38300 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38301 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38302 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38303 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38304 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38306 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38307 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38308 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38310 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38312 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38314 [defined __arch64__ || defined __sparcv9]
38315 (__OFF_T_MATCHES_OFF64_T): New macro.
38316 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38317 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38319 (__OFF_T_MATCHES_OFF64_T): New macro.
38321 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38323 * stdlib/secure-getenv.c (__secure_getenv): Replace
38324 GLIBC_2_16 with GLIBC_2_17.
38326 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38329 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38331 2012-08-03 David S. Miller <davem@davemloft.net>
38333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38335 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38337 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38339 (__ASSUME_CORRECT_SI_PID): Likewise.
38340 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38341 (__ASSUME_TMPFS_NAME): Likewise.
38342 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38343 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38344 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38345 (HAVE_AUX_SECURE): Make definition unconditional.
38346 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38347 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38349 2012-08-03 Roland McGrath <roland@hack.frob.com>
38351 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38352 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38353 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38354 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38355 __eloop_threshold instead of SYMLOOP_MAX.
38357 * sysdeps/generic/eloop-threshold.h: New file.
38358 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38360 * elf/chroot_canon.c (chroot_canon): Likewise.
38362 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38366 Change to 2.6.0 everywhere.
38367 * sysdeps/unix/sysv/linux/configure: Regenerated.
38368 * sysdeps/unix/sysv/linux/kernel-features.h
38369 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38370 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38372 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38373 (__ASSUME_FUTEX_REQUEUE): Remove.
38374 (__ASSUME_STATFS64): Define unconditionally.
38375 (__ASSUME_AT_SECURE): Likewise.
38376 (__ASSUME_CORRECT_SI_PID): Likewise.
38377 (__ASSUME_TGKILL): Define without depending on kernel version for
38379 (__ASSUME_UTIMES): Likewise.
38380 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38382 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38383 (__ASSUME_TMPFS_NAME): Likewise.
38384 * README: Update reference to Linux kernel versions.
38386 2012-08-02 Marek Polacek <polacek@redhat.com>
38389 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38390 libc_cv_asm_type_prefix with %.
38391 * configure: Regenerated.
38392 * include/libc-symbols.h: Remove comment about
38393 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38394 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38395 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38396 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38397 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38398 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38399 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38400 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38401 * elf/tst-unique2mod1.c: Likewise.
38402 * elf/tst-unique1mod2.c: Likewise.
38403 * elf/tst-unique1mod1.c: Likewise.
38404 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38405 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38406 Replace ASM_TYPE_DIRECTIVE with .type.
38407 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38408 * sysdeps/i386/sysdep.h: Likewise.
38409 * sysdeps/x86_64/sysdep.h: Likewise.
38410 * sysdeps/sh/sysdep.h: Likewise.
38411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38412 Do not define ASM_TYPE_DIRECTIVE.
38413 * sysdeps/powerpc/sysdep.h: Likewise.
38414 * sysdeps/powerpc/powerpc32/sysdep.h:
38415 Replace ASM_TYPE_DIRECTIVE with .type.
38416 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38417 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38418 * sysdeps/i386/fpu/e_powf.S: Likewise.
38419 * sysdeps/i386/fpu/e_expl.S: Likewise.
38420 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38421 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38422 * sysdeps/i386/fpu/e_pow.S: Likewise.
38423 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38425 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38426 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38427 * sysdeps/i386/fpu/e_log2.S: Likewise.
38428 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38429 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38430 * sysdeps/i386/fpu/e_powl.S: Likewise.
38431 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38432 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38433 * sysdeps/i386/fpu/e_logl.S: Likewise.
38434 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38435 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38436 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38437 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38438 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38439 * sysdeps/i386/fpu/e_log.S: Likewise.
38440 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38441 * sysdeps/i386/fpu/e_logf.S: Likewise.
38442 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38443 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38444 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38445 * sysdeps/i386/fpu/e_log10.S: Likewise.
38446 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38447 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38448 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38449 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38450 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38451 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38452 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38453 * sysdeps/i386/i686/strtok.S: Likewise.
38454 * sysdeps/i386/i386-mcount.S: Likewise.
38455 * sysdeps/i386/strtok.S: Likewise.
38456 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38457 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38458 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38459 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38460 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38461 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38462 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38463 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38464 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38465 * sysdeps/x86_64/_mcount.S: Likewise.
38466 * sysdeps/x86_64/strtok.S: Likewise.
38467 * sysdeps/sh/_mcount.S: Likewise.
38469 2012-08-01 Roland McGrath <roland@hack.frob.com>
38471 * libio/iofopen.c: Include <fcntl.h>.
38472 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38473 (_IO_fopen64, fopen64): Define as aliases.
38474 * libio/iofopen64.c: Include <fcntl.h>.
38475 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38476 Conditionalize body on this.
38477 * sysdeps/wordsize-64/iofopen.c: File removed.
38478 * sysdeps/wordsize-64/iofopen64.c: File removed.
38480 2012-08-01 Marek Polacek <polacek@redhat.com>
38482 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38483 Use dlfcn directly instead of a variable.
38484 (binfmt-subdir): Do not define.
38487 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38489 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38490 Remove all definitions.
38491 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38492 <kernel-features.h>.
38493 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38494 (miss_F_GETOWN_EX): Remove all definitions.
38495 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38497 [!__ASSUME_FCNTL64]: Remove conditional code.
38498 [__ASSUME_FCNTL64]: Make code unconditional.
38499 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38500 <kernel-features.h>.
38501 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38502 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38503 (lockf64) [__NR_fcntl64]: Make code unconditional.
38504 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38506 * sysdeps/unix/sysv/linux/kernel-features.h
38507 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38508 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38509 Make code unconditional.
38510 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38511 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38513 [__NR_vfork]: Make code unconditional.
38514 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38515 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38517 [__NR_vfork]: Make code unconditional.
38518 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38519 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38521 2012-08-01 Roland McGrath <roland@hack.frob.com>
38523 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38524 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38526 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38527 Define mkstemp64 as an alias.
38528 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38529 Define mkstemps64 as an alias.
38530 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38531 Define mkostemp64 as an alias.
38532 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38533 Define mkostemps64 as an alias.
38534 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38535 Conditionalize body on this.
38536 * misc/mkostemp64.c: Likewise.
38537 * misc/mkostemps64.c: Likewise.
38538 * misc/mkstemps64.c: Likewise.
38539 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38540 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38541 * sysdeps/wordsize-64/mkostemp.c: File removed.
38542 * sysdeps/wordsize-64/mkstemp.c: File removed.
38543 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38545 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38546 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38549 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38550 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38551 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38552 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38554 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38555 compat_symbol macros from <shlib-compat.h> rather than the underlying
38556 default_symbol_version and symbol_version macros, so that DEFAULT
38557 lines in shlib-versions are respected.
38558 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38560 2012-08-01 Florian Weimer <fweimer@redhat.com>
38562 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38563 Declare with warn_unused_result.
38564 (setgid, setregid, setegid, setresgid): Likewise.
38565 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38567 * WUR-REPORT: Remove set*id functions.
38569 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38571 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38573 2012-07-31 Roland McGrath <roland@hack.frob.com>
38576 * include/sys/socket.h (__libc_accept, __libc_accept4):
38577 Add attribute_hidden.
38578 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38580 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38582 * inet/getnetgrent_r.c (setup): Likewise.
38584 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38586 2012-07-31 David S. Miller <davem@davemloft.net>
38588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38590 2012-07-31 Joseph Myers <joseph@codesourcery.com>
38593 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38594 value between 1.0 and 2.0 and smaller part has absolute value less
38596 * math/s_clog10.c (__clog10): Likewise.
38597 * math/s_clog10f.c (__clog10f): Likewise.
38598 * math/s_clog10l.c (__clog10l): Likewise.
38599 * math/s_clogf.c (__clogf): Likewise.
38600 * math/s_clogl.c (__clogl): Likewise.
38601 * math/libm-test.inc (clog_test): Add more tests.
38602 (clog10_test): Likewise.
38603 * sysdeps/i386/fpu/libm-test-ulps: Update.
38604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38606 2012-07-31 Florian Weimer <fweimer@redhat.com>
38608 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38609 Exit with zero in case no suitable GID is found, and write a
38610 message to standard error.
38612 2012-07-30 Roland McGrath <roland@hack.frob.com>
38614 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38616 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38617 (MAXPATHLEN): Removed.
38618 (NOGROUP, NODEV): New macros.
38619 (setbit, clrbit, isset, isclr): New macros.
38620 (howmany, roundup, powerof2): New macros.
38621 (DEV_BSIZE): New macro.
38623 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38624 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38626 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38627 definition on [!__NO_LONG_DOUBLE_MATH].
38629 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38630 PTR_MANGLE and PTR_DEMANGLE.
38632 * socket/accept4.c (accept4): Rename to __libc_accept4.
38633 Define accept4 as a weak alias.
38635 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38636 on [_DIRENT_HAVE_D_TYPE].
38637 * io/ftw.c (ftw_dir): Likewise.
38639 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38641 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38643 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38644 Use the BSD numbers rather than the arbitrary ones we had.
38645 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38646 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38647 (SIGXCPU, SIGXFSZ): New macros.
38650 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38651 initializer on [_LIBC_REENTRANT].
38653 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38654 definitions inside [_POSIX_MAPPED_FILES].
38656 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38658 * dirent/opendir.c: Include <fcntl.h>.
38660 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38661 (__libc_getspecific): Likewise.
38662 (__libc_key_create): Likewise.
38664 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38665 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38666 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38667 (tmpfile64): Define as alias.
38668 * sysdeps/wordsize-64/tmpfile.c: File removed.
38669 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38671 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38673 * stdio-common/vfscanf.c: Include <stdbool.h>.
38674 * nss/makedb.c: Likewise.
38675 * stdio-common/_i18n_number.h: Likewise.
38676 * argp/argp-help.c: Likewise.
38677 * posix/wordexp.c: Likewise.
38678 * sysdeps/posix/spawni.c: Likewise.
38679 * nss/nss_files/files-initgroups.c: Likewise.
38680 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38681 * nss/nss_files/files-initgroups.c: Likewise.
38682 * nss/nss_db/db-netgrp.c: Likewise.
38683 * nss/nss_db/db-initgroups.c: Likewise.
38684 * io/fchmodat.c: Include <sys/stat.h>.
38686 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38687 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38689 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38692 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38693 Add multiple inclusion protection.
38695 2012-07-27 David S. Miller <davem@davemloft.net>
38697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38699 2012-07-27 Gary Benson <gbenson@redhat.com>
38702 * elf/rtld.c: Include <stap-probe.h>.
38703 (dl_main): Added static probes "init_start" and "init_complete".
38704 * elf/dl-load.c: Include <stap-probe.h>.
38705 (lose): Take new parameter "nsid".
38706 Added static probe "map_failed".
38707 (_dl_map_object_from_fd): Pass namespace id to lose.
38708 Added static probe "map_start".
38709 (open_verify): Pass namespace id to lose.
38710 * elf/dl-open.c: Include <stap-probe.h>.
38711 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38712 and "reloc_complete".
38713 * elf/dl-close.c: Include <stap-probe.h>.
38714 (_dl_close_worker): Added static probes "unmap_start" and
38716 * elf/rtld-debugger-interface.txt: New file documenting the above.
38718 2012-07-26 Roland McGrath <roland@hack.frob.com>
38720 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38721 rather than a string variable.
38722 * sunrpc/rpc_main.c (h_output): Likewise.
38723 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38725 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38727 * inet/check_native.c: New file.
38729 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38732 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38733 if larger part has absolute value 1.0.
38734 * math/s_clog10.c (__clog10): Likewise.
38735 * math/s_clog10f.c (__clog10f): Likewise.
38736 * math/s_clog10l.c (__clog10l): Likewise.
38737 * math/s_clogf.c (__clogf): Likewise.
38738 * math/s_clogl.c (__clogl): Likewise.
38739 * math/libm-test.inc (clog_test): Add more tests.
38740 (clog10_test): Likewise.
38741 * sysdeps/i386/fpu/libm-test-ulps: Update.
38742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38744 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38745 (pltexit): Likewise.
38746 (La_regs): Likewise.
38747 (La_retval): Likewise.
38748 (int_retval): Likewise.
38749 Update #error for removed macros to refer only to definitions in
38751 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38753 (pltexit): Likewise.
38754 (La_regs): Likewise.
38755 (La_retval): Likewise.
38756 (int_retval): Likewise.
38757 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38759 (pltexit): Likewise.
38760 (La_regs): Likewise.
38761 (La_retval): Likewise.
38762 (int_retval): Likewise.
38763 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38765 (pltexit): Likewise.
38766 (La_regs): Likewise.
38767 (La_retval): Likewise.
38768 (int_retval): Likewise.
38769 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38771 (pltexit): Likewise.
38772 (La_regs): Likewise.
38773 (La_retval): Likewise.
38774 (int_retval): Likewise.
38775 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38777 (pltexit): Likewise.
38778 (La_regs): Likewise.
38779 (La_retval): Likewise.
38780 (int_retval): Likewise.
38781 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38783 (pltexit): Likewise.
38784 (La_regs): Likewise.
38785 (La_retval): Likewise.
38786 (int_retval): Likewise.
38787 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38788 macro definitions in tst-audit.h.
38789 * sysdeps/i386/tst-audit.h: New file.
38790 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38791 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38792 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38793 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38794 * sysdeps/sh/tst-audit.h: Likewise.
38795 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38796 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38797 * sysdeps/x86_64/tst-audit.h: Likewise.
38799 2012-07-26 Andreas Jaeger <aj@suse.de>
38801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38804 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38805 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38806 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38808 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38809 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38810 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38812 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38815 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38817 (si_call_addr, si_syscall, si_arch): Define new macro.
38818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38820 (si_call_addr, si_syscall, si_arch): Define new marcro.
38821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38823 (si_call_addr, si_syscall, si_arch): Define new macro.
38824 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38826 (si_call_addr, si_syscall, si_arch): Define new macro.
38828 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38832 Change to 2.4.21 where previously 2.4.1.
38833 * sysdeps/unix/sysv/linux/configure: Regenerated.
38834 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38835 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38836 Linux kernel version.
38837 (__ASSUME_STD_AUXV): Remove.
38838 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38840 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38841 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38842 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38843 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38844 (__ASSUME_NETLINK_SUPPORT): Likewise.
38845 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38846 (__no_netlink_support): Remove conditional definition.
38847 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38849 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38850 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38851 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38852 (if_nameindex_ioctl): Remove.
38853 (if_nameindex_netlink): Do not handle __no_netlink_support.
38854 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38856 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38857 Remove conditional code.
38858 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38860 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38862 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38863 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38864 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38866 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38867 [!__ASSUME_STD_AUXV]: Remove conditional code.
38868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38869 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38870 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38872 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38873 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38875 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38877 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38878 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38880 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38882 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38885 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38888 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38889 code unconditional.
38890 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38892 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38894 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38897 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38899 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38902 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38903 code unconditional.
38904 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38906 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38908 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38911 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38912 code unconditional.
38913 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38915 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38917 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38920 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38922 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38923 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38924 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38925 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38926 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38927 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38928 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38929 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38930 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38931 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38932 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38933 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38934 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38935 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38936 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38937 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38938 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38939 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38940 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38942 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38943 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38946 2012-07-25 Florian Weimer <fweimer@redhat.com>
38948 * Versions.def: Add GLIBC_2.17.
38949 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38950 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38951 Introduce __libc_secure_getenv.
38952 * stdlib/Versions (2.17): Add secure_getenv
38953 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38954 * stdlib/secure-getenv.c: Rename __secure_getenv to
38955 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38956 symbol __secure_getenv for GLIBC_2.0.
38957 * stdlib/tst-secure-getenv.c: New.
38958 * stdlib/Makefile (tests): Add testcase.
38959 * manual/startup.texi (Environment Access): Document
38961 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38962 __libc_secure_getenv.
38963 * inet/ruserpass.c (ruserpass): Likewise.
38964 * malloc/mtrace.c (mtrace): Likewise.
38965 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38966 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38967 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38968 * sysdeps/posix/tempname.c: Likewise. Evaluate
38969 HAVE_SECURE_GETENV.
38970 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38971 __secure_getenv to __libc_secure_getenv.
38972 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38985 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38987 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38988 (struct La_i86_retval): Likewise.
38989 (struct La_x86_64_regs): Likewise.
38990 (struct La_x86_64_retval): Likewise.
38991 (struct La_x32_regs): Likewise.
38992 (struct La_x32_retval): Likewise.
38993 (struct La_ppc32_regs): Likewise.
38994 (struct La_ppc32_retval): Likewise.
38995 (struct La_ppc64_regs): Likewise.
38996 (struct La_ppc64_retval): Likewise.
38997 (struct La_sh_regs): Likewise.
38998 (struct La_sh_retval): Likewise.
38999 (struct La_s390_32_regs): Likewise.
39000 (struct La_s390_32_retval): Likewise.
39001 (struct La_s390_64_regs): Likewise.
39002 (struct La_s390_64_retval): Likewise.
39003 (struct La_sparc32_regs): Likewise.
39004 (struct La_sparc32_retval): Likewise.
39005 (struct La_sparc64_regs): Likewise.
39006 (struct La_sparc64_retval): Likewise.
39007 (struct audit_ifaces): Remove architecture-specific pltenter and
39009 * sysdeps/i386/ldsodefs.h: New file.
39010 * sysdeps/powerpc/ldsodefs.h: Likewise.
39011 * sysdeps/s390/ldsodefs.h: Likewise.
39012 * sysdeps/sh/ldsodefs.h: Likewise.
39013 * sysdeps/sparc/ldsodefs.h: Likewise.
39014 * sysdeps/x86_64/ldsodefs.h: Likewise.
39016 2012-07-25 Marek Polacek <polacek@redhat.com>
39019 * math/libm-test.inc (yn_test): Add another test.
39020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39021 to ERANGE when the result is +-Inf.
39022 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39023 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39024 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39025 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39027 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39029 * conform/data/time.h-data (NULL): Use macro-constant. Require
39031 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39033 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39035 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39037 * configure.in <sysdeps resolving>: Correct printing
39039 * configure: Regenerate.
39041 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39043 * math/w_ilogb.c: Include <limits.h>.
39044 * math/w_ilogbl.c: Likewise.
39046 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39048 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39049 va_copy. Document allowing for unavailable va_copy only as
39050 pre-C99 compatibility.
39051 * manual/string.texi (Copying and Concatenation): Use va_copy
39052 instead of __va_copy in concat example.
39054 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39056 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39057 (__sendto): Use create_address_port. Initialize APORT and deallocate
39060 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39061 with O_NOLINK passed to __file_name_lookup.
39063 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39064 with O_NOLINK passed to __file_name_lookup.
39066 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39067 negative N or less than NGIDS.
39069 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39070 type to string_t. Set ERANGE as errno and return it if NAME is not big
39071 enough. Use memcpy instead of strncpy.
39073 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39075 * elf/Makefile (check-data): Remove.
39076 (localplt.data): New vpath directive.
39077 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39078 instead of $(check-data).
39079 * scripts/data/localplt-generic.data: Move to ...
39080 * sysdeps/generic/localplt.data: ... here.
39081 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39082 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39083 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39086 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39089 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39092 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39095 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39098 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39102 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39104 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39105 PPC32 and PPC64 files.
39106 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39107 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39109 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39111 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39112 __makecontext_ret to ...
39113 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39114 ... here and call exit if uc_link is NULL. New file.
39115 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39116 __makecontext_ret.S.
39117 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39118 __makecontext_ret to ...
39119 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39120 ... here and call exit if uc_link is NULL. New file.
39121 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39122 __makecontext_ret.S.
39124 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39126 * elf/elf.h (R_390_IRELATIVE): New definition.
39127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39128 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39129 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39130 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39131 (elf_machine_lazy_rel): Likewise.
39132 * sysdeps/s390/dl-irel.h: New file.
39133 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39134 * sysdeps/s390/s390-64/memset.S: New asm code.
39135 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39136 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39138 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39139 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39140 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39142 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39143 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39144 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39145 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39146 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39147 * sysdeps/s390/s390-32/memset.S: New asm code.
39148 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39150 2012-07-17 Marek Polacek <polacek@redhat.com>
39153 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39154 * sysdeps/s390/s390-64/configure.in: Likewise.
39155 * sysdeps/sparc/configure.in: Likewise.
39156 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39157 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39158 * sysdeps/i386/configure.in: Likewise.
39159 * sysdeps/x86_64/configure.in: Likewise.
39160 * sysdeps/sh/configure.in: Likewise.
39161 * sysdeps/s390/s390-32/configure: Regenerated.
39162 * sysdeps/s390/s390-64/configure: Likewise.
39163 * sysdeps/x86_64/configure: Likewise.
39164 * sysdeps/sh/configure: Likewise.
39165 * sysdeps/powerpc/powerpc64/configure: Likewise.
39166 * sysdeps/powerpc/powerpc32/configure: Likewise.
39167 * sysdeps/sparc/configure: Likwise.
39168 * sysdeps/i386/configure: Likewise.
39170 * elf/dl-open.c: Comment fixes.
39172 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39174 * Makefile [CXX] (check-data): Remove.
39175 [CXX] (c++-types.data): New vpath directive.
39176 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39177 vpath. Do not allow for C++ type data being missing.
39178 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39179 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39180 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39181 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39182 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39183 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39184 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39187 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39190 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39193 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39196 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39199 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39202 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39205 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39208 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39209 definitions to architecture-specific files.
39210 (TLS_IE): Likewise.
39211 (TLS_LD): Likewise.
39212 (TLS_GD): Likewise.
39213 * sysdeps/i386/tls-macros.h: New file.
39214 * sysdeps/powerpc/tls-macros.h: Likewise.
39215 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39216 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39217 * sysdeps/sh/tls-macros.h: Likewise.
39218 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39219 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39220 * sysdeps/x86_64/tls-macros.h: Likewise.
39222 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39224 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39225 zero value for regular exit case.
39227 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39228 (__start_context): Preserve zero value for regular exit case.
39230 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39231 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39233 * manual/setjmp.texi (setcontext): Clarify normal process
39234 termination when uc_link is the null pointer.
39235 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39238 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39240 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39241 preprocessor. Test for each exception mask separately.
39243 2012-07-16 Andreas Jaeger <aj@suse.de>
39245 * po/ru.po: Update from translation team.
39247 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39249 * conform/data/string.h-data (NULL): Use macro-constant. Require
39251 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39252 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39253 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39254 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39257 2012-07-13 Andreas Jaeger <aj@suse.de>
39259 * po/fr.po: Update from translation team.
39261 2012-07-12 Marek Polacek <polacek@redhat.com>
39264 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39268 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39272 Change to 2.4.1 where previously 2.4.0.
39273 * sysdeps/unix/sysv/linux/configure: Regenerated.
39274 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39275 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39277 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39278 (__ASSUME_AT_CLKTCK): Remove.
39279 (__ASSUME_AT_PAGESIZE): Likewise.
39280 (__ASSUME_AT_XID): Likewise.
39281 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39282 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39283 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39285 (HAVE_AUX_PAGESIZE): Likewise.
39286 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39287 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39288 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39290 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39294 the temporary buffer used to invoke __gethostbyname2_r,
39295 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39296 host_data / struct gaih_addrtuple.
39297 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39298 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39299 header file nss/nsswitch.h.
39300 * nss/nsswitch.h (global scope): Add definition of implementation
39301 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39302 resolv/nss_dns/dns-host.c).
39304 2012-07-11 Andreas Jaeger <aj@suse.de>
39306 * po/fr.po: Update from translation team.
39308 * po/sv.po: Update from translation team
39309 * po/fr.po: Another update from translation team.
39311 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39313 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39314 for subnormals or multiply small sinh result by itself.
39315 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39318 2012-07-11 David S. Miller <davem@davemloft.net>
39320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39322 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39325 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39326 (INTERNAL_MARK): Shift it here.
39328 2012-07-10 Marek Polacek <polacek@redhat.com>
39331 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39332 libc_cv_asm_global_directive with .globl.
39333 * configure: Regenerated.
39334 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39336 * sysdeps/i386/configure: Regenerated.
39337 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39339 * sysdeps/x86_64/configure: Regenerated.
39340 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39341 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39342 * elf/tst-unique2mod2.c: Likewise.
39343 * elf/tst-unique2mod1.c: Likewise.
39344 * elf/tst-unique1mod2.c: Likewise.
39345 * elf/tst-unique1mod1.c: Likewise.
39346 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39350 * sysdeps/mach/sysdep.h: Likewise.
39351 * sysdeps/i386/sysdep.h: Likewise.
39352 * sysdeps/i386/i386-mcount.S: Likewise.
39353 * sysdeps/x86_64/_mcount.S: Likewise.
39354 * sysdeps/x86_64/sysdep.h: Likewise.
39355 * sysdeps/sh/_mcount.S: Likewise.
39356 * sysdeps/sh/sysdep.h: Likewise.
39357 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39358 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39359 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39360 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39361 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39362 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39363 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39364 * locale/localeinfo.h: Likewise.
39365 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39366 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39368 2012-07-09 Roland McGrath <roland@hack.frob.com>
39371 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39373 * manual/message.texi (The Uniforum approach): Likewise.
39374 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39375 (glibc iconv Implementation): Likewise.
39377 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39380 * math/s_clog.c (__clog): Avoid scaling a value down where that
39381 could result in underflow.
39382 * math/s_clog10.c (__clog10): Likewise.
39383 * math/s_clog10f.c (__clog10f): Likewise.
39384 * math/s_clog10l.c (__clog10l): Likewise.
39385 * math/s_clogf.c (__clogf): Likewise.
39386 * math/s_clogl.c (__clogl): Likewise.
39387 * math/libm-test.inc (clog_test): Add more tests.
39388 (clog10_test): Likewise.
39389 * sysdeps/i386/fpu/libm-test-ulps: Update.
39390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39392 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39395 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39396 by 7 not 8 to examine high bit of fractional part.
39399 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39400 for call to __mcount_internal.
39401 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39402 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39403 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39405 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39408 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39409 approximation for values within 0x1p-13f of an odd multiple of
39411 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39412 exception. Add more tests.
39413 * sysdeps/i386/fpu/libm-test-ulps: Update.
39416 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39417 inputs and return -1 for them. Do not check for +Inf in case not
39418 reachable for +Inf.
39419 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39420 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39422 and return -1 for them. Do not check for +Inf in case not
39423 reachable for +Inf.
39424 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39427 and return -1 for them. Do not check for +Inf in case not
39428 reachable for +Inf.
39429 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39430 spurious underflow.
39431 * sysdeps/i386/fpu/libm-test-ulps: Update.
39432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39434 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39436 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39438 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39442 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39443 could result in spurious underflow. Scale down values above
39444 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39445 * math/s_csqrtf.c (__csqrtf): Likewise.
39446 * math/s_csqrtl.c (__csqrtl): Likewise.
39447 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39448 spurious underflow.
39449 * sysdeps/i386/fpu/libm-test-ulps: Update.
39450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39452 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39454 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39456 * catgets/xopen-msg.awk: New file.
39457 * catgets/xopen-msg.sed: Removed.
39459 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39461 * intl/po2test.awk: New file.
39462 * intl/po2test.sed: Removed.
39464 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39467 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39468 or multiply small sinh result by itself.
39469 * math/s_ctanf.c (__ctanf): Likewise.
39470 * math/s_ctanh.c (__ctanh): Likewise.
39471 * math/s_ctanhf.c (__ctanhf): Likewise.
39472 * math/s_ctanhl.c (__ctanhl): Likewise.
39473 * math/s_ctanl.c (__ctanl): Likewise.
39474 * math/libm-test.inc (ctan_test_tonearest): New function.
39475 (ctan_test_towardzero): Likewise.
39476 (ctan_test_downward): Likewise.
39477 (ctan_test_upward): Likewise.
39478 (ctanh_test_tonearest): Likewise.
39479 (ctanh_test_towardzero): Likewise.
39480 (ctanh_test_downward): Likewise.
39481 (ctanh_test_upward): Likewise.
39482 (main): Call these new functions.
39483 * sysdeps/i386/fpu/libm-test-ulps: Update.
39484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39486 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39488 * .gitignore: Delete /ports entry.
39490 2012-07-03 Andreas Jaeger <aj@suse.de>
39492 * po/bg.po: Update from translation team.
39493 * po/cs.po: Likewise.
39494 * po/de.po: Likewise.
39495 * po/hr.po: Likewise.
39496 * po/nl.pl: Likewise.
39497 * po/pl.po: Likewise.
39498 * po/vi.po: Likewise.
39500 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39502 * Makeconfig [!+link] (+link-before-libc): New variable.
39503 [!+link] (+link-after-libc): Likewise.
39504 [!+link] (+link-tests): Likewise.
39505 [!+link] (+link): Define in terms of $(+link-before-libc) and
39506 $(+link-after-libc).
39507 [!+link-static] (+link-static-before-libc): New variable.
39508 [!+link-static] (+link-static-after-libc): Likewise.
39509 [!+link-static] (+link-static-tests): Likewise.
39510 [!+link-static] (+link-static): Define in terms of
39511 $(+link-static-before-libc) and $(+link-static-after-libc).
39512 [build-shared] (link-libc-before-gnulib): New variable.
39513 [build-shared] (link-libc-tests): Likewise.
39514 [build-shared] (link-libc): Define in terms of
39515 $(link-libc-before-gnulib).
39516 [!build-shared] (link-libc-tests): New variable.
39517 (link-libc-static-tests): New variable.
39518 [!gnulib] (gnulib-arch): New variable.
39519 [!gnulib] (gnulib-tests): Likewise.
39520 [!gnulib] (static-gnulib-arch): Likewise.
39521 [!gnulib] (static-gnulib-tests): Likewise.
39522 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39523 Define with "=" instead of ":=".
39524 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39525 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39526 * Rules (binaries-all-notests): New variable.
39527 (binaries-all-tests): Likewise.
39528 (binaries-static-notests): Likewise.
39529 (binaries-static-tests): Likewise.
39530 (binaries-all): Define using $(binaries-all-notests) and
39531 $(binaries-all-tests).
39532 (binaries-static): Define using $(binaries-static-notests) and
39533 $(binaries-static-tests).
39534 (binaries-shared-tests): New variable.
39535 (binaries-shared-notests): Likewise.
39536 (binaries-shared): Remove variable.
39537 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39538 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39539 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39540 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39541 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39542 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39543 * elf/Makefile (sln-modules): New variable.
39544 (extra-objs): Add $(sln-modules:=.o).
39545 (ldconfig-modules): Add static-stubs.
39546 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39547 * elf/static-stubs.c: New file.
39550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39551 by 7 not 8 to examine high bit of fractional part. Use volatile
39552 variables when splitting into final array of floats if
39553 __FLT_EVAL_METHOD__ != 0.
39554 * math/libm-test.inc (cos_test): Add another test.
39555 (sin_test): Likewise.
39556 * sysdeps/i386/fpu/libm-test-ulps: Update.
39559 * math/libm-test.inc (cosh_test): Add more tests.
39561 * version.h (RELEASE): Set to "development".
39562 (VERSION): Set to "2.16.90".
39564 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39566 * NEWS: Update copyright. Remove last-updated date.
39567 Mention math library bug fixes and timezone data changes.
39568 * README: Mention GNU/Hurd, x32, and HPPA support status.
39570 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39572 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39574 2012-06-27 Andreas Jaeger <aj@suse.de>
39576 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39578 2012-06-25 Andreas Jaeger <aj@suse.de>
39580 * sysdeps/s390/fpu/libm-test-ulps: Update.
39582 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39583 Thomas Schwinge <thomas@codesourcery.com>
39585 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39586 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39590 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39592 * sysdeps/mach/start.c: Remove file.
39593 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39594 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39595 * sysdeps/sh/init-first.c: Likewise.
39597 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39598 registers for frame unwinding purposes, add CFI directives.
39599 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39600 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39601 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39604 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39605 __fortify_fail returning.
39606 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39609 sysdeps/sh/____longjmp_chk.S.
39610 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39611 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39612 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39613 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39615 * sysdeps/sh/abort-instr.h: New file.
39616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39617 process in case exit returns.
39619 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39620 initialize the GOT register before use.
39622 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39623 calculation of ARGC > 4.
39625 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39626 meaningful names to some local labels.
39628 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39629 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39631 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39632 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39633 (__arch_compare_and_exchange_val_16_acq): Likewise.
39634 (__arch_compare_and_exchange_val_32_acq): Likewise.
39635 (atomic_exchange_and_add): Fix gUSA sequence.
39636 (atomic_add): Likewise.
39637 (atomic_add_negative): Likewise.
39638 (atomic_add_zero): Likewise.
39639 (atomic_bit_test_set): Likewise.
39641 2012-06-22 Andreas Schwab <schwab@redhat.com>
39644 * include/link.h (struct link_map): Add l_free_initfini.
39645 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39647 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39648 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39649 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39652 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39654 * configure.in: Use AC_LANG_SOURCE.
39655 * configure: Regenerate.
39657 2012-06-22 Roland McGrath <roland@hack.frob.com>
39659 * configure.in (libc_cv_localstatedir): New substituted variable.
39660 * configure: Regenerated.
39661 * config.make.in (localstatedir): New variable, substituted from
39662 libc_cv_localstatedir.
39663 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39664 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39665 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39666 * sysdeps/gnu/configure: Regenerated.
39668 2012-06-21 Jeff Law <law@redhat.com>
39671 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39672 free. Simplify list management for _LIBC case.
39674 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39677 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39678 Clear sign bit of 64-bit integer value before comparing against
39681 * sysdeps/mach/configure: Regenerated.
39683 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39686 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39688 2012-06-21 Jeff Law <law@redhat.com>
39691 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39692 uint16_t for elements in the "seen" array to avoid char overflows.
39693 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39694 * elf/dl-open.c (dl_open_worker): Likewise.
39696 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39698 * scripts/list-sources.sh: Scan PORTS for translations.
39699 * po/libc.pot: Regenerated.
39701 2012-06-21 Andreas Jaeger <aj@suse.de>
39704 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39706 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39707 * bits/byteswap-16.h (__bswap_16): Likewise.
39708 * bits/byteswap.h (__bswap_constant_16): Likewise.
39710 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39713 * sysdeps/i386/fpu_control.h: Removed.
39714 * sysdeps/x86_64/fpu_control.h: Moved to ...
39715 * sysdeps/x86/fpu_control.h: Here.
39717 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39718 (_FPU_SETCW): Likewise.
39720 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39723 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39724 * sysdeps/x86/fpu/bits/mathinline.h: This.
39725 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39729 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39730 functions if __x86_64__ is defined.
39732 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39734 * string/endian.h: Add !__ASSEMBLER__ condition for including
39735 conversion interfaces.
39737 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39741 of ABS(x) in calculating zero to negative powers other than odd
39743 * math/libm-test.inc (pow_test): Add more tests.
39745 2012-06-15 Andreas Jaeger <aj@suse.de>
39747 * manual/contrib.texi (Contributors): Update entry of Liubov
39748 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39751 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39753 * string/string.h: Add __wur to GNU version of strerror_r.
39755 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39758 * string/Makefile (tests): Add tst-strtok_r.
39759 * string/tst-strtok_r.c: New file.
39760 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39761 RAX_LP/RDX_LP on SAVE_PTR.
39763 2012-06-14 Roland McGrath <roland@hack.frob.com>
39765 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39767 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39769 * libm_test.inc (csqrt_test): Allow more spurious underflow
39771 (j0_test): Likewise.
39772 (j1_test): Likewise.
39773 (y0_test): Likewise.
39774 (y1_test): Likewise.
39776 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39778 * po/Makefile (libc.pot): Use UTF-8 charset.
39780 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39783 Suppress sign-conversion warning from FD_SET.
39784 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39785 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39786 not unsigned long int.
39787 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39789 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39793 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39794 __extern_always_inline instead of __extern_inline.
39795 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39796 (__signbit): Likewise.
39797 (__signbitl): Support C++ namespace.
39798 (lrintf): New inline function.
39800 (llrintf): Likewise.
39801 (llrint): Likewise.
39811 (floorf): Likewise.
39812 (nearbyint): Likewise.
39813 (nearbyintf): Likewise.
39815 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39817 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39818 non-default versions.
39820 2012-06-11 Roland McGrath <roland@hack.frob.com>
39823 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39825 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39827 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39828 (FE_UPWARD, FE_DOWNWARD): Don't define.
39829 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39830 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39834 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39835 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39837 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39839 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39841 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39842 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39844 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39847 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39848 * sysdeps/i386/fpu/Implies: New file.
39849 * sysdeps/x86_64/fpu/Implies: Likewise.
39850 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39851 * sysdeps/x86/fpu/bits/fenv.h: This.
39853 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39856 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39859 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39860 character 0xffff that matches the last element of the
39863 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39865 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39868 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39871 values higher than 25.6283.
39873 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39876 subnormal exponent extraction and add some __builtin_expect.
39877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39878 Fix for subnormal mantissa calculation.
39880 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39882 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39883 cpu2 is -1 and errno is not ENOSYS.
39885 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39888 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39889 * sysdeps/x86/bits/string.h: This.
39890 * sysdeps/x86_64/bits/string.h: Removed.
39892 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39893 if not compiling for x86-64, but compiling for >= i486.
39895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39896 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39898 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39899 New macro from Linux kernel 3.4.0.
39900 (FP_XSTATE_MAGIC2): Likewise.
39901 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39902 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39903 (struct _fpx_sw_bytes): New struct.
39904 (struct _xsave_hdr): Likewise.
39905 (struct _ymmh_state): Likewise.
39906 (struct _xstate): Likewise.
39908 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39909 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39910 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39911 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39912 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39913 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39915 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39916 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39917 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39918 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39919 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39920 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39922 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39925 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39926 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39927 (sysdep_headers): Include sys/platform/ppc.h.
39928 * sysdeps/powerpc/test-gettimebase.c: Test for
39929 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39930 * manual/Makefile (appendices): Include platform.texi.
39931 * manual/contrib.texi (Contributors): Update @node pointers.
39932 * manual/maint.texi (Maintenance): Likewise.
39933 (Platform): New node.
39934 * manual/platform.texi: New file. Document the new features.
39936 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39937 Jakub Jelinek <jakub@redhat.com>
39940 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39941 where __builtin_expect is unavailable.
39943 2012-06-03 David S. Miller <davem@davemloft.net>
39945 * stdlib/longlong.h: Updated from GCC.
39947 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39950 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39951 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39954 (GLIBC_2.16): Likewise.
39956 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39958 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39960 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39963 (default-abi): New variable.
39964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39965 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39967 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39969 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39971 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39974 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39975 definition. Document in comment.
39977 2012-06-01 David S. Miller <davem@davemloft.net>
39979 * stdlib/longlong.h: Updated from GCC.
39981 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39984 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39985 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39986 sys/debugreg.h sys/io.h here.
39987 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39988 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39990 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39991 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39992 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39993 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39994 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39995 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39997 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39998 Define only if __x86_64__ is defined.
40000 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40003 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40004 Use int64_t for variable i.
40005 * math/libm-test.inc (fmod_test): Add more tests.
40007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40008 z computation is not scheduled after fetestexcept.
40009 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40010 Use math_force_eval instead of asm to ensure calculation scheduled
40011 before exception test.
40012 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40013 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40015 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40018 computation is not scheduled after fetestexcept.
40020 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40023 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40024 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40026 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40028 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40029 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40031 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40034 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40036 (__WCHAR_MIN): Support __WORDSIZE == 64.
40037 (__WCHAR_MAX): Likewise.
40039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40044 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40047 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40048 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40050 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40051 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40053 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40054 Defined to 1 if __x86_64__ isn't defined.
40055 (_STAT_VER_LINUX_OLD): New.
40056 (st_atime): Remove duplicate.
40057 (st_mtime): Likewise.
40058 (st_ctime): Likewise.
40060 2012-05-31 David S. Miller <davem@davemloft.net>
40062 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40065 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40067 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40071 * elf/dl-reloc.c: Include <_itoa.h>.
40072 (_dl_reloc_bad_type): Remove use of INTUSE.
40073 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40074 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40075 * stdio-common/psiginfo.c (psiginfo): Likewise.
40076 * stdio-common/psignal.c (psignal): Likewise.
40077 * string/strsignal.c (strsignal): Likewise.
40078 * include/signal.h (_sys_siglist): Declare hidden proto.
40079 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40080 INTVARDEF with libc_hidden_data_def.
40081 * stdio-common/itoa-udigits.c: Likewise.
40082 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40083 (_itoa_lower_digits_internal): Remove declaration.
40084 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40085 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40086 (_sys_sigabbrev_internal): Remove aliases.
40087 (_sys_siglist): Define hidden alias.
40089 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40094 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40097 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40098 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40100 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40101 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40102 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40103 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40105 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40107 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40108 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40109 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40111 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40119 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40121 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40123 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40124 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40126 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40127 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40128 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40130 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40131 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40133 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40134 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40136 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40137 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40140 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40141 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40143 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40145 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40146 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40147 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40149 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40151 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40153 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40155 * math/math.h (M_El): Use two more decimal places.
40156 (M_LOG2El): Likewise.
40157 (M_LOG10El): Likewise.
40158 (M_LN2l): Likewise.
40159 (M_LN10l): Likewise.
40161 (M_PI_2l): Likewise.
40162 (M_PI_4l): Likewise.
40163 (M_1_PIl): Likewise.
40164 (M_2_PIl): Likewise.
40165 (M_2_SQRTPIl): Likewise.
40166 (M_SQRT2l): Likewise.
40167 (M_SQRT1_2l): Likewise.
40169 2012-05-31 David S. Miller <davem@davemloft.net>
40171 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40172 values between float registers.
40173 * sysdeps/sparc/sparc64/memset.S: Likewise.
40174 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40176 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40178 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40179 -D_FORTIFY_SOURCE=1.
40180 (CPPFLAGS-tst-longjmp_chk.c): Define.
40181 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40182 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40183 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40184 CFLAGS-tst-wchar-h.c.
40186 2012-05-31 Marek Polacek <polacek@redhat.com>
40189 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40190 __endmntent_internal): Remove declaration.
40191 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40192 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40193 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40195 2012-05-30 David S. Miller <davem@davemloft.net>
40197 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40198 (___Q_simulate_exceptions): Use real FP ops rather than writing
40200 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40203 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40206 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40207 * sysdeps/x86/bits/xtitypes.h: This.
40209 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40210 * sysdeps/x86/bits/wordsize.h: This.
40212 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40213 * sysdeps/x86/bits/huge_vall.h: This.
40215 * sysdeps/i386/bits/select.h: Removed.
40216 * sysdeps/x86_64/bits/select.h: Renamed to ...
40217 * sysdeps/x86/bits/select.h: This.
40219 * sysdeps/i386/bits/setjmp.h: Removed.
40220 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40221 * sysdeps/x86/bits/setjmp.h: This.
40223 * sysdeps/i386/bits/mathdef.h: Removed.
40224 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40225 * sysdeps/x86/bits/mathdef.h: This.
40227 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40230 * include/sys/socket.h (__connect_internal)
40231 (__libc_sa_len_internal): Remove declaration.
40232 (__connect, __libc_sa_len): Declare hidden_proto.
40233 (SA_LEN): Remove use of INTUSE.
40234 * socket/connect.c: Add libc_hidden_def.
40235 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40236 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40237 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40239 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40240 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40241 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40242 of adding _internal alias.
40244 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40247 * sysdeps/i386/bits/link.h: Removed.
40248 * sysdeps/i386/bits/linkmap.h: Likewise.
40249 * sysdeps/x86_64/bits/link.h: Renamed to ...
40250 * sysdeps/x86/bits/link.h: This.
40251 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40252 * sysdeps/x86/bits/linkmap.h: This.
40254 * sysdeps/i386/bits/endian.h: Removed.
40255 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40256 * sysdeps/x86/bits/endian.h: This.
40258 * sysdeps/i386/bits/byteswap.h: Removed.
40259 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40260 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40261 * sysdeps/x86/bits/byteswap.h: This.
40262 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40263 * sysdeps/x86/bits/byteswap-16.h: This.
40264 * sysdeps/i386/Implies: Add x86.
40265 * sysdeps/x86_64/Implies: Likewise.
40267 2012-05-30 David S. Miller <davem@davemloft.net>
40269 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40270 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40271 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40272 (FP_TRAPPING_EXCEPTIONS): Define.
40273 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40274 (FP_TRAPPING_EXCEPTIONS): Define.
40275 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40276 subnormals only when inexact has been signalled or underflow
40277 exceptions are enabled.
40278 (_FP_PACK_CANONICAL): Likewise.
40280 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40284 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40286 2012-05-30 Richard Henderson <rth@twiddle.net>
40288 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40289 with #ifndef NOT_IN_libc.
40291 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40292 marked to avoid plt entry.
40294 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40297 * Makeconfig (default-abi): New macro.
40298 (abi-includes): Likewise.
40299 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40300 $(abi-$(default-abi)-lib-soname) for soname if defined.
40301 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40303 * Makefile (installed-stubs): Likewise.
40304 * include/stubs-biarch.h: Removed.
40305 * scripts/lib-names.awk: Only handle one library at a time.
40306 * scripts/soversions.awk: Remove WORDSIZE support.
40307 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40309 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40311 (syscall-list-default-condition): Likewise.
40312 (syscall-list-default-condition): Likewise.
40313 (syscall-list-includes): Likewise.
40314 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40315 syscall-list-* with abi-*. Handle undefined abi-variants.
40316 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40317 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40318 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40319 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40320 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40321 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40323 (syscall-list-32-options): Likewise.
40324 (syscall-list-32-condition): Likewise.
40325 (syscall-list-64-options): Likewise.
40326 (syscall-list-64-condition): Likewise.
40327 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40329 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40332 (abi-64-ld-soname): New macro.
40333 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40334 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40337 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40338 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40340 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40342 * sysdeps/unix/sysv/linux/kernel-features.h
40343 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40344 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40345 include <kernel-features.h>.
40346 [!__NR_ftruncate64]: Remove conditional code.
40347 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40348 [__NR_ftruncate64]: Make code unconditional.
40349 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40350 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40351 include <kernel-features.h>.
40352 [!__NR_ftruncate64]: Remove conditional code.
40353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40354 [__NR_ftruncate64]: Make code unconditional.
40355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40357 include <kernel-features.h>.
40358 [!__NR_ftruncate64]: Remove conditional code.
40359 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40360 [__NR_ftruncate64]: Make code unconditional.
40361 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40363 include <kernel-features.h>.
40364 [!__NR_ftruncate64]: Remove conditional code.
40365 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40366 [__NR_ftruncate64]: Make code unconditional.
40367 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40369 * configure.in (libc_cv_fpie): Weaken to a compile test using
40370 LIBC_TRY_CC_OPTION.
40371 * configure: Regenerated.
40373 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40388 2012-05-27 David S. Miller <davem@davemloft.net>
40390 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40392 (__Q_simulate_exceptions): Return void. Change to simulate
40393 exceptions by writing into the %fsr.
40394 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40395 (__Qp_handle_exceptions): Likewise.
40397 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40398 __Qp_handle_exceptions.
40399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40400 __Qp_handle_exceptions.
40401 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40402 as unused and give dummy FP_RND_NEAREST initializer.
40403 (FP_INHIBIT_RESULTS): Define.
40404 (___Q_simulate_exceptions): Update declaration.
40405 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40407 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40408 as unused and give dummy FP_RND_NEAREST initializer.
40409 (__Qp_handle_exceptions): Update declaration.
40410 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40413 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40415 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40416 the temporary FPU control word.
40417 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40418 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40420 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40421 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40422 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40423 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40425 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40426 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40427 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40429 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40434 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40436 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40437 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40438 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40439 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40441 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40442 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40445 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40447 * po/h.po: Update from translation team.
40449 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40451 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40453 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40454 handling of denormals.
40455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40456 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40457 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40458 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40459 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40464 2012-05-26 Marek Polacek <polacek@redhat.com>
40467 * math/libm-test.inc (fma_test): Don't always expect underflow
40470 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40473 * elf/tst-execstack.c: Include stackinfo.h.
40474 (do_test): Adjust test case to ensure that pthread_getattr_np
40475 behaviour remains the same after marking stack executable.
40477 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40479 * sysdeps/unix/sysv/linux/kernel-features.h
40480 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40483 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40484 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40485 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40487 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40488 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40490 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40492 * configure.in: Define the default includes to being none.
40493 * configure: Regenerated.
40495 2012-05-25 Roland McGrath <roland@hack.frob.com>
40497 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40498 * sysdeps/x86_64/setjmp.S: Likewise.
40499 * sysdeps/i386/bsd-setjmp.S: Likewise.
40500 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40501 * sysdeps/i386/setjmp.S: Likewise.
40502 * sysdeps/i386/__longjmp.S: Likewise.
40503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40504 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40506 * include/stap-probe.h: New file.
40507 * configure.in: Handle --enable-systemtap.
40508 * configure: Regenerated.
40509 * config.h.in (USE_STAP_PROBE): New #undef.
40510 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40511 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40512 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40514 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40518 to 2.4.0 where earlier.
40519 * sysdeps/unix/sysv/linux/configure: Regenerated.
40520 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40521 <kernel-features.h>.
40522 [__ASSUME_32BITUIDS]: Make code unconditional.
40523 [!__ASSUME_32BITUIDS]: Remove conditional code.
40524 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40525 <kernel-features.h>.
40526 [__ASSUME_32BITUIDS]: Make code unconditional.
40527 [!__ASSUME_32BITUIDS]: Remove conditional code.
40528 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40529 [__ASSUME_32BITUIDS]: Make code unconditional.
40530 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40531 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40532 <kernel-features.h>.
40533 [__ASSUME_32BITUIDS]: Make code unconditional.
40534 [!__ASSUME_32BITUIDS]: Remove conditional code.
40535 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40536 <kernel-features.h>.
40537 [__ASSUME_32BITUIDS]: Make code unconditional.
40538 [!__ASSUME_32BITUIDS]: Remove conditional code.
40539 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40540 <kernel-features.h>.
40541 [__ASSUME_32BITUIDS]: Make code unconditional.
40542 [!__ASSUME_32BITUIDS]: Remove conditional code.
40543 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40544 <kernel-features.h>.
40545 [__ASSUME_32BITUIDS]: Make code unconditional.
40546 [!__ASSUME_32BITUIDS]: Remove conditional code.
40547 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40548 <kernel-features.h>.
40549 [__ASSUME_32BITUIDS]: Make code unconditional.
40550 [!__ASSUME_32BITUIDS]: Remove conditional code.
40551 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40552 <kernel-features.h>.
40553 [__ASSUME_32BITUIDS]: Make code unconditional.
40554 [!__ASSUME_32BITUIDS]: Remove conditional code.
40555 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40556 <kernel-features.h>.
40557 [__ASSUME_32BITUIDS]: Make code unconditional.
40558 [!__ASSUME_32BITUIDS]: Remove conditional code.
40559 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40560 <kernel-features.h>.
40561 [__ASSUME_32BITUIDS]: Make code unconditional.
40562 [!__ASSUME_32BITUIDS]: Remove conditional code.
40563 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40564 <kernel-features.h>.
40565 [__ASSUME_32BITUIDS]: Make code unconditional.
40566 [!__ASSUME_32BITUIDS]: Remove conditional code.
40567 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40568 <kernel-features.h>.
40569 [__ASSUME_32BITUIDS]: Make code unconditional.
40570 [!__ASSUME_32BITUIDS]: Remove conditional code.
40571 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40572 <kernel-features.h>.
40573 [__NR_setresgid] (__setresgid): Do not declare.
40574 [__ASSUME_32BITUIDS]: Make code unconditional.
40575 [!__ASSUME_32BITUIDS]: Remove conditional code.
40576 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40577 <kernel-features.h>.
40578 [__NR_setresuid] (__setresuid): Do not declare.
40579 [__ASSUME_32BITUIDS]: Make code unconditional.
40580 [!__ASSUME_32BITUIDS]: Remove conditional code.
40581 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40582 <kernel-features.h>.
40583 [__ASSUME_32BITUIDS]: Make code unconditional.
40584 [!__ASSUME_32BITUIDS]: Remove conditional code.
40585 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40586 <kernel-features.h>.
40587 [__ASSUME_32BITUIDS]: Make code unconditional.
40588 [!__ASSUME_32BITUIDS]: Remove conditional code.
40589 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40590 <kernel-features.h>.
40591 [__ASSUME_32BITUIDS]: Make code unconditional.
40592 [!__ASSUME_32BITUIDS]: Remove conditional code.
40593 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40594 <kernel-features.h>.
40595 [__ASSUME_32BITUIDS]: Make code unconditional.
40596 [!__ASSUME_32BITUIDS]: Remove conditional code.
40597 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40598 <kernel-features.h>.
40599 [__ASSUME_32BITUIDS]: Make code unconditional.
40600 [!__ASSUME_32BITUIDS]: Remove conditional code.
40601 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40602 <kernel-features.h>.
40603 [__ASSUME_32BITUIDS]: Make code unconditional.
40604 [!__ASSUME_32BITUIDS]: Remove conditional code.
40605 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40606 <kernel-features.h>.
40607 [__ASSUME_32BITUIDS]: Make code unconditional.
40608 [!__ASSUME_32BITUIDS]: Remove conditional code.
40609 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40610 <kernel-features.h>.
40611 [__ASSUME_32BITUIDS]: Make code unconditional.
40612 [!__ASSUME_32BITUIDS]: Remove conditional code.
40613 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40614 <kernel-features.h>.
40615 [__ASSUME_32BITUIDS]: Make code unconditional.
40616 [!__ASSUME_32BITUIDS]: Remove conditional code.
40617 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40618 <kernel-features.h>.
40619 [__ASSUME_32BITUIDS]: Make code unconditional.
40620 [!__ASSUME_32BITUIDS]: Remove conditional code.
40621 * sysdeps/unix/sysv/linux/kernel-features.h
40622 (__ASSUME_SETRESUID_SYSCALL): Remove.
40623 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40624 (__ASSUME_32BITUIDS): Likewise.
40625 (__ASSUME_LDT_WORKS): Likewise.
40626 (__ASSUME_O_DIRECTORY): Likewise.
40627 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40628 architecture but not kernel version.
40629 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40630 (__ASSUME_MMAP2_SYSCALL): Likewise.
40631 (__ASSUME_STAT64_SYSCALL): Likewise.
40632 (__ASSUME_IPC64): Likewise.
40633 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40634 <kernel-features.h>.
40635 [__ASSUME_32BITUIDS]: Make code unconditional.
40636 [!__ASSUME_32BITUIDS]: Remove conditional code.
40637 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40638 <kernel-features.h>.
40639 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40640 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40641 132096]: Remove conditional code.
40642 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40643 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40644 <kernel-features.h>.
40645 [__ASSUME_32BITUIDS]: Make code unconditional.
40646 [!__ASSUME_32BITUIDS]: Remove conditional code.
40647 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40648 <kernel-features.h>.
40649 [__ASSUME_32BITUIDS]: Make code unconditional.
40650 [!__ASSUME_32BITUIDS]: Remove conditional code.
40651 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40652 <kernel-features.h>.
40653 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40655 (__setresgid): Do not declare.
40656 [__ASSUME_32BITUIDS]: Make code unconditional.
40657 [!__ASSUME_32BITUIDS]: Remove conditional code.
40658 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40659 <kernel-features.h>.
40660 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40662 (__setresuid): Do not declare.
40663 [__ASSUME_32BITUIDS]: Make code unconditional.
40664 [!__ASSUME_32BITUIDS]: Remove conditional code.
40665 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40666 <kernel-features.h>.
40667 [__ASSUME_32BITUIDS]: Make code unconditional.
40668 [!__ASSUME_32BITUIDS]: Remove conditional code.
40669 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40670 <kernel-features.h>.
40671 [__ASSUME_32BITUIDS]: Make code unconditional.
40672 [!__ASSUME_32BITUIDS]: Remove conditional code.
40674 2012-05-25 Richard Henderson <rth@twiddle.net>
40676 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40677 dl_hwcap to ifunc resolver.
40678 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40680 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40681 dl_hwcap to ifunc resolver.
40682 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40684 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40687 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40688 for |x| <= 2**-26, not 2**-57.
40689 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40692 2012-05-24 Jeff Law <law@redhat.com>
40694 * stdio-common/Makefile (tests): Add bug25.
40695 * stdio-common/bug25.c: New test.
40697 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40700 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40701 multiple of MALLOC_ALIGNMENT in size.
40702 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40704 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40706 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40708 (FILENAME_MAX): Use macro-int-constant.
40709 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40710 (_IOFBF): Use macro-int-constant.
40711 (_IOLBF): Likewise.
40712 (_IONBF): Likewise.
40713 (SEEK_CUR): Likewise.
40714 (SEEK_END): Likewise.
40715 (SEEK_SET): Likewise.
40716 (TMP_MAX): Likewise.
40717 (EOF): Use macro-int-constant. Require < 0.
40718 (NULL): Use macro-constant. Require == 0.
40719 (stdin): Require type to be FILE *.
40720 (stdout): Likewise.
40721 (stderr): Likewise.
40722 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40723 macro-int-constant.
40724 (EXIT_SUCCESS): Likewise.
40725 (NULL): Use macro-constant. Require == 0.
40726 (RAND_MAX): Use macro-int-constant.
40727 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40728 [C99-based standards] (strtof): Require function.
40729 [C99-based standards] (strtold): Likewise.
40730 [C99-based standards] (strtoll): Likewise.
40731 [C99-based standards] (strtoull): Likewise.
40732 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40733 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40734 [ISO || ISO99 || ISO11] (math.h): Likewise.
40735 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40736 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40739 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40742 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40743 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40744 * intl/dgettext.c (DCGETTEXT): Likewise.
40745 * intl/gettext.c (DCGETTEXT): Likewise.
40746 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40747 * posix/regex_internal.h (gettext): Likewise.
40748 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40749 Remove declaration.
40750 * include/argz.h (__argz_count_internal)
40751 (__argz_stringify_internal): Remove declaration.
40752 (__argz_count, __argz_stringify): Declare hidden proto.
40753 * intl/dcgettext.c: Remove use of INTDEF.
40754 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40755 * string/argz-stringify.c: Likewise.
40756 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40757 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40758 Declare hidden proto.
40759 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40760 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40761 Declare hidden proto.
40762 * include/stdio.h (__asprintf_internal): Don't declare.
40763 (__asprintf): Don't define as macro. Declare hidden proto.
40764 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40765 (__fsetlocking): Declare hidden proto.
40766 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40767 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40769 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40770 (_IO_setlinebuf): Remove use of INTUSE.
40771 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40772 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40773 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40774 Remove declaration.
40775 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40776 (_IO_do_flush): Remove use of INTUSE.
40777 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40778 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40779 (_IO_adjust_column, _IO_least_wmarker)
40780 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40781 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40782 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40783 (_IO_default_doallocate, _IO_wdefault_doallocate)
40784 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40785 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40786 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40787 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40788 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40789 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40790 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40791 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40792 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40793 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40794 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40795 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40796 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40798 (_IO_flush_all_internal, _IO_adjust_column_internal)
40799 (_IO_default_uflow_internal, _IO_default_finish_internal)
40800 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40801 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40802 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40803 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40804 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40805 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40806 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40807 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40808 (_IO_file_close_internal, _IO_file_close_it_internal)
40809 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40810 (_IO_file_init_internal, _IO_file_attach_internal)
40811 (_IO_file_fopen_internal, _IO_file_read_internal)
40812 (_IO_file_sync_internal, _IO_file_seek_internal)
40813 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40814 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40815 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40816 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40817 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40818 (_IO_list_all_internal, _IO_link_in_internal)
40819 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40820 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40821 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40822 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40823 (_IO_do_write_internal, _IO_padn_internal)
40824 (_IO_getline_info_internal, _IO_getline_internal)
40825 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40826 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40827 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40828 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40829 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40830 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40831 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40832 with libc_hidden_ver, remove use of INTUSE.
40833 * libio/genops.c: Likewise.
40834 * libio/freopen.c: Likewise.
40835 * libio/freopen64.c: Likewise.
40836 * libio/iofclose.c: Likewise.
40837 * libio/iofdopen.c: Likewise.
40838 * libio/iofflush.c: Likewise.
40839 * libio/iofflush_u.c: Likewise.
40840 * libio/iofgets.c: Likewise.
40841 * libio/iofgets_u.c: Likewise.
40842 * libio/iofopen.c: Likewise.
40843 * libio/iofopncook.c: Likewise.
40844 * libio/iofread.c: Likewise.
40845 * libio/iofread_u.c: Likewise.
40846 * libio/ioftell.c: Likewise.
40847 * libio/iofwrite.c: Likewise.
40848 * libio/iogetline.c: Likewise.
40849 * libio/iogets.c: Likewise.
40850 * libio/iogetwline.c: Likewise.
40851 * libio/iopadn.c: Likewise.
40852 * libio/iopopen.c: Likewise.
40853 * libio/ioseekoff.c: Likewise.
40854 * libio/ioseekpos.c: Likewise.
40855 * libio/iosetbuffer.c: Likewise.
40856 * libio/iosetvbuf.c: Likewise.
40857 * libio/ioungetc.c: Likewise.
40858 * libio/ioungetwc.c: Likewise.
40859 * libio/iovdprintf.c: Likewise.
40860 * libio/iovsprintf.c: Likewise.
40861 * libio/iovsscanf.c: Likewise.
40862 * libio/memstream.c: Likewise.
40863 * libio/obprintf.c: Likewise.
40864 * libio/oldfileops.c: Likewise.
40865 * libio/oldiofclose.c: Likewise.
40866 * libio/oldiofdopen.c: Likewise.
40867 * libio/oldiofopen.c: Likewise.
40868 * libio/oldiopopen.c: Likewise.
40869 * libio/oldstdfiles.c: Likewise.
40870 * libio/putc.c: Likewise.
40871 * libio/setbuf.c: Likewise.
40872 * libio/setlinebuf.c: Likewise.
40873 * libio/stdfiles.c: Likewise.
40874 * libio/strops.c: Likewise.
40875 * libio/vasprintf.c: Likewise.
40876 * libio/vscanf.c: Likewise.
40877 * libio/vsnprintf.c: Likewise.
40878 * libio/vswprintf.c: Likewise.
40879 * libio/wfiledoalloc.c: Likewise.
40880 * libio/wfileops.c: Likewise.
40881 * libio/wgenops.c: Likewise.
40882 * libio/wmemstream.c: Likewise.
40883 * libio/wstrops.c: Likewise.
40884 * libio/__fpurge.c: Likewise.
40885 * libio/__fsetlocking.c: Likewise.
40886 * assert/assert.c: Likewise.
40887 * debug/fgets_chk.c: Likewise.
40888 * debug/fgets_u_chk.c: Likewise.
40889 * debug/fread_chk.c: Likewise.
40890 * debug/fread_u_chk.c: Likewise.
40891 * debug/gets_chk.c: Likewise.
40892 * debug/obprintf_chk.c: Likewise.
40893 * debug/vasprintf_chk.c: Likewise.
40894 * debug/vdprintf_chk.c: Likewise.
40895 * debug/vsnprintf_chk.c: Likewise.
40896 * debug/vsprintf_chk.c: Likewise.
40897 * malloc/mtrace.c: Likewise.
40898 * misc/error.c: Likewise.
40899 * misc/syslog.c: Likewise.
40900 * stdio-common/asprintf.c: Likewise.
40901 * stdio-common/fxprintf.c: Likewise.
40902 * stdio-common/getw.c: Likewise.
40903 * stdio-common/isoc99_fscanf.c: Likewise.
40904 * stdio-common/isoc99_scanf.c: Likewise.
40905 * stdio-common/isoc99_vfscanf.c: Likewise.
40906 * stdio-common/isoc99_vscanf.c: Likewise.
40907 * stdio-common/isoc99_vsscanf.c: Likewise.
40908 * stdio-common/printf-prs.c: Likewise.
40909 * stdio-common/printf_fp.c: Likewise.
40910 * stdio-common/printf_fphex.c: Likewise.
40911 * stdio-common/printf_size.c: Likewise.
40912 * stdio-common/putw.c: Likewise.
40913 * stdio-common/scanf.c: Likewise.
40914 * stdio-common/sprintf.c: Likewise.
40915 * stdio-common/tmpfile.c: Likewise.
40916 * stdio-common/vfprintf.c: Likewise.
40917 * stdio-common/vfscanf.c: Likewise.
40918 * stdlib/strfmon_l.c: Likewise.
40919 * sunrpc/openchild.c: Likewise.
40920 * sunrpc/xdr_stdio.c: Likewise.
40921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40922 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40924 2012-05-24 Roland McGrath <roland@hack.frob.com>
40926 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40928 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40929 in the third column, to generate for the shared library an IFUNC
40930 that uses _dl_vdso_vsym.
40931 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40932 * Makeconfig (object-suffixes-noshared): New variable.
40934 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40935 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40936 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40937 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40940 * include/sys/time.h (__gettimeofday): Remove macro.
40941 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40942 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40944 (__gettimeofday): Add libc_hidden_def.
40945 (gettimeofday): Add libc_hidden_weak.
40946 * sysdeps/mach/gettimeofday.c: Likewise.
40947 * sysdeps/posix/gettimeofday.c: Likewise.
40948 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40949 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40951 (__gettimeofday_internal): Remove strong_alias.
40952 (__gettimeofday): Add libc_hidden_def.
40953 (gettimeofday): Add libc_hidden_weak.
40954 * sysdeps/unix/syscalls.list (gettimeofday):
40955 Remove __gettimeofday_internal alias.
40957 2012-05-24 Daniel Jacobowitz <drow@false.org>
40958 H.J. Lu <hongjiu.lu@intel.com>
40961 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40962 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40963 (largebin_index_32_big): New.
40964 (largebin_index): Use it for 16-byte alignment.
40965 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40966 correction with front_misalign.
40968 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40996 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40997 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40999 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41003 * math/libm-test.inc (exp_test): Add test from bug 14036.
41004 (pow_test): Add test from bug 10846.
41006 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41008 (special_function): Do not include flags in test name.
41009 (parse_args): Likewise.
41010 * sysdeps/i386/fpu/libm-test-ulps: Update.
41011 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41012 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41013 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41016 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41018 * math/libm-test.inc ("Philosophy"): Update comment about
41020 (UNDERFLOW_EXCEPTION): New macro.
41021 (UNDERFLOW_EXCEPTION_OK): Likewise.
41022 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41023 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41024 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41025 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41026 (INVALID_EXCEPTION_OK): Update value.
41027 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41028 (OVERFLOW_EXCEPTION_OK): Likewise.
41029 (IGNORE_ZERO_INF_SIGN): Likewise.
41030 (test_exceptions): Handle underflow exceptions.
41031 (acos_test): Update for underflow exception expectations.
41032 (cexp_test): Likewise.
41033 (clog_test): Likewise.
41034 (clog10_test): Likewise.
41035 (csqrt_test): Likewise.
41036 (ctan_test): Likewise.
41037 (ctanh_test): Likewise.
41038 (exp_test): Likewise.
41039 (exp10_test): Likewise.
41040 (exp2_test): Likewise.
41041 (expm1_test): Likewise.
41042 (fma_test): Likewise.
41043 (j0_test): Likewise.
41044 (jn_test): Likewise.
41045 (nexttoward_test): Likewise.
41046 (pow_test): Likewise.
41047 (scalbn_test): Likewise.
41048 (scalbln_test): Likewise.
41049 (tan_test): Likewise.
41050 (y1_test): Likewise.
41051 * sysdeps/i386/fpu/libm-test-ulps: Update.
41052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41054 2012-05-23 David S. Miller <davem@davemloft.net>
41056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41057 (__libc_sigaction): Remove unused local variables.
41059 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41061 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41063 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41065 mktime: avoid signed integer overflow
41066 * time/mktime.c (__mktime_internal): Do not mishandle the case
41067 where diff == INT_MIN.
41069 mktime: simplify computation of average
41070 * time/mktime.c (ranged_convert): Use new time_t_avg function
41071 instead of rolling our own (probably-slower) code.
41073 mktime: do not assume signed right shift propagates sign bit
41074 * time/mktime.c (isdst_differ): New static function.
41075 (__mktime_internal): No need to normalize tm_isdst now.
41076 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41079 mktime: merge another wrapv change from gnulib
41080 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41081 from some compilers.
41083 mktime: remove incorrect attempt at unusual arithmetics
41084 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41085 The code didn't really work on such machines anyway.
41086 (TYPE_MINIMUM): Assume two's complement.
41087 (twos_complement_arithmetic): Verify that long_int and time_t
41088 are two's complement (or unsigned, in the latter case).
41090 mktime: check signed shifts on long_int and time_t, too
41091 * time/mktime.c (SHR): Check that shifts work as desired
41092 on the types long_int and time_t too, as SHR is used on
41095 mktime: do not assume 'long' is wide enough
41096 * time/mktime.c (verify): Move decl up.
41097 (long_int): New type.
41098 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41099 to remove assumption in the code that 'long' is wide enough to
41100 store year values. This assumption is not true on x32 and on
41101 some non-glibc platforms.
41103 mktime: merge wrapv change from gnulib
41104 * time/mktime.c (WRAPV): New macro.
41105 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41106 (guess_time_tm, __mktime_internal): Do not assume that signed
41107 integer overflow wraps around; modern compilers generate code
41108 where this assumption is no longer valid.
41110 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41112 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41113 Replace "jmp L(pseudo_end)" with "ret".
41114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41117 2012-05-23 Andreas Jaeger <aj@suse.de>
41119 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41120 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41122 2012-05-23 Andreas Jaeger <aj@suse.de>
41123 Maximilian Attems <max@stro.at>
41125 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41128 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41131 code so that pseudo_end is just ret and the stack pointer is
41132 correct also for static library in error case.
41134 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41136 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41137 move to syscalls.list.
41138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41143 * manual/install.texi (Running make install): Do not mention Linux
41144 kernel version for which pt_chown is not needed.
41145 (Linux): Do not mention problems with nscd with 2.0 kernels.
41146 * INSTALL: Regenerated.
41148 2012-05-23 Andreas Jaeger <aj@suse.de>
41150 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41151 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41153 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41155 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41157 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41163 * sysdeps/unix/sysv/linux/bits/in.h
41164 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41166 2012-05-22 Roland McGrath <roland@hack.frob.com>
41168 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41169 (PREPARE_VERSION): Just use assert instead, it will be elided
41170 under [NDEBUG] anyway.
41172 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41174 * sysdeps/unix/sysv/linux/Makefile: Include
41175 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41176 (sysdep_routines): Remove sysctl.
41177 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41178 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41179 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41180 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41181 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41183 2012-05-22 Andreas Jaeger <aj@suse.de>
41185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41186 that pseudo_end is just ret and the stack pointer is correct also
41187 for static library in error case.
41189 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41192 * nss/nsswitch.c (defconfig_entries): New variable.
41193 (__nss_database_lookup): Don't leak defconfig entries.
41194 (nss_parse_service_list): Don't leak on error paths.
41195 (free_database_entries): New function.
41196 (free_defconfig): New function.
41197 (free_mem): Move common code to free_database_entries.
41199 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41203 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41205 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41206 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41209 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41210 (INTERNAL_SYSCALL_TYPES): Likewise.
41211 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41212 (LOAD_REGS_TYPES_[1-6]): Likewise.
41213 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41214 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41216 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41218 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41219 copysignl for GLIBC_2_0.
41220 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41221 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41223 logbl for GLIBC_2_0.
41224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41225 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41227 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41230 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41232 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41235 * time/mktime.c: Update copyright years.
41237 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41239 mktime: merge comment-quoting-style change from gnulib
41240 * time/mktime.c: Quote 'like this' in comments.
41241 The GNU coding standards suggest that we no longer quote `like this',
41242 as "`" and "'" are typically rendered asymmetrically nowadays.
41243 The typical gnulib style is to quote 'like this' when quoting
41244 code, and "like this" when quoting English.
41246 * time/mktime.c (compile-command): Add "-I.".
41248 mktime: merge mktime-internal.h change from gnulib
41249 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41251 mktime: merge time_r change from gnulib
41252 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41254 mktime: merge DEBUG change from gnulib
41255 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41256 case system <time.h> has a #define.
41258 mktime: merge <sys/types.h> change from gnulib
41259 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41260 since <time.t> is now guaranteed to define time_t.
41262 mktime: merge HAVE_CONFIG_H change from gnulib
41263 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41265 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41270 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41272 (struct rusage): Use anonymous union to pad each field to
41275 2012-05-21 David S. Miller <davem@davemloft.net>
41277 * Makefules (o-iterator): Remove .s cases.
41278 (compile-command.s): Delete.
41279 (COMPILE.s): Delete.
41280 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41282 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41284 * configure.in (libc_cv_predef_stack_protector): Only consider
41285 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41286 * configure: Regenerated.
41288 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41291 New macro. Use R*LP on int and pointer.
41292 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41293 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41294 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41295 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41297 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41298 [__WORDSIZE_TIME64_COMPAT32] instead of
41299 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41300 (struct utmp): Likewise.
41301 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41302 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41304 (__WORDSIZE_TIME64_COMPAT32): This.
41305 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41306 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41307 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41308 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41309 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41310 (__WORDSIZE_TIME64_COMPAT32): New macro.
41312 2012-05-21 Andreas Jaeger <aj@suse.de>
41314 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41315 only if [SHARED]. Add prototype for __wcschr_ia32.
41317 2012-05-21 Roland McGrath <roland@hack.frob.com>
41319 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41320 of %rbp unmolested in the jmp_buf while mangling the low bits.
41321 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41322 unmolested high bits of %rbp while demangling the low bits.
41323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41325 2012-05-21 Andreas Jaeger <aj@suse.de>
41327 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41328 * sunrpc/svc_simple.c: Use it for registerrpc.
41329 * sunrpc/xcrypt.c: Use it for passwd2des.
41331 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41333 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41335 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41336 Don't define if [__SYSCALL_WORDSIZE != 32].
41337 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41340 2012-05-21 Bruno Haible <bruno@clisp.org>
41341 Andreas Jaeger <aj@suse.de>
41343 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41344 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41345 inptr and inend for must_buffer_ch.
41346 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41347 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41348 * stdio-common/Makefile (tests): Remove bug15.
41349 (bug15-ENV): Remove macro.
41350 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41353 2012-05-19 Andreas Jaeger <aj@suse.de>
41354 Roland McGrath <roland@hack.frob.com>
41356 * manual/contrib.texi: Completely rewritten. It contains now an
41357 alphabetical list of contributors and their contributions.
41359 2012-05-21 Richard Henderson <rth@twiddle.net>
41361 * misc/getauxval.c (__getauxval): Use unsigned long int.
41362 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41363 (getauxval): Use unsigned long int.
41365 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41367 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41369 2012-05-21 Roland McGrath <roland@hack.frob.com>
41371 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41372 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41373 __alignof__ (long double).
41375 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41379 2012-05-20 Richard Henderson <rth@twiddle.net>
41381 * misc/getauxval.c: New file.
41382 * misc/sys/auxv.h: New file.
41383 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41384 (routines): Add getauxval.
41385 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41386 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41387 * elf/dl-sysdep.c (_dl_auxv): Remove.
41388 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41389 * elf/dl-support.c (_dl_auxv): New variable.
41390 (_dl_aux_init): Initialize it.
41391 * manual/startup.texi (Auxiliary Vector): New node.
41392 * sysdeps/generic/bits/hwcap.h: New file.
41393 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41394 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41395 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41396 * sysdeps/sparc/sysdep.h: ... here. Include it.
41397 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41410 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41414 2012-05-19 David S. Miller <davem@davemloft.net>
41416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41418 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41421 * math/s_ccosh.c: Include <float.h>
41422 (__ccosh): Avoid internal overflow calculating sinh and cosh
41423 values before multiplying by sin and cos values.
41424 * math/s_ccoshf.c: Likewise.
41425 * math/s_ccoshl.c: Likewise.
41426 * math/s_csin.c: Likewise.
41427 * math/s_csinf.c: Likewise.
41428 * math/s_csinl.c: Likewise.
41429 * math/s_csinh.c: Likewise.
41430 * math/s_csinhf.c: Likewise.
41431 * math/s_csinhl.c: Likewise.
41432 * math/libm-test.inc (ccos_test): Add more tests.
41433 (ccosh_test): Likewise.
41434 (csin_test): Likewise.
41435 (csinh_test): Likewise.
41436 * sysdeps/i386/fpu/libm-test-ulps: Update.
41437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41439 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41441 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41442 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41444 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41446 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41448 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41449 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41450 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41451 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41452 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41453 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41454 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41455 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41456 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41457 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41458 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41459 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41460 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41461 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41462 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41463 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41464 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41465 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41466 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41467 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41468 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41469 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41470 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41471 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41472 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41473 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41474 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41475 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41476 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41477 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41478 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41480 2012-05-18 Andreas Jaeger <aj@suse.de>
41482 * csu/.gitignore: Delete.
41484 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41486 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41487 (timex): Use __syscall_slong_t.
41489 2012-05-18 Andreas Jaeger <aj@suse.de>
41490 Carlos O'Donell <carlos_odonell@mentor.com>
41492 * manual/install.texi (Configuring and compiling): Update
41493 description about files modified in the source directory.
41494 * INSTALL: Regenerated.
41496 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41498 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41499 value. Use "or" to set return value to -1.
41500 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41501 negate return value.
41503 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41505 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41506 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41507 failure if the compiler has Graphite support disabled.
41508 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41510 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41511 (CFLAGS-memmove.c): Likewise.
41512 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41515 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41517 * sysdeps/x86_64/x32/_itoa.h: New file.
41519 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41520 getdents system call only if kernel and user dirents have the
41521 same d_ino and d_off.
41523 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41524 LLONG_MAX != LONG_MAX.
41525 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41526 (_fitoa_word): Likewise.
41528 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41530 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41531 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41532 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41534 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41535 include <bits/wordsize.h>. Check __x86_64__ instead of
41537 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41538 if __x86_64__ is defined. Use anonymous union on fpstate.
41540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41543 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41545 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41546 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41548 Refer to _rtld_local_ro instead of _rtld_global_ro.
41549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41551 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41553 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41555 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41556 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41557 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41559 * sysdeps/powerpc/powerpc32/dl-machine.c
41560 (__elf_machine_runtime_setup) [PROF]: Don't reference
41563 2012-05-18 Andreas Jaeger <aj@suse.de>
41565 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41566 function only available for GCCs before 3.4 since GCC 3.4
41567 introduced a builtin.
41569 (llrintf): Likewise.
41570 (llrint): Likewise.
41577 (nearbyint): Likewise.
41578 (nearbyintf): Likewise.
41582 (floorf): Likewise.
41584 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41586 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41587 on both fields and cast pointer to __syscall_ulong_t.
41589 * bits/types.h (__fsword_t): New type.
41590 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41591 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41593 (__FSWORD_T_TYPE): Likewise.
41594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41595 (__FSWORD_T_TYPE): Likewise.
41596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41597 (__FSWORD_T_TYPE): Likewise.
41598 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41599 (__FSWORD_T_TYPE): Likewise.
41600 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41601 __SWORD_TYPE with __fsword_t.
41602 (statfs64): Likewise.
41604 2012-05-17 David S. Miller <davem@davemloft.net>
41606 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41608 2012-05-17 Andreas Jaeger <aj@suse.de>
41610 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41613 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41615 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41617 2012-05-17 Andreas Jaeger <aj@suse.de>
41619 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41622 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41624 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41626 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41628 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41629 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41631 2012-05-17 Andreas Jaeger <aj@suse.de>
41632 Carlos O'Donell <carlos_odonell@mentor.com>
41635 * sysdeps/x86_64/multiarch/init-arch.h
41636 (bit_YMM_Usable): Rename to...
41637 (bit_AVX_Usable): ... this.
41638 (bit_FMA4_Usable): New macro.
41639 (bit_XMM_state): New macro.
41640 (bit_YMM_state): New macro.
41641 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41642 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41643 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41644 (CPUID_OSXSAVE): New macro.
41645 (CPUID_AVX): New macro.
41646 (CPUID_FMA4): New macro.
41647 (index_YMM_Usable): Rename to...
41648 (index_AVX_Usable): ... this.
41649 (HAS_AVX): Use HAS_ARCH_FEATURE.
41650 (HAS_FMA4): Likewise.
41651 (HAS_YMM_USABLE): Remove.
41652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41653 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41655 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41656 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41657 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41658 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41659 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41661 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41663 * math/libm-test.c: Support platforms without multiple rounding modes.
41664 * math/bug-nextafter.c: Support platforms without FP exceptions.
41665 * math/bug-nexttoward.c: Likewise.
41666 * math/test-fenv.c: Likewise.
41667 * math/test-misc.c: Likewise.
41668 * stdlib/bug-getcontext.c: Likewise.
41670 2012-05-17 Andreas Jaeger <aj@suse.de>
41672 * manual/examples/search.c (critter_cmp): Change signature to
41674 * manual/string.texi (Collation Functions): Likewise.
41676 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41678 * bits/types.h: Fold copyright years.
41679 * bits/typesizes.h: Likewise.
41680 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41684 * time/time.h: Likewise.
41686 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41689 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41690 in instead of returning them. Return void.
41691 (__libc_mallinfo): Accumulate over all arenas.
41692 (__malloc_stats): Adjust for change in int_mallinfo interface.
41694 2012-05-16 Roland McGrath <roland@hack.frob.com>
41697 * configure.in (NM): Add AC_CHECK_TOOL for it.
41698 (libc_extra_cflags): New substituted variable.
41699 Check for -fstack-protector being used implicitly.
41700 * configure: Regenerated.
41701 * config.make.in (config-extra-cflags): New variable,
41702 gets @libc_extra_cflags@.
41703 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41706 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41707 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41708 * configure: Regenerated.
41709 * config.make.in (CPPUNDEFS): New substituted variable.
41710 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41711 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41712 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41716 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41717 (mq_attr): Use __syscall_slong_t.
41719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41721 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41722 Check __x86_64__ instead of __WORDSIZE.
41723 (_STAT_VER_LINUX): Likewise.
41724 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41725 __syscall_ulong_t and __syscall_slong_t.
41726 (stat64): Likewise.
41728 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41730 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41734 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41738 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41741 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41742 include <bits/wordsize.h>. Check __x86_64__ instead of
41744 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41746 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41749 include <bits/wordsize.h>. Check __x86_64__ instead of
41751 (user_regs_struct): Use "__extension__ unsigned long long"
41752 instead of "unsigned long" if __x86_64__ is defined.
41753 (user): Likewise. Pad after pointer field if __ILP32__ is
41756 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41758 * configure.in (makeinfo): Require version 4.5 or later. Allow
41760 * configure: Regenerated.
41761 * manual/install.texi (texinfo): Increase version requirement to
41763 * INSTALL: Regenerated.
41765 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41767 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41769 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41771 * sysdeps/x86_64/x32/ffs.c: New file.
41773 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41775 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41776 defined. Use __syscall_ulong_t.
41777 (shminfo): Use __syscall_ulong_t.
41778 (shm_info): Likewise.
41780 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41783 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41785 (msgqnum_t): Use __syscall_ulong_t.
41786 (msglen_t): Likewise.
41787 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41790 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41793 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41795 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41796 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41798 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41801 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41802 include <bits/wordsize.h>. Check __x86_64__ instead of
41805 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41806 "unsigned long long int" if __x86_64__ is defined.
41807 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41809 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41810 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41811 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41813 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41815 (GET_PC): Cast to uintptr_t first.
41816 (GET_FRAME): Likewise.
41817 (GET_STACK): Likewise.
41819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41820 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41825 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41826 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41827 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41828 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41829 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41831 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41833 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41835 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41836 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41845 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41847 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41849 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41851 * Makerules (+depfiles): Also collect depfiles from .oS in
41853 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41854 .oS, $(libnldbl-routines)).
41856 * Makerules (native-compile-mkdep-flags): Define.
41857 * sunrpc/Makefile (extra-objs): Add $(addprefix
41858 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41859 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41860 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41861 calling $(make-target-directory).
41863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41865 * bits/types.h (__snseconds_t): Removed.
41866 * time/time.h (struct timespec): Replace __snseconds_t with
41868 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41869 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41872 (__SNSECONDS_T_TYPE): Likewise.
41873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41874 (__SNSECONDS_T_TYPE): Likewise.
41875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41876 (__SNSECONDS_T_TYPE): Likewise.
41878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41880 * sysdeps/mach/hurd/bits/typesizes.h
41881 (__SYSCALL_SLONG_TYPE): New macro.
41882 (__SYSCALL_ULONG_TYPE): Likewise.
41884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41886 * bits/types.h (__syscall_slong_t): New type.
41887 (__syscall_ulong_t): Likewise.
41889 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41890 (__SYSCALL_ULONG_TYPE): Likewise.
41891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41892 (__SYSCALL_SLONG_TYPE): Likewise.
41893 (__SYSCALL_ULONG_TYPE): Likewise.
41894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41895 (__SYSCALL_SLONG_TYPE): Likewise.
41896 (__SYSCALL_ULONG_TYPE): Likewise.
41897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41898 (__SYSCALL_SLONG_TYPE): Likewise.
41899 (__SYSCALL_ULONG_TYPE): Likewise.
41901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41903 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41904 Add sigaltstack-offsets.sym.
41905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41906 <sigaltstack-offsets.h>.
41907 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41908 longjmp_msg pointer.
41909 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41910 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41912 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41914 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41916 * elf/stackguard-macros.h: Remove file.
41917 * sysdeps/generic/stackguard-macros.h: New file.
41918 * sysdeps/i386/stackguard-macros.h: Likewise.
41919 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41920 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41921 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41922 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41923 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41924 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41925 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41926 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41927 <elf/stackguard-macros.h>.
41930 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41931 __aligned__ in attribute.
41932 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41933 (gregset_t): Likewise.
41935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41937 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41938 * sysdeps/x86_64/64/Implies-after: Here. New file.
41939 * sysdeps/x86_64/x32/Implies-after: New file.
41941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41943 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41944 and access return value for _dl_profile_fixup. Use R10_LP to
41947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41949 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41953 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41954 * sysdeps/x86_64/x32/sysdep.h: New file.
41956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41958 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41959 * sysdeps/x86_64/setjmp.S: Likewise.
41961 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41964 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41965 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41966 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41967 remove unused global constant.
41969 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41971 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41972 include of <not-cancel.h>.
41974 2012-05-15 Roland McGrath <roland@hack.frob.com>
41976 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41978 2012-05-15 Jeff Law <law@redhat.com>
41979 Andreas Jaeger <aj@suse.de>
41982 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41984 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41985 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41986 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41987 code changing __hst_map_handle.map.
41989 2012-05-15 Roland McGrath <roland@hack.frob.com>
41991 * configure.in (sysnames): Look for Implies-before and Implies-after
41993 * configure: Regenerated.
41995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41997 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41998 8-byte data alignment with LP_SIZE alignment.
42000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42002 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42007 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42011 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42012 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42019 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42020 (stackinfo_sub_sp): Likewise.
42022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42024 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42039 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42043 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42044 into R11_LP and load __x86_64_shared_cache_size_half into
42047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42049 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42052 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42061 powerpc32/power7/fpu/s_logb.c via #include.
42062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42063 powerpc32/power7/fpu/s_logbf.c via #include.
42064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42065 powerpc32/power7/fpu/s_logbl.c via #include.
42067 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42069 * README.libm: Remove file.
42071 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42073 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42074 count for x32. Use R*_LP and omit operand-size suffix.
42076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42078 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42079 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42080 * sysdeps/x86_64/x32/shlib-versions: New file.
42082 2012-05-14 Roland McGrath <roland@hack.frob.com>
42084 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42085 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42086 Use _dl_fatal_printf instead.
42088 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42090 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42091 set if not set by the user. Do not allow for being unset.
42092 * sysdeps/unix/sysv/linux/configure: Regenerated.
42094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42096 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42097 the `q' suffix from lea and replace .quad with ASM_ADDR.
42099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42102 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42104 (PTR_DEMANGLE): Likewise.
42106 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42108 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42110 (ASM_ADDR): Likewise.
42111 (RAX_LP): Likewise.
42112 (RBP_LP): Likewise.
42113 (RBX_LP): Likewise.
42114 (RCX_LP): Likewise.
42115 (RDI_LP): Likewise.
42116 (RSI_LP): Likewise.
42117 (RSP_LP): Likewise.
42120 (R10_LP): Likewise.
42121 (R10_LP): Likewise.
42122 (R11_LP): Likewise.
42123 (R12_LP): Likewise.
42124 (R13_LP): Likewise.
42125 (R14_LP): Likewise.
42126 (R15_LP): Likewise.
42128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42130 * sysdeps/x86_64/x32/dl-machine.h: New file.
42132 2012-05-14 Andreas Jaeger <aj@suse.de>
42134 * manual/Makefile (subdir): Remove export of subdir.
42135 (all): Remove target.
42136 (.PHONY): Remove all from list.
42137 (mkinstalldirs): Remove.
42138 (.PHONY): Remove installdirs from list.
42139 ($(inst_infodir)/libc.info): Use make-target-directory.
42140 (installdirs): Remove.
42141 (subdir_%): Remove.
42142 (glibc-targets): Remove.
42145 ($(objpfx)stubs ../po/manual.pot): Remove.
42146 ($(objpfx)stamp%): Remove.
42147 (make-target-directory): Remove.
42148 (subdir_install): Remove.
42149 (routines): Remove.
42156 * manual/.gitignore: Remove, it's not needed anymore.
42157 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42159 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42161 (texis): Renamed to $(objpfx)texis.
42162 (texis-path): New, contains path to generated files.
42163 (chapters.%): Use texis-path for complete path, add extra argument
42165 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42166 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42167 (summary,texi, stamp-summary): Use complete path of
42168 files. Generate files in build dir.
42169 (dir-add.texi): Build in build dir.
42170 (libm-err.texi,stamp-libm-err): Likewise.
42171 (version.texi, stamp-version): Likewise.
42172 (.%c.texi): Likewise.
42173 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42174 (mostlyclean): Remove target.
42175 (realclean): Remove target.
42176 (generated): Add new variable with contents from mostlyclean and
42177 realclean, remove entries duplicated in common-mostlyclean, add
42178 stamp-libm-err and stamp-version.
42179 (generated-dirs): Add libc directory.
42180 ($(inst_infodir)/libc.info): Install files from build dir.
42182 * manual/install.texi (Configuring and compiling): Adjust since
42183 the info files are not part of the tar ball anymore.
42185 2012-05-14 Andreas Jaeger <aj@suse.de>
42187 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42190 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42194 to 2.2.0 where earlier.
42195 * sysdeps/unix/sysv/linux/configure: Regenerated.
42196 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42197 Remove conditional code.
42198 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42199 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42200 Remove conditional code.
42201 [!__NR_lchown]: Likewise.
42202 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42203 [__NR_lchown]: Likewise.
42204 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42205 comment referencing __ASSUME_LCHOWN_SYSCALL.
42206 * sysdeps/unix/sysv/linux/i386/sigaction.c
42207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42209 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42210 Remove conditional code.
42211 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42212 (__protocol_available): Remove #if 0 code.
42213 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42215 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42216 * sysdeps/unix/sysv/linux/kernel-features.h
42217 (__ASSUME_GETCWD_SYSCALL): Don't define.
42218 (__ASSUME_REALTIME_SIGNALS): Likewise.
42219 (__ASSUME_PREAD_SYSCALL): Likewise.
42220 (__ASSUME_PWRITE_SYSCALL): Likewise.
42221 (__ASSUME_POLL_SYSCALL): Likewise.
42222 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42223 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42225 (__ASSUME_SIOCGIFNAME): Don't define.
42226 (__ASSUME_MSG_NOSIGNAL): Likewise.
42227 (__ASSUME_SENDFILE): Define unconditionally.
42228 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42229 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42231 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42232 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42233 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42234 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42235 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42236 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42237 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42242 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42248 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42254 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42262 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42263 Remove conditional code.
42264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42265 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42266 Remove conditional code.
42267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42268 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42269 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42270 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42271 Remove conditional code.
42272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42273 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42274 Remove conditional code.
42275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42276 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42277 Remove conditional code.
42278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42279 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42280 Remove conditional code.
42281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42282 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42283 Remove conditional code.
42284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42285 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42288 * sysdeps/unix/sysv/linux/sigaction.c
42289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42291 * sysdeps/unix/sysv/linux/sigpending.c
42292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42294 * sysdeps/unix/sysv/linux/sigprocmask.c
42295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42297 * sysdeps/unix/sysv/linux/sigsuspend.c
42298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42300 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42301 (__libc_missing_rt_sigs): Remove.
42302 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42303 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42304 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42305 Remove conditional code.
42306 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42307 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42309 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42310 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42311 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42312 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42314 2012-05-14 Andreas Jaeger <aj@suse.de>
42316 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42317 it's not used in glibc.
42318 (__coshm1): Likewise.
42319 (__acosh1p): Likewise.
42322 * manual/string.texi (Copying and Concatenation): Add missing
42323 variable in concat example.
42324 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42326 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42330 __builtin_clzl with __builtin_clzll.
42332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42335 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42338 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42340 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42341 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42342 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42343 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42345 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42347 * NEWS: Update ia64 info.
42349 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42351 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42354 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42356 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42357 * sysdeps/unix/syscalls.list (dup3): Likewise.
42358 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42359 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42361 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42363 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42364 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42366 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42368 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42370 (TLS_IE): Use mov/add instead of movq/addq to load thread
42372 (TLS_GD_PREFIX): New.
42375 2012-05-11 David S. Miller <davem@davemloft.net>
42377 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42378 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42379 (_FPU_SETCW): Likewise.
42381 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42383 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42384 is 32-byte aligned.
42386 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42389 * iconvdata/gb18030.c: Update tables.
42390 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42391 characters specially.
42392 (BODY for TO_LOOP): Add encoding of missing ranges.
42394 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42397 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42398 * sysdeps/mach/hurd/dup3.c: Likewise.
42399 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42400 * sysdeps/powerpc/memmove.c:: Likewise.
42402 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42405 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42407 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42409 * elf/elf.h (R_X86_64_RELATIVE64): New.
42410 (R_X86_64_NUM): Updated.
42411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42412 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42413 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42414 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42415 tst-quad1pie tst-quad2pie
42416 (modules-names): Add tst-quadmod1 tst-quadmod2.
42417 ($(objpfx)tst-quad1): New dependency.
42418 ($(objpfx)tst-quad2): Likewise.
42419 ($(objpfx)tst-quad1pie): Likewise.
42420 ($(objpfx)tst-quad2pie): Likewise.
42421 * sysdeps/x86_64/tst-quad1.c: New file.
42422 * sysdeps/x86_64/tst-quad1pie.c: New file.
42423 * sysdeps/x86_64/tst-quad2.c: Likewise.
42424 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42425 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42426 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42427 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42428 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42432 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42433 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42434 * streams/stropts.h (t_scalar_t): Define type.
42436 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42437 (_PATH_PRESERVE): Set to "/var/lib".
42438 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42440 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42443 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42444 if __dir_mkfile succeeded.
42446 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42447 checking for _hurd_dtablesize. Unlock it right after having
42448 finished _hurd_dtable allocation.
42450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42452 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42453 * sysdeps/mach/hurd/configure: Regenerated.
42454 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42455 special-casing to...
42456 * sysdeps/gnu/configure.in: ... this new file.
42457 * sysdeps/unix/sysv/linux/configure: Regenerated.
42458 * sysdeps/gnu/configure: New generated file.
42460 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42461 for Linux: use nsec instead of usec, as well as:
42462 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42463 members of type struct timespec.
42464 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42466 (struct stat64): Likewise.
42467 (_STATBUF_ST_NSEC): New macro.
42468 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42470 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42471 __strtoul_internal rather than strtoul.
42473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42475 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42480 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42481 which preserves existing values.
42482 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42484 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42486 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42487 TIMEOUT values. Return EINVAL for NFDS values either negative or
42488 greater than FD_SETSIZE.
42490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42492 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42493 allocated, call __vm_protect to finish enabling the existing space, and
42494 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42495 allocate the remainder.
42497 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42499 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42500 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42502 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42504 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42505 sysdeps/mach/hurd/readlink.c.
42507 * posix/tst-sysconf.c (posix_options): Only use
42508 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42509 _POSIX_SYNCHRONIZED_IO when they are defined
42510 * sysdeps/mach/hurd/bits/posix_opt.h:
42511 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42512 (_XOPEN_REALTIME): Undefine macro.
42513 (_XOPEN_REALTIME_THREADS): Undefine macro.
42514 (_XOPEN_SHM): Undefine macro.
42515 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42517 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42519 (_POSIX_ASYNC_IO): Undefine macro.
42520 (_POSIX_PRIORITIZED_IO): Undefine macro.
42521 (_POSIX_SPIN_LOCKS): Define macro to -1.
42523 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42524 SA_NODEFER, SA_RESETHAND.
42525 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42526 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42531 * elf/Makefile (pldd-modules): Define unconditionally.
42533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42535 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42539 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42540 Return ENOENT when name is empty.
42541 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42545 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42547 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42551 Fix mlock in all cases except non-readable pages.
42552 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42553 instead of VM_PROT_ALL as parameter to __vm_wire function.
42555 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42556 (__mkdir): When path is `/', just fail with EEXIST.
42557 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42561 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42562 <sys/uio.h> (for writev).
42563 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42564 and <sys/param.h> (for MIN).
42566 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42568 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42569 REQUESTED_TIME. Properly set the remaining time and return EINTR
42572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42574 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42575 Depend on against $(link-rpcuserlibs).
42577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42579 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42580 (__libc_stack_end): Do not use attribute_relro.
42581 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42582 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42583 to libthread-provided value.
42584 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42590 * bits/libc-lock.h (__libc_once_get): New macro.
42591 * sysdeps/mach/bits/libc-lock.h: Likewise.
42592 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42594 instead of using implementation details.
42596 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42597 * libio/freopen.c: Likewise.
42598 * libio/freopen64.c: Likewise.
42599 * misc/syslog.c: Likewise.
42600 * nscd/connections.c: Likewise.
42601 * nscd/netgroupcache.c: Likewise.
42602 * sysdeps/posix/getcwd.c: Likewise.
42604 2012-05-10 Roland McGrath <roland@hack.frob.com>
42606 * math/w_ilogbf.c: Add #include <limits.h>.
42608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42610 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42611 path instead of returning without unlocking.
42613 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42614 immediate-write ioctls.
42615 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42617 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42619 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42620 __builtin_frame_address instead of making assumptions about the
42621 location of the return address relative to DATA. Force early load of
42622 the return address.
42623 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42624 __builtin_frame_address.
42627 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42628 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42629 implement dup3 and do some further code clean-ups.
42630 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42631 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42635 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42637 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42638 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42639 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42640 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42641 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42644 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42645 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42646 when handler == SIG_ERR, not when handler != SIG_ERR.
42648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42650 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42651 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42654 accept4 for GNU Hurd.
42655 * include/sys/socket.h (__libc_accept4): New prototype.
42656 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42657 to implement __libc_accept4.
42658 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42660 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42662 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42663 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42664 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42665 signal-defines.sym.
42667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42669 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42673 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42674 assertion on O_CLOEXEC flag.
42675 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42676 * hurd/intern-fd.c: Likewise.
42677 * hurd/port2fd.c: Likewise.
42679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42682 * bits/in.h (IPV6_PKTINFO): Define new macro.
42683 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42685 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42690 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42692 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42693 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42695 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42696 * math/libm-test.inc (logb_test) : Additional logb tests.
42698 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42699 Andreas Jaeger <aj@suse.de>
42701 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42702 * configure: Regenerated.
42703 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42704 * config.make.in (link-obsolete-rpc): New substituted variable.
42705 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42706 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42707 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42708 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42709 so that libc.a contains the symbols.
42710 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42711 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42712 * sunrpc/auth_none.c: Likewise.
42713 * sunrpc/auth_unix.c: Likewise.
42714 * sunrpc/authdes_prot.c: Likewise.
42715 * sunrpc/authuxprot.c: Likewise.
42716 * sunrpc/clnt_gen.c: Likewise.
42717 * sunrpc/clnt_perr.c: Likewise.
42718 * sunrpc/clnt_raw.c: Likewise.
42719 * sunrpc/clnt_simp.c: Likewise.
42720 * sunrpc/clnt_tcp.c: Likewise.
42721 * sunrpc/clnt_udp.c: Likewise.
42722 * sunrpc/clnt_unix.c: Likewise.
42723 * sunrpc/des_crypt.c: Likewise.
42724 * sunrpc/des_soft.c: Likewise.
42725 * sunrpc/get_myaddr.c: Likewise.
42726 * sunrpc/key_call.c: Likewise.
42727 * sunrpc/key_prot.c: Likewise.
42728 * sunrpc/netname.c: Likewise.
42729 * sunrpc/pm_getmaps.c: Likewise.
42730 * sunrpc/pm_getport.c: Likewise.
42731 * sunrpc/pmap_clnt.c: Likewise.
42732 * sunrpc/pmap_prot.c: Likewise.
42733 * sunrpc/pmap_prot2.c: Likewise.
42734 * sunrpc/pmap_rmt.c: Likewise.
42735 * sunrpc/publickey.c: Likewise.
42736 * sunrpc/rpc_cmsg.c: Likewise.
42737 * sunrpc/rpc_common.c: Likewise.
42738 * sunrpc/rpc_dtable.c: Likewise.
42739 * sunrpc/rpc_prot.c: Likewise.
42740 * sunrpc/rpc_thread.c: Likewise.
42741 * sunrpc/rtime.c: Likewise.
42742 * sunrpc/svc.c: Likewise.
42743 * sunrpc/svc_auth.c: Likewise.
42744 * sunrpc/svc_raw.c: Likewise.
42745 * sunrpc/svc_run.c: Likewise.
42746 * sunrpc/svc_tcp.c: Likewise.
42747 * sunrpc/svc_udp.c: Likewise.
42748 * sunrpc/svc_unix.c: Likewise.
42749 * sunrpc/svcauth_des.c: Likewise.
42750 * sunrpc/xcrypt.c: Likewise.
42751 * sunrpc/xdr.c: Likewise.
42752 * sunrpc/xdr_array.c: Likewise.
42753 * sunrpc/xdr_float.c: Likewise.
42754 * sunrpc/xdr_intXX_t.c: Likewise.
42755 * sunrpc/xdr_mem.c: Likewise.
42756 * sunrpc/xdr_rec.c: Likewise.
42757 * sunrpc/xdr_ref.c: Likewise.
42758 * sunrpc/xdr_sizeof.c: Likewise.
42759 * sunrpc/xdr_stdio.c: Likewise.
42761 2012-05-10 Roland McGrath <roland@hack.frob.com>
42763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42764 change. Update copyright years.
42766 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42768 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42770 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42771 Joseph Myers <joseph@codesourcery.com>
42772 Paul Pluzhnikov <ppluzhnikov@google.com>
42775 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42777 [cross-compiling] (extra-libs): Likewise.
42778 [cross-compiling] (extra-libs-others): Likewise.
42779 [cross-compiling] (librpcsvc-routines): Likewise.
42780 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42781 [cross-compiling] (omit-deps): Likewise.
42782 (sunrpc-CPPFLAGS): New variable.
42783 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42784 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42785 (cross-rpcgen-objs): New variable.
42786 (extra-objs): Append $(cross-rpcgen-objs).
42787 ($(cross-rpcgen-objs)): New rule.
42788 ($(objpfx)cross-rpcgen): Likewise.
42789 (rpcgen-cmd): Define to use $(built-program-file). Expand
42791 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42792 ($(objpfx)x%.stmp): Likewise.
42793 * sunrpc/proto.h [IS_IN_build] (_): Define.
42794 [IS_IN_build] (_libc_intl_domainname): Likewise.
42796 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42799 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42800 and R_X86_64_TPOFF64.
42802 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42804 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42805 sysdeps/unix/sysv/syscalls.list.
42808 * sysdeps/unix/sysv/syscalls.list: Remove file.
42810 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42813 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42814 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42815 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42816 (__LC_IDENTIFICATION): Make these macros useful in #if
42817 expressions, as required by C99.
42819 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42821 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42822 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42825 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42827 * stdlib/longlong.h: Updated from GCC.
42829 2012-05-09 Andreas Jaeger <aj@suse.de>
42831 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42832 default is first entry.
42833 (run_mode): Set type.
42834 (main): Remove informal message about syslog.
42835 (options): Fix typo.
42838 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42841 (llrintf): Likewise.
42842 (llrint): Likewise.
42845 (nearbyint): Likewise.
42846 (nearbyintf): Likewise.
42848 2012-05-09 Andreas Jaeger <aj@suse.de>
42849 Pedro Alves <palves@redhat.com>
42851 * nscd/nscd.c (run_mode): Use enum.
42852 (main): Cleanup coding style issue.
42854 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42855 Andreas Jaeger <aj@suse.de>
42857 * nscd/nscd.c (go_background): Replaced with...
42858 (run_mode): ... this.
42859 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42860 (options): Add -F --foreground.
42861 (main): Implement it.
42862 (parse_opt): Parse it.
42864 2012-05-09 Andreas Jaeger <aj@suse.de>
42867 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42868 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42869 -Wconversion warning.
42870 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42873 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42875 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42877 (LC_ALL): Use macro-int-constant.
42878 (LC_COLLATE): Likewise.
42879 (LC_CTYPE): Likewise.
42880 (LC_MESSAGES): Likewise.
42881 (LC_MONETARY): Likewise.
42882 (LC_NUMERIC): Likewise.
42883 (LC_TIME): Likewise.
42884 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42885 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42887 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42889 [C99-based standards] (float_t): Expect type.
42890 [C99-based standards] (double_t): Expect type.
42891 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42893 [C99-based standards] (HUGE_VALL): Likewise.
42894 [C99-based standards] (INFINITY): Likewise.
42895 [C99-based standards] (NAN): Likewise.
42896 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42897 [C99-based standards] (FP_NAN): Likewise.
42898 [C99-based standards] (FP_NORMAL): Likewise.
42899 [C99-based standards] (FP_SUBNORMAL): Likewise.
42900 [C99-based standards] (FP_ZERO): Likewise.
42901 [C99-based standards] (FP_FAST_FMA): Use
42902 optional-macro-int-constant. Specify type. Require == 1.
42903 [C99-based standards] (FP_FAST_FMAF): Likewise.
42904 [C99-based standards] (FP_FAST_FMAL): Likewise.
42905 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42906 [C99-based standards] (FP_ILOGBNAN): Likewise.
42907 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42909 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42910 [C99-based standards] (math_errhandling): Specify type.
42911 [ISO99 || ISO11] (signgam): Do not allow.
42912 [non-C99-based standards] (copysignf): Do not allow.
42913 [non-C99-based standards] (exp2f): Likewise.
42914 [non-C99-based standards] (log2f): Likewise.
42915 [non-C99-based standards] (modff): Allow.
42916 [non-C99-based standards] (erff): Do not allow.
42917 [non-C99-based standards] (erfcf): Likewise.
42918 [non-C99-based standards] (gammaf): Likewise.
42919 [non-C99-based standards] (hypotf): Likewise.
42920 [non-C99-based standards] (j0f): Likewise.
42921 [non-C99-based standards] (j1f): Likewise.
42922 [non-C99-based standards] (jnf): Likewise.
42923 [non-C99-based standards] (lgammaf): Likewise.
42924 [non-C99-based standards] (tgammaf): Likewise.
42925 [non-C99-based standards] (y0f): Likewise.
42926 [non-C99-based standards] (y1f): Likewise.
42927 [non-C99-based standards] (ynf): Likewise.
42928 [non-C99-based standards] (isnanf): Likewise.
42929 [non-C99-based standards] (acoshf): Likewise.
42930 [non-C99-based standards] (asinhf): Likewise.
42931 [non-C99-based standards] (atanhf): Likewise.
42932 [non-C99-based standards] (cbrtf): Likewise.
42933 [non-C99-based standards] (expm1f): Likewise.
42934 [non-C99-based standards] (ilogbf): Likewise.
42935 [non-C99-based standards] (log1pf): Likewise.
42936 [non-C99-based standards] (logbf): Likewise.
42937 [non-C99-based standards] (nextafterf): Likewise.
42938 [non-C99-based standards] (remainderf): Likewise.
42939 [non-C99-based standards] (rintf): Likewise.
42940 [non-C99-based standards] (scalbf): Likewise.
42941 [non-C99-based standards] (copysignl): Likewise.
42942 [non-C99-based standards] (exp2l): Likewise.
42943 [non-C99-based standards] (log2l): Likewise.
42944 [non-C99-based standards] (modfl): Allow.
42945 [non-C99-based standards] (erfl): Do not allow.
42946 [non-C99-based standards] (erfcl): Likewise.
42947 [non-C99-based standards] (gammal): Likewise.
42948 [non-C99-based standards] (hypotl): Likewise.
42949 [non-C99-based standards] (j0l): Likewise.
42950 [non-C99-based standards] (j1l): Likewise.
42951 [non-C99-based standards] (jnl): Likewise.
42952 [non-C99-based standards] (lgammal): Likewise.
42953 [non-C99-based standards] (tgammal): Likewise.
42954 [non-C99-based standards] (y0l): Likewise.
42955 [non-C99-based standards] (y1l): Likewise.
42956 [non-C99-based standards] (ynl): Likewise.
42957 [non-C99-based standards] (isnanl): Likewise.
42958 [non-C99-based standards] (acoshl): Likewise.
42959 [non-C99-based standards] (asinhl): Likewise.
42960 [non-C99-based standards] (atanhl): Likewise.
42961 [non-C99-based standards] (cbrtl): Likewise.
42962 [non-C99-based standards] (expm1l): Likewise.
42963 [non-C99-based standards] (ilogbl): Likewise.
42964 [non-C99-based standards] (log1pl): Likewise.
42965 [non-C99-based standards] (logbl): Likewise.
42966 [non-C99-based standards] (nextafterl): Likewise.
42967 [non-C99-based standards] (remainderl): Likewise.
42968 [non-C99-based standards] (rintl): Likewise.
42969 [non-C99-based standards] (scalbl): Likewise.
42970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42971 [non-C99-based standards] (FP_*): Do not allow.
42972 [C99-based standards] (FP_*): Change to
42973 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42974 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42976 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42977 (SIG_ERR): Likewise.
42978 [X/Open-based standards] (SIG_HOLD): Likewise.
42979 (SIG_IGN): Likewise.
42980 (SIGABRT): Use macro-int-constant. Specify type. Require
42982 (SIGFPE): Likewise.
42983 (SIGILL): Likewise.
42984 (SIGINT): Likewise.
42985 (SIGSEGV): Likewise.
42986 (SIGTER): Likewise.
42987 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42988 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42989 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42990 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42991 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42992 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42993 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42994 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42995 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42996 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42997 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42998 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42999 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43000 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43001 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43002 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43003 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43004 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43005 [X/Open-based standards] (SIGTRAP): Likewise.
43006 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43007 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43008 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43009 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43010 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43013 2012-05-08 Ian Wienand <ianw@vmware.com>
43016 * time/tzset.c (__tzset_parse_tz): Update default rules for
43017 daylight time changes in the Energy Policy Act of 2005.
43019 2012-05-09 Andreas Jaeger <aj@suse.de>
43022 * elf/ldconfig.c (parse_conf): Change string to make clear that
43023 ldconfig only issued a warning if ld.so.conf does not exist.
43025 2012-05-08 David S. Miller <davem@davemloft.net>
43027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43028 movxtod instead of popping the value on the stack.
43030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43032 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43034 * config.h.in: Add HAVE_ARM_PCS_VFP.
43036 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43039 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43040 checking but the checks are disabled for any reason.
43042 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43044 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43045 and ELF64_R_TYPE with ELFW(R_TYPE).
43047 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43049 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43050 (ulimit): Likewise.
43052 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43053 (settimeofday): Likewise.
43055 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43057 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43058 a struct th_u2 inside the union, and move tu_block/tu_code into
43059 a new th_u3 union of tu_block/tu_code inside of that. Move
43060 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43061 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43062 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43063 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43064 (th_stuff): Change to th_u1.tu_stuff.
43066 (th_msg): Change to th_u1.th_u2.tu_data.
43068 2012-05-07 David S. Miller <davem@davemloft.net>
43070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43073 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43074 (SETUP_PIC_REG): Use it.
43075 (SETUP_PIC_REG_LEAF): Use it.
43077 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43083 (EXPL_FINITE): Likewise.
43084 (FLDLOG): Likewise.
43085 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43086 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43088 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43090 (EXPL_FINITE): Likewise.
43091 (FLDLOG): Likewise.
43092 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43093 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43095 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43096 test of -max_value argument for long double.
43097 * sysdeps/i386/fpu/libm-test-ulps: Update.
43098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43100 2012-05-06 David S. Miller <davem@davemloft.net>
43102 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43103 quad soft-float symbols whose references which are compiler
43105 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43107 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43111 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43113 (EXPL_FINITE): Likewise.
43114 (FLDLOG): Likewise.
43117 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43118 Adjust comments for base varying.
43119 (__expl_finite): Change alias to EXPL_FINITE.
43120 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43122 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43123 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43125 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43126 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43128 (EXPL_FINITE): Likewise.
43129 (FLDLOG): Likewise.
43132 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43133 Adjust comments for base varying.
43134 (__expl_finite): Change alias to EXPL_FINITE.
43135 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43140 * math/libm-test.inc (check_float_internal): Correct ulp
43141 calculation for subnormal expected results.
43143 2012-05-06 Andreas Jaeger <aj@suse.de>
43145 * Makeconfig (+math-flags): New, set to -frounding-math.
43146 (+cflags): Add +math-flags so that all of glibc gets compiled with
43149 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43151 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43153 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43159 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43160 (__ieee754_expl): Allow for and saturate large arguments.
43161 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43162 (u_threshold): Likewise.
43163 (__exp): Call __ieee754_exp before checking for overflow and
43165 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43166 (u_threshold): Likewise.
43167 (__expf): Call __ieee754_expf before checking for overflow and
43169 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43170 (u_threshold): Likewise.
43171 (__expl): Call __ieee754_expl before checking for overflow and
43173 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43174 (__ieee754_expl): Allow for and saturate large arguments.
43175 * math/libm-test.inc (exp_test): Add another test. Do not allow
43176 missing overflow exception on overflow.
43177 (expm1_test): Do not allow missing overflow exception on overflow.
43179 * sysdeps/i386/fpu/e_expl.c: Move to ...
43180 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43181 rather than using inline asm.
43182 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43183 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43184 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43186 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43189 (signal): Likewise.
43193 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43195 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43196 sysdeps/unix/common/syscalls.list.
43197 (fchmod): Likewise.
43198 (fchown): Likewise.
43199 (ftruncate): Likewise.
43200 (getrusage): Likewise.
43201 (gettimeofday): Likewise.
43202 (setpgid): Likewise.
43203 (setregid): Likewise.
43204 (setreuid): Likewise.
43205 (sigaction): Likewise.
43206 (truncate): Likewise.
43207 (vhangup): Likewise.
43208 * sysdeps/unix/common/syscalls.list: Remove file.
43209 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43210 * sysdeps/unix/sysv/linux/Implies: Likewise.
43212 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43214 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43216 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43220 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43223 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43226 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43229 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43232 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43235 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43238 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43242 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43246 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43249 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43253 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43257 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43259 * sysdeps/unix/common/bits/dirent.h: Remove file.
43260 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43262 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43263 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43264 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43265 * sysdeps/unix/bsd/isatty.c: Likewise.
43266 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43267 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43268 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43270 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43274 long double comparison inaccuracies.
43275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43278 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43280 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43283 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43286 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43287 nonzero digits before rounding a hex value.
43288 * stdlib/tst-strtod.c (tests): Add another test.
43290 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43292 * sysdeps/s390/fpu/libm-test-ulps: Update.
43294 2012-05-03 Andreas Jaeger <aj@suse.de>
43296 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43297 does not get optimized out.
43298 (malloc_opt_barrier): New.
43300 2012-05-03 Andreas Jaeger <aj@suse.de>
43301 Roland McGrath <roland@hack.frob.com>
43303 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43304 intermediate file deletion.
43305 (generated): Add .symlist files.
43307 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43310 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43311 Redirect under this condition.
43312 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43313 [__USE_GNU] (__dprintf_chk): Not under this condition.
43314 [__USE_GNU] (__vdprintf_chk): Likewise.
43315 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43316 under this condition.
43317 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43318 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43319 [__USE_XOPEN2K8] (vdprintf): Likewise.
43320 [__USE_GNU] (__dprintf_chk): Not under this condition.
43321 [__USE_GNU] (__vdprintf_chk): Likewise.
43322 [__USE_GNU] (dprintf): Likewise.
43323 [__USE_GNU] (vdprintf): Likewise.
43325 2012-05-03 Roland McGrath <roland@hack.frob.com>
43327 * elf/Makefile (common-generated): Set this instead of generated for
43328 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43329 $(all-built-dso)-derived lists.
43331 2012-05-03 Andreas Jaeger <aj@suse.de>
43333 * sysdeps/i386/fpu/libm-test-ulps: Update.
43336 * FAQ.in: Likewise.
43337 * scripts/gen-FAQ.pl: Likewise.
43338 * manual/install.texi (Installation): Point to online location of
43340 * Makefile (files-for-dist): Remove FAQ.
43343 2012-05-02 Allan McRae <allan@archlinux.org>
43345 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43346 (LDFLAGS-reldepmod5.so): Likewise.
43347 (LDFLAGS-reldep6mod1.so): Likewise.
43348 (LDFLAGS-reldep6mod4.so): Likewise.
43349 (LDFLAGS-reldep8mod3.so): Likewise.
43350 (LDFLAGS-unload4mod1.so): Likewise.
43351 (LDFLAGS-unload4mod2.so): Likewise.
43352 (LDFLAGS-tst-initorder): Likewise.
43353 (LDFLAGS-tst-initordera2.so): Likewise.
43354 (LDFLAGS-tst-initordera3.so): Likewise.
43355 (LDFLAGS-tst-initordera4.so): Likewise.
43356 (LDFLAGS-tst-initorderb2.so): Likewise.
43357 (LDFLAGS-noload): Likewise.
43358 (LDFLAGS-next): Likewise.
43359 (LDFLAGS-order2mod1.so): Likewise.
43360 (LDFLAGS-order2mod2.so): Likewise.
43361 (LDFLAGS-tst-initorder2): Likewise.
43362 (LDFLAGS-tst-initorder2a.so): Likewise.
43363 (LDFLAGS-tst-initorder2b.so): Likewise.
43364 (LDFLAGS-tst-initorder2c.so): Likewise.
43365 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43367 2012-05-02 David S. Miller <davem@davemloft.net>
43369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43371 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43374 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43376 2012-05-02 Andreas Jaeger <aj@suse.de>
43378 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43379 since we manipulate rounding mode.
43380 (CPPFLAGS-test-idouble.c): Likewise.
43381 (CPPFLAGS-test-ifloat.c): Likewise.
43382 (CFLAGS-test-ldouble.c): Likewise.
43383 (CFLAGS-test-double.c): Likewise.
43384 (CFLAGS-test-float.c): Likewise.
43385 (CFLAGS-test-misc.c): Likewise.
43386 (CFLAGS-test-test-fenv.c): Likewise.
43388 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43392 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43393 comparisons to determine direction to adjust input.
43395 2012-05-01 Roland McGrath <roland@hack.frob.com>
43397 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43398 output to the target.
43400 * scripts/localplt.awk: New file.
43401 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43402 (check-localplt-CFLAGS): Variable removed.
43403 ($(all-built-dso:=.jmprel)): New static pattern rule.
43404 (generated): Add those targets.
43405 (localplt-built-dso): New variable.
43406 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43408 * elf/check-localplt.c: File removed.
43410 * scripts/check-execstack.awk: New file.
43411 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43412 (check-execstack-CFLAGS): Variable removed.
43413 ($(objpfx)check-execstack.h): Target removed.
43414 ($(objpfx)execstack-default): New target.
43415 (generated): Add that instead of check-execstack.h.
43416 ($(all-built-dso:=.phdr)): New static pattern rule.
43417 (generated): Add those targets.
43418 * elf/check-execstack.c: File removed.
43420 * scripts/check-textrel.awk: New file.
43421 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43422 (check-textrel-CFLAGS): Variable removed.
43423 (all-built-dso): Use := to define.o
43424 ($(all-built-dso:=.dyn)): New static pattern rule.
43425 (generated): Add those targets.
43426 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43427 * config.make.in (READELF): New substituted variable.
43428 * elf/check-textrel.c: File removed.
43430 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43432 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43434 * conform/data/ctype.h-data [C99-based standards] (isblank):
43436 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43437 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43439 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43440 Specify type. Require positive value.
43441 (EILSEQ): Likewise.
43442 (ERANGE): Likewise.
43443 [ISO || POSIX] (EILSEQ): Do not expect.
43444 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43445 Specify type. Require positive value.
43446 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43447 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43448 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43449 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43450 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43451 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43452 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43453 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43454 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43455 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43456 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43457 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43458 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43459 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43460 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43461 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43462 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43463 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43464 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43465 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43466 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43467 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43468 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43469 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43470 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43471 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43472 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43473 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43474 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43475 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43476 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43477 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43478 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43479 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43480 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43481 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43482 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43483 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43484 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43485 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43486 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43487 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43488 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43489 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43490 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43491 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43492 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43493 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43494 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43495 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43496 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43497 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43498 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43499 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43500 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43501 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43502 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43503 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43504 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43505 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43506 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43507 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43508 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43509 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43510 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43511 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43512 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43513 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43514 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43515 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43516 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43517 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43518 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43519 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43520 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43521 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43522 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43524 (FLT_ROUNDS): Expect as macro, not constant.
43525 (FLT_MANT_DIG): Use macro-int-constant.
43526 (DBL_MANT_DIG): Likewise.
43527 (LDBL_MANT_DIG): Likewise.
43528 (FLT_DIG): Likewise.
43529 (DBL_DIG): Likewise.
43530 (LDBL_DIG): Likewise.
43531 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43532 (DBL_MIN_EXP): Likewise.
43533 (LDBL_MIN_EXP): Likewise.
43534 (FLT_MAX_EXP): Use macro-int-constant.
43535 (DBL_MAX_EXP): Likewise.
43536 (LDBL_MAX_EXP): Likewise.
43537 (FLT_MAX_10_EXP): Likewise.
43538 (DBL_MAX_10_EXP): Likewise.
43539 (LDBL_MAX_10_EXP): Likewise.
43540 (FLT_MAX): Use macro-constant.
43541 (DBL_MAX): Likewise.
43542 (LDBL_MAX): Likewise.
43543 (FLT_EPSILON): Use macro-constant. Give upper bound.
43544 (DBL_EPSILON): Likewise.
43545 (LDBL_EPSILON): Likewise.
43546 (FLT_MIN): Likewise.
43547 (DBL_MIN): Likewise.
43548 (LDBL_MIN): Likewise.
43549 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43550 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43551 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43552 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43553 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43554 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43555 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43556 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43557 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43558 [ISO11] (FLT_TRUE_MIN): Likewise.
43559 [ISO11] (LDBL_TRUE_MIN): Likewise.
43560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43561 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43562 (SCHAR_MIN): Use macro-int-constant. Specify type.
43563 (SCHAR_MAX): Likewise.
43564 (UCHAR_MAX): Likewise.
43565 (CHAR_MIN): Likewise.
43566 (CHAR_MAX): Likewise.
43567 (MB_LEN_MAX): Use macro-int-constant.
43568 (SHRT_MIN): Use macro-int-constant. Specify type.
43569 (SHRT_MAX): Likewise.
43570 (USHRT_MAX): Likewise.
43571 (INT_MAX): Likewise.
43572 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43574 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43576 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43578 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43579 bound negative. Suffix upper bound with "L".
43580 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43582 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43584 [C99-based standards] (LLONG_MAX): Likewise.
43585 [C99-based standards] (ULLONG_MAX): Likewise.
43586 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43588 [ISO11] (max_align_t): Require type.
43589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43591 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43592 from $CFLAGS, without defining away __attribute__ calls.
43593 (checknamespace): Use $CFLAGS_namespace.
43595 * conform/conformtest.pl (@keywords): Only include C99 keywords
43596 for standards based on C99 or C11.
43598 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43600 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43603 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43604 usability of symbols in #if.
43606 * conform/conformtest.pl: If macro or constant types start
43607 "promoted:", expect the symbol to be of the following type
43608 promoted by the integer promotions.
43610 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43611 in one place. Also handle "macro-constant".
43613 * conform/conformtest.pl: Only accept expected macro values with
43614 "==". Parse all "macro" lines in one place.
43615 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43617 * conform/conformtest.pl: Handle braced types on "constant" lines
43618 instead of handling "typed-constant".
43619 * conform/data/signal.h-data: Use "constant" instead of
43622 * conform/conformtest.pl: Handle "optional-" at start of lines in
43623 one place rather than duplicating several cases. Handle each
43624 format of "macro" line with initial "optional-".
43626 * conform/conformtest.pl: Only accept expected constant or
43627 optional-constant values with "==". Parse all "constant" lines in
43628 one place. Parse all "optional-constant" lines in one place.
43629 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43630 * conform/data/fmtmsg.h-data: Likewise.
43631 * conform/data/netinet/in.h-data: Likewise.
43632 * conform/data/tar.h-data: Likewise.
43633 * conform/data/limits.h-data: Use "==" form on "constant" and
43634 "optional-constant" lines.
43636 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43637 Use -std=c99 for XOPEN2K.
43638 (@knownproblems): Remove.
43639 (newtoken): Don't check %isknown.
43641 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43642 Do not expect macro.
43643 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43644 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43645 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43646 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43647 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43648 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43649 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43650 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43651 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43652 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43653 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43654 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43655 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43656 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43657 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43658 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43659 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43660 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43661 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43662 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43663 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43664 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43667 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43668 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43669 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43670 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43671 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43672 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43673 [XPG3] (acosh): Likewise.
43674 [XPG3] (asinh): Likewise.
43675 [XPG3] (atanh): Likewise.
43676 [XPG3] (cbrt): Likewise.
43677 [XPG3] (expm1): Likewise.
43678 [XPG3] (ilogb): Likewise.
43679 [XPG3] (log1p): Likewise.
43680 [XPG3] (logb): Likewise.
43681 [XPG3] (nextafter): Likewise.
43682 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43683 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43684 [XPG3] (remainder): Likewise.
43685 [XPG3] (rint): Likewise.
43686 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43687 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43688 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43689 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43690 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43691 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43692 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43693 [UNIX98 || XOPEN2K] (scalb): Expect.
43694 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43695 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43696 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43697 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43698 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43699 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43700 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43701 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43702 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43703 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43704 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43705 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43706 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43707 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43708 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43709 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43710 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43711 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43712 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43713 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43714 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43715 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43716 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43717 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43718 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43719 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43720 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43721 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43722 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43723 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43724 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43725 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43726 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43727 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43728 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43729 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43730 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43731 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43732 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43733 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43734 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43735 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43736 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43737 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43738 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43739 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43740 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43741 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43742 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43743 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43744 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43745 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43746 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43747 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43748 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43749 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43750 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43751 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43752 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43753 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43754 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43755 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43756 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43757 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43758 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43759 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43760 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43761 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43762 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43763 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43764 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43765 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43766 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43767 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43768 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43769 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43770 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43771 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43772 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43773 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43774 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43775 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43776 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43777 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43778 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43779 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43780 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43781 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43782 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43783 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43784 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43785 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43786 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43787 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43788 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43789 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43790 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43791 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43792 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43793 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43794 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43795 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43796 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43797 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43798 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43799 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43800 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43801 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43802 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43803 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43804 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43805 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43806 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43807 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43808 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43809 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43810 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43811 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43812 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43813 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43814 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43815 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43816 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43817 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43818 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43819 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43820 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43821 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43822 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43823 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43824 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43825 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43826 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43827 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43828 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43829 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43830 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43832 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43833 _XOPEN_SOURCE_EXTENDED for XPG4.
43835 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43837 * Makeconfig (localtime): Remove variable.
43838 (inst_localtime-file): Likewise.
43840 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43861 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43865 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43866 comparisons to determine direction to adjust input.
43867 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43868 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43871 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43873 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43878 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43880 * math/libm-test.inc (nexttoward_test): Add more tests.
43882 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43886 in version GLIBC_2.1, not GLIBC_2.0.
43887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43890 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43893 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43895 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43896 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43897 * math/libm-test.inc (acos_test): Add more tests.
43898 (asin_test): Likewise.
43899 * sysdeps/i386/fpu/libm-test-ulps: Update.
43900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43903 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43905 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43906 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43907 * math/libm-test.inc (acos_test_tonearest): New function.
43908 (acos_test_towardzero): Likewise.
43909 (acos_test_downward): Likewise.
43910 (acos_test_upward): Likewise.
43911 (asin_test_tonearest): Likewise.
43912 (asin_test_towardzero): Likewise.
43913 (asin_test_downward): Likewise.
43914 (asin_test_upward): Likewise.
43915 (main): Call the new functions.
43916 * sysdeps/i386/fpu/libm-test-ulps: Update.
43917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43921 * math/e_exp10.c: Include <float.h>.
43922 (__ieee754_exp10): Handle underflow here rather than multiplying
43923 large negative argument by M_LN10.
43924 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43926 * math/e_exp10l.c: Include <float.h>.
43927 (__ieee754_exp10l): Handle underflow here rather than multiplying
43928 large negative argument by M_LN10l.
43929 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43930 spurious overflow exception on underflow.
43932 2012-04-29 Marek Polacek <polacek@redhat.com>
43934 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43935 (__fortify_function): New macro.
43936 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43937 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43938 __extern_always_inline.
43939 * libio/bits/stdio2.h: Likewise.
43940 * libio/bits/stdio.h: Likewise.
43941 * string/string.h: Likewise.
43942 * string/bits/string3.h: Likewise.
43943 * include/stdio.h: Likewise.
43944 * stdlib/bits/stdlib.h: Likewise.
43945 * stdlib/stdlib.h: Likewise.
43946 * rt/bits/mqueue2.h: Likewise.
43947 * rt/mqueue.h: Likewise.
43948 * posix/bits/unistd.h: Likewise.
43949 * posix/unistd.h: Likewise.
43950 * io/bits/poll2.h: Likewise.
43951 * io/bits/fcntl2.h: Likewise.
43952 * io/fcntl.h: Likewise.
43953 * io/sys/poll.h: Likewise.
43954 * misc/bits/syslog.h: Likewise.
43955 * misc/bits/syslog-ldbl.h: Likewise.
43956 * misc/sys/syslog.h: Likewise.
43957 * socket/bits/socket2.h: Likewise.
43958 * socket/sys/socket.h: Likewise.
43959 * debug/tst-chk1.c: Likewise.
43960 * wcsmbs/bits/wchar2.h: Likewise.
43961 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43962 * wcsmbs/wchar.h: Likewise.
43964 2012-04-29 Andreas Jaeger <aj@suse.de>
43966 * Makerules (tests): Remove enable-check-abi protection.
43967 (check-abi-warn): Remove.
43968 (check-abi-%): Remove check-abi-warn usage.
43970 * configure.in: Remove check-abi configure option.
43971 * configure: Regenerated.
43972 * config.make.in (enable-check-abi): Remove.
43974 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43977 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43978 double functions to double *_finite functions.
43981 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43982 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43984 * stdio-common/Makefile (tests): Add tst-sprintf3.
43985 * stdio-common/tst-sprintf3.c: New file.
43987 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43988 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43990 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43992 * conform/conformtest.pl: Remove duplicate typed-constant
43995 2012-04-28 David S. Miller <davem@davemloft.net>
43997 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43998 (check-abi-%): Remove AWK script prerequisite and explicit
44000 (check-abi): Rewrite to just diff the symlist with the abilist.
44001 (config-tls, config-abi-config): Delete, no longer used.
44002 (update-abi-%): Remove AWK script and explicit abilist directory.
44003 (update-abi): Rewrite to simply compare and conditionally copy the
44004 symlist and the sysdep abilist file. Remove update-abi-config
44006 * abilist/ld.abilist: Remove.
44007 * abilist/libBrokenLocale.abilist: Remove.
44008 * abilist/libanl.abilist: Remove.
44009 * abilist/libcrypt.abilist: Remove.
44010 * abilist/libdl.abilist: Remove.
44011 * abilist/librt.abilist: Remove.
44012 * abilist/libthread_db.abilist: Remove.
44013 * abilist/libutil.abilist: Remove.
44014 * scripts/extract-abilist.awk: Remove.
44015 * scripts/merge-abilist.awk: Remove.
44016 * sysdeps/generic/libcidn.abilist: New file.
44017 * sysdeps/generic/libnss_compat.abilist: New file.
44018 * sysdeps/generic/libnss_db.abilist: New file.
44019 * sysdeps/generic/libnss_dns.abilist: New file.
44020 * sysdeps/generic/libnss_files.abilist: New file.
44021 * sysdeps/generic/libnss_hesiod.abilist: New file.
44022 * sysdeps/generic/libnss_nis.abilist: New file.
44023 * sysdeps/generic/libnss_nisplus.abilist: New file.
44024 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44025 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44026 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44029 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44030 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44031 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44032 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44033 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44034 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44035 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44036 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44038 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44039 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44040 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44041 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44043 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44044 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44045 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44046 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44047 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44048 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44050 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44051 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44052 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44054 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44157 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44158 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44159 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44162 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44163 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44164 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44165 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44166 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44167 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44168 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44169 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44170 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44222 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44224 * conform/conformtest.pl: Fix typo in handling typed-constant from
44227 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44229 * README: Cut down references to pre-2.6 Linux kernels and
44230 Linuxthreads. Update lists of configurations in libc and ports
44231 and sort alphabetically. Say "or newer" with Linux kernel version
44234 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44236 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44239 * math/libm-test.inc (logb_test_downward): New test to expose
44240 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44243 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44246 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44248 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44249 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44251 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44253 * sysdeps/unix/i386/brk.S: Remove file.
44254 * sysdeps/unix/i386/dl-brk.S: Likewise.
44255 * sysdeps/unix/i386/pipe.S: Likewise.
44256 * sysdeps/unix/i386/sigreturn.S: Likewise.
44257 * sysdeps/unix/i386/syscall.S: Likewise.
44258 * sysdeps/unix/i386/vfork.S: Likewise.
44259 * sysdeps/unix/i386/wait.S: Likewise.
44261 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44262 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44264 * configure.in (arm*-none*): Do not allow without
44265 --enable-hacker-mode.
44266 (netbsd*): Remove case setting base_os.
44267 (386bsd*): Likewise.
44268 (freebsd*): Likewise.
44271 (sunos*): Likewise.
44272 (ultrix*): Likewise.
44273 (newsos*): Likewise.
44274 (dynix*): Likewise.
44280 (minix*): Likewise.
44281 (irix4*): Likewise.
44282 (irix6*): Likewise.
44283 (solaris[2-9]*): Likewise.
44285 * configure: Regenerated.
44287 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44290 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44291 overflow or cancellation in calculating denominator.
44292 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44293 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44294 down expression to avoid unexpected rounding in newer GCCs.
44295 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44297 2012-04-26 David S. Miller <davem@davemloft.net>
44299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44300 long-double compat symbols.
44301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44315 2012-04-25 David S. Miller <davem@davemloft.net>
44317 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44318 HWCAP_* values only after the memory barriers have been defined.
44319 (atomic_full_barrier): Define.
44320 (atomic_read_barrier): Define.
44321 (atomic_write_barrier): Define.
44323 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44325 * shlib-versions: Add libgcc_s version information.
44326 * sysdeps/generic/libgcc_s.h: Remove.
44327 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44329 * sysdeps/gnu/unwind-resume.c: Likewise.
44330 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44332 2012-04-25 David S. Miller <davem@davemloft.net>
44334 * sysdeps/unix/sparc/brk.S: Delete.
44335 * sysdeps/unix/sparc/dl-brk.S: Delete.
44336 * sysdeps/unix/sparc/pipe.S: Delete.
44337 * sysdeps/unix/sparc/sysdep.S: Delete.
44338 * sysdeps/unix/sparc/sysdep.h: Delete.
44339 * sysdeps/unix/sparc/vfork.S: Delete.
44340 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44341 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44343 (ret_ERRVAL, r0, r1, MOVE): Define.
44344 (JUMPTARGET): Remove.
44345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44346 sysdeps/unix/sparc/sysdep.h
44347 (ENTRY, END): Remove.
44348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44350 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44352 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44353 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44356 * timezone/README: Update upstream location and email address for
44358 * timezone/zdump.c: Update from tzcode 2012b.
44359 * timezone/zic.c: Likewise.
44361 * configure.in (libc_cv_as_needed): Remove test.
44362 * configure: Regenerated.
44363 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44364 conditional definition.
44365 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44366 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44367 * config.make.in (have-as-needed): Remove variable.
44369 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44370 Paul Pluzhnikov <ppluzhnikov@google.com>
44372 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44375 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44377 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44378 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44379 * sysdeps/sh/strlen.S: Likewise.
44381 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44383 * sysdeps/unix/fork.S: Remove file.
44384 * sysdeps/unix/i386/fork.S: Likewise.
44385 * sysdeps/unix/sparc/fork.S: Likewise.
44387 * sysdeps/unix/system.c: Remove file.
44388 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44390 * sysdeps/unix/getegid.S: Remove file.
44391 * sysdeps/unix/geteuid.S: Likewise.
44393 2012-04-24 Roland McGrath <roland@hack.frob.com>
44395 * scripts/check-localplt.awk: New file.
44396 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44398 * scripts/data/localplt-generic.data: Add a comment.
44400 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44401 NODE when __dir_mkfile failed.
44402 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44403 Reported by Ludovic Courtès <ludo@gnu.org>.
44405 2012-04-24 Andreas Jaeger <aj@suse.de>
44407 * Makerules (common-clean): Also remove gen-as-const-headers
44410 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44412 * Makerules (native-compile): Do not change working directory for
44413 build. Use $(OUTPUT_OPTION) in command.
44414 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44416 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44419 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44420 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44421 * math/libm-test.inc (floor_test): Add more tests.
44422 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44424 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44426 * sysdeps/unix/getdents.c: Remove file.
44427 * sysdeps/unix/sysv/getdents.c: Likewise.
44428 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44430 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44431 sysdeps/unix/mman/syscalls.list.
44433 (mprotect): Likewise.
44435 (munmap): Likewise.
44436 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44437 * sysdeps/unix/mman/syscalls.list: Remove.
44438 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44440 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44441 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44442 * configure: Regenerated.
44443 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44444 $(libgcc_s_suffix).
44445 * config.make.in (libgcc_s_suffix): Remove variable.
44447 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44449 * sysdeps/unix/sysv/gethostname.c: Move to ...
44450 * sysdeps/posix/gethostname.c: ... here.
44452 * sysdeps/unix/execve.S: Remove file.
44454 * sysdeps/unix/_exit.S: Remove file.
44456 2012-04-23 Andreas Jaeger <aj@suse.de>
44459 * manual/Makefile: Remove make dist support, there's no
44460 need for a stand-alone documentation tar ball.
44461 (TEXI2DVI): Define always, it's not in Makeconfig.
44464 (edition): Removed.
44465 (glibc-doc-$(edition).tar): Removed
44469 (ETAGS): Remove, it's in Makeconfig.
44470 (move-if-change): Remove, it's in Makeconfig.
44472 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44475 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44476 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44477 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44478 (strtod_l, strtof_l, strtold_l): Remove __wur.
44479 It is not necessarily an error to ignore strtol's return value.
44480 One can reliably look at the stored endptr to decide whether
44481 the number had valid syntax.
44483 2012-04-21 Andreas Jaeger <aj@suse.de>
44486 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44488 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44490 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44491 * sysdeps/unix/sysv/Versions: Remove file.
44493 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44498 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44501 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44502 version from __vm86.
44504 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44506 * sysdeps/unix/common/lxstat.c: Remove file.
44507 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44509 * sysdeps/unix/sysv/Makefile: Remove file.
44511 * sysdeps/unix/sysv/direct.h: Remove file.
44513 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44514 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44515 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44516 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44517 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44518 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44519 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44521 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44523 * sysdeps/unix/xmknod.c: Remove file.
44524 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44526 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44528 * sysdeps/unix/sysv/i386/time.S: Remove file.
44530 * sysdeps/unix/fxstat.c: Remove file.
44531 * sysdeps/unix/xstat.c: Likewise.
44532 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44534 * sysdeps/unix/sysv/sigaction.c: Remove file.
44536 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44537 (sysdep_headers): Remove variable.
44538 [termio.h not in sysdep_headers] (generated): Likewise.
44539 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44540 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44541 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44542 * sysdeps/unix/sysv/tcflow.c: Likewise.
44543 * sysdeps/unix/sysv/tcflush.c: Likewise.
44544 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44545 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44546 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44547 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44548 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44550 * sysdeps/unix/siglist.c: Remove file.
44552 * sysdeps/unix/getppid.S: Remove file.
44554 * sysdeps/unix/mkdir.c: Remove file.
44555 * sysdeps/unix/rmdir.c: Likewise.
44557 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44559 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44561 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44562 errlist-compat value.
44564 2012-04-18 David S. Miller <davem@davemloft.net>
44566 * sysdeps/generic/memcopy.h (reg_char): Delete.
44567 * debug/strcat_chk.c: Use char, not reg_char.
44568 * debug/strcpy_chk.c: Likewise.
44569 * debug/strncat_chk.c: Likewise.
44570 * debug/strncpy_chk.c: Likewise.
44571 * string/memchr.c: Likewise.
44572 * string/memrchr.c: Likewise.
44573 * string/rawmemchr.c: Likewise.
44574 * string/strcat.c: Likewise.
44575 * string/strchr.c: Likewise.
44576 * string/strchrnul.c: Likewise.
44577 * string/strcmp.c: Likewise.
44578 * string/strcpy.c: Likewise.
44579 * string/strncat.c: Likewise.
44580 * string/strncmp.c: Likewise.
44581 * string/strncpy.c: Likewise.
44583 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44585 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44586 __builtin_memcopy is called when src and dest ranges are known to not
44589 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44591 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44592 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44593 fwd_align_merge macro call.
44594 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44595 bwd_align_merge macro call.
44596 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44598 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44600 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44601 bwd_align_merge macros.
44602 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44603 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44606 2012-04-18 David S. Miller <davem@davemloft.net>
44608 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44610 2012-04-18 Andreas Jaeger <aj@suse.de>
44613 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44614 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44615 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44617 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44618 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44621 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44622 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44623 Adjust for changed ldbl-128 files.
44625 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44626 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44627 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44629 2012-04-17 David S. Miller <davem@davemloft.net>
44631 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44633 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44635 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44636 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44637 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44638 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44639 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44640 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44642 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44645 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44646 * math/libm-test.inc: Add ilogb errno and exception tests.
44647 * math/w_ilogb.c: New file: ilogb wrapper.
44648 * math/w_ilogbf.c: New file: ilogbf wrapper.
44649 * math/w_ilogbl.c: New file: ilogbl wrapper.
44650 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44651 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44652 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44653 exception being thrown with 0.0 as argument.
44654 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44655 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44656 exception being thrown with 0.0 as argument.
44657 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44658 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44659 exception being thrown with 0.0 as argument.
44660 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44661 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44662 exception being thrown with 0.0 as argument.
44663 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44664 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44665 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44666 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44667 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44668 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44669 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44670 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44671 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44673 2012-04-17 Petr Baudis <pasky@ucw.cz>
44675 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44678 2012-04-16 Marek Polacek <polacek@redhat.com>
44680 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44682 2012-04-16 Marek Polacek <polacek@redhat.com>
44684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44685 operands of fdivp instruction.
44687 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44689 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44690 * elf/tst-auditmod3b.c: Likewise.
44691 * elf/tst-auditmod4b.c: Likewise.
44692 * elf/tst-auditmod5b.c: Likewise.
44693 * elf/tst-auditmod6b.c: Likewise.
44694 * elf/tst-auditmod6c.c: Likewise.
44695 * elf/tst-auditmod7b.c: Likewise.
44696 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44697 * sysdeps/x86_64/preconfigure.in: Likewise.
44698 * sysdeps/x86_64/preconfigure: Regenerated.
44700 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44702 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44705 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44708 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44710 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44713 * locale/iso-639.def: Fix gl language name. Spotted by
44716 2012-04-12 Roland McGrath <roland@hack.frob.com>
44719 * libio/libio.h (__io_write_fn): Update comment.
44721 2012-04-12 Petr Baudis <pasky@ucw.cz>
44724 * stdio.texi (Hook Functions): The user provided writer function
44725 is not allowed to return -1.
44727 2012-04-11 David S. Miller <davem@davemloft.net>
44729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44731 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44733 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44734 Add a leading slash to rtkaio.
44736 2012-04-11 Jim Meyering <meyering@redhat.com>
44739 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44740 It is not necessarily an error to ignore fwrite's return
44741 value. One can reliably use ferror to test for errors after
44744 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44746 * bits/types.h (__snseconds_t): New type.
44747 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44749 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44751 (__SNSECONDS_T_TYPE): Likewise.
44752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44753 (__SNSECONDS_T_TYPE): Likewise.
44754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44755 (__SNSECONDS_T_TYPE): Likewise.
44757 2012-04-10 Andreas Jaeger <aj@suse.de>
44760 * manual/time.texi (Processor Time): Return type of times is
44761 elapsed real time since an arbitrary point in the past.
44762 (CPU Time): Move CLK_TCK from here...
44763 (Processor Time): ...to here. Correct description.
44764 * manual/conf.texi (Constants for Sysconf): Correct description of
44767 2012-04-10 David S. Miller <davem@davemloft.net>
44770 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44771 where the is a gap between DT_REL(A) and DT_JMPREL.
44773 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44775 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44776 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44777 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44779 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44781 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44782 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44783 (dl_main): Handle --inhibit-cache.
44784 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44786 * elf/dl-load.c (_dl_map_object): Use it.
44787 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44789 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44792 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44793 (__ieee754_powl): Saturate large exponents rather than testing for
44794 overflow of y*log2(x).
44795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44796 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44800 * math/s_ctan.c: Include <float.h>.
44801 (__ctan): Avoid internal overflow or cancellation in calculating
44803 * math/s_ctanf.c: Likewise.
44804 * math/s_ctanl.c: Likewise.
44805 * math/s_ctanh.c: Likewise.
44806 * math/s_ctanhf.c: Likewise.
44807 * math/s_ctanhl.c: Likewise.
44808 * math/libm-test.inc (ctan_test): Add more tests.
44809 (ctanh_test): Likewise.
44810 * sysdeps/i386/fpu/libm-test-ulps: Update.
44811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44813 2012-04-09 Andreas Jaeger <aj@suse.de>
44816 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44817 is an optional BSD extension.
44820 * manual/stdio.texi (Opening Streams): Document additional fopen
44823 2012-04-09 Roland McGrath <roland@hack.frob.com>
44825 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44826 %eax without telling the compiler.
44828 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44831 * manual/install.texi: Use sourceware.org.
44833 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44836 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44837 (__ieee754_pow): Generate overflow and underflow using huge*huge
44838 and tiny*tiny rather than just returning constant infinity or zero
44839 for large exponents.
44840 * math/libm-test.inc (pow_test): Require overflow exceptions for
44841 applicable cases of large exponents.
44844 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44845 (__ieee754_pow): Use iterative multiplication algorithm only for
44846 integer exponents with absolute value below 1024. Check for odd
44847 integer exponents when using algorithm for real exponents.
44848 * math/libm-test.inc (pow_test): Add more tests.
44849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44851 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44854 * math/libm-test.inc (exp_test): Do not allow overflow exception
44857 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44860 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44861 instead of __kernel_standard_f.
44863 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44865 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44866 * sysdeps/x86_64/memset_chk.S: Likewise.
44868 2012-04-08 Andreas Jaeger <aj@suse.de>
44871 * manual/startup.texi (Environment Access): Describe return value
44872 for putenv and setenv.
44875 * manual/filesys.texi (Directory Entries): Add description for
44879 * manual/filesys.texi (Directory Entries): Clarify that it's file
44880 system not operating system in the description of DT_UNKNOWN.
44883 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44885 2012-04-08 Stephen Compall <s11@member.fsf.org>
44888 * manual/llio.texi (Opening and Closing Files): Add cross
44889 reference to explain mode argument.
44891 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44893 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44894 * sysdeps/x86_64/memset_chk.S: Likewise.
44896 2012-04-07 David S. Miller <davem@davemloft.net>
44898 * elf/elf.h (R_SPARC_WDISP10): Define.
44899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44902 R_SPARC_SIZE64 and R_SPARC_H34.
44904 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44906 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44907 conditions and remove no longer applicable assertion.
44909 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44911 * bits/byteswap.h: Include <features.h>.
44912 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44913 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44915 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44917 * bits/byteswap.h (__bswap_16): Removed.
44918 Include <bits/byteswap-16.h> to get __bswap_16.
44919 * sysdeps/i386/bits/byteswap.h: Likewise.
44920 * sysdeps/s390/bits/byteswap.h: Likewise.
44921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44922 * bits/byteswap-16.h: New file.
44923 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44924 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44925 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44926 * string/Makefile (headers): Add bits/byteswap-16.h.
44928 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44931 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44933 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44934 * nss/tst-nss-static.c: New.
44936 2012-04-06 Robert Millan <rmh@gnu.org>
44939 * manual/llio.texi (File Position Primitive): lseek
44940 refers to WHENCE when it really means OFFSET.
44942 2012-04-06 Andreas Jaeger <aj@suse.de>
44944 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44945 strncmp declarations.
44947 * abilist/libc.abilist: Add __poll and __ppoll.
44949 2012-04-05 David S. Miller <davem@davemloft.net>
44951 * scripts/check-local-headers.sh: Accept a host triplet in the
44952 path matched by the exclude regexp.
44954 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44956 * sysdeps/powerpc/powerpc32/dl-machine.h
44957 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44958 * sysdeps/s390/s390-32/dl-machine.h
44959 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44960 * sysdeps/sparc/sparc32/dl-machine.h
44961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44962 * sysdeps/sparc/sparc64/dl-machine.h
44963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44965 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44967 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44968 undefined symbol errors.
44970 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44973 2012-04-05 Michael Matz <matz@suse.de>
44976 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44978 2012-04-05 Andreas Jaeger <aj@suse.de>
44981 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44984 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44986 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44987 which ROUND is no valid rounding mode.
44989 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44991 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44993 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44995 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44997 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44998 an exception using FPU order intentionally.
45000 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45002 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45003 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45004 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45005 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45007 2012-04-05 Simon Josefsson <simon@josefsson.org>
45010 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45011 EINVAL when BUFLEN is too smal.
45013 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45016 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45017 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45019 2012-04-03 Andreas Jaeger <aj@suse.de>
45022 * manual/setjmp.texi (System V contexts): Fix sentence.
45025 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45026 New macro for this case.
45027 [!__GNUC__] (__bswap_64): New inline function for this case.
45028 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45029 * bits/byteswap.h: Likewise.
45030 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45031 ull, guard with __GLIBC_HAVE_LONG_LONG.
45033 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45034 __GLIBC_HAVE_LONG_LONG.
45036 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45037 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45039 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45042 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45043 inptr and inend, rather than using last_ch.
45045 2012-04-02 David S. Miller <davem@davemloft.net>
45047 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45048 * stdio-common/printf-parse.h (read_int): Change return type to
45049 'int', return -1 on INT_MAX overflow.
45050 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45051 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45052 overflows INT_MAX. Check for overflow of in-format-string precision
45053 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45054 SIZE_MAX not INT_MAX for integer overflow test.
45055 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45056 skip the construct in the format string but do not record anything.
45057 * stdio-common/bug22.c: Adjust to test both width/prevision
45058 INT_MAX overflow as well as total length INT_MAX overflow. Check
45059 explicitly for proper errno values.
45061 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45063 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45065 * string/test-strcmp.c [! WIDE]: Likewise.
45066 * time/tst-mktime2.c: Likewise for INT_MAX.
45067 * string/test-string.h: #include <sys/param.h> for MIN.
45069 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45070 * sysdeps/i386/init-first.c (init): Likewise.
45071 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45072 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45073 * sysdeps/sh/init-first.c (init): Likewise.
45075 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45077 * po/ru.po: Update from translation team.
45078 * po/vi.po: Likewise.
45080 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45082 * resolv/nss_dns/dns-host.c: Merge copyright years.
45084 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45086 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45087 Optimize memcpy with prefetch if
45088 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45089 src, dst pointers have unequal 16 byte alignments.
45091 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45094 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45095 from a CNAME entry and return the minimum ttl for the query.
45096 (gaih_getanswer_slice): Likewise.
45098 2012-03-30 Jeff Law <law@redhat.com>
45100 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45102 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45103 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45105 * resolv/nss_dns/dns-host.c: Update copyright year.
45107 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45109 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45110 requests to save a system call. Fix check that all bytes are sent.
45112 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45113 comments for sendmmsg.
45115 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45118 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45119 with only 1 character between 0x0041 and 0x01b0.
45120 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45121 * wcsmbs/tst-mbsnrtowcs.c: New file.
45123 2012-03-29 David S. Miller <davem@davemloft.net>
45125 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45126 small copies by hand.
45128 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45131 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45132 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45135 2012-03-28 David S. Miller <davem@davemloft.net>
45137 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45138 that branches into memcpy.
45139 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45142 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45145 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45146 implementation too.
45147 * sysdeps/sparc/mempcpy.S: New file.
45149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45150 the IFUNC routine in the libc case.
45151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45153 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45154 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45155 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45156 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45157 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45158 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45159 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45160 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45162 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45163 loop to 256 bytes instead of 64 bytes and fix test signedness.
45165 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45166 * sysdeps/sparc/sparc32/Makefile: rather than here...
45167 * sysdeps/sparc/sparc64/Makefile: and here.
45169 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45171 * malloc/mallocbug.c: Avoid warnings about unused variables.
45173 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45176 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45177 in the right place. Discard and retry query if response is
45178 larger than input buffer size.
45180 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45185 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45186 x for large integer exponent.
45187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45188 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45189 sign of result as needed afterwards.
45190 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45191 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45192 result for underflowing pow the same as for overflow.
45193 (__kernel_standard_l): Handle powl overflow and underflow here
45194 rather than calling __kernel_standard.
45195 * math/libm-test.inc (pow_test): Add more tests.
45210 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45211 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45212 (__kernel_standard_l): New function.
45213 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45215 * math/w_acosl.c (__acosl): Likewise.
45216 * math/w_asinl.c (__asinl): Likewise.
45217 * math/w_atan2l.c (__atan2l): Likewise.
45218 * math/w_atanhl.c (__atanhl): Likewise.
45219 * math/w_coshl.c (__coshl): Likewise.
45220 * math/w_exp10l.c (__exp10l): Likewise.
45221 * math/w_exp2l.c (__exp2l): Likewise.
45222 * math/w_fmodl.c (__fmodl): Likewise.
45223 * math/w_hypotl.c (__hypotl): Likewise.
45224 * math/w_j0l.c (__j0l, __y0l): Likewise.
45225 * math/w_j1l.c (__j1l, __y1l): Likewise.
45226 * math/w_jnl.c (__jnl, __ynl): Likewise.
45227 * math/w_lgammal.c (__lgammal): Likewise.
45228 * math/w_log10l.c (__log10l): Likewise.
45229 * math/w_log2l.c (__log2l): Likewise.
45230 * math/w_logl.c (__logl): Likewise.
45231 * math/w_powl.c (__powl): Likewise.
45232 * math/w_remainderl.c (__remainderl): Likewise.
45233 * math/w_scalbl.c (sysv_scalbl): Likewise.
45234 * math/w_sinhl.c (__sinhl): Likewise.
45235 * math/w_sqrtl.c (__sqrtl): Likewise.
45236 * math/w_tgammal.c (__tgammal): Likewise.
45237 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45238 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45239 * math/libm-test.inc (acos_test): Add more tests.
45240 (acosh_test): Likewise.
45241 (asin_test): Likewise.
45242 (atanh_test): Likewise.
45243 (exp_test): Likewise.
45244 (exp10_test): Likewise.
45245 (exp2_test): Likewise.
45246 (expm1_test): Likewise.
45247 (lgamma_test): Likewise.
45248 (log_test): Likewise.
45249 (log10_test): Likewise.
45250 (log1p_test): Likewise.
45251 (log2_test): Likewise.
45252 (pow_test): Do not allow some spurious overflow exceptions.
45253 (sqrt_test): Add more tests.
45254 (tgamma_test): Likewise.
45255 (y0_test): Likewise.
45256 (y1_test): Likewise.
45257 (yn_test): Likewise.
45259 2012-03-27 Anton Blanchard <anton@samba.org>
45261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45267 2012-03-27 David S. Miller <davem@davemloft.net>
45269 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45271 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45272 have-as-vis3 check.
45274 2012-03-27 Andreas Jaeger <aj@suse.de>
45276 * sysdeps/x86_64/elf/configure.in: Moved to ...
45277 * sysdeps/x86_64/configure.in: ... here.
45278 * sysdeps/x86_64/elf/start.S: Moved to ...
45279 * sysdeps/x86_64/start.S: ... here.
45280 * sysdeps/x86_64/elf/configure: Delete.
45282 * sysdeps/x86_64/configure.in: Merge contents from
45283 sysdeps/i386/configure.in (without i686 check).
45285 * sysdeps/i386/elf/Versions: Merge into ...
45286 * sysdeps/i386/Versions: ... this.
45287 * sysdeps/i386/elf/Versions: Delete file.
45288 * sysdeps/i386/elf/start.S: Moved to ...
45289 * sysdeps/i386/start.S: ...here.
45290 * sysdeps/i386/elf/configure.in: Merge into...
45291 * sysdeps/i386/configure.in: ...here.
45292 * sysdeps/i386/elf/configure.in: Delete file.
45293 * sysdeps/i386/elf/configure: Delete file.
45295 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45296 * debug/backtracesyms.c: ... here.
45297 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45298 * debug/backtracesymsfd.c: ... here.
45299 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45300 * sysdeps/generic/ifunc-sel.h: ... here.
45302 * sysdeps/unix/i386/start.c: Delete file.
45303 * sysdeps/unix/sparc/start.c: Delete file.
45304 * sysdeps/unix/start.c: Delete file.
45306 * sysdeps/sh/elf/configure.in: Moved to ...
45307 * sysdeps/sh/configure.in: ... here.
45308 * sysdeps/sh/elf/start.S: Moved to ...
45309 * sysdeps/sh/start.S: ... here.
45310 * sysdeps/sh/elf/configure: Delete file.
45312 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45313 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45314 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45315 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45316 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45317 * sysdeps/powerpc/powerpc64/start.S: here.
45318 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45319 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45320 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45321 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45322 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45324 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45325 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45326 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45327 * sysdeps/powerpc/powerpc32/start.S: ... here.
45328 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45329 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45330 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45332 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45333 * sysdeps/powerpc/ifunc-sel.h: ... here.
45334 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45335 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45337 * sysdeps/sparc/elf/configure.in: Moved to ...
45338 * sysdeps/sparc/configure.in: ... here.
45339 * sysdeps/sparc/elf/configure: Delete file.
45340 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45341 * sysdeps/sparc/sparc32/start.S: ... here.
45342 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45343 * sysdeps/sparc/sparc64/start.S: ... here.
45344 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45345 * sysdeps/sparc/sparc32/Makefile: ... this.
45346 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45347 * sysdeps/sparc/sparc64/Makefile: ... this.
45349 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45350 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45351 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45352 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45353 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45354 * sysdeps/s390/s390-32/setjmp.S: ... here.
45355 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45356 * sysdeps/s390/s390-32/configure.in: ... here.
45357 * sysdeps/s390/s390-32/elf/configure: Delete file.
45358 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45359 * sysdeps/s390/s390-32/start.S: ... here.
45361 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45362 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45363 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45364 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45365 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45366 * sysdeps/s390/s390-64/setjmp.S: ... here.
45367 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45368 * sysdeps/s390/s390-64/configure.in: ... here
45369 * sysdeps/s390/s390-64/elf/configure: Delete file.
45370 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45371 * sysdeps/s390/s390-64/start.S: ... here.
45372 * sysdeps/s390/s390-64/elf/configure: Delete.
45374 * configure.in: Remove support for elf directories in sysdeps.
45376 * configure: Regenerated.
45377 * sysdeps/i386/configure: Regenerated.
45378 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45379 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45380 * sysdeps/s390/s390-32/configure: Regenerated.
45381 * sysdeps/s390/s390-64/configure: Regenerated.
45382 * sysdeps/sh/configure: Regenerated.
45383 * sysdeps/sparc/configure: Regenerated.
45384 * sysdeps/x86_64/configure: Regenerated.
45386 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45390 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45391 denormal result into account.
45393 2012-03-25 Roland McGrath <roland@hack.frob.com>
45395 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45396 Reported by Allan McRae <allan@archlinux.org>.
45398 2012-03-23 Jeff Law <law@redhat.com>
45400 * nss/getnssent.c (__nss_getent): Fix typo.
45402 2012-03-23 David S. Miller <davem@davemloft.net>
45404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45406 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45408 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45409 to pad to uint64_t for each field.
45410 (dl_tls_index): Replace unsigned long with uint64_t.
45412 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45413 Paul Pluzhnikov <ppluzhnikov@google.com>
45416 * grp/Makefile (otherlibs): Don't set it.
45417 * inet/Makefile (otherlibs): Likewise.
45418 * login/Makefile (otherlibs): Likewise.
45419 * nscd/Makefile (otherlibs): Likewise.
45420 * posix/Makefile (otherlibs): Likewise.
45421 * pwd/Makefile (otherlibs): Likewise.
45422 * rt/Makefile (otherlibs): Likewise.
45423 * sunrpc/Makefile (otherlibs): Likewise.
45424 * nss/Makefile (otherlibs): Likewise.
45425 Add libnss_files to routines and static-only-routines.
45426 ($(objpfx)getent): Remove rule.
45427 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45428 static-only-routines.
45430 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45433 * math/s_cexp.c: Include <float.h>.
45434 (__cexp): Handle exp result overflowing not necessarily
45435 overflowing both real and imaginary parts of result.
45436 * math/s_cexpf.c: Likewise.
45437 * math/s_cexpl.c: Likewise.
45438 * math/libm-test.inc (cexp_test): Add more tests.
45439 * sysdeps/i386/fpu/libm-test-ulps: Update.
45440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45442 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45444 * include/link.h (ELFW): New macro.
45445 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45446 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45448 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45450 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45453 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45455 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45457 (struct La_x32_retval): Likewise.
45459 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45461 * sysdeps/x86_64/preconfigure.in: New file.
45462 * sysdeps/x86_64/preconfigure: New generated file.
45464 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45467 * math/e_exp2l.c: Include <float.h>.
45468 (__ieee754_exp2l): Handle overflow and underflow cases
45469 separately. Only pass fractional part of argument to
45471 * math/libm-test.inc (exp2_test): Add more tests.
45473 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45474 negating x to take absolute value.
45475 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45477 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45478 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45480 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45481 computing low part if x was negated.
45482 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45484 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45486 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45487 la_x32_gnu_pltexit.
45488 (pltexit): Cast int_retval to ptrdiff_t.
45489 * elf/tst-auditmod3b.c: Likewise.
45490 * elf/tst-auditmod4b.c: Likewise.
45491 * elf/tst-auditmod5b.c: Likewise.
45492 * elf/tst-auditmod6b.c: Likewise.
45493 * elf/tst-auditmod6c.c: Likewise.
45494 * elf/tst-auditmod7b.c: Likewise.
45496 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45497 and x32_gnu_pltexit.
45499 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45500 __ELF_NATIVE_CLASS.
45501 (La_x32_regs): New macro.
45502 (La_x32_retval): Likewise.
45503 (la_x32_gnu_pltenter): New function prototype.
45504 (la_x32_gnu_pltexit): Likewise.
45506 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45508 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45513 * configure.in (libc_cv_cc_nofma): Check for option to disable
45514 generation of FMA instructions.
45515 * configure: Regenerate.
45516 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45517 * sysdeps/ieee754/dbl-64/Makefile: New file.
45518 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45519 Remove brandred-fma4.
45520 (CFLAGS-brandred-fma4.c): Remove.
45521 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45524 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45527 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45529 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45530 LLONG_MAX != LONG_MAX.
45531 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45532 (_fitoa_word): Likewise.
45533 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45534 LLONG_MAX != LONG_MAX.
45535 * stdio-common/_itowa.h: Include <_itoa.h>.
45536 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45537 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45538 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45539 only if not defined.
45540 (_ITOA_WORD_TYPE): Likewise.
45541 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45542 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45544 2012-03-21 David S. Miller <davem@davemloft.net>
45546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45548 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45550 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45551 of x86_64 when setting libc_cv_slibdir, libdir and
45553 * sysdeps/unix/sysv/linux/configure: Regenerated.
45555 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45557 * manual/lang.texi (Old Varargs): Remove section.
45558 (How Variadic): Update menu.
45559 (va_start): Do not mention varargs.h.
45561 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45562 Joseph Myers <joseph@codesourcery.com>
45564 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45566 * configure: Regenerated.
45568 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45570 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45571 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45574 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45577 * Makefile (files-for-dist): Remove NOTES.
45578 (NOTES): Remove rule.
45579 * README: Don't refer to NOTES.
45580 * manual/creature.texi: Don't include macros.texi.
45581 * manual/intro.texi (creature.texi): Remove comment referring to
45584 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45585 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45586 * configure: Regenerated.
45587 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45588 LIBC_TRY_CC_OPTION.
45589 (libc_cv_as_i686): Likewise.
45590 (libc_cv_cc_avx): Likewise.
45591 (libc_cv_cc_sse2avx): Likewise.
45592 (libc_cv_cc_fma4): Likewise.
45593 (libc_cv_cc_novzeroupper): Likewise.
45594 * sysdeps/i386/configure: Regenerated.
45597 * sysdeps/i386/fpu/s_cexp.S: Remove.
45598 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45599 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45600 * math/libm-test.inc (cexp_test): Add more tests.
45601 * sysdeps/i386/fpu/libm-test-ulps: Update.
45602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45604 2012-03-21 Allan McRae <allan@archlinux.org>
45606 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45608 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45611 * math/w_exp2.c: Do not include <float.h>.
45612 (o_threshold, u_threshold): Remove.
45613 (__exp2): Calculate result before checking finiteness and calling
45615 * math/w_exp2f.c: Likewise.
45616 * math/w_exp2l.c: Likewise.
45617 * math/libm-test.inc (exp2_test): Require overflow exception for
45621 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45622 range of signed 64-bit integers before using fistpll. Remove
45623 checks for whether integers fit in mantissa bits.
45624 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45625 the range of signed 32-bit integers before using fistpl. Remove
45626 checks for whether integers fit in mantissa bits.
45627 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45628 (__ieee754_powl): Test for y outside the range of signed 64-bit
45629 integers before using fistpll. Reduce 64-bit values to 63-bit
45631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45632 divide-by-zero is raised for zero to large negative powers.
45633 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45634 (__ieee754_powl): Test for y outside the range of signed 64-bit
45635 integers before using fistpll. Reduce 64-bit values to 63-bit
45637 * math/libm-test.inc (pow_test): Add more tests.
45639 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45641 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45642 <stdio-common/_itoa.h>.
45643 * debug/segfault.c: Likewise.
45644 * elf/dl-cache.c: Likewise.
45645 * elf/dl-minimal.c: Likewise.
45646 * elf/dl-misc.c: Likewise.
45647 * elf/dl-sysdep.c: Likewise.
45648 * elf/dl-version.c: Likewise.
45649 * elf/rtld.c: Likewise.
45650 * hurd/hurdsock.c: Likewise.
45651 * hurd/lookup-retry.c: Likewise.
45652 * malloc/malloc.c: Likewise.
45653 * malloc/mtrace.c: Likewise.
45654 * nscd/nscd_getgr_r.c: Likewise.
45655 * nscd/nscd_getpw_r.c: Likewise.
45656 * nscd/nscd_getserv_r.c: Likewise.
45657 * posix/getopt_init.c: Likewise.
45658 * posix/wordexp.c: Likewise.
45659 * stdio-common/_itoa.c: Likewise.
45660 * stdio-common/printf_fphex.c: Likewise.
45661 * stdio-common/vfprintf.c: Likewise.
45662 * string/_strerror.c: Likewise.
45663 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45664 * sysdeps/i386/i686/hp-timing.h: Likewise.
45665 * sysdeps/mach/_strerror.c: Likewise.
45666 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45667 * sysdeps/mach/hurd/sethostid.c: Likewise.
45668 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45669 * sysdeps/mach/xpg-strerror.c: Likewise.
45670 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45672 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45673 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45674 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45675 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45676 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45677 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45678 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45679 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45680 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45681 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45682 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45683 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45684 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45685 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45686 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45687 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45688 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45689 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45690 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45692 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45694 * stdio-common/_itoa.h: Moved to ...
45695 * sysdeps/generic/_itoa.h: Here.
45697 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45699 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45700 instead of "_itoa.h" and "_itowa.h".
45701 * stdio-common/vfprintf.: Likewise.
45703 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45705 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45707 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45708 (__signbit): Likwise.
45709 (llrintf): Likwise.
45712 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45714 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45717 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45719 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45720 OVERFLOW_EXCEPTION_OK.
45721 * math/libm-test.inc ("Philosophy"): Update comment about
45723 (OVERFLOW_EXCEPTION): Define.
45724 (OVERFLOW_EXCEPTION_OK): Likewise.
45725 (INVALID_EXCEPTION_OK): Renumber.
45726 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45727 (IGNORE_ZERO_INF_SIGN): Likewise.
45728 (test_exceptions): Handle FE_OVERFLOW.
45729 (exp10_test): Expect overflow exceptions.
45730 (exp2_test): Likewise.
45731 (expm1_test): Likewise.
45732 (nextafter_test): Likewise.
45733 (pow_test): Likewise.
45734 (scalbn_test): Likewise.
45735 (scalbln_test): Likewise.
45737 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45739 * sysdeps/x86_64/bits/atomic.h
45740 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45742 (atomic_exchange_acq): Likewise.
45743 (__arch_exchange_and_add_body): Likewise.
45744 (__arch_add_body): Likewise.
45745 (atomic_add_negative): Likewise.
45746 (atomic_add_zero): Likewise.
45748 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45750 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45751 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45755 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45756 Check __x86_64__ instead of __WORDSIZE.
45758 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45760 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45762 2012-03-19 David S. Miller <davem@davemloft.net>
45764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45766 * sysdeps/sparc/fpu/fenv_private.h: New file.
45767 * sysdeps/sparc/fpu/math_private.h: Use it.
45768 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45770 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45771 (libc_feholdexcept_setroundl): Remove.
45772 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45774 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45775 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45777 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45779 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45780 int64_t instead of long int.
45781 (INSERT_WORDS64): Likwise.
45783 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45785 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45786 _Unwind_GetCFA return to _Unwind_Ptr first.
45788 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45791 * math/s_clog.c: Include <float.h>.
45792 (__clog): Scale large or subnormal inputs.
45793 * math/s_clogf.c: Likewise.
45794 * math/s_clogl.c: Likewise.
45795 * math/s_clog10.c: Include <float.h>.
45796 (M_LOG10_2): Define.
45797 (__clog10): Scale large or subnormal inputs.
45798 * math/s_clog10f.c: Likewise.
45799 * math/s_clog10l.c: Likewise.
45800 * math/libm-test.inc (clog_test): Add more tests.
45801 (clog10_test): Likewise.
45802 * sysdeps/i386/fpu/libm-test-ulps: Update.
45803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45806 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45808 * math/libm-test.inc (atan2_test): Add another test.
45810 * Makerules (common-objdir-compile): Remove.
45811 * sysdeps/unix/Makefile (config-generated): Do not add
45812 $(unix-generated) to variable.
45813 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45814 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45816 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45818 [generic bits/local_lim.h] (before-compile): Do not append to
45820 [generic bits/local_lim.h] (common-generated): Likewise.
45821 [generic sys/param.h] (before-compile): Do not append to variable.
45822 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45823 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45824 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45825 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45827 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45828 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45829 [generic sys/param.h] ($(addprefix
45830 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45831 [generic sys/param.h] (common-generated): Do not append to
45833 [generic sys/param.h] (sysdep_headers): Likewise.
45834 [generic bits/errno.h] (before-compile): Do not append to
45836 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45838 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45839 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45840 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45841 [generic bits/errno.h] (common-generated): Do not append to
45843 [generic bits/ioctls.h] (before-compile): Do not append to
45845 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45847 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45848 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45849 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45851 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45852 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45853 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45854 [generic bits/ioctls.h] (common-generated): Do not append to
45856 [generic sys/syscall.h] (syscall.h): Remove variable.
45857 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45859 [generic sys/syscall.h] (before-compile): Do not append to
45861 [generic sys/syscall.h] (common-generated): Likewise.
45862 * sysdeps/unix/errnos-tmpl.c: Remove file.
45863 * sysdeps/unix/errnos.awk: Likewise.
45864 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45865 * sysdeps/unix/ioctls.awk: Likewise.
45866 * sysdeps/unix/mk-local_lim.c: Likewise.
45867 * sysdeps/unix/snarf-ioctls: Likewise.
45869 2012-03-19 Richard Henderson <rth@twiddle.net>
45871 * sysdeps/i386/fpu/fenv_private.h: New file.
45872 * sysdeps/i386/fpu/math_private.h: Use it.
45873 (math_opt_barrier, math_force_eval): Remove.
45874 (libc_feholdexcept_setround_53bit): Remove.
45875 (libc_feupdateenv_53bit): Remove.
45876 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45877 (math_opt_barrier, math_force_eval): Remove.
45878 (libc_feholdexcept): Remove.
45879 (libc_feholdexcept_setround): Remove.
45880 (libc_fetestexcept, libc_fesetenv): Remove.
45881 (libc_feupdateenv_test): Remove.
45882 (libc_feupdateenv, libc_feholdsetround): Remove.
45883 (libc_feresetround): Remove.
45885 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45886 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45888 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45889 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45890 (libc_feupdateenv_testl): New.
45891 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45892 (libc_feupdateenv_testf): New.
45893 (libc_feupdateenv): Use libc_feupdateenv_test.
45894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45897 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45898 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45899 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45900 (libc_feresetround_noex): New.
45901 (libc_feresetround_noexf): New.
45902 (libc_feresetround_noexl): New.
45903 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45904 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45905 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45906 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45911 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45912 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45913 SET_RESTORE_ROUND_NOEX.
45914 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45915 SET_RESTORE_ROUND_NOEXF.
45916 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45917 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45918 (libc_feholdsetroundf): New.
45919 (libc_feresetround, libc_feresetroundf): New.
45921 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45922 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45923 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45925 * sysdeps/generic/math_private.h: Include <fenv.h>.
45926 (default_libc_feholdexcept): New.
45927 (default_libc_feholdexcept_setround): New.
45928 (default_libc_fesetenv, default_libc_feupdateenv): New.
45929 (libc_feholdexcept): Only define if undefined.
45930 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45931 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45932 (libc_feholdexcept_setroundl): Likewise.
45933 (libc_feholdexcept_setround_53bit): Likewise.
45934 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45935 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45936 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45937 (libc_feupdateenv_53bit): Likewise.
45938 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45939 (libc_feholdexcept): Convert from macro to inline function.
45940 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45941 (libc_fesetenv, libc_feupdateenv): Likewise.
45943 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45944 not previously defined.
45945 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45946 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45947 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45948 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45949 * sysdeps/ieee754/flt-32/math_private.h: New file.
45950 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45951 math_private.h below SET_FLOAT_WORD.
45952 (__isnan, __isinf_ns, __finite): Remove.
45953 (__isnanf, __isinf_nsf, __finitef): Remove.
45955 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45959 2012-03-17 David S. Miller <davem@davemloft.net>
45962 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45965 2012-03-16 David S. Miller <davem@davemloft.net>
45967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45971 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45973 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45974 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45975 sysdep_routines when subdir is sysvipc.
45976 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45977 __getshmlba helper.
45979 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45981 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45983 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45986 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45988 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45989 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45990 (__lround): Renamed to ...
45991 (__llround): This. Replace long int with long long int.
45992 Define lround functions as aliases of llround functions.
45993 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45995 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45997 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45998 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45999 adresses to uintptr_t. Replace "long int" and "unsigned long
46000 int" with "greg_t" on va_arg.
46002 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46004 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46005 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46007 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46008 Move e_machine check before EI_CLASS check. Handle x32
46009 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46010 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46011 SKIP_EM_IA_64 and include
46012 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46014 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46015 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46016 (add_system_dir): New macro.
46018 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46019 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46021 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46032 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46034 * math/w_j0f.c (j0f): Likewise.
46036 * math/w_j0l.c (__j0l): Likewise.
46038 * math/w_j1.c (j1): Likewise.
46040 * math/w_j1f.c (j1f): Likewise.
46042 * math/w_j1l.c (__j1l): Likewise.
46044 * math/w_jn.c (jn): Likewise.
46046 * math/w_jnf.c (jnf): Likewise.
46048 * math/w_jnl.c (__jnl): Likewise.
46050 * math/libm-test.inc (j0_test): Add more tests.
46051 (j1_test): Likewise.
46052 (jn_test): Likewise. Add trailing semicolon to existing test.
46053 (y0_test): Likewise.
46054 (y1_test): Likewise.
46055 * sysdeps/i386/fpu/libm-test-ulps: Update.
46056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46060 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46061 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46062 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46064 (__tanl): Set errno for infinite argument.
46065 * sysdeps/i386/fpu/mptan.c: Remove.
46066 * sysdeps/i386/fpu/s_tan.S: Likewise.
46067 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46068 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46069 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46070 * math/libm-test.inc (tan_test): Add more tests and enable more
46071 tests for double and long double.
46072 * sysdeps/i386/fpu/libm-test-ulps: Update.
46073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46075 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46077 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46078 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46080 2012-03-16 Roland McGrath <roland@hack.frob.com>
46082 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46083 * configure.in: Use it for both main tree and add-ons.
46084 * configure: Regenerated.
46086 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46088 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46090 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46092 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46096 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46097 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46102 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46104 != 0 for prec == 2.
46105 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46106 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46107 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46108 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46109 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46110 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46111 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46112 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46113 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46114 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46115 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46116 * math/libm-test.inc (cos_test): Add more tests and enable more
46117 tests for long double.
46118 (sin_test): Likewise.
46119 (sincos_test): Likewise.
46120 * sysdeps/i386/fpu/libm-test-ulps: Update.
46121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46123 2012-03-16 David S. Miller <davem@davemloft.net>
46125 * sysdeps/sparc/fpu/math_private.h: New file.
46127 2012-03-15 David S. Miller <davem@davemloft.net>
46129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46143 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46144 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46146 * sysdeps/sparc/sparc-ifunc.h: New file.
46147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46192 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46194 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46198 2012-03-15 Andreas Jaeger <aj@suse.de>
46201 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46202 ieee754/flt-32 implementation for sin, cos and sincos.
46203 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46204 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46205 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46206 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46207 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46208 ieee754/flt-32 implementation for tan.
46210 * math/libm-test.inc (cos_test): Enable some large input tests for
46212 (sin_test): Likewise.
46213 (sincos_test): Likewise.
46214 (tan_test): Add tests for large input.
46216 * sysdeps/i386/fpu/libm-test-ulps: Update.
46218 2012-03-15 Andreas Jaeger <aj@suse.de>
46221 * math/libm-test.inc (cos_test): Add more test cases.
46222 (sin_test): Likewise.
46223 (sincos_test): Likewise.
46225 2012-03-15 Andreas Jaeger <aj@suse.de>
46228 * math/libm-test.inc (cos_test): Add a test case for large input
46230 (sin_test): Likewise.
46231 (sincos_test): Likewise.
46233 2012-03-15 Andreas Jaeger <aj@suse.de>
46234 Joseph Myers <joseph@codesourcery.com>
46237 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46238 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46239 * sysdeps/i386/fpu/branred.c: Likewise.
46240 * sysdeps/i386/fpu/dosincos.c: Likewise.
46241 * sysdeps/i386/fpu/mpa.c: Likewise.
46242 * sysdeps/i386/fpu/s_cos.S: Likewise.
46243 * sysdeps/i386/fpu/s_sin.S: Likewise.
46244 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46245 * sysdeps/i386/fpu/sincos32.c: Likewise.
46247 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46249 (libc_feupdateenv_53bit): Define.
46250 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46252 (libc_feupdateenv_53bit): Define.
46254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46255 53 bit (without extend i386 double precision).
46257 * math/libm-test.inc (sincos_test): Add tests for large input.
46261 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46263 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46267 2012-03-15 David S. Miller <davem@davemloft.net>
46269 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46270 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46271 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46272 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46296 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46297 fmin/fmax sysdep routines.
46298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46300 2012-03-14 David S. Miller <davem@davemloft.net>
46302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46374 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46379 * sysdeps/sparc/configure.in: New file.
46380 * sysdeps/sparc/configure: Generate.
46381 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46382 * configure: Regenerate.
46383 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46384 * config.make.in (have-as-vis3): New.
46385 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46386 available use -Av9d instead of -Av9a.
46387 * sysdeps/sparc/sparc64/Makefile: Likewise.
46388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46403 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46404 fzeros/fnegs to load 0x80000000 into a float register instead of
46406 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46408 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46412 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46413 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46414 ($(inst_includedir)/bits/syscall.h): Remove rule.
46415 ($(objpfx)bits/syscall.d): Include instead of
46416 $(objpfx)syscall-list.d.
46417 (generated): Change syscall-list.h and syscall-list.d to
46418 bits/syscall.h and bits/syscall.d.
46420 2012-03-14 Roland McGrath <roland@hack.frob.com>
46423 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46425 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46428 * math/s_csqrt.c: Include <float.h>.
46429 (__csqrt): Scale large or subnormal inputs.
46430 * math/s_csqrtf.c: Likewise.
46431 * math/s_csqrtl.c: Likewise.
46432 * math/libm-test.inc (csqrt_test): Add more tests.
46433 * sysdeps/i386/fpu/libm-test-ulps: Update.
46434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46437 * math/libm-test.inc (hypot_test): Add more tests.
46439 2012-03-13 David S. Miller <davem@davemloft.net>
46442 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46443 double-precision for the calculation instead of scaling.
46445 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46447 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46448 manipulate bits before adding and subtracting TWO52[sx].
46449 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46452 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46454 2012-03-13 David S. Miller <davem@davemloft.net>
46456 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46457 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46459 rtld-global-offsets.h
46460 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46462 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46465 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46467 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46468 'err' in the ifdef scope in which it is actually used.
46470 * nss/nss_db/db-init.c: Include string.h
46472 2012-03-12 David S. Miller <davem@davemloft.net>
46474 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46475 masking out of the most significant byte of random value used.
46476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46477 Fix coding style in previous change.
46479 * sysdeps/unix/sysv/linux/kernel-features.h
46480 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46481 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46483 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46486 2012-03-11 David S. Miller <davem@davemloft.net>
46488 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46489 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46490 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46491 for 'resultvar' otherwise things get truncated on 64-bit.
46493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46494 Fix masking out of the most significant byte of random value used.
46496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46498 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46502 2012-03-09 David S. Miller <davem@davemloft.net>
46504 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46505 variables with appropriate CPP guards.
46506 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46507 from the frame pointer, not the stack pointer. Correct layout
46508 comments. Fix test on resulting framesize and the management of
46509 the outregs buffer for pltexit. Preserve floating point return
46510 values across _dl_call_pltexit call.
46511 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46512 framesize and the management of the outregs buffer for pltexit.
46513 Preserve floating point return values across _dl_call_pltexit
46515 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46516 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46517 (la_sparc64_gnu_pltexit): New functions.
46518 (print_exit): Fix format string for return register value.
46520 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46522 * sunrpc/Makefile (others): Add rpcgen.
46523 ($(objpfx)rpcgen): Remove special build rule and dependency on
46525 * sunrpc/rpcgen.c: New file.
46527 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46530 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46531 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46532 * sysdeps/i386/crti.S: Likewise.
46533 * sysdeps/i386/crtn.S: Likewise.
46534 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46535 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46536 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46537 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46538 * sysdeps/sh/crti.S: Likewise.
46539 * sysdeps/sh/crtn.S: Likewise.
46540 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46543 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46545 * locale/programs/locfile-kw.gperf: Likewise.
46546 * locale/programs/charmap-kw.h: Regenerated.
46547 * locale/programs/locfile-kw.h: Likewise.
46550 * intl/plural.y: Replace FSF snail mail address with URL.
46551 * intl/plural.c: Regenerated.
46553 2012-03-09 Richard Henderson <rth@twiddle.net>
46555 * include/math_private.h: Remove file.
46556 * math/math_private.h: Move file ...
46557 * sysdeps/generic/math_private.h: ... here.
46559 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46560 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46561 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46563 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46564 and <math_private.h>.
46565 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46566 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46567 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46568 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46569 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46570 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46571 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46573 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46574 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46577 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46579 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46580 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46583 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46584 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46586 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46587 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46590 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46591 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46597 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46598 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46599 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46601 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46605 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46608 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46609 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46611 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46612 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46613 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46614 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46615 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46616 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46617 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46619 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46622 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46623 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46624 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46626 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46628 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46629 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46633 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46645 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46647 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46648 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46652 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46653 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46654 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46655 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46656 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46658 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46659 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46660 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46661 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46662 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46665 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46666 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46667 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46668 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46670 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46671 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46672 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46677 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46679 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46684 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46688 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46689 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46690 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46692 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46693 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46694 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46695 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46696 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46698 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46699 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46700 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46703 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46706 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46707 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46708 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46709 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46710 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46711 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46712 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46713 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46714 * sysdeps/ieee754/k_standard.c: Likewise.
46715 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46716 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46718 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46719 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46720 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46721 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46727 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46728 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46729 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46730 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46731 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46732 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46733 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46734 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46735 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46736 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46737 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46738 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46739 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46740 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46741 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46742 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46743 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46745 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46749 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46753 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46754 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46755 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46759 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46760 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46761 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46763 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46766 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46771 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46772 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46773 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46774 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46792 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46798 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46801 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46807 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46812 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46813 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46814 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46819 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46822 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46823 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46827 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46829 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46831 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46840 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46841 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46842 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46843 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46844 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46845 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46846 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46847 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46848 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46854 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46857 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46858 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46859 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46864 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46865 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46868 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46869 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46870 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46871 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46872 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46873 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46874 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46875 * sysdeps/ieee754/s_lib_version.c: Likewise.
46876 * sysdeps/ieee754/s_matherr.c: Likewise.
46877 * sysdeps/ieee754/s_signgam.c: Likewise.
46878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46881 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46882 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46883 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46884 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46885 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46886 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46887 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46888 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46889 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46890 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46892 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46893 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46895 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46900 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46902 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46903 * sunrpc/rpc_main.c: Likewise.
46904 * sunrpc/rpc_svcout.c: Likewise.
46906 2012-03-09 David S. Miller <davem@davemloft.net>
46908 * include/math_private.h: New file.
46910 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46912 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46913 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46914 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46915 from <bits/socket_type.h>.
46916 (enum __socket_type): Don't define here.
46917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46919 bits/socket_type.h.
46922 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46923 checking __USE_GNU.
46925 * Makerules ($(inst_includedir)/%.h): New rule.
46926 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46927 (install-others): Remove variable setting.
46928 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46930 2012-03-08 Richard Henderson <rth@twiddle.net>
46932 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46933 from macro to inline function; merge with the
46934 !__LIBC_INTERNAL_MATH_INLINES version.
46935 (__ieee754_sqrtf): Likewise.
46937 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46938 to inline function.
46939 (__rintf, __floor, __floorf): Likewise.
46941 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46942 macro to inline function.
46943 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46946 not <math/math_private.h>.
46948 2012-03-08 David S. Miller <davem@davemloft.net>
46950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46952 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46954 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46956 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46958 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46959 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46961 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46963 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46964 be defined individually, they must be defined as a block. Define
46965 S for printing a string instead of hidint the different by using a
46966 macro for adding the 'l'.
46967 * stdio-common/tst-fphex-wide.c: Adjust.
46969 2012-03-07 Marek Polacek <polacek@redhat.com>
46971 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46973 2012-03-08 Marek Polacek <polacek@redhat.com>
46976 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46977 * stdio-common/tst-fphex.c: Define a few macros to make the
46978 test reusable. Use them.
46979 * stdio-common/tst-fphex-wide.c: New file.
46981 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46984 * manual/macros.texi (gnusystems): New macro.
46985 (nongnusystems): Likewise.
46986 (gnulinuxhurdsystems): Likewise.
46987 (gnuhurdsystems): Likewise..
46988 (gnulinuxsystems): Likewise.
46989 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46990 variants of the GNU system, not "GNU system".
46991 * manual/conf.texi: Likewise.
46992 * manual/errno.texi: Likewise. Update example of errno macro
46994 * manual/filesys.texi: Likewise.
46995 (getumask): Document as specific to GNU/Hurd.
46996 * manual/install.texi: Likewise. Reword some references to
46998 * manual/intro.texi: Likewise.
46999 * manual/io.texi: Likewise.
47000 (File Name Portability): Detail which constraints are inapplicable
47001 to all GNU systems and which are only inapplicable to GNU/Hurd.
47002 * manual/job.texi: Likewise.
47003 * manual/llio.texi: Likewise.
47004 (O_NOCTTY): Document as present on GNU/Linux.
47005 * manual/maint.texi: Likewise.
47006 * manual/memory.texi: Likewise.
47007 * manual/pattern.texi: Likewise.
47008 * manual/pipe.texi: Likewise.
47009 * manual/process.texi: Likewise.
47010 * manual/resource.texi: Likewise.
47011 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47013 * manual/setjmp.texi: Likewise.
47014 * manual/signal.texi: Likewise.
47015 * manual/startup.texi: Likewise.
47016 * manual/stdio.texi: Likewise.
47017 * manual/terminal.texi: Likewise.
47018 (ONLCR): Document as POSIX.
47019 (OXTABS): Document availability on GNU/Linux as XTABS.
47020 (ONOEOT): Document availability separately from other bits.
47021 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47022 * manual/time.texi: Likewise.
47023 * manual/users.texi: Likewise.
47024 * INSTALL: Regenerated.
47025 * sysdeps/gnu/errlist.c: Regenerated.
47027 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47028 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47029 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47031 * configure: Regenerated.
47033 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47035 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47036 default includes instead of AC_HEADER_CHECK.
47037 * sysdeps/i386/configure: Regenerated.
47040 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47041 * math/s_cacoshf.c (__cacoshf): Likewise.
47042 * math/s_cacoshl.c (__cacoshl): Likewise.
47043 * math/s_casinh.c (__casinh): Set signs of result from argument.
47044 * math/s_casinhf.c (__casinhf): Likewise.
47045 * math/s_casinhl.c (__casinhl): Likewise.
47046 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47047 (casinh_test): Add more tests.
47048 * sysdeps/i386/fpu/libm-test-ulps: Update.
47049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47051 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47053 * po/zh_TW.po: Update from translation team.
47055 * login/Makefile (distribute): Remove variable.
47056 * catgets/Makefile: Likewise.
47057 * mach/Makefile: Likewise.
47058 * malloc/Makefile: Likewise.
47059 * misc/Makefile: Likewise.
47060 * iconv/Makefile: Likewise.
47061 * nscd/Makefile: Likewise.
47062 * hurd/Makefile: Likewise.
47063 * manual/Makefile: Likewise.
47064 * locale/Makefile: Likewise.
47065 * intl/Makefile: Likewise.
47066 * conform/Makefile: Likewise.
47067 * nss/Makefile: Likewise.
47068 * time/Makefile: Likewise.
47069 * soft-fp/Makefile: Likewise.
47070 * dirent/Makefile: Likewise.
47071 * gmon/Makefile: Likewise.
47072 * po/Makefile: Likewise.
47073 * rt/Makefile: Likewise.
47074 * socket/Makefile: Likewise.
47075 * math/Makefile: Likewise.
47076 * signal/Makefile: Likewise.
47077 * debug/Makefile: Likewise.
47078 * elf/Makefile: Likewise.
47079 * timezone/Makefile: Likewise.
47080 * stdlib/Makefile: Likewise.
47081 * iconvdata/Makefile: Likewise.
47082 * sunrpc/Makefile: Likewise.
47083 * io/Makefile: Likewise.
47084 * argp/Makefile: Likewise.
47085 * inet/Makefile: Likewise.
47086 * hesiod/Makefile: Likewise.
47087 * grp/Makefile: Likewise.
47088 * csu/Makefile: Likewise.
47089 * wctype/Makefile: Likewise.
47090 * crypt/Makefile: Likewise.
47091 * libio/Makefile: Likewise.
47092 * string/Makefile: Likewise.
47093 * nis/Makefile: Likewise.
47094 * resolv/Makefile: Likewise.
47095 * stdio-common/Makefile: Likewise.
47096 * wcsmbs/Makefile: Likewise.
47097 * dlfcn/Makefile: Likewise.
47098 * posix/Makefile: Likewise.
47101 * timezone/Makefile: Don't install timezone files, just the programs
47104 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47106 * nss/databases.def: Add missing gshadow entry.
47108 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47110 2012-03-06 Marek Polacek <polacek@redhat.com>
47113 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47114 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47115 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47116 * stdio-common/tst-long-dbl-fphex.c: New file.
47118 2012-03-06 David S. Miller <davem@davemloft.net>
47120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47121 (set_obp_int): New function.
47122 (get_obp_int): New function.
47123 (__get_clockfreq_via_dev_openprom): Likewise.
47124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47125 Avoid unused variable warnings on 'val' and use builtin_expect.
47126 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47128 (INLINE_CLONE_SYSCALL): Likewise.
47130 2012-03-05 David S. Miller <davem@davemloft.net>
47132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47134 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47138 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47139 only for |x| >= 40.
47140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47142 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47145 Replace gettimeofday with __vdso_gettimeofday.
47147 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47148 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47149 __vdso_clock_gettime and __vdso_getcpu.
47151 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47152 time with __vdso_time.
47154 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47156 * manual/lang.texi (size_t): Note types to which size_t may be
47157 equivalent with the GNU C Library, but do not describe when
47158 differences between them are significant.
47160 2012-03-05 Andreas Jaeger <aj@suse.de>
47162 * sysdeps/i386/fpu/libm-test-ulps: Update.
47164 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47167 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47168 (__ieee754_pow): Save and restore rounding mode and use
47169 round-to-nearest for main computations.
47170 * math/libm-test.inc (pow_test_tonearest): New function.
47171 (pow_test_towardzero): Likewise.
47172 (pow_test_downward): Likewise.
47173 (pow_test_upward): Likewise.
47174 (main): Call the new functions.
47175 * sysdeps/i386/fpu/libm-test-ulps: Update.
47176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47179 * math/libm-test.inc (cosh_test_tonearest): New function.
47180 (cosh_test_towardzero): Likewise.
47181 (cosh_test_downward): Likewise.
47182 (cosh_test_upward): Likewise.
47183 (sinh_test_tonearest): Likewise.
47184 (sinh_test_towardzero): Likewise.
47185 (sinh_test_downward): Likewise.
47186 (sinh_test_upward): Likewise.
47187 (main): Call the new functions.
47188 * sysdeps/i386/fpu/libm-test-ulps: Update.
47189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47191 2012-03-05 Tom de Vries <tom@codesourcery.com>
47193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47194 default stack guard is set in last bytes.
47195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47197 2012-03-05 Kees Cook <keescook@chromium.org>
47199 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47202 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47203 possibly allocate from heap instead of stack.
47204 * stdio-common/bug-vfprintf-nargs.c: New file.
47205 * stdio-common/Makefile (tests): Add nargs overflow test.
47207 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47211 2012-03-03 Marek Polacek <polacek@redhat.com>
47213 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47214 * math/math_private.h: Likewise.
47215 * stdlib/tst-strtod.c: Likewise.
47216 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47217 * sysdeps/x86_64/bits/atomic.h: Likewise.
47219 2012-03-02 David S. Miller <davem@davemloft.net>
47221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47225 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47226 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47227 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47228 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47230 2012-03-02 Roland McGrath <roland@hack.frob.com>
47233 * manual/examples/README: New file, says the example source files
47234 can be used under GPL>=2.
47235 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47236 line containing just "*/".
47237 * manual/examples/add.c: Add copyright header (GPL>=2).
47238 * manual/examples/argp-ex1.c: Likewise.
47239 * manual/examples/argp-ex2.c: Likewise.
47240 * manual/examples/argp-ex3.c: Likewise.
47241 * manual/examples/argp-ex4.c: Likewise.
47242 * manual/examples/atexit.c: Likewise.
47243 * manual/examples/db.c: Likewise.
47244 * manual/examples/dir.c: Likewise.
47245 * manual/examples/dir2.c: Likewise.
47246 * manual/examples/execinfo.c: Likewise.
47247 * manual/examples/filecli.c: Likewise.
47248 * manual/examples/filesrv.c: Likewise.
47249 * manual/examples/fmtmsgexpl.c: Likewise.
47250 * manual/examples/genpass.c: Likewise.
47251 * manual/examples/inetcli.c: Likewise.
47252 * manual/examples/inetsrv.c: Likewise.
47253 * manual/examples/isockad.c: Likewise.
47254 * manual/examples/longopt.c: Likewise.
47255 * manual/examples/memopen.c: Likewise.
47256 * manual/examples/memstrm.c: Likewise.
47257 * manual/examples/mkfsock.c: Likewise.
47258 * manual/examples/mkisock.c: Likewise.
47259 * manual/examples/mygetpass.c: Likewise.
47260 * manual/examples/pipe.c: Likewise.
47261 * manual/examples/popen.c: Likewise.
47262 * manual/examples/rprintf.c: Likewise.
47263 * manual/examples/search.c: Likewise.
47264 * manual/examples/select.c: Likewise.
47265 * manual/examples/setjmp.c: Likewise.
47266 * manual/examples/sigh1.c: Likewise.
47267 * manual/examples/sigusr.c: Likewise.
47268 * manual/examples/stpcpy.c: Likewise.
47269 * manual/examples/strdupa.c: Likewise.
47270 * manual/examples/strftim.c: Likewise.
47271 * manual/examples/strncat.c: Likewise.
47272 * manual/examples/subopt.c: Likewise.
47273 * manual/examples/swapcontext.c: Likewise.
47274 * manual/examples/termios.c: Likewise.
47275 * manual/examples/testopt.c: Likewise.
47276 * manual/examples/testpass.c: Likewise.
47277 * manual/examples/timeval_subtract.c: Likewise.
47280 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47282 * manual/timeval_subtract.c.texi: ... here, new file.
47284 2012-03-02 David S. Miller <davem@davemloft.net>
47286 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47288 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47291 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47292 (__sin): Save and restore rounding mode and use round-to-nearest
47293 for all computations.
47294 (__cos): Save and restore rounding mode and use round-to-nearest
47295 for all computations.
47296 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47298 (tan): Save and restore rounding mode and use round-to-nearest for
47300 * math/libm-test.inc (cos_test_tonearest): New function.
47301 (cos_test_towardzero): Likewise.
47302 (cos_test_downward): Likewise.
47303 (cos_test_upward): Likewise.
47304 (sin_test_tonearest): Likewise.
47305 (sin_test_towardzero): Likewise.
47306 (sin_test_downward): Likewise.
47307 (sin_test_upward): Likewise.
47308 (tan_test_tonearest): Likewise.
47309 (tan_test_towardzero): Likewise.
47310 (tan_test_downward): Likewise.
47311 (tan_test_upward): Likewise.
47312 (main): Call the new functions.
47313 * sysdeps/i386/fpu/libm-test-ulps: Update.
47314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47317 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47318 small n, then large n, before computing and testing k+n.
47319 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47324 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47325 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47332 * math/libm-test.inc (scalbn_test): Add more tests.
47333 (scalbln_test): Likewise.
47335 * manual/filesys.texi (mode_t): Describe constraints on size and
47336 signedness, not exact equivalence to a particular type.
47338 (ino64_t): Likewise.
47340 (nlink_t): Likewise.
47341 (blkcnt_t): Likewise.
47342 (blkcnt64_t): Likewise.
47343 * manual/llio.texi (off_t): Likewise.
47346 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47347 (__ieee754_exp): Save and restore rounding mode and use
47348 round-to-nearest for all computations.
47349 * math/libm-test.inc (exp_test_tonearest): New function.
47350 (exp_test_towardzero): Likewise.
47351 (exp_test_downward): Likewise.
47352 (exp_test_upward): Likewise.
47353 (main): Call the new functions.
47354 * sysdeps/i386/fpu/libm-test-ulps: Update.
47355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47357 2012-03-01 Chris Demetriou <cgd@google.com>
47359 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47360 have predictable order.
47362 2012-03-01 David S. Miller <davem@davemloft.net>
47364 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47366 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47367 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47368 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47369 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47371 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47372 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47373 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47375 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47376 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47377 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47378 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47379 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47384 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47387 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47388 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47389 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47394 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47395 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47401 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47403 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47404 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47405 * sysdeps/sparc/elf/configure: Regenerated.
47407 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47409 * configure.in (AS, LD): Require binutils 2.20 or later.
47410 * configure: Regenerated.
47411 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47412 as required minimum version.
47413 * INSTALL: Regenerated.
47417 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47418 before squaring exponent.
47419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47420 bottom long double and 27 bits of top long double before squaring
47422 * math/libm-test.inc (erfc_test): Add more tests.
47423 * sysdeps/i386/fpu/libm-test-ulps: Update.
47424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47427 2012-03-01 Kai Tietz <ktietz@redhat.com>
47429 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47430 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47431 containing bit-fields.
47432 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47433 * soft-fp/single.h (_FP_UNION_S): Likewise.
47434 * soft-fp/double.h (_FP_UNION_D): Likewise.
47436 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47439 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47440 not include ../strcmp.S.
47441 [USE_AS_STRNCASECMP_L]: Likewise.
47442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47443 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47444 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47445 (__strncasecmp_l_ia32): Define as alias to
47446 __strncasecmp_l_nonascii.
47449 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47450 * sysdeps/i386/fpu/libm-test-ulps: Update.
47451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47453 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47456 2012-02-29 Jeff Law <law@redhat.com>
47458 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47459 out of bounds read.
47461 2012-02-29 Marek Polacek <polacek@redhat.com>
47464 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47465 * elf/Makefile: Add rules to run tst-unused-dep.out.
47467 2012-02-28 David S. Miller <davem@davemloft.net>
47469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47473 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47474 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47476 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47478 * math/libm-test.inc (llround_test): Move one test from
47479 lround_test. Use TEST_f_L in moved test.
47480 (lround_test): Move misplaced test to llround_test. Add testcase
47483 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47485 * sysdeps/x86_64/fpu/e_expf.S: New file.
47486 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47488 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47491 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47492 of remain_len that may cause incomplete multi-byte character and
47494 * posix/bug-regex33.c: New file.
47495 * posix/Makefile (tests): Add bug-regex33.
47497 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47499 * manual/macros.texi: New file.
47500 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47501 * manual/libc.texinfo: Include macros.texi.
47502 * manual/creatute.texi: Likewise.
47503 * manual/install.texi: Likewise.
47504 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47505 @glibcadj{} in references to the GNU C Library.
47506 * manual/charset.texi: Likewise.
47507 * manual/conf.texi: Likewise.
47508 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47509 when not using those macros.
47510 * manual/creature.texi: Likewise.
47511 * manual/crypt.texi: Likewise.
47512 * manual/errno.texi: Likewise.
47513 * manual/filesys.texi: Likewise.
47514 * manual/header.texi: Likewise.
47515 * manual/install.texi: Likewise.
47516 * manual/intro.texi: Likewise.
47517 * manual/io.texi: Likewise.
47518 * manual/job.texi: Likewise.
47519 * manual/lang.texi: Likewise.
47520 * manual/libc.texiinfo: Likewise.
47521 * manual/llio.texi: Likewise.
47522 * manual/locale.texi: Likewise.
47523 * manual/maint.texi: Likewise.
47524 * manual/math.texi: Likewise.
47525 * manual/memory.texi: Likewise.
47526 * manual/message.texi: Likewise.
47527 * manual/nss.texi: Likewise.
47528 * manual/pattern.texi: Likewise.
47529 * manual/process.texi: Likewise.
47530 * manual/resource.texi: Likewise.
47531 * manual/search.texi: Likewise.
47532 * manual/setjmp.texi: Likewise.
47533 * manual/signal.texi: Likewise.
47534 * manual/socket.texi: Likewise.
47535 * manual/startup.texi: Likewise.
47536 * manual/stdio.texi: Likewise.
47537 * manual/string.texi: Likewise.
47538 * manual/sysinfo.texi: Likewise.
47539 * manual/syslog.texi: Likewise.
47540 * manual/terminal.texi: Likewise.
47541 * manual/time.texi: Likewise.
47542 * manual/users.texi: Likewise.
47543 * INSTALL: Regenerated.
47544 * NOTES: Regenerated.
47545 * sysdeps/gnu/errlist.c: Regenerated.
47547 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47549 * include/dirent.h: Include <dirstream.h> before
47552 2012-02-28 David S. Miller <davem@davemloft.net>
47554 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47555 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47556 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47557 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47559 2012-02-27 David S. Miller <davem@davemloft.net>
47561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47563 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47564 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47567 frame pointer instead of stack pointer relative arg slot.
47568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47569 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47570 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47572 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47575 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47577 2012-02-27 David S. Miller <davem@davemloft.net>
47579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47585 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47586 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47588 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47590 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47591 later. Allow versions 5-9.
47592 * configure: Regenerated.
47593 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47594 required minimum version and 4.6 as recommended version. Do not
47595 mention bugs in GCC 2.7 and 2.8.
47596 * INSTALL: Regenerated.
47598 2012-02-27 David S. Miller <davem@davemloft.net>
47600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47604 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47605 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47606 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47607 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47610 manipulate bits before adding and subtracting TWO112[sx].
47611 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47613 2012-02-27 Roland McGrath <roland@hack.frob.com>
47616 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47617 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47618 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47619 being in POSIX, because they are in 1003.1-2008.
47621 * rt/tst-aio.c: Include <fcntl.h>.
47622 * rt/tst-aio7.c: Likewise.
47623 * rt/tst-aio64.c: Likewise.
47625 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47627 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47629 * manual/install.texi (--with-headers): Describe headers as
47630 interface headers, not private headers.
47631 (Specific advice for GNU/Linux systems): Describe use of headers
47632 from "make headers_install", not private headers from older
47634 * INSTALL: Regenerated.
47635 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47637 * sysdeps/unix/sysv/linux/configure: Regenerated.
47639 * manual/llio.texi (fclean): Remove documentation.
47641 * manual/Makefile (libc-texi-generated): New variable. Include
47643 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47644 $(libc-texi-generated), not duplicated list of files.
47645 (version.texi, stamp-version): New rules.
47646 (realclean): Remove $(libc-texi-generated), not individual files
47647 from that list. Do not remove dir-add.texinfo.
47648 * manual/libc.texinfo: Comment out uses of edition numbers and
47649 references to printed manual. Remove last-updated dates.
47650 (EDITION): Comment out.
47652 (VERSION, UPDATED): Remove.
47653 (version.texi): Include.
47655 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47657 * sysdeps/posix/spawni.c: Include <signal.h>.
47658 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47659 * sysdeps/pthread/aio_fsync.c: Likewise.
47661 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47663 * conform/Makefile (tests): Run only when not cross-compiling and
47664 when fast-check is not defined.
47666 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47667 * conform/data/limits.h-data: Fixes for POSIX2008.
47668 * conform/run-conformtest.sh: Run all tests.
47669 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47671 * include/bits/dlfcn.h: Likewise.
47672 * include/langinfo.h: Likewise.
47673 * include/monetary.h: Likewise.
47674 * include/sys/poll.h: Likewise.
47676 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47678 * posix/spawn.h: Define __need_sigset_t.
47679 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47680 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47681 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47682 to get sigevent_t only.
47683 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47684 only for __USE_GNU.
47685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47686 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47687 process_vm_writev only for __USE_GNU.
47688 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47690 * conform/Makefile: For now ignore errors from run-conformtest.
47691 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47692 POSIX to avoid namespace pollution. Don't prepend headers.
47693 * conform/data/aio.h-data: Fixes for POSIX testing.
47694 * conform/data/fcntl.h-data: Likewise.
47695 * conform/data/glob.h-data: Likewise.
47696 * conform/data/grp.h-data: Likewise.
47697 * conform/data/pthread.h-data: Likewise.
47698 * conform/data/pwd.h-data: Likewise.
47699 * conform/data/signal.h-data: Likewise.
47700 * conform/data/spawn.h-data: Likewise.
47701 * conform/data/stdio.h-data: Likewise.
47702 * conform/data/stdlib.h-data: Likewise.
47703 * conform/data/stropts.h-data: Likewise.
47704 * conform/data/sys/mman.h-data: Likewise.
47705 * conform/data/sys/stat.h-data: Likewise.
47706 * conform/data/sys/types.h-data: Likewise.
47707 * conform/data/sys/wait.h-data: Likewise.
47708 * conform/data/time.h-data: Likewise.
47709 * conform/data/unistd.h-data: Likewise.
47710 * conform/data/utime.h-data: Likewise.
47712 * io/sys/stat.h: fchmod was always in POSIX.
47713 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47714 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47715 * rt/aio.h: Define __need_timespec before including <time.h>.
47716 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47717 struct. Add forward declaration of pthread_attr_t and use it in
47719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47721 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47722 always remove CLK_TCK definition.
47724 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47726 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47728 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47730 * conform/run-conformtest.sh: New file.
47731 * conform/Makefile: Run run-conformtest for tests.
47732 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47735 * conform/data/uchar.h-data: New file.
47736 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47737 * conform/data/arpa/inet.h-data: Likewise.
47738 * conform/data/assert.h-data: Likewise.
47739 * conform/data/complex.h-data: Likewise.
47740 * conform/data/cpio.h-data: Likewise.
47741 * conform/data/ctype.h-data: Likewise.
47742 * conform/data/dirent.h-data: Likewise.
47743 * conform/data/dlfcn.h-data: Likewise.
47744 * conform/data/errno.h-data: Likewise.
47745 * conform/data/fcntl.h-data: Likewise.
47746 * conform/data/float.h-data: Likewise.
47747 * conform/data/fmtmsg.h-data: Likewise.
47748 * conform/data/fnmatch.h-data: Likewise.
47749 * conform/data/ftw.h-data: Likewise.
47750 * conform/data/glob.h-data: Likewise.
47751 * conform/data/grp.h-data: Likewise.
47752 * conform/data/iconv.h-data: Likewise.
47753 * conform/data/inttypes.h-data: Likewise.
47754 * conform/data/langinfo.h-data: Likewise.
47755 * conform/data/libgen.h-data: Likewise.
47756 * conform/data/limits.h-data: Likewise.
47757 * conform/data/locale.h-data: Likewise.
47758 * conform/data/math.h-data: Likewise.
47759 * conform/data/monetary.h-data: Likewise.
47760 * conform/data/mqueue.h-data: Likewise.
47761 * conform/data/ndbm.h-data: Likewise.
47762 * conform/data/net/if.h-data: Likewise.
47763 * conform/data/netdb.h-data: Likewise.
47764 * conform/data/netinet/in.h-data: Likewise.
47765 * conform/data/nl_types.h-data: Likewise.
47766 * conform/data/poll.h-data: Likewise.
47767 * conform/data/pthread.h-data: Likewise.
47768 * conform/data/pwd.h-data: Likewise.
47769 * conform/data/regex.h-data: Likewise.
47770 * conform/data/sched.h-data: Likewise.
47771 * conform/data/search.h-data: Likewise.
47772 * conform/data/semaphore.h-data: Likewise.
47773 * conform/data/setjmp.h-data: Likewise.
47774 * conform/data/signal.h-data: Likewise.
47775 * conform/data/spawn.h-data: Likewise.
47776 * conform/data/stdarg.h-data: Likewise.
47777 * conform/data/stdio.h-data: Likewise.
47778 * conform/data/stdlib.h-data: Likewise.
47779 * conform/data/string.h-data: Likewise.
47780 * conform/data/strings.h-data: Likewise.
47781 * conform/data/stropts.h-data: Likewise.
47782 * conform/data/sys/ipc.h-data: Likewise.
47783 * conform/data/sys/mman.h-data: Likewise.
47784 * conform/data/sys/msg.h-data: Likewise.
47785 * conform/data/sys/resource.h-data: Likewise.
47786 * conform/data/sys/select.h-data: Likewise.
47787 * conform/data/sys/sem.h-data: Likewise.
47788 * conform/data/sys/shm.h-data: Likewise.
47789 * conform/data/sys/socket.h-data: Likewise.
47790 * conform/data/sys/stat.h-data: Likewise.
47791 * conform/data/sys/statvfs.h-data: Likewise.
47792 * conform/data/sys/time.h-data: Likewise.
47793 * conform/data/sys/timeb.h-data: Likewise.
47794 * conform/data/sys/times.h-data: Likewise.
47795 * conform/data/sys/types.h-data: Likewise.
47796 * conform/data/sys/uio.h-data: Likewise.
47797 * conform/data/sys/un.h-data: Likewise.
47798 * conform/data/sys/utsname.h-data: Likewise.
47799 * conform/data/sys/wait.h-data: Likewise.
47800 * conform/data/syslog.h-data: Likewise.
47801 * conform/data/tar.h-data: Likewise.
47802 * conform/data/termios.h-data: Likewise.
47803 * conform/data/utime.h-data: Likewise.
47804 * conform/data/utmpx.h-data: Likewise.
47805 * conform/data/varargs.h-data: Likewise.
47806 * conform/data/wchar.h-data: Likewise.
47807 * conform/data/wctype.h-data: Likewise.
47808 * conform/data/wordexp.h-data: Likewise.
47810 * include/stropts.h: New file.
47811 * include/uchar.h: New file.
47812 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47813 * include/assert.h: Likewise.
47814 * include/ctype.h: Likewise.
47815 * include/dirent.h: Likewise.
47816 * include/dlfcn.h: Likewise.
47817 * include/fcntl.h: Likewise.
47818 * include/fnmatch.h: Likewise.
47819 * include/glob.h: Likewise.
47820 * include/grp.h: Likewise.
47821 * include/libio.h: Likewise.
47822 * include/locale.h: Likewise.
47823 * include/math.h: Likewise.
47824 * include/net/if.h: Likewise.
47825 * include/netdb.h: Likewise.
47826 * include/netinet/in.h: Likewise.
47827 * include/pthread.h: Likewise.
47828 * include/pwd.h: Likewise.
47829 * include/regex.h: Likewise.
47830 * include/sched.h: Likewise.
47831 * include/search.h: Likewise.
47832 * include/setjmp.h: Likewise.
47833 * include/signal.h: Likewise.
47834 * include/stdio.h: Likewise.
47835 * include/stdlib.h: Likewise.
47836 * include/string.h: Likewise.
47837 * include/sys/cdefs.h: Likewise.
47838 * include/sys/mman.h: Likewise.
47839 * include/sys/msg.h: Likewise.
47840 * include/sys/resource.h: Likewise.
47841 * include/sys/select.h: Likewise.
47842 * include/sys/socket.h: Likewise.
47843 * include/sys/stat.h: Likewise.
47844 * include/sys/statvfs.h: Likewise.
47845 * include/sys/time.h: Likewise.
47846 * include/sys/times.h: Likewise.
47847 * include/sys/uio.h: Likewise.
47848 * include/sys/utsname.h: Likewise.
47849 * include/sys/wait.h: Likewise.
47850 * include/termios.h: Likewise.
47851 * include/time.h: Likewise.
47852 * include/ulimit.h: Likewise.
47853 * include/unistd.h: Likewise.
47854 * include/utime.h: Likewise.
47855 * include/wchar.h: Likewise.
47856 * include/wctype.h: Likewise.
47857 * include/wordexp.h: Likewise.
47859 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47861 * time/time.h: TIME_UTC must be a macro.
47862 Make timespec_get available for ISO C11 only as well.
47864 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47866 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47867 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47869 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47871 * configure.in: Use -o not -a in test for unsupported multi-arch.
47873 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47875 * manual/texinfo.tex: Update to version 2012-01-19.16.
47877 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47879 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47881 2012-02-24 Roland McGrath <roland@hack.frob.com>
47884 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47885 * manual/fdl-1.3.texi: New file.
47886 * manual/fdl-1.1.texi: File removed.
47889 * manual/libc.texinfo (FDL_VERSION): New @set.
47890 Use it for mention of FDL in cover text.
47891 (Documentation License): Use it in @include file name.
47893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47894 Roland McGrath <roland@hack.frob.com>
47897 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47898 (not LONG_LONG_MAX and LONG_LONG_MIN.
47899 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47900 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47902 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47908 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47909 manipulate bits before adding and subtracting TWO23[sx].
47910 * math/libm-test.inc (nearbyint_test): Add more tests.
47912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47915 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47916 bits before adding and subtracting TWO23[sx].
47917 * math/libm-test.inc (rint_test): Add more tests.
47918 (rint_test_tonearest): Likewise.
47919 (rint_test_towardzero): Likewise.
47920 (rint_test_downward): Likewise.
47921 (rint_test_upward: Likewise.
47923 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47926 * include/stdc-predef.h: New file. Extracted from features.h.
47927 * include/features.h: Include stdc-predef.h.
47928 * Makefile (headers): Add stdc-predef.h.
47929 * CONFORMANCE (Compiler limitations): Update.
47931 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47933 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47935 2012-02-21 David S. Miller <davem@davemloft.net>
47937 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47938 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47940 2012-02-20 David S. Miller <davem@davemloft.net>
47942 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47943 using a normal save/restore sequence, rather than allocating a
47944 dummy stack frame just to store a frame pointer and restore.
47945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47949 * manual/install.texi: Fix stray word in line-wrapped comment.
47951 2012-02-20 David S. Miller <davem@davemloft.net>
47953 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47954 both binutils and gcc support GOTDATA.
47956 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47957 "rd %pc" in the PIC register setup sequences.
47959 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47960 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47961 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47962 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47963 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47965 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47966 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47968 (SYSCALL_ERROR_HANDLER): Likewise.
47969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47972 (SYSCALL_ERROR_HANDLER): Likewise.
47974 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47975 (HAVE_GCC_GOTDATA): New.
47976 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47977 relocation support in both binutils and gcc.
47978 * sysdeps/sparc/elf/configure: Regenerate.
47980 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47981 * sysdeps/sparc/sparc32/elf/configure: Delete.
47982 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47983 * sysdeps/sparc/sparc64/elf/configure: Delete.
47984 * sysdeps/sparc/elf/configure.in: New file.
47985 * sysdeps/sparc/elf/configure: Generate.
47987 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47988 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47989 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47990 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47991 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47993 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47995 * manual/install.texi: Do not mention specific glibc version
47997 * manual/libc.texinfo (VERSION, UPDATED): Update.
47998 (@copying): Use @copyright{} and range of years.
48000 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48003 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48004 [crti.S not in sysdirs] (generated): Do not append.
48005 [crti.S not in sysdirs] (omit-deps): Likewise.
48006 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48007 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48008 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48009 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48010 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48012 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48013 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48014 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48015 * csu/defs.awk: Remove file.
48016 * sysdeps/generic/initfini.c: Likewise.
48017 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48019 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48022 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48024 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48025 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48026 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48029 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48031 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48032 (__EPOLL_PACKED): Define to empty if not defined by
48034 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48038 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48040 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48041 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48042 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48043 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48045 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48049 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48051 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48058 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48063 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48065 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48066 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48068 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48070 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48073 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48075 * math/w_acos.c: Use non-signaling floating-point comparisons.
48076 * math/w_acosf.c: Likewise.
48077 * math/w_acosh.c: Likewise.
48078 * math/w_acoshf.c: Likewise.
48079 * math/w_acoshl.c: Likewise.
48080 * math/w_acosl.c: Likewise.
48081 * math/w_asin.c: Likewise.
48082 * math/w_asinf.c: Likewise.
48083 * math/w_asinl.c: Likewise.
48084 * math/w_atanh.c: Likewise.
48085 * math/w_atanhf.c: Likewise.
48086 * math/w_atanhl.c: Likewise.
48087 * math/w_exp2.c: Likewise.
48088 * math/w_exp2f.c: Likewise.
48089 * math/w_exp2l.c: Likewise.
48090 * math/w_j0.c: Likewise.
48091 * math/w_j0f.c: Likewise.
48092 * math/w_j0l.c: Likewise.
48093 * math/w_j1.c: Likewise.
48094 * math/w_j1f.c: Likewise.
48095 * math/w_j1l.c: Likewise.
48096 * math/w_jn.c: Likewise.
48097 * math/w_jnf.c: Likewise.
48098 * math/w_log.c: Likewise.
48099 * math/w_log10.c: Likewise.
48100 * math/w_log10f.c: Likewise.
48101 * math/w_log10l.c: Likewise.
48102 * math/w_log2.c: Likewise.
48103 * math/w_log2f.c: Likewise.
48104 * math/w_log2l.c: Likewise.
48105 * math/w_logf.c: Likewise.
48106 * math/w_logl.c: Likewise.
48107 * math/w_sqrt.c: Likewise.
48108 * math/w_sqrtf.c: Likewise.
48109 * math/w_sqrtl.c: Likewise.
48110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48111 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48116 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48119 * manual/string.texi (strnlen): Use correct parameter name in
48120 equivalent expression.
48122 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48125 * manual/users.texi (seteuid): Consistently use neweuid for
48128 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48131 * manual/nss.texi (Services in the NSS configuration): Correct
48132 list of services in example configuration file.
48134 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48137 * manual/arith.texi: Remove statements about negative zero
48138 behaving identically to zero.
48140 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48143 * manual/install.texi: Do not document upgrading from libc5.
48145 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48148 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48150 2012-02-18 David S. Miller <davem@davemloft.net>
48152 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48153 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48154 %o7 across the call.
48155 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48158 SETUP_PIC_REG_LEAF.
48159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48160 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48161 * sysdeps/sparc/crtn.S: Likewise.
48163 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48165 * aout/Makefile: Remove.
48167 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48170 * manual/examples/argp-ex1.c (main): Format definition in GNU
48172 * manual/examples/argp-ex2.c (main): Likewise.
48173 * manual/examples/argp-ex3.c (main): Likewise.
48174 * manual/examples/argp-ex4.c (main): Likewise.
48175 * manual/examples/longopt.c (main): Use new-style prototype
48177 * manual/examples/strncat.c (main): Specify return type and use
48178 (void) for arguments.
48179 * manual/examples/subopt.c (main): Use char **argv argument.
48181 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48184 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48187 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48190 * manual/string.texi (strchr): Change when strchrnul is
48193 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48196 * manual/locale.texi (setlocale): Document LOCPATH.
48198 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48201 * manual/process.texi (execle): Move @dots{} before last argument.
48203 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48206 * manual/charset.texi (Generic Charset Conversion): Fix typo
48207 (LC_TYPE -> LC_CTYPE).
48209 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48212 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48213 (scalbnf): Likewise.
48214 (scalbnl): Likewise.
48215 (scalbln): Likewise.
48216 (scalblnf): Likewise.
48217 (scalblnl): Likewise.
48218 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48219 (vwarnx): Likewise.
48222 * manual/filesys.texi (telldir): Use braces around return type.
48223 * manual/llio.texi (mmap): Add space after comma.
48224 (mmap64): Likewise.
48225 * manual/math.texi (jn): Use @var{} on parameter names.
48231 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48233 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48235 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48236 (sched_get_priority_max): Likewise.
48237 * manual/signal.texi (sigvec): Add space after comma.
48238 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48240 (if_indextoname): Likewise.
48241 (if_freenameindex): Likewise.
48242 (sendto): Use ',' instead of '.' in prototype.
48243 * manual/startup.texi (syscall): Use @dots{} instead of literal
48245 * manual/stdio.texi (__fpending): Separate initial words of
48246 paragraph from @deftypefun line.
48247 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48249 (vsyslog): Use @var{} on parameter names.
48250 * manual/terminal.texi (stty): Use @var{} on parameter names.
48251 * manual/users.texi (getutmp): Use @var{} on parameter names.
48252 (getutmpx): Likewise.
48254 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48257 * manual/stdio.texi (fopen): Fix typos in description of
48260 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48263 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48264 get clock_id definition.
48266 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48269 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48270 (madvise): Cast every argument to void on its own.
48272 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48275 * manual/startup.texi (Exit Status): Fix typo.
48277 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48280 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48281 * manual/examples/argp-ex2.c: Likewise.
48282 * manual/examples/argp-ex3.c: Likewise.
48284 2012-02-16 Richard Henderson <rth@redhat.com>
48286 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48287 * sysdeps/s390/s390-32/initfini.c: Remove.
48288 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48289 * sysdeps/s390/s390-64/initfini.c: Remove.
48291 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48293 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48294 compiler output for sysdeps/generic/initfini.c.
48295 * sysdeps/sh/elf/initfini.c: Remove file.
48297 2012-02-16 David S. Miller <davem@davemloft.net>
48300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48302 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48303 * sysdeps/sparc/crti.S: New file.
48304 * sysdeps/sparc/crtn.S: New file.
48305 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48306 * sysdeps/sparc/sparc64/Makefile: Likewise.
48308 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48311 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48313 2012-02-15 Roland McGrath <roland@hack.frob.com>
48316 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48318 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48319 (write, read, close): Likewise.
48320 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48322 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48324 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48325 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48326 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48327 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48329 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48333 2012-02-14 Marek Polacek <polacek@redhat.com>
48335 * sysdeps/x86_64/crti.S: New file.
48336 * sysdeps/x86_64/crtn.S: New file.
48337 * sysdeps/x86_64/elf/initfini.c: Remove file.
48339 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48341 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48342 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48343 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48344 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48346 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48350 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48352 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48353 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48354 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48355 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48357 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48361 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48363 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48364 __feraiseexcept instead of feraiseexcept.
48366 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48367 nanosleep invocations.
48368 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48369 strings, and add error checking for a nanosleep invocations.
48371 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48373 Replace FSF snail mail address with URLs, as per GNU coding standards.
48374 Most of the snail mail addresses were wrong anyway, and omitting
48375 them makes the source code easier to maintain. Almost all of the
48376 changes are to license notices and to locale LC_IDENTIFICATION
48377 addresses, except for this one:
48378 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48379 not its snail mail address.
48381 2012-02-09 Richard Henderson <rth@twiddle.net>
48383 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48384 of kernel-features.h.
48386 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48388 2012-02-08 Marek Polacek <polacek@redhat.com>
48390 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48391 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48392 * sysdeps/gnu/_G_config.h: Likewise.
48393 * sysdeps/generic/_G_config.h: Likewise.
48395 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48397 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48401 * sysdeps/powerpc/powerpc32/crti.S: New file.
48402 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48403 * sysdeps/powerpc/powerpc64/crti.S: New file.
48404 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48406 * Makeconfig (have-initfini): Don't set.
48407 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48408 * configure.in (nopic_initfini): Don't substitute.
48409 * config.h.in (HAVE_INITFINI): Don't #undef.
48410 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48411 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48413 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48415 Support crti.S and crtn.S provided directly by architectures.
48416 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48417 [crti.S in sysdirs] (omit-deps): Likewise.
48418 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48419 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48420 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48421 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48422 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48423 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48424 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48425 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48426 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48427 compiler output for sysdeps/generic/initfini.c.
48428 * sysdeps/i386/elf/Makefile: Remove file.
48429 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48431 2012-02-07 Marek Polacek <polacek@redhat.com>
48433 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48434 * sysdeps/gnu/_G_config.h: Likewise.
48435 * sysdeps/mach/hurd/_G_config.h: Likewise.
48437 2012-02-07 Marek Polacek <polacek@redhat.com>
48439 * math/Makefile (tests): Add tst-CMPLX2.
48440 * math/tst-CMPLX2.c: New file.
48442 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48444 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48446 * math/libm-test.inc (jn_test): Add missing L suffix.
48448 2012-02-06 Marek Polacek <polacek@redhat.com>
48450 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48451 * sysdeps/i386/fpu/e_powf.S: Likewise.
48452 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48455 * sysdeps/i386/fpu/e_pow.S: Likewise.
48456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48460 * sysdeps/i386/fpu/e_log2.S: Likewise.
48461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48463 * sysdeps/i386/fpu/e_powl.S: Likewise.
48464 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48466 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48467 * sysdeps/i386/fpu/e_logl.S: Likewise.
48468 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48469 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48470 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48471 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48473 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48474 * sysdeps/i386/fpu/e_log.S: Likewise.
48475 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48476 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48477 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48478 * sysdeps/i386/fpu/e_logf.S: Likewise.
48479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48481 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48482 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48483 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48484 * sysdeps/i386/fpu/e_log10.S: Likewise.
48485 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48486 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48487 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48488 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48489 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48490 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48491 * sysdeps/i386/asm-syntax.h: Likewise.
48492 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48495 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48496 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48497 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48498 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48499 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48501 * sysdeps/powerpc/sysdep.h: Likewise.
48502 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48503 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48505 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48508 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48510 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48512 * sysdeps/i386/sysdep.h: Include <features.h>.
48513 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48516 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48518 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48520 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48523 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48525 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48526 (SETUP_PIC_REG): Use GET_PC_THUNK.
48527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48530 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48533 for non-PIC compilation.
48534 (SETUP_PIC_REG): Add .p2align directive.
48535 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48536 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48537 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48538 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48540 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48541 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48543 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48544 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48545 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48546 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48547 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48548 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48549 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48550 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48551 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48552 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48553 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48554 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48555 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48557 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48558 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48563 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48564 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48565 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48566 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48567 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48568 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48569 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48570 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48571 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48573 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48575 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48577 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48579 * math/tst-CMPLX.c: Include <stdio.h>.
48581 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48583 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48585 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48586 * sysdeps/sparc/bits/mathdef.h: Likewise.
48588 2012-01-31 Marek Polacek <polacek@redhat.com>
48590 * libio/libio.h: Don't define _PARAMS.
48591 * locale/programs/config.h: Don't define PARAMS.
48592 * stdlib/strtol_l.c: Likewise.
48593 (__strtol_l): Remove PARAMS from the prototype.
48595 2012-01-31 Ulrich Drepper <drepper@gmail.com>
48597 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48598 names. Just use the correct names. Remove unnecessary wrapper
48600 * malloc/arena.c: Likewise.
48601 * malloc/hooks.c: Likewise.
48603 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48604 ARENA_TEST says not to. Simplify test for creation of a new arena.
48605 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48607 2012-01-30 Ulrich Drepper <drepper@gmail.com>
48609 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48611 (update_get_addr): New function.
48612 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48613 GET_ADDR_MODULE parameter.
48615 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48617 * crypt/cert.c: Remove __STDC__ conditionals.
48618 * crypt/crypt-entry.c: Likewise.
48619 * crypt/crypt_util.c: Likewise.
48620 * libio/filedoalloc.c: Likewise.
48621 * libio/fileops.c: Likewise.
48622 * libio/genops.c: Likewise.
48623 * libio/iofclose.c: Likewise.
48624 * libio/iofdopen.c: Likewise.
48625 * libio/iofopen.c: Likewise.
48626 * libio/iofopen64.c: Likewise.
48627 * libio/iogetdelim.c: Likewise.
48628 * libio/iopopen.c: Likewise.
48629 * libio/obprintf.c: Likewise.
48630 * libio/oldfileops.c: Likewise.
48631 * libio/oldiofclose.c: Likewise.
48632 * libio/oldiofdopen.c: Likewise.
48633 * libio/oldiofopen.c: Likewise.
48634 * libio/oldiopopen.c: Likewise.
48635 * libio/wfiledoalloc.c: Likewise.
48636 * libio/wgenops.c: Likewise.
48637 * locale/programs/xmalloc.c: Likewise.
48638 * misc/syslog.c: Likewise.
48639 * stdio-common/xbug.c: Likewise.
48640 * string/memchr.c: Likewise.
48641 * string/memcmp.c: Likewise.
48642 * string/memrchr.c: Likewise.
48643 * string/rawmemchr.c: Likewise.
48644 * sysdeps/posix/getcwd.c: Likewise.
48645 * time/strftime_l.c: Likewise.
48647 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48649 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48650 * config.make.in (config-cflags-sse2avx): Define.
48651 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48654 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48656 * scripts/config.guess: Update from upstream config git repository.
48657 * scripts/config.sub: Likewise.
48659 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48661 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48663 (R_TILEPRO_*, R_TILEGX_*): New macros.
48665 * scripts/firstversions.awk: Fix bug in version range handling.
48667 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48669 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48671 * include/sys/epoll.h: New file.
48672 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48675 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48677 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48678 Avoid unnecessary __WORDSIZE == 64 test.
48679 (fmaxf): Use VEX format if possible.
48684 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48685 * math/math_private.h: Remove libc_fegetround* and
48687 * sysdeps/i386/configure.in: Check for -msse2avx.
48688 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48689 also if SSE2AVX is defined.
48690 Remove libc_fegetround* and libc_fesetround*.
48691 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48692 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48701 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48703 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48705 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48707 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48709 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48712 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48714 * Makeconfig (libm): Define.
48715 * elf/Makefile: Add rules to build and run tst-relsort1.
48716 * elf/tst-relsort1.c: New file.
48717 * elf/tst-relsort1mod1.c: New file.
48718 * elf/tst-relsort1mod2.c: New file.
48720 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48722 * math/s_ldexp.c: Remove __STDC__ conditionals.
48723 * math/s_ldexpf.c: Likewise.
48724 * math/s_ldexpl.c: Likewise.
48725 * math/s_nextafter.c: Likewise.
48726 * math/s_nexttowardf.c: Likewise.
48727 * math/s_significand.c: Likewise.
48728 * math/s_significandf.c: Likewise.
48729 * math/s_significandl.c: Likewise.
48730 * math/w_jnl.c: Likewise.
48731 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48732 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48733 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48734 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48735 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48736 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48737 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48738 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48745 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48746 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48747 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48750 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48751 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48759 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48762 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48763 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48764 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48765 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48766 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48768 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48769 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48770 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48771 * sysdeps/ieee754/k_standard.c: Likewise.
48772 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48781 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48782 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48783 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48786 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48788 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48790 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48791 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48794 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48795 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48803 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48807 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48811 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48812 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48814 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48815 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48817 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48821 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48822 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48825 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48826 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48827 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48828 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48829 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48830 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48831 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48839 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48840 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48842 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48847 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48851 * sysdeps/ieee754/s_matherr.c: Likewise.
48852 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48853 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48857 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48859 * crypt/md5.h: Remove __STDC__ conditionals.
48860 * libio/libioP.h: Likewise.
48861 * locale/programs/config.h: Likewise.
48862 * sysdeps/generic/sysdep.h: Likewise.
48863 * sysdeps/i386/asm-syntax.h: Likewise.
48864 * sysdeps/s390/asm-syntax.h: Likewise.
48865 * sysdeps/unix/sysdep.h: Likewise.
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48869 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48871 * libio/libio.h: Remove __STDC__ conditionals.
48872 * malloc/obstack.h: Likewise.
48873 * math/complex.h: Likewise.
48874 * math/math.h: Likewise.
48875 * sysdeps/generic/_G_config.h: Likewise.
48876 * sysdeps/gnu/_G_config.h: Likewise.
48877 * sysdeps/mach/hurd/_G_config.h: Likewise.
48878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48880 * sysdeps/sparc/bits/mathdef.h: Likewise.
48882 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48885 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48886 Clean up HAS_* macros.
48887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48888 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
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 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48900 * elf/tst-unique3.cc (gets): Remove declaration.
48901 * elf/tst-unique3lib.cc (gets): Likewise.
48902 * elf/tst-unique3lib2.cc (gets): Likewise.
48903 * elf/tst-unique4.cc (gets): Likewise.
48905 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48907 * include/stdio.h: Add C++ protection. Add gets declarations and
48909 * debug/tst-chk1.c: Don't declare gets here.
48910 * stdio-common/tst-gets.c: Likewise.
48912 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48914 * posix/glob: Remove directory.
48916 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48918 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48920 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48922 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48923 of the non-standard EPFNOSUPPORT.
48925 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48927 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48928 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48929 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48931 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48933 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48935 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48937 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48939 * nscd/grpcache.c (cache_addgr): Likewise.
48940 * nscd/hstcache.c (cache_addhst): Likewise.
48941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48942 * nscd/pwdcache.c (cache_addpw): Likewise.
48943 * nscd/servicescache.c (cache_addserv): Likewise.
48945 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48947 * malloc/malloc.c: Various cleanups.
48948 * malloc/hooks.c: Likewise.
48950 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48951 * stdlib/bug-fmtmsg1.c: New file.
48953 * stdlib/fmtmsg.c (init): Add missing unlock.
48954 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48956 2012-01-12 Marek Polacek <polacek@redhat.com>
48958 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48961 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48963 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48964 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48965 macro to ensure uniqueness of label name.
48966 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48967 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48969 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48971 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48974 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48978 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48980 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48982 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48984 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48986 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48989 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48990 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48993 * math/bits/math-finite.h: Add ldexp support.
48995 2012-01-10 Marek Polacek <polacek@redhat.com>
48997 * locale/programs/localedef.h (show_archive_content): Add noreturn
49000 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49002 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49004 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49006 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49008 * io/Makefile (headers): Add bits/poll2.h.
49010 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49013 typo #include statement.
49015 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49017 * include/sys/cdefs.h: Define __attribute_alloc_size.
49018 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49019 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49020 * elf/pldd.c: Likewise.
49021 * iconv/iconv_charmap.c: Likewise.
49022 * iconv/iconvconfig.c: Likewise.
49023 * iconv/strtab.c: Likewise.
49024 * locale/programs/locale.c: Likewise.
49025 * locale/programs/localedef.h: Likewise.
49026 * locale/programs/simple-hash.c: Likewise.
49027 * nscd/nscd.h: Likewise.
49028 * nss/makedb.c: Likewise.
49029 * sysdeps/generic/ldconfig.h: Likewise.
49030 * locale/programs/localedef.c: Remove xmalloc prototype.
49031 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49033 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49035 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49038 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49040 * math/Makefile (tests): Add tst-CMPLX.
49041 * math/tst-CMPLX.c: New file.
49043 * math/complex.h (CMPLXL): Fix typo.
49045 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49046 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49048 * debug/tst-chk1.c: Add poll and ppoll tests.
49049 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49050 * include/sys/poll.h: Add hidden proto for ppoll.
49051 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49052 * sysdeps/mach/hurd/ppoll.c: Likewise.
49053 * io/ppoll.c: Likewise.
49054 * debug/poll_chk.c: New file.
49055 * debug/ppoll_chk.c: New file.
49056 * include/bits/poll2.h: New file.
49057 * io/bits/poll2.h: New file.
49060 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49062 * configure.in: static is always set to yes. Remove.
49063 * config.make.in: Don't set build-static.
49064 * Makeconfig: Remove use of build-static.
49065 * dlfcn/Makefile: Likewise.
49066 * elf/Makefile: Likewise.
49067 * math/Makefile: Likewise.
49068 * misc/Makefile: Likewise.
49069 * nptl/Makefile: Likewise.
49070 * sysdeps/mach/hurd/Makefile: Likewise.
49072 * configure.in: PWD_P is not used anymore.
49073 * config.make.in: Remove PWD_P entry.
49075 * configure.in: Remove last remnants of RANLIB.
49076 No need to check for signed size_t anymore.
49077 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49079 Remove __builtin_expect test because we require at least gcc 3.4.
49080 * aclocal.m4: Likewise.
49082 * wcsmbs/mbrtoc16.c: Implement using towc function.
49083 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49084 * wcsmbs/wcsmbsload.c: Likewise.
49085 * iconv/gconv_simple.c: Likewise.
49086 * iconv/gconv_int.h: Likewise.
49087 * iconv/gconv_builtin.h: Likewise.
49088 * iconv/iconv_prog.c: Remove CHAR16 handling.
49090 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49092 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49094 * configure.in: Remove --with-elf and --enable-bounded options.
49095 Dont set base_machine for ia64. More non-ELF conditions removed.
49096 Remove testing and setting of leading underscore information.
49097 * config.make.in (build-bounded): Set to no.
49098 * config.h.in: Remove NO_UNDERSCORES entry.
49099 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49101 * csu/start.c: Remove !NO_UNDERSCORE code.
49102 * locale/localeinfo.h: Likewise.
49103 * sysdeps/generic/machine-gmon.h: Likewise.
49104 * sysdeps/generic/sysdep.h: Likewise.
49105 * sysdeps/i386/sysdep.h: Likewise.
49106 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49107 * sysdeps/mach/sysdep.h: Likewise.
49108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49110 * sysdeps/sh/sysdep.h: Likewise.
49111 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49112 * sysdeps/unix/i386/sysdep.S: Likewise.
49113 * sysdeps/unix/sparc/start.c: Likewise.
49114 * sysdeps/unix/sparc/sysdep.S: Likewise.
49115 * sysdeps/unix/sparc/sysdep.h: Likewise.
49116 * sysdeps/unix/start.c: Likewise.
49117 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49118 * sysdeps/x86_64/sysdep.h: Likewise.
49120 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49123 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49125 * argp/argp-fmtstream.h: Use const instead __const.
49126 * argp/argp.h: Likewise.
49127 * assert/assert.h: Likewise.
49128 * bits/fenv.h: Likewise.
49129 * bits/sched.h: Likewise.
49130 * bits/sigset.h: Likewise.
49131 * bits/sigthread.h: Likewise.
49132 * catgets/nl_types.h: Likewise.
49133 * conform/data/pthread.h-data: Likewise.
49134 * crypt/crypt-private.h: Likewise.
49135 * crypt/crypt.h: Likewise.
49136 * crypt/crypt_util.c: Likewise.
49137 * ctype/ctype.h: Likewise.
49138 * debug/execinfo.h: Likewise.
49139 * debug/mbsnrtowcs_chk.c: Likewise.
49140 * debug/mbsrtowcs_chk.c: Likewise.
49141 * debug/wcsnrtombs_chk.c: Likewise.
49142 * debug/wcsrtombs_chk.c: Likewise.
49143 * debug/wcstombs_chk.c: Likewise.
49144 * dirent/dirent.h: Likewise.
49145 * dlfcn/dlfcn.h: Likewise.
49146 * elf/neededtest4.c: Likewise.
49147 * grp/grp.h: Likewise.
49148 * gshadow/gshadow.h: Likewise.
49149 * iconv/gconv.h: Likewise.
49150 * iconv/gconv_int.h: Likewise.
49151 * iconv/gconv_simple.c: Likewise.
49152 * iconv/iconv.h: Likewise.
49153 * iconv/loop.c: Likewise.
49154 * iconv/skeleton.c: Likewise.
49155 * include/aio.h: Likewise.
49156 * include/aliases.h: Likewise.
49157 * include/argz.h: Likewise.
49158 * include/arpa/inet.h: Likewise.
49159 * include/assert.h: Likewise.
49160 * include/dirent.h: Likewise.
49161 * include/dlfcn.h: Likewise.
49162 * include/execinfo.h: Likewise.
49163 * include/fcntl.h: Likewise.
49164 * include/fenv.h: Likewise.
49165 * include/glob.h: Likewise.
49166 * include/grp.h: Likewise.
49167 * include/libintl.h: Likewise.
49168 * include/mntent.h: Likewise.
49169 * include/netdb.h: Likewise.
49170 * include/pwd.h: Likewise.
49171 * include/rpc/netdb.h: Likewise.
49172 * include/sched.h: Likewise.
49173 * include/search.h: Likewise.
49174 * include/shadow.h: Likewise.
49175 * include/signal.h: Likewise.
49176 * include/stdio.h: Likewise.
49177 * include/stdlib.h: Likewise.
49178 * include/string.h: Likewise.
49179 * include/sys/socket.h: Likewise.
49180 * include/sys/stat.h: Likewise.
49181 * include/sys/statfs.h: Likewise.
49182 * include/sys/statvfs.h: Likewise.
49183 * include/sys/syslog.h: Likewise.
49184 * include/sys/time.h: Likewise.
49185 * include/sys/uio.h: Likewise.
49186 * include/time.h: Likewise.
49187 * include/unistd.h: Likewise.
49188 * include/utmp.h: Likewise.
49189 * include/wchar.h: Likewise.
49190 * include/wctype.h: Likewise.
49191 * inet/aliases.h: Likewise.
49192 * inet/arpa/inet.h: Likewise.
49193 * inet/netinet/ether.h: Likewise.
49194 * inet/netinet/in.h: Likewise.
49195 * intl/libintl.h: Likewise.
49196 * io/bits/fcntl2.h: Likewise.
49197 * io/fcntl.h: Likewise.
49198 * io/ftw.h: Likewise.
49199 * io/sys/poll.h: Likewise.
49200 * io/sys/stat.h: Likewise.
49201 * io/sys/statfs.h: Likewise.
49202 * io/sys/statvfs.h: Likewise.
49203 * io/utime.h: Likewise.
49204 * libio/bits/stdio.h: Likewise.
49205 * libio/bits/stdio2.h: Likewise.
49206 * libio/libio.h: Likewise.
49207 * libio/libioP.h: Likewise.
49208 * libio/stdio.h: Likewise.
49209 * locale/lc-ctype.c: Likewise.
49210 * locale/locale.h: Likewise.
49211 * login/utmp.h: Likewise.
49212 * malloc/arena.c: Likewise.
49213 * malloc/malloc.c: Likewise.
49214 * malloc/malloc.h: Likewise.
49215 * malloc/mcheck.c: Likewise.
49216 * malloc/mtrace.c: Likewise.
49217 * math/bits/mathcalls.h: Likewise.
49218 * math/fenv.h: Likewise.
49219 * math/math_private.h: Likewise.
49220 * misc/bits/error.h: Likewise.
49221 * misc/bits/syslog.h: Likewise.
49222 * misc/err.h: Likewise.
49223 * misc/error.h: Likewise.
49224 * misc/fstab.h: Likewise.
49225 * misc/mntent.h: Likewise.
49226 * misc/regexp.h: Likewise.
49227 * misc/search.h: Likewise.
49228 * misc/sgtty.h: Likewise.
49229 * misc/sys/mman.h: Likewise.
49230 * misc/sys/syslog.h: Likewise.
49231 * misc/sys/uio.h: Likewise.
49232 * misc/sys/xattr.h: Likewise.
49233 * misc/ttyent.h: Likewise.
49234 * nis/rpcsvc/ypclnt.h: Likewise.
49235 * nss/nss.h: Likewise.
49236 * posix/bits/unistd.h: Likewise.
49237 * posix/fnmatch.h: Likewise.
49238 * posix/glob.h: Likewise.
49239 * posix/sched.h: Likewise.
49240 * posix/spawn.h: Likewise.
49241 * posix/sys/wait.h: Likewise.
49242 * posix/unistd.h: Likewise.
49243 * posix/wordexp.h: Likewise.
49244 * pwd/pwd.h: Likewise.
49245 * resolv/netdb.h: Likewise.
49246 * resource/sys/resource.h: Likewise.
49247 * rt/aio.h: Likewise.
49248 * rt/bits/mqueue2.h: Likewise.
49249 * rt/mqueue.h: Likewise.
49250 * shadow/shadow.h: Likewise.
49251 * signal/signal.h: Likewise.
49252 * socket/send.c: Likewise.
49253 * socket/sendto.c: Likewise.
49254 * socket/sys/socket.h: Likewise.
49255 * stdio-common/printf.h: Likewise.
49256 * stdlib/bits/stdlib.h: Likewise.
49257 * stdlib/fmtmsg.h: Likewise.
49258 * stdlib/monetary.h: Likewise.
49259 * stdlib/stdlib.h: Likewise.
49260 * stdlib/ucontext.h: Likewise.
49261 * streams/stropts.h: Likewise.
49262 * string/argz.h: Likewise.
49263 * string/bits/string2.h: Likewise.
49264 * string/string.h: Likewise.
49265 * string/strings.h: Likewise.
49266 * sunrpc/rpc/auth.h: Likewise.
49267 * sunrpc/rpc/auth_des.h: Likewise.
49268 * sunrpc/rpc/clnt.h: Likewise.
49269 * sunrpc/rpc/netdb.h: Likewise.
49270 * sunrpc/rpc/pmap_clnt.h: Likewise.
49271 * sunrpc/rpc/xdr.h: Likewise.
49272 * sysdeps/generic/inttypes.h: Likewise.
49273 * sysdeps/generic/net/if.h: Likewise.
49274 * sysdeps/generic/sys/swap.h: Likewise.
49275 * sysdeps/gnu/net/if.h: Likewise.
49276 * sysdeps/gnu/utmpx.h: Likewise.
49277 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49278 * sysdeps/i386/i486/bits/string.h: Likewise.
49279 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49280 * sysdeps/s390/bits/string.h: Likewise.
49281 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49282 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49283 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49284 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49285 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49286 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49287 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49288 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49289 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49290 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49291 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49292 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49293 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49295 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49296 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49297 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49303 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49304 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49305 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49306 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49307 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49309 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49310 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49311 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49312 * sysvipc/sys/ipc.h: Likewise.
49313 * sysvipc/sys/msg.h: Likewise.
49314 * sysvipc/sys/sem.h: Likewise.
49315 * sysvipc/sys/shm.h: Likewise.
49316 * termios/termios.h: Likewise.
49317 * time/sys/time.h: Likewise.
49318 * time/time.h: Likewise.
49319 * wcsmbs/bits/wchar2.h: Likewise.
49320 * wcsmbs/uchar.h: Likewise.
49321 * wcsmbs/wchar.h: Likewise.
49322 * wctype/wctype.h: Likewise.
49325 * Makeconfig: Remove all but ELF support including AIX support.
49326 * Makerules: Likewise.
49327 * config.h.in: Likewise.
49328 * config.make.in: Likewise.
49329 * configure: Likewise.
49330 * configure.in: Likewise.
49331 * csu/Makefile: Likewise.
49332 * csu/version.c: Likewise.
49333 * debug/Makefile: Likewise.
49334 * dlfcn/Makefile: Likewise.
49335 * elf/Makefile: Likewise.
49336 * extra-lib.mk: Likewise.
49337 * iconv/Makefile: Likewise.
49338 * include/libc-symbols.h: Likewise.
49339 * include/shlib-compat.h: Likewise.
49340 * resolv/Makefile: Likewise.
49341 * resolv/res_libc.c: Likewise.
49342 * rt/Makefile: Likewise.
49343 * sysdeps/i386/asm-syntax.h: Likewise.
49344 * sysdeps/i386/sysdep.h: Likewise.
49345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49346 * sysdeps/mach/sysdep.h: Likewise.
49347 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49348 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49349 * sysdeps/s390/asm-syntax.h: Likewise.
49350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49352 * sysdeps/sh/sysdep.h: Likewise.
49353 * sysdeps/unix/sparc/sysdep.h: Likewise.
49354 * sysdeps/wordsize-32/divdi3.c: Likewise.
49355 * sysdeps/x86_64/sysdep.h: Likewise.
49357 * argp/Versions: Remove _argp_unlock_xxx.
49360 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49361 * abilist/libBrokenLocale.abilist: Likewise.
49362 * abilist/libanl.abilist: Likewise.
49363 * abilist/libc.abilist: Likewise.
49364 * abilist/libcrypt.abilist: Likewise.
49365 * abilist/libdl.abilist: Likewise.
49366 * abilist/libm.abilist: Likewise.
49367 * abilist/libnsl.abilist: Likewise.
49368 * abilist/libpthread.abilist: Likewise.
49369 * abilist/libresolv.abilist: Likewise.
49370 * abilist/librt.abilist: Likewise.
49371 * abilist/libthread_db.abilist: Likewise.
49372 * abilist/libutil.abilist: Likewise.
49373 * abilist/libnss_db.abilist: New file.
49375 * scripts/abilist.awk: Add support for indirect functions.
49377 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49379 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49381 * shlib-versions: Remove entries for ports architectures.
49383 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49385 * elf/stackguard-macros.h: Remove support for IA-64.
49386 * elf/tst-auditmod1.c: Likewise.
49387 * sysdeps/generic/ldsodefs.h: Likewise.
49389 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49390 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49394 * configure.in: Remove --enable-omitfp support.
49396 * config.make.in: Likewise.
49397 * Makeconfig: Likewise.
49398 * manual/install.texi: Likewise.
49400 In case anyone cares, the IA-64 architecture could move to ports.
49401 * sysdeps/ia64/*: Removed.
49402 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49403 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49406 * configure.in: Remove entries for unsupported architectures.
49409 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49410 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49412 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49413 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49414 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49415 fall back to using wcrtomb.
49416 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49417 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49419 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49420 * wcsmbs/tst-c16c32-1.c: New file.
49422 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49425 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49427 * elf/tst-unique3.cc: Add explicit declaration of gets.
49428 * elf/tst-unique3lib.cc: Likewise.
49429 * elf/tst-unique3lib2.cc: Likewise.
49430 * elf/tst-unique4.cc: Likewise.
49432 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49434 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49437 * assert/assert.h (static_assert): Don't define for C++.
49438 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49439 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49441 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49443 * iconv/loop.c (single loop): Fix assertion in storing of
49446 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49448 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49450 * posix/getconf.c: Update copyright year.
49451 * nss/getent.c: Likewise.
49452 * nss/makedb.c: Likewise.
49453 * iconv/iconvconfig.c: Likewise.
49454 * iconv/iconv_prog.c: Likewise.
49455 * elf/ldconfig.c: Likewise.
49456 * elf/pldd.c: Likewise.
49457 * elf/sotruss.ksh: Likewise.
49458 * catgets/gencat.c: Likewise.
49459 * csu/version.c: Likewise.
49460 * elf/ldd.bash.in: Likewise.
49461 * elf/sprof.c (print_version): Likewise.
49462 * locale/programs/locale.c: Likewise.
49463 * locale/programs/localedef.c: Likewise.
49464 * login/programs/pt_chown.c: Likewise.
49465 * nscd/nscd.c (print_version): Likewise.
49466 * debug/xtrace.sh: Likewise.
49467 * malloc/memusage.sh: Likewise.
49468 * malloc/mtrace.pl: Likewise.
49469 * debug/catchsegv.sh: Likewise.
49471 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49473 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49476 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49479 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49480 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49482 * iconv/gconv_int.h: Likewise.
49483 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49484 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49485 from libc for GLIBC_2.16.
49486 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49487 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49488 * wcsmbs/uchar.h: Really define mbstate_t.
49489 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49490 * wcsmbs/c16rtomb.c: New file.
49491 * wcsmbs/mbrtoc16.c: New file.
49492 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49493 for C/POSIX locale.
49494 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49495 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49497 * wcsmbs/wchar.h: Add missing __restrict.
49499 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49502 * time/Makefile (routines): Add timespec_get.
49503 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49504 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49505 timespec for ISO C11.
49506 * time/timespec_get.c: New file.
49507 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49508 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49511 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49512 * stdlib/stdlib.h: Declare aligned_alloc.
49513 * Versions.def: Add GLIBC_2.16 for libc.
49514 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49517 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49520 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49524 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49527 * assert/assert.h (static_assert): Define.
49529 * version.h: Update for 2.16 development version.
49532 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49535 * version.h (RELEASE): Bump for 2.15 release.
49536 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49538 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49539 Patch by Marek Polacek <mpolacek@redhat.com>.
49541 * bits/byteswap.h: Protect long long constants with __extension__.
49542 * sysdeps/i386/bits/byteswap.h: Likewise.
49543 * sysdeps/ia64/bits/byteswap.h: Likewise.
49544 * sysdeps/s390/bits/byteswap.h: Likewise.
49545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49547 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49551 destination buffer.
49552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49554 2011-12-23 Marek Polacek <polacek@redhat.com>
49556 * elf/dl-addr.c (determine_info): Add inline keyword.
49557 * elf/tst-auditmod4b.c (check_avx): Likewise.
49558 * elf/tst-auditmod6b.c (check_avx): Likewise.
49559 * elf/tst-auditmod6c.c (check_avx): Likewise.
49560 * elf/tst-auditmod7b.c (check_avx): Likewise.
49562 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49564 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49567 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49571 processing for last bytes.
49573 2011-08-06 Bruno Haible <bruno@clisp.org>
49576 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49577 U+0385, not to U+1FEE.
49580 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49581 entry for U+00A5 U+0301.
49583 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49586 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49587 buffer for the output is too small.
49589 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49593 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49594 SSE flags if possible.
49596 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49600 processing for last bytes.
49602 2011-12-22 Joseph Myers <joseph@codesourcery.com>
49604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49605 (syscall-list-default-options, syscall-list-default-condition)
49606 (syscall-list-includes): Define.
49607 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49608 list of ABIs and options and #if conditions for each ABI. Do not
49609 handle common syscalls between ABIs specially.
49610 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49612 (syscall-list-variants, syscall-list-32bit-options)
49613 (syscall-list-32bit-condition, syscall-list-64bit-options)
49614 (syscall-list-64bit-condition): Define.
49615 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49616 (syscall-list-variants, syscall-list-32bit-options)
49617 (syscall-list-32bit-condition, syscall-list-64bit-options)
49618 (syscall-list-64bit-condition): Define.
49619 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49621 (syscall-list-variants, syscall-list-32bit-options)
49622 (syscall-list-32bit-condition, syscall-list-64bit-options)
49623 (syscall-list-64bit-condition): Define.
49624 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49626 (syscall-list-variants, syscall-list-32bit-options)
49627 (syscall-list-32bit-condition, syscall-list-64bit-options)
49628 (syscall-list-64bit-condition): Define.
49630 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49632 * locale/iso-639.def: Add brx entry.
49635 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49636 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49638 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49639 __feraiseexcept_renamed.
49641 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49644 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49645 EPOLLET with unsigned values.
49646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49649 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49650 to large cancellation.
49651 * math/s_cacoshf.c: Likewise.
49652 * math/s_cacoshl.c: Likewise.
49654 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49658 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49659 * math/s_cacoshf.c: Likewise.
49660 * math/s_cacoshl.c: Likewise.
49662 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49665 * iconv/gconv.h: Define __GCONV_SWAP.
49666 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49667 * iconvdata/utf-16.c: Likewise.
49668 * iconvdata/utf-32.c: Likewise.
49670 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49674 numerator after shifting it by one limb.
49676 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49679 under [__USE_EXTERN_INLINES].
49681 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49684 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49686 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49688 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49689 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49691 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49692 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49693 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49694 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49695 for strncasecmp/strncasecmp_l compilation.
49696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49697 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49699 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49702 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49705 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49708 * time/tzfile.c (__tzfile_read): Check values from file header.
49710 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49712 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49713 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49714 * powerpc/powerpc32/dl-start.S: Likewise.
49715 * powerpc/powerpc32/elf/start.S: Likewise.
49716 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49717 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49718 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49719 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49720 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49721 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49722 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49723 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49724 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49725 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49726 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49727 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49728 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49729 * powerpc/powerpc32/memset.S: Likewise.
49730 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49731 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49732 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49733 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49734 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49735 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49736 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49737 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49738 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49739 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49740 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49741 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49742 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49744 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49746 * math/libm-test.inc: Added more nearbyint tests.
49747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49752 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49754 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49757 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49759 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49760 Add wcscpy-ssse3 wcscpy-c.
49761 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49762 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49763 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49764 * sysdeps/x86_64/wcschr.S: New file.
49765 * sysdeps/x86_64/wcsrchr.S: New file.
49766 * string/test-strcmp.c: Remove checking of wcscmp function for
49768 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49769 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49770 wcsrchr-sse2 wcsrchr-c.
49771 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49772 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49773 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49774 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49775 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49776 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49777 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49778 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49779 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49780 * wcsmbc/wcschr.c (WCSCHR): New macro.
49782 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49784 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49785 * wcsmbs/test-wcsrchr.c: New file.
49786 * string/test-strrchr.c: Add wcsrchr support.
49788 * wcsmbs/test-wcscpy.c: New file.
49789 * string/test-strcpy.c: Add wcscpy support.
49792 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49797 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49800 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49802 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49805 Minor optimizations.
49807 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49808 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49809 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49811 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49813 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49814 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49815 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49816 for gcc to avoid warnings.
49817 * inet/Makefile (tests): Add tst-checks.
49818 * inet/tst-checks.c: New file.
49820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49823 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49826 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49827 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49829 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49831 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49833 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49836 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49838 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49840 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49841 conditional on GCC version.
49842 (__arch_compare_and_exchange_val_8_acq)
49843 (__arch_compare_and_exchange_val_16_acq)
49844 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49845 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49846 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49848 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49850 * sysdeps/sh/backtrace.c: New file.
49852 2011-12-02 Andreas Schwab <schwab@redhat.com>
49854 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49857 2011-12-01 Andreas Schwab <schwab@redhat.com>
49859 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49860 falling back to utime.
49862 2011-11-30 Andreas Schwab <schwab@redhat.com>
49864 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49865 expectations for float.
49867 2011-11-29 Andreas Schwab <schwab@redhat.com>
49869 * locale/weight.h (findidx): Add parameter len.
49870 * locale/weightwc.h (findidx): Likewise.
49871 * posix/fnmatch_loop.c (FCT): Adjust caller.
49872 * posix/regcomp.c (build_equiv_class): Likewise.
49873 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49874 * posix/regexec.c (check_node_accept_bytes): Likewise.
49875 * string/strcoll_l.c (STRCOLL): Likewise.
49876 * string/strxfrm_l.c (STRXFRM): Likewise.
49878 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49880 * Makefile.in: Remove CVSOPT handling.
49881 * configure.in: Remove use of AC_REVISION.
49882 * iconvdata/Makefile (distribute): No need to filter out CVS.
49883 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49886 2011-11-16 Andreas Schwab <schwab@redhat.com>
49888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49889 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49890 [USE_AS_STRNCASECMP_L]: Likewise.
49891 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49892 NO_TLS_DIRECT_SEG_REFS.
49893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49894 Fix argument offsets for non-PIC.
49895 [USE_AS_STRNCASECMP_L]: Likewise.
49896 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49897 NO_TLS_DIRECT_SEG_REFS.
49899 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49901 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49903 * locale/loadlocale.c (_nl_load_locale): Likewise.
49905 2011-11-15 Andreas Schwab <schwab@redhat.com>
49907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49908 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49910 (SYSCALL_GETTIME): Set errno on error.
49912 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49913 count references to noai6ai_cached.
49915 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49917 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49919 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49920 FD_CLOEXEC for /proc/self/maps.
49922 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49923 FD_CLOEXEC for /proc/meminfo.
49925 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49928 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49929 FD_CLOEXEC for given file.
49931 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49933 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49934 FD_CLOEXEC for /etc/hosts.
49935 (_gethtent): Likewise.
49937 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49939 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49940 cancellation and set FD_CLOEXEC for /etc/netgroup.
49942 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49943 reading /etc/publickey.
49945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49946 allow cancellation when reading /etc/group.
49948 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49950 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49952 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49953 when using data file.
49955 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49957 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49958 (write_nis_obj): Use "c" and "e" in fopen.
49960 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49962 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49964 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49966 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49968 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49971 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49973 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49975 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49977 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49978 file parsing and set FD_CLOEXEC.
49980 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49982 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49984 2011-11-14 Andreas Schwab <schwab@redhat.com>
49986 * malloc/arena.c (arena_get2): Don't call reused_arena when
49987 _int_new_arena failed.
49989 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49991 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49992 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49994 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49997 to compile strcasecmp and strncasecmp.
49998 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49999 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50003 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50006 locale-defines.sym to gen-as-const-headers.
50007 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50008 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50010 to compile strcasecmp and strncasecmp.
50011 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50012 strcasecmp_l and strncasecmp_l.
50013 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50014 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50015 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50016 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50017 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50018 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50019 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50020 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50021 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50022 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50023 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50025 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50027 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50028 result of SYSDEP_GETTIME_CPU to retval.
50029 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50030 parameter list to macro. Remove trailing semicolon. Adjust users.
50032 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50035 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50037 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50039 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50040 from unused variable.
50042 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50044 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50047 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50050 * sunrpc/rpc_prot.c (rejected): Fix case value.
50052 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50053 unsigned long long int to avoid warnings in shift.
50055 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50057 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50060 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50061 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50062 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50064 * nis/nis_table.c (nis_list): Use variable of correct type for
50065 result of __follow_path call.
50067 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50069 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50070 of math functions ceil, trunc, floor, round, and sqrt, when
50071 avaliable on the platform.
50072 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50074 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50075 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50076 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50078 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50080 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50081 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50083 2011-11-11 Roland McGrath <roland@hack.frob.com>
50085 * include/unistd.h: Fix __readlink return type.
50086 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50088 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50090 * stdlib/ucontext.h: Undo last change for makecontext.
50092 2011-11-11 Andreas Schwab <schwab@redhat.com>
50094 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50096 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50097 * setjmp/setjmp.h: Mark functions as non-leaf.
50098 * setjmp/bits/setjmp2.h: Likewise.
50099 * stdlib/ucontext.h: Likewise.
50101 2011-11-10 Andreas Schwab <schwab@redhat.com>
50103 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50104 (reused_arena): Don't check arena limit.
50105 (arena_get2): Atomically check arena limit.
50107 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50109 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50110 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50115 2011-11-07 Andreas Schwab <schwab@redhat.com>
50117 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50118 handler when locking.
50120 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50121 Fix size of allocated buffer.
50123 2011-11-04 Andreas Schwab <schwab@redhat.com>
50126 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50127 declarations for long double functions.
50128 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50130 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50132 2011-11-03 Andreas Schwab <schwab@redhat.com>
50134 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50137 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50140 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50142 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50144 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50146 * include/alloca.h (stackinfo_alloca_round): Define.
50147 (extend_alloca): Use it.
50148 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50149 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50152 * scripts/check-local-headers.sh: Ignore libaudit.h.
50154 * nscd/Makefile (extra-objs): Make recursively expanded.
50156 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50158 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50161 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50162 * posix/tst-rfc3484-2.c: Likewise.
50163 * posix/tst-rfc3484-3.c: Likewise.
50165 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50167 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50169 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50170 process_vm_writev from libc using GLIBC_2.15 version.
50172 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50174 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50176 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50179 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50182 * nss/getent.c (initgroups_keys): Show error message in case no group
50185 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50186 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50187 __bump_nl_timestamp.
50188 * nscd/connections (nscd_init): When host database is served open
50189 netlink socket and request notification about configuration changes.
50190 (main_loop_poll): Track netlink file descriptor and bump timestamp
50191 in case data becomes available.
50192 (main_loop_epoll): Likewise.
50193 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50194 (database_pers_head): Add extra_data fileds.
50195 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50196 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50197 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50200 in6ai data, call __free_in6ai.
50201 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50202 Add -DHAVE_NETLINK.
50203 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50204 interface information. Reuse previous data if netlink timestamp
50206 (__bump_nl_timestamp): New function.
50207 (__free_in6ai): New function.
50209 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50212 close_not_cancel_no_status here.
50213 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50215 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50218 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50221 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50222 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50223 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50225 2011-07-03 Andreas Jaeger <aj@suse.de>
50228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50229 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50230 * math/libm-test.inc (sin_test): Add test case.
50232 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50235 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50236 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50238 * elf/chroot_canon.c (chroot_canon): Cleanups.
50240 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50243 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50244 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50246 * string/test-strchr.c: Make usable for strchrnul testing.
50247 * string/test-strchrnul.c: New file.
50248 * string/Makefile (strop-tests): Add strchrnul.
50250 * po/it.po: Update from translation team.
50251 * po/es.po: Likewise.
50253 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50256 the three constants needed as parameters. Drop the others.
50257 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50258 __m128i_strloadu_tolower.
50259 Create and initialize variable zero and use it in all the places
50260 where _mm_setzero_si128 was used.
50262 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50263 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50264 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50265 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50267 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50270 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50271 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50272 __mpranred, __mptan.
50273 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50274 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50275 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50276 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50280 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50283 2011-10-28 Andreas Schwab <schwab@redhat.com>
50285 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50286 redefine if SHARED.
50287 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50290 wide char related routines to wcsmbs subdir.
50292 2011-10-27 Andreas Schwab <schwab@redhat.com>
50295 * misc/sys/cdefs.h (__THROWNL): Define.
50296 * posix/unistd.h: Use __THREADNL instead of __THREAD
50297 for memory synchronization functions.
50299 2011-10-26 Roland McGrath <roland@hack.frob.com>
50302 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50304 * manual/stdio.texi (Obstack Streams): Node removed.
50306 2011-10-26 Andreas Schwab <schwab@redhat.com>
50308 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50309 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50312 * math/math_private.h (math_force_eval): Allow non-addressable
50314 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50316 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50318 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50319 file is not needed.
50321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50328 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50330 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50331 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50332 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50333 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50334 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50336 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50338 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50339 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50340 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50341 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50343 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50344 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50345 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50346 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50347 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50348 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50350 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50351 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50354 place. Use VEX encoding when compiling for AVX.
50356 2011-10-25 Andreas Schwab <schwab@redhat.com>
50358 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50359 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50361 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50363 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50365 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50366 useless if() expression.
50367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50375 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50376 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50379 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50381 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50383 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50385 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50387 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50389 2011-10-25 Andreas Schwab <schwab@redhat.com>
50391 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50395 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50397 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50398 .text section. Avoid duplicate constants.
50399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50407 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50408 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50409 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50410 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50411 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50412 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50413 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50416 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50422 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50423 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50424 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50425 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50426 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50428 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50441 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50443 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50445 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50447 * sysdeps/x86_64/dla.h: Move to ...
50448 * sysdeps/x86_64/fpu/dla.h: ...here.
50449 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50450 situations. Use __builtin_fma only for gcc 4.6 and up.
50452 * config.make.in: Add have-mfma4 entry.
50453 * configure.in: Substitute libc_cv_cc_fma4.
50454 * math/Makefile (dbl-only-routines): Add sincostab.
50455 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50456 Use __sincostab not sincos.
50457 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50464 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50465 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50466 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50467 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50469 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50470 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50472 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50473 define aliases when function name is a macro.
50474 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50475 sysdeps/ieee754/dbl-64/sincos.tbl.
50476 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50477 fma4-enabled routines.
50478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50482 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50483 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50487 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50488 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50490 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50491 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50492 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50493 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50494 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50495 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50496 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50498 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50499 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50509 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50520 2011-10-24 Andreas Schwab <schwab@redhat.com>
50522 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50524 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50528 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50532 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50533 Remove unused variable magic_bits.
50534 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50536 * string/strnlen.c: Define and use STRNLEN macro.
50537 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50538 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50540 * wcsmbs/wcslen.c: Define and use WCSLEN.
50541 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50542 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50543 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50544 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50545 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50546 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50547 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50549 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50552 strnlen-sse2-no-bsf.
50553 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50554 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50555 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50556 Add strnlen support.
50557 (USE_AS_STRNLEN): New macro.
50558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50560 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50561 * sysdeps/x86_64/wcslen.S: New file.
50563 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50566 XMM-moves are used for copying on small sizes.
50568 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50570 * wcsmbs/Makefile (strop-tests): Add wcschr.
50571 * wcsmbs/test-wcschr.c: New file.
50572 * string/test-strchr.c: Update.
50573 Add wcschr support.
50576 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50578 * wcsmbs/Makefile (strop-tests): Add wcslen.
50579 * wcsmbs/test-wcslen.c: New file.
50580 * string/test-strlen.c: Update.
50581 Add wcslen support.
50584 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50586 * po/it.po: Update from translation team.
50588 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50590 * sysdeps/x86_64/wcscmp.S: Update.
50591 Fix wrong comparison semantics.
50592 wcscmp shall use signed comparison not unsigned.
50593 Don't use substraction to avoid overflow bug.
50594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50595 * wcsmbc/wcscmp.c: Likewise.
50596 * string/test-strcmp.c: Likewise.
50597 Add new tests to check cases with negative values.
50599 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50601 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50602 * sysdeps/x86_64/dla.h: ...here. New file.
50603 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50613 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50616 __ynl_finite aliases.
50618 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50622 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50624 [DLA_FMA] (EMULV): Use DLA_FMA.
50625 [DLA_FMA] (MUL12): Use EMULV.
50626 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50627 that are not needed.
50628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50636 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50638 * math/s_nan.c: Undef __nan.
50639 * math/s_nanf.c: Undef __nanf.
50640 * math/s_nanl.c: Undef __nanl.
50641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50644 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50646 * math/s_catan.c: Add branch predictions.
50647 * math/s_catanf.c: Likewise.
50648 * math/s_catanh.c: Likewise.
50649 * math/s_catanhf.c: Likewise.
50650 * math/s_catanhl.c: Likewise.
50651 * math/s_catanl.c: Likewise.
50652 * math/s_cexp.c: Likewise.
50653 * math/s_cexpf.c: Likewise.
50654 * math/s_cexpl.c: Likewise.
50655 * math/s_clog.c: Likewise.
50656 * math/s_clog10.c: Likewise.
50657 * math/s_clog10f.c: Likewise.
50658 * math/s_clog10l.c: Likewise.
50659 * math/s_clogf.c: Likewise.
50660 * math/s_clogl.c: Likewise.
50661 * math/s_csqrt.c: Likewise.
50662 * math/s_csqrtf.c: Likewise.
50663 * math/s_csqrtl.c: Likewise.
50664 * math/s_ctanf.c: Likewise.
50665 * math/s_ctanh.c: Likewise.
50666 * math/s_ctanhf.c: Likewise.
50667 * math/s_ctanhl.c: Likewise.
50668 * math/s_ctanl.c: Likewise.
50670 * math/math_private.h: Define __nan, __nanf, __nanl.
50671 * math/s_cacosh.c: Include <math_private.h>.
50672 * math/s_cacoshl.c: Likewise.
50673 * math/s_casinh.c: Likewise.
50674 * math/s_casinhf.c: Likewise.
50675 * math/s_casinhl.c: Likewise.
50676 * math/s_ccos.c: Rely entire on ccosh.
50677 * math/s_ccosf.c: Rely entire on ccoshf.
50678 * math/s_ccosl.c: Rely entirely on ccoshl.
50679 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50680 Remove tests for FE_INVALID.
50681 * math/s_ccoshf.c: Likewise.
50682 * math/s_ccoshl.c: Likewise.
50683 * math/s_csin.c: Likewise.
50684 * math/s_csinf.c: Likewise.
50685 * math/s_csinh.c Likewise.
50686 * math/s_csinhf.c: Likewise.
50687 * math/s_csinhl.c: Likewise.
50688 * math/s_csinl.c: Likewise.
50689 * math/s_ctan.c: Likewise.
50690 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50691 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50692 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50694 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50697 compilation problems.
50699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50702 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50704 * sysdeps/i386/configure.in: Test for -mfma4 option.
50705 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50706 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50707 COMMON_CPUID_INDEX_80000001.
50708 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50709 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50710 use it if FMA3 is not supported.
50711 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50713 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50714 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50716 2011-10-20 Andreas Schwab <schwab@redhat.com>
50719 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50720 it would create a cycle with a link time dependency.
50722 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50724 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50726 * string/Makefile (strop-tests): Add rawmemchr.
50727 * string/test-rawmemchr.c: New file.
50729 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50731 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50732 when compiling str{,n}casecmp and when AVX is available. Hook up
50733 new optimized code in initializers.
50735 2011-10-19 Andreas Schwab <schwab@redhat.com>
50737 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50738 __feraiseexcept instead of feraiseexcept.
50740 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50742 * math/math_private.h: Define defaults for libc_fetestexcept and
50744 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50745 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50748 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50750 libc_fetestexcept and libc_feupdateenv.
50752 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50753 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50754 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50755 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50756 libc_feholdexcept_setround.
50758 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50759 Add s_nearbyint-c and s_nearbyintf-c.
50760 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50761 nearbyintf inlines.
50762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50765 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50767 * math/math_private.h: Define defaults for libc_fegetround,
50768 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50769 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50770 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50772 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50773 standard functions.
50774 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50775 Remove comments and hacks for old compiler versions.
50776 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50777 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50778 libc_feholdexceptl.
50780 2011-10-18 Andreas Schwab <schwab@redhat.com>
50782 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50783 (__feraiseexcept_renamed): Add __NTH.
50784 (feraiseexcept): Add __NTH. Rename local variables to fix
50785 namespace violations.
50787 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50789 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50791 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50793 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50794 recently added interfaces.
50795 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50797 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50798 about macro parameter expansion.
50800 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50801 __NO_MATH_INLINES is defined. Cleanups.
50803 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50804 and __floorf is target has SSE4.1.
50805 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50806 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50807 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50808 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50810 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50812 (floorf): Likewise.
50814 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50816 2011-10-17 Andreas Schwab <schwab@redhat.com>
50818 * misc/sys/cdefs.h: Fix last change.
50820 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50823 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50825 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50827 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50829 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50830 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50832 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50833 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50835 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50836 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50837 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50838 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50839 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50840 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50841 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50842 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50843 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50844 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50845 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50846 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50847 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50848 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50850 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50851 ceil, ceilf, floor, floorf.
50853 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50854 Perform IRELATIVE relocations last.
50856 * elf/do-rel.h: Add another parameter nrelative, replacing the
50857 local variable with the same name. Change name of the function
50858 to end in Rel or Rela (uppercase).
50859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50860 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50861 elf_dynamic_do_##reloc function.
50863 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50865 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50866 is sufficient, at least on modern CPUs.
50868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50870 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50873 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50875 * math/bits/math-finite.h: Add entries for exp.
50876 * math/e_expl.c: Add __*_finite alias.
50877 * sysdeps/i386/fpu/e_exp.S: Likewise.
50878 * sysdeps/i386/fpu/e_expf.S: Likewise.
50879 * sysdeps/i386/fpu/e_expl.c: Likewise.
50880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50882 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50884 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50888 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50889 is sufficient, at least on modern CPUs.
50891 * ctype/ctype-info.c (__ctype_init): Define.
50892 * include/ctype.h (__ctype_init): Declare.
50893 (__ctype_b_loc): The variable is always initialized.
50894 (__ctype_toupper_loc): Likewise.
50895 (__ctype_tolower_loc): Likewise.
50896 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50897 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50899 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50901 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50903 * configure.in: Also look in $cxxmachine/include for C++ system
50906 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50908 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50909 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50910 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50911 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50913 (USE_AS_WMEMCMP): New macro.
50915 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50916 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50917 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50918 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50920 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50921 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50922 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50923 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50924 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50925 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50926 (USE_AS_WMEMCMP): New macro.
50927 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50928 * sysdeps/string/test-memcmp.c: Update.
50929 Fix simple_wmemcmp.
50931 * wcsmbs/wmemcmp.c: Update.
50932 (WMEMCMP): New macro.
50935 2011-10-12 Andreas Jaeger <aj@suse.de>
50938 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50940 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50942 * libio/iofwide.c (do_length): Avoid warning.
50944 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50946 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50948 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50950 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50951 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50952 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50953 * sysdeps/i386/i686/fpu/e_log.S: New file.
50954 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50955 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50957 * ctype/ctype.h: Add support for inlined isXXX functions when
50958 compiling C++ code.
50960 2011-10-14 Andreas Schwab <schwab@redhat.com>
50962 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50966 2011-10-13 Roland McGrath <roland@hack.frob.com>
50969 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50971 2011-10-13 Andreas Schwab <schwab@redhat.com>
50973 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50974 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50977 * sysdeps/x86_64/memrchr.S: Check for zero size.
50979 * string/stratcliff.c: Add memrchr tests.
50981 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50984 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50985 rawmemchr-sse2 rawmemchr-sse2-bsf.
50986 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50987 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50988 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50989 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50990 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50991 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50992 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50993 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50995 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50996 * string/memrchr.c (MEMRCHR): New macro.
50998 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51000 Add integration with gcc's -ffinite-math-only and optimize wrapper
51002 * Versions.def: Define GLIBC_2.15 version for libm.
51003 * math/Makefile (headers): Add bits/math-finite.h.
51004 * math/bits/math-finite.h: New file.
51005 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51006 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51007 * math/e_acoshl.c: Add __*_finite alias.
51008 * math/e_acosl.c: Likewise.
51009 * math/e_asinl.c: Likewise.
51010 * math/e_atan2l.c: Likewise.
51011 * math/e_atanhl.c: Likewise.
51012 * math/e_coshl.c: Likewise.
51013 * math/e_exp10.c: Likewise.
51014 * math/e_exp10f.c: Likewise.
51015 * math/e_exp10l.c: Likewise.
51016 * math/e_exp2l.c: Likewise.
51017 * math/e_fmodl.c: Likewise.
51018 * math/e_gammal_r.c: Likewise.
51019 * math/e_hypotl.c: Likewise.
51020 * math/e_j0l.c: Likewise.
51021 * math/e_j1l.c: Likewise.
51022 * math/e_jnl.c: Likewise.
51023 * math/e_lgammal_r.c: Likewise.
51024 * math/e_log10l.c: Likewise.
51025 * math/e_log2l.c: Likewise.
51026 * math/e_logl.c: Likewise.
51027 * math/e_powl.c: Likewise.
51028 * math/e_sinhl.c: Likewise.
51029 * math/e_sqrtl.c: Likewise.
51030 * math/e_scalb.c: Completely rewritten and optimized.
51031 * math/e_scalbf.c: Likewise.
51032 * math/e_scalbl.c: Likewise.
51033 * math/w_acos.c: Likewise.
51034 * math/w_acosf.c: Likewise.
51035 * math/w_acosl.c: Likewise.
51036 * math/w_acosh.c: Likewise.
51037 * math/w_acoshf.c: Likewise.
51038 * math/w_acoshl.c: Likewise.
51039 * math/w_asin.c: Likewise.
51040 * math/w_asinf.c: Likewise.
51041 * math/w_asinl.c: Likewise.
51042 * math/w_atan2.c: Likewise.
51043 * math/w_atan2f.c: Likewise.
51044 * math/w_atan2l.c: Likewise.
51045 * math/w_atanh.c: Likewise.
51046 * math/w_atanhf.c: Likewise.
51047 * math/w_atanhl.c: Likewise.
51048 * math/w_exp10.c: Likewise.
51049 * math/w_exp10f.c: Likewise.
51050 * math/w_exp10l.c: Likewise.
51051 * math/w_fmod.c: Likewise.
51052 * math/w_fmodf.c: Likewise.
51053 * math/w_fmodl.c: Likewise.
51054 * math/w_j0.c: Likewise.
51055 * math/w_j0f.c: Likewise.
51056 * math/w_j0l.c: Likewise.
51057 * math/w_j1.c: Likewise.
51058 * math/w_j1f.c: Likewise.
51059 * math/w_j1l.c: Likewise.
51060 * math/w_jn.c: Likewise.
51061 * math/w_jnf.c: Likewise.
51062 * math/w_log.c: Likewise.
51063 * math/w_logf.c: Likewise.
51064 * math/w_logl.c: Likewise.
51065 * math/w_log10.c: Likewise.
51066 * math/w_log10f.c: Likewise.
51067 * math/w_log10l.c: Likewise.
51068 * math/w_log2.c: Likewise.
51069 * math/w_log2f.c: Likewise.
51070 * math/w_log2l.c: Likewise.
51071 * math/w_pow.c: Likewise.
51072 * math/w_powf.c: Likewise.
51073 * math/w_powl.c: Likewise.
51074 * math/w_remainder.c: Likewise.
51075 * math/w_remainderf.c: Likewise.
51076 * math/w_remainderl.c: Likewise.
51077 * math/w_scalb.c: Likewise.
51078 * math/w_scalbf.c: Likewise.
51079 * math/w_scalbl.c: Likewise.
51080 * math/w_sqrt.c: Likewise.
51081 * math/w_sqrtf.c: Likewise.
51082 * math/w_sqrtl.c: Likewise.
51083 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51084 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51086 * math/math_private.h: Declare __kernel_standard_f.
51087 * math/w_cosh.c: Remove cruft and optimize a bit.
51088 * math/w_coshf.c: Likewise.
51089 * math/w_coshl.c: Likewise.
51090 * math/w_exp2.c: Likewise.
51091 * math/w_exp2f.c: Likewise.
51092 * math/w_exp2l.c: Likewise.
51093 * math/w_hypot.c: Likewise.
51094 * math/w_hypotf.c: Likewise.
51095 * math/w_hypotl.c: Likewise.
51096 * math/w_lgamma.c: Likewise.
51097 * math/w_lgamma_r.c: Likewise.
51098 * math/w_lgammaf.c: Likewise.
51099 * math/w_lgammaf_r.c: Likewise.
51100 * math/w_lgammal.c: Likewise.
51101 * math/w_lgammal_r.c: Likewise.
51102 * math/w_sinh.c: Likewise.
51103 * math/w_sinhf.c: Likewise.
51104 * math/w_sinhl.c: Likewise.
51105 * math/w_tgamma.c: Likewise.
51106 * math/w_tgammaf.c: Likewise.
51107 * math/w_tgammal.c: Likewise.
51108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51110 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51111 Minor optimizations. Pretty printing. Remove cruft.
51112 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51114 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51116 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51117 * sysdeps/i386/fpu/e_asin.S: Likewise.
51118 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51119 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51120 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51121 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51122 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51123 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51125 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51126 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51127 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51128 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51129 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51130 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51131 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51132 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51133 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51134 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51135 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51136 * sysdeps/i386/fpu/e_log.S: Likewise.
51137 * sysdeps/i386/fpu/e_log10.S: Likewise.
51138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51139 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51140 * sysdeps/i386/fpu/e_log2.S: Likewise.
51141 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51142 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51143 * sysdeps/i386/fpu/e_logf.S: Likewise.
51144 * sysdeps/i386/fpu/e_logl.S: Likewise.
51145 * sysdeps/i386/fpu/e_pow.S: Likewise.
51146 * sysdeps/i386/fpu/e_powf.S: Likewise.
51147 * sysdeps/i386/fpu/e_powl.S: Likewise.
51148 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51149 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51150 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51151 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51152 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51153 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51154 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51155 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51156 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51157 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51160 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51162 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51164 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51168 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51170 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51171 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51174 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51178 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51181 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51183 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51184 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51185 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51186 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51187 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51191 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51192 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51193 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51194 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51195 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51196 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51197 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51198 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51206 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51207 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51208 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51209 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51212 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51213 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51214 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51215 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51225 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51231 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51237 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51238 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51239 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51242 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51244 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51245 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51246 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51247 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51250 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51251 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51252 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51253 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51254 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51255 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51256 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51257 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51258 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51259 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51260 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51261 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51263 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51265 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51267 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51268 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51269 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51270 (__isnanf): Likewise.
51271 (__isinf_ns): Likewise.
51272 (__isinf_nsf): Likewise.
51273 (__finite): Likewise.
51274 (__finitef): Likewise.
51275 (__ieee754_sqrt): Define as macro.
51276 (__ieee754_sqrtf): Define as macro.
51277 (__ieee754_sqrtl): Define as macro.
51278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51280 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51281 __FINITE_MATH_ONLY__ consistent.
51282 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51284 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51286 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51289 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51291 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51293 * po/ja.po: Update from translation team.
51295 2011-10-08 Roland McGrath <roland@hack.frob.com>
51297 * locale/programs/locarchive.c (prepare_address_space): New function.
51298 (create_archive, enlarge_archive, open_archive): Use it.
51300 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51301 inside [SHARED], where it is used.
51303 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51305 * nss/getent.c (netgroup_keys): Remove unused variable.
51306 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51308 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51310 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51311 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51314 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51315 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51316 * math/Makefile (libm-calls): Add s_isinf_ns.
51317 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51318 * math/multc3.c: Likewise.
51319 * math/s_casin.c: Likewise.
51320 * math/s_casinf.c: Likewise.
51321 * math/s_casinl.c: Likewise.
51322 * math/s_ccos.c: Likewise.
51323 * math/s_ccosf.c: Likewise.
51324 * math/s_ccosl.c: Likewise.
51325 * math/s_ctan.c: Likewise.
51326 * math/s_ctanf.c: Likewise.
51327 * math/s_ctanh.c: Likewise.
51328 * math/s_ctanhf.c: Likewise.
51329 * math/s_ctanhl.c: Likewise.
51330 * math/s_ctanl.c: Likewise.
51331 * math/w_fmod.c: Likewise.
51332 * math/w_fmodf.c: Likewise.
51333 * math/w_fmodl.c: Likewise.
51334 * math/w_remainder.c: Likewise.
51335 * math/w_remainderf.c: Likewise.
51336 * math/w_remainderl.c: Likewise.
51337 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51338 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51341 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51342 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51343 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51344 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51346 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51348 * stdio-common/printf_fphex.c: Likewise.
51349 * stdio-common/printf_size.c: Likewise.
51351 * math/e_exp10.c: Include math_private.h using <...> not "...".
51352 * math/e_exp10f.c: Likewise.
51353 * math/e_exp10l.c: Likewise.
51354 * math/e_exp2l.c: Likewise.
51355 * math/e_j0l.c: Likewise.
51356 * math/e_j1l.c: Likewise.
51357 * math/e_jnl.c: Likewise.
51358 * math/e_lgammal_r.c: Likewise.
51359 * math/e_rem_pio2l.c: Likewise.
51360 * math/e_scalb.c: Likewise.
51361 * math/e_scalbf.c: Likewise.
51362 * math/e_scalbl.c: Likewise.
51363 * math/k_cosl.c: Likewise.
51364 * math/k_sinl.c: Likewise.
51365 * math/k_tanl.c: Likewise.
51366 * math/s_cacoshf.c: Likewise.
51367 * math/s_catan.c: Likewise.
51368 * math/s_catanf.c: Likewise.
51369 * math/s_catanh.c: Likewise.
51370 * math/s_catanhf.c: Likewise.
51371 * math/s_catanhl.c: Likewise.
51372 * math/s_catanl.c: Likewise.
51373 * math/s_ccosh.c: Likewise.
51374 * math/s_ccoshf.c: Likewise.
51375 * math/s_ccoshl.c: Likewise.
51376 * math/s_cexp.c: Likewise.
51377 * math/s_cexpf.c: Likewise.
51378 * math/s_cexpl.c: Likewise.
51379 * math/s_clog.c: Likewise.
51380 * math/s_clog10.c: Likewise.
51381 * math/s_clog10f.c: Likewise.
51382 * math/s_clog10l.c: Likewise.
51383 * math/s_clogf.c: Likewise.
51384 * math/s_clogl.c: Likewise.
51385 * math/s_csin.c: Likewise.
51386 * math/s_csinf.c: Likewise.
51387 * math/s_csinh.c: Likewise.
51388 * math/s_csinhf.c: Likewise.
51389 * math/s_csinhl.c: Likewise.
51390 * math/s_csinl.c: Likewise.
51391 * math/s_csqrt.c: Likewise.
51392 * math/s_csqrtf.c: Likewise.
51393 * math/s_csqrtl.c: Likewise.
51394 * math/s_ctan.c: Likewise.
51395 * math/s_ctanf.c: Likewise.
51396 * math/s_ctanh.c: Likewise.
51397 * math/s_ctanhf.c: Likewise.
51398 * math/s_ctanhl.c: Likewise.
51399 * math/s_ctanl.c: Likewise.
51400 * math/s_ldexp.c: Likewise.
51401 * math/s_ldexpf.c: Likewise.
51402 * math/s_ldexpl.c: Likewise.
51403 * math/s_significand.c: Likewise.
51404 * math/s_significandf.c: Likewise.
51405 * math/s_significandl.c: Likewise.
51406 * math/w_acos.c: Likewise.
51407 * math/w_acosf.c: Likewise.
51408 * math/w_acosh.c: Likewise.
51409 * math/w_acoshf.c: Likewise.
51410 * math/w_acoshl.c: Likewise.
51411 * math/w_acosl.c: Likewise.
51412 * math/w_asin.c: Likewise.
51413 * math/w_asinf.c: Likewise.
51414 * math/w_asinl.c: Likewise.
51415 * math/w_atan2.c: Likewise.
51416 * math/w_atan2f.c: Likewise.
51417 * math/w_atan2l.c: Likewise.
51418 * math/w_atanh.c: Likewise.
51419 * math/w_atanhf.c: Likewise.
51420 * math/w_atanhl.c: Likewise.
51421 * math/w_cosh.c: Likewise.
51422 * math/w_coshf.c: Likewise.
51423 * math/w_coshl.c: Likewise.
51424 * math/w_dremf.c: Likewise.
51425 * math/w_exp10.c: Likewise.
51426 * math/w_exp10f.c: Likewise.
51427 * math/w_exp10l.c: Likewise.
51428 * math/w_exp2.c: Likewise.
51429 * math/w_exp2f.c: Likewise.
51430 * math/w_fmod.c: Likewise.
51431 * math/w_fmodf.c: Likewise.
51432 * math/w_fmodl.c: Likewise.
51433 * math/w_hypot.c: Likewise.
51434 * math/w_hypotf.c: Likewise.
51435 * math/w_hypotl.c: Likewise.
51436 * math/w_j0.c: Likewise.
51437 * math/w_j0f.c: Likewise.
51438 * math/w_j0l.c: Likewise.
51439 * math/w_j1.c: Likewise.
51440 * math/w_j1f.c: Likewise.
51441 * math/w_j1l.c: Likewise.
51442 * math/w_jn.c: Likewise.
51443 * math/w_jnf.c: Likewise.
51444 * math/w_jnl.c: Likewise.
51445 * math/w_lgamma.c: Likewise.
51446 * math/w_lgamma_r.c: Likewise.
51447 * math/w_lgammaf.c: Likewise.
51448 * math/w_lgammaf_r.c: Likewise.
51449 * math/w_lgammal.c: Likewise.
51450 * math/w_lgammal_r.c: Likewise.
51451 * math/w_log.c: Likewise.
51452 * math/w_log10.c: Likewise.
51453 * math/w_log10f.c: Likewise.
51454 * math/w_log10l.c: Likewise.
51455 * math/w_log2.c: Likewise.
51456 * math/w_log2f.c: Likewise.
51457 * math/w_log2l.c: Likewise.
51458 * math/w_logf.c: Likewise.
51459 * math/w_logl.c: Likewise.
51460 * math/w_pow.c: Likewise.
51461 * math/w_powf.c: Likewise.
51462 * math/w_powl.c: Likewise.
51463 * math/w_remainder.c: Likewise.
51464 * math/w_remainderf.c: Likewise.
51465 * math/w_remainderl.c: Likewise.
51466 * math/w_scalb.c: Likewise.
51467 * math/w_scalbf.c: Likewise.
51468 * math/w_scalbl.c: Likewise.
51469 * math/w_sinh.c: Likewise.
51470 * math/w_sinhf.c: Likewise.
51471 * math/w_sinhl.c: Likewise.
51472 * math/w_sqrt.c: Likewise.
51473 * math/w_sqrtf.c: Likewise.
51474 * math/w_sqrtl.c: Likewise.
51475 * math/w_tgamma.c: Likewise.
51476 * math/w_tgammaf.c: Likewise.
51477 * math/w_tgammal.c: Likewise.
51479 * po/ja.po: Update from translation team.
51481 2011-09-29 Andreas Jaeger <aj@suse.de>
51484 * sunrpc/netname.c (netname2host): Fix logic.
51488 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51490 * math/w_remainder.c (__remainder): Likewise.
51491 * math/w_remainderf.c (__remainderf): Likewise.
51492 * math/libm-test.inc (remainder_test): Add test cases.
51494 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51496 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51499 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51501 * string/test-memcmp.c: Avoid unncessary #defines.
51502 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51504 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51506 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51507 Use new sse2 version for core i3 - i7 as it's faster
51508 than sse42 version.
51509 (bit_Prefer_PMINUB_for_stringop): New.
51510 * sysdeps/x86_64/rawmemchr.S: Update.
51511 Replace with faster SSE2 version.
51512 * sysdeps/x86_64/memrchr.S: New file.
51513 * sysdeps/x86_64/memchr.S: Update.
51514 Replace with faster SSE2 version.
51516 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51518 * elf/dl-load.c (lose): Add cast to avoid warning.
51520 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51522 * po/ca.po: Update from translation team.
51524 * inet/getnetgrent_r.c: Hook up nscd.
51525 * nscd/Makefile (routines): Add nscd_netgroup.
51526 (nscd-modules): Add netgroupcache.
51527 (CFLAGS-netgroupcache.c): Define.
51528 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51529 (cache_search): Add const to second parameter.
51530 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51532 (dbs): Add netgrdb entry.
51533 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51534 (verify_persistent_db): Handle netgrdb.
51535 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51536 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51538 (netgroup_response_header): Define.
51539 (innetgroup_response_header): Define.
51540 (datahead): Add netgroup_response_header and innetgroup_response_header
51542 * nscd/nscd.conf: Add entries for netgroup cache.
51543 * nscd/nscd.h (dbtype): Add netgrdb.
51544 (_PATH_NSCD_NETGROUP_DB): Define.
51545 (netgroup_iov_disabled): Declare.
51546 (xmalloc, xcalloc, xrealloc): Move declarations here.
51547 (cache_search): Adjust prototype.
51548 Add netgroup-related prototypes.
51549 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51550 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51551 (__nscd_innetgr): Declare.
51552 * nscd/selinux.c (perms): Use access_vector_t as element type and
51553 add netgroup-related initializers.
51554 * nscd/netgroupcache.c: New file.
51555 * nscd/nscd_netgroup.c: New file.
51556 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51557 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51558 For four parameters use innetgr.
51559 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51560 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51561 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51562 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51564 * nscd/connections.c (register_traced_file): Don't register file
51565 for disabled databases.
51567 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51569 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51571 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51572 from tree and freeing node.
51574 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51576 * nss/nsswitch.c (__nss_database_lookup): Handle
51577 nss_parse_service_list out of memory case.
51579 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51581 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51582 out of memory case.
51584 2011-10-04 Andreas Schwab <schwab@redhat.com>
51586 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51587 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51589 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51590 elf_machine_rela, elf_machine_lazy_rel.
51591 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51592 (ELF_DYNAMIC_DO_REL): Likewise.
51593 (ELF_DYNAMIC_DO_RELA): Likewise.
51594 (ELF_DYNAMIC_RELOCATE): Likewise.
51595 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51596 to ELF_DYNAMIC_DO_REL.
51597 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51598 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51599 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51602 skip_ifunc, don't call ifunc function if non-zero.
51603 (elf_machine_rela): Likewise.
51604 (elf_machine_lazy_rel): Likewise.
51605 (elf_machine_lazy_rela): Likewise.
51606 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51607 (elf_machine_lazy_rel): Likewise.
51608 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51610 (elf_machine_lazy_rel): Likewise.
51611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51613 (elf_machine_lazy_rel): Likewise.
51614 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51615 (elf_machine_lazy_rel): Likewise.
51616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51617 (elf_machine_lazy_rel): Likewise.
51618 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51619 (elf_machine_lazy_rel): Likewise.
51620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51621 (elf_machine_lazy_rel): Likewise.
51622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51623 (elf_machine_lazy_rel): Likewise.
51624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51625 (elf_machine_lazy_rel): Likewise.
51627 2011-09-28 Ulrich Drepper <drepper@gmail.com>
51629 * nss/nss_files/files-init.c (_nss_files_init): Use static
51630 initialization for all the *_traced_file variables.
51632 2011-09-28 Andreas Schwab <schwab@redhat.com>
51634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51636 2011-09-27 Roland McGrath <roland@hack.frob.com>
51639 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51641 2011-09-27 Andreas Schwab <schwab@redhat.com>
51643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51644 Reread the line before reparsing it.
51646 2011-09-26 Andreas Schwab <schwab@redhat.com>
51648 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51650 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51651 Maxim Kuvyrkov <maxim@codesourcery.com>
51652 Joseph Myers <joseph@codesourcery.com>
51654 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51655 if needed for __stack_chk_guard.
51657 2011-09-19 Roland McGrath <roland@hack.frob.com>
51659 * sysdeps/posix/spawni.c (script_execute): Always define it.
51660 It will be optimized away if unused.
51661 (maybe_script_execute): New function.
51662 (__spawni): Call it.
51664 * Makerules: Don't include tls.make.
51665 (config-tls): Always set to thread.
51666 * tls.make.c: File removed.
51668 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51670 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51671 * config.make.in (CPPFLAGS-config): New substituted variable.
51673 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51678 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51679 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51681 2011-09-15 Roland McGrath <roland@hack.frob.com>
51683 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51684 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51686 (CALL_FAIL): Likewise.
51687 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51688 (CALL_FAIL): Macro removed.
51689 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51691 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51693 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51694 for __FINITE_MATH_ONLY__ == 1.
51696 2011-09-15 Andreas Schwab <schwab@redhat.com>
51698 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51699 __ieee754_sqrt instead of sqrt.
51700 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51701 __ieee754_sqrtf instead of sqrtf.
51702 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51703 __floorf instead of floorf.
51704 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51705 __floorf, __truncf instead of floorf, truncf.
51707 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51709 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51711 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51712 __extern_always_inline.
51713 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51716 2011-09-14 Andreas Schwab <schwab@redhat.com>
51718 * elf/rtld.c (dl_main): Also relocate in dependency order when
51719 doing symbol dependency testing.
51721 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51724 Always define `refsym'.
51726 2011-09-13 Andreas Schwab <schwab@redhat.com>
51728 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51729 (__FD_ELT): Renamed from __FDELT.
51730 * misc/bits/select2.h (__FD_ELT): Likewise.
51731 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51732 __FD_MASK instead of __FDELT, __FDMASK.
51733 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51735 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51738 * elf/Makefile (gen-ldd): Fix pattern.
51740 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51741 (init_tls): Likewise.
51743 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51747 2011-09-12 Andreas Schwab <schwab@redhat.com>
51749 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51750 `struct cmsghdr *' instead of `void *'.
51751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51754 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51756 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51758 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51759 ldd_rewrite_script.
51761 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51763 * configure.in: Remove --with-tls option.
51764 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51765 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51766 out in case it is missing.
51767 * sysdeps/ia64/elf/configure.in: Likewise.
51768 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51769 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51770 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51771 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51772 * sysdeps/sh/elf/configure.in: Likewise.
51773 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51774 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51775 * sysdeps/x86_64/elf/configure.in: Likewise.
51776 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51777 * sysdeps/mach/hurd/tls.h: Likewise.
51780 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51783 * configure.in: Fix use of AC_INIT.
51785 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51787 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51789 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51791 * malloc/hooks.c: Likewise.
51794 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51795 variables statically.
51796 (narenas): Initialize.
51797 (list_lock): Initialize.
51798 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51799 initializtion of main_arena and list_lock. Small cleanups.
51800 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51801 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51802 Add initializers to main_arena and mp_.
51803 (malloc_state): Remove pagesize member. Change all users to use
51806 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51807 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51808 is always initialized.
51810 * malloc/malloc.c: Removed unused configurations and dead code.
51811 * malloc/arena.c: Likewise.
51812 * malloc/hooks.c: Likewise.
51813 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51815 * include/tls.h: Removed. USE___THREAD must always be defined.
51816 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51817 * elf/dl-libc.c: Likewise.
51818 * elf/dl-tsd.c: Likewise.
51819 * include/errno.h: Likewise.
51820 * include/netdb.h: Likewise.
51821 * include/resolv.h: Likewise.
51822 * inet/herrno-loc.c: Likewise.
51823 * inet/herrno.c: Likewise.
51824 * malloc/arena.c: Likewise.
51825 * malloc/hooks.c: Likewise.
51826 * malloc/malloc.c: Likewise.
51827 * resolv/res-state.c: Likewise.
51828 * resolv/res_libc.c: Likewise.
51829 * sysdeps/i386/dl-machine.h: Likewise.
51830 * sysdeps/ia64/dl-machine.h: Likewise.
51831 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51832 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51833 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51834 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51835 * sysdeps/sh/dl-machine.h: Likewise.
51836 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51838 * sysdeps/unix/i386/sysdep.S: Likewise.
51839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51840 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51845 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51849 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51850 * sysdeps/x86_64/dl-machine.h: Likewise.
51851 * tls.make.c: Likewise.
51853 * configure.in: Remove --with-__thread option. Make tests for
51854 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51855 tls_model attribute fail if no support is available. Remove
51857 * Makeconfig: Adjust for dropped configure option. All features are
51859 * Makerules: Likewise.
51860 * Versions.def: Likewise.
51861 * argp/argp-fmtstream.c: Likewise.
51862 * argp/argp-fmtstream.h: Likewise.
51863 * argp/argp-help.c: Likewise.
51864 * assert/assert.c: Likewise.
51865 * config.h.in: Likewise.
51866 * config.make.in: Likewise.
51867 * configure: Likewise.
51868 * configure.in: Likewise.
51869 * csu/Versions: Likewise.
51870 * csu/init.c: Likewise.
51871 * elf/tst-audit2.c: Likewise.
51872 * elf/tst-tls10.c: Likewise.
51873 * elf/tst-tls10.h: Likewise.
51874 * elf/tst-tls11.c: Likewise.
51875 * elf/tst-tls12.c: Likewise.
51876 * elf/tst-tls14.c: Likewise.
51877 * elf/tst-tlsmod11.c: Likewise.
51878 * elf/tst-tlsmod12.c: Likewise.
51879 * elf/tst-tlsmod13.c: Likewise.
51880 * elf/tst-tlsmod13a.c: Likewise.
51881 * elf/tst-tlsmod14a.c: Likewise.
51882 * elf/tst-tlsmod15b.c: Likewise.
51883 * elf/tst-tlsmod16a.c: Likewise.
51884 * elf/tst-tlsmod16b.c: Likewise.
51885 * elf/tst-tlsmod7.c: Likewise.
51886 * elf/tst-tlsmod8.c: Likewise.
51887 * elf/tst-tlsmod9.c: Likewise.
51888 * gmon/gmon.c: Likewise.
51889 * grp/fgetgrent_r.c: Likewise.
51890 * grp/putgrent.c: Likewise.
51891 * hurd/fopenport.c: Likewise.
51892 * include/libc-symbols.h: Likewise.
51893 * include/tls.h: Likewise.
51894 * intl/gettextP.h: Likewise.
51895 * intl/loadinfo.h: Likewise.
51896 * locale/global-locale.c: Likewise.
51897 * locale/localeinfo.h: Likewise.
51898 * mach/devstream.c: Likewise.
51899 * malloc/arena.c: Likewise.
51900 * malloc/set-freeres.c: Likewise.
51901 * misc/err.c: Likewise.
51902 * misc/getttyent.c: Likewise.
51903 * misc/mntent_r.c: Likewise.
51904 * posix/getopt.c: Likewise.
51905 * posix/wordexp.c: Likewise.
51906 * pwd/fgetpwent_r.c: Likewise.
51907 * resolv/Versions: Likewise.
51908 * resolv/res_hconf.c: Likewise.
51909 * shadow/fgetspent_r.c: Likewise.
51910 * shadow/putspent.c: Likewise.
51911 * stdio-common/printf_fphex.c: Likewise.
51912 * stdio-common/tmpfile.c: Likewise.
51913 * stdlib/abort.c: Likewise.
51914 * stdlib/fmtmsg.c: Likewise.
51915 * sunrpc/auth_unix.c: Likewise.
51916 * sunrpc/clnt_perr.c: Likewise.
51917 * sunrpc/clnt_tcp.c: Likewise.
51918 * sunrpc/clnt_udp.c: Likewise.
51919 * sunrpc/clnt_unix.c: Likewise.
51920 * sunrpc/openchild.c: Likewise.
51921 * sunrpc/svc_simple.c: Likewise.
51922 * sunrpc/svc_tcp.c: Likewise.
51923 * sunrpc/svc_udp.c: Likewise.
51924 * sunrpc/svc_unix.c: Likewise.
51925 * sunrpc/xdr.c: Likewise.
51926 * sunrpc/xdr_array.c: Likewise.
51927 * sunrpc/xdr_rec.c: Likewise.
51928 * sunrpc/xdr_ref.c: Likewise.
51929 * sunrpc/xdr_stdio.c: Likewise.
51931 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51933 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51935 2011-07-03 Andreas Jaeger <aj@suse.de>
51937 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51938 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51939 regenerate with gen-libm-tests.pl.
51941 2010-05-12 Petr Baudis <pasky@suse.cz>
51944 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51945 around j0() zero points by switching to j1().
51946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51949 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51951 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51953 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51955 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51958 Patch in part by Pavel Roskin <proski@gnu.org>.
51961 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51963 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51964 Free memory block if necessary.
51967 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51968 be NULL. Don't lock in this case.
51970 2011-09-09 Roland McGrath <roland@hack.frob.com>
51972 * elf/elf.h (ELFOSABI_GNU): New macro.
51973 (ELFOSABI_LINUX): Define to that.
51975 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51977 * string/strncat.c (strncat): Undef the symbol in case it has been
51978 defined in bits/string.h.
51980 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51982 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51984 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51987 2011-08-17 Andreas Jaeger <aj@suse.de>
51989 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51991 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51992 Ian Lance Taylor <iant@google.com>
51994 * math/libm-test.inc (lround_test): New testcase.
51995 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51997 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51999 * Makefile: Remove support for automatic cvs check-ins.
52000 * Makerules: Likewise.
52001 * config.make.in: Likewise.
52002 * configure.in: Likewise.
52003 * intl/Makefile: Likewise.
52004 * locale/Makefile: Likewise.
52005 * po/Makefile: Likewise.
52006 * posix/Makefile: Likewise.
52007 * sysdeps/gnu/Makefile: Likewise.
52008 * sysdeps/mach/hurd/Makefile: Likewise.
52009 * sysdeps/sparc/sparc32/Makefile: Likewise.
52012 * posix/Makefile (bug-regex32-ENV): Define.
52013 Patch by John Stanley <jpsinthemix@verizon.net>.
52015 * misc/Makefile (headers): Add bits/select2.h.
52016 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52017 * misc/bits/select2.h: New file.
52018 * include/bits/select2.h: New file.
52019 * debug/Makefile (routines): Add fdelt_chk.
52020 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52021 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52023 * debug/fdelt_chk.c: New file.
52025 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52026 * wcsmbs/test-wmemcmp.c: Likewise.
52027 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52028 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52030 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52032 * string/Makefile (strop-tests): Add memcmp.
52033 * string/test-wmemcmp.c: New file.
52034 * string/test-memcmp.c: Add wmemcmp support.
52036 2011-09-08 Roland McGrath <roland@hack.frob.com>
52039 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52042 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52043 garbage value in a __mach_port_mod_refs call in the cases of the
52044 task-self and thread-self ports.
52046 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52048 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52050 2011-09-08 Andreas Schwab <schwab@redhat.com>
52052 * elf/dl-load.c (lose): Check for non-null L.
52054 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52056 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52058 * elf/dl-libc.c (dlerror_run): Pass back error code from
52062 * elf/dl-load.c (lose): Free l_origin if it is valid.
52064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52070 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52071 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52073 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52075 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52076 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52078 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52079 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52080 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52081 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52082 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52083 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52084 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52086 2011-08-15 Alan Modra <amodra@gmail.com>
52089 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52090 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52091 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52092 ppc_mcount to static-only-routines.
52093 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52095 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52096 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52098 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52100 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52101 for finite and infinity parameters.
52103 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52106 and add nop instructions for throughput optimization.
52107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52109 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52112 aligned copy for power7 with vector-scalar instructions.
52113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52115 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52120 2011-09-07 Andreas Schwab <schwab@redhat.com>
52123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52126 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52129 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52130 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52134 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52136 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52137 Forgot to demangle the pointer.
52139 * sysdeps/i386/sysdep.h: Define atom_text_section.
52140 * sysdeps/x86_64/sysdep.h: Likewise.
52141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52142 section with atom_text_section.
52143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52145 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52149 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52150 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52151 already be defined. Change to take two parameters and don't assign
52152 result to variable. Adjust all users.
52153 Define INTERNAL_GETTIME if not already defined.
52154 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52157 HAVE_CLOCK_GETTIME_VSYSCALL.
52158 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52161 gettimeofday vsyscall, just use time.
52163 2011-09-06 Andreas Schwab <schwab@redhat.com>
52165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52168 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52170 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52174 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52176 syscall if possible.
52178 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52180 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52181 e_ident. Don't pass to find_mapsXX.
52182 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52184 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52187 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52188 * sysdeps/x86_64/multiarch/strchr.S: Update.
52189 Check bit_slow_BSF bit.
52190 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52191 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52194 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52197 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52199 (tryshell): Define.
52200 (__spawni): Change last parameter to be flag. Test
52201 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52202 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52203 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52204 * posix/spawni.c: Likewise.
52205 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52206 * posix/spawnp.c: Likewise. Change normal version to use
52207 SPAWN_XFLAGS_USE_PATH.
52208 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52209 SPAWN_XFLAGS_TRY_SHELL.
52212 * posix/glob.h: Remove gcc 1.x support.
52215 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52217 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52220 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52222 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52223 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52224 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52225 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52226 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52229 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52231 * sysdeps/x86_64/wcscmp.S: New file.
52233 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52234 wcscmp-c wcscmp-sse2
52235 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52236 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52237 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52238 * wcsmbs/wcscmp.c: Allow renaming.
52240 2011-09-05 David S. Miller <davem@davemloft.net>
52242 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52243 stack slot, rather than the struct return pointer slot.
52244 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52245 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52247 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52249 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52251 * po/ja.po: Update from translation team.
52254 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52255 kernel in 64-bit binaries.
52257 2011-09-01 David S. Miller <davem@davemloft.net>
52259 * elf/elf.h (HWCAP_SPARC_*): Move to..
52260 * sysdeps/sparc/sysdep.h: this new file and add new values.
52261 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52262 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52263 _DL_HWCAP_COUNT to 24.
52264 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52266 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52267 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52268 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52270 instead of magic constants.
52271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52273 2011-08-31 David S. Miller <davem@davemloft.net>
52275 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52277 Reimplement to do errno handling inline.
52278 (SYSCALL_ERROR_HANDLER): New macro.
52279 (__SYSCALL_STRING): Do not do errno handling in asm.
52280 (__CLONE_SYSCALL_STRING): Delete.
52281 (__INTERNAL_SYSCALL_STRING): Delete.
52282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52283 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52284 (PSEUDO): Reimplement to do errno handling inline.
52285 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52286 (SYSCALL_ERROR_HANDLER): New macro.
52287 (__SYSCALL_STRING): Do not do errno handling in asm.
52288 (__CLONE_SYSCALL_STRING): Delete.
52289 (__INTERNAL_SYSCALL_STRING): Delete.
52290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52291 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52293 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52294 (inline_syscall*): Add 'err' argument.
52295 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52296 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52297 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52298 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52300 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52301 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52303 2011-08-30 Andreas Schwab <schwab@redhat.com>
52305 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52307 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52309 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52312 2011-08-24 David S. Miller <davem@davemloft.net>
52314 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52316 2011-08-24 Andreas Schwab <schwab@redhat.com>
52318 * elf/Makefile: Add rules to build and run unload8 test.
52319 * elf/unload8.c: New file.
52320 * elf/unload8mod1.c: New file.
52321 * elf/unload8mod1x.c: New file.
52322 * elf/unload8mod2.c: New file.
52323 * elf/unload8mod3.c: New file.
52325 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52328 2011-08-23 David S. Miller <davem@davemloft.net>
52330 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52331 subtract stack bias.
52332 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52333 %sp not %fp in calculations.
52334 (_JMPBUF_UNWINDS_ADJ): Likewise.
52336 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52337 (aio_suspend): Call it to force an exception region around the
52338 AIO_MISC_WAIT() invocation.
52340 2011-08-23 Andreas Schwab <schwab@redhat.com>
52342 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52345 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52347 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52349 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52350 and <dl-machine.h>.
52351 (Elf64_FuncDesc): Remove.
52353 2011-08-22 David S. Miller <davem@davemloft.net>
52355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52356 sigaltstack check, add missing cfi directives.
52357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52358 missing cfi directives, and sigaltstack handling.
52360 2011-08-16 Andreas Schwab <schwab@redhat.com>
52363 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52364 object is seen twice.
52365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52367 * elf/Makefile (distribute): Add tst-initorder2.c.
52368 (tests): Add tst-initorder2.
52369 (modules-names): Add tst-initorder2a tst-initorder2b
52370 tst-initorder2c tst-initorder2d. Add rules to build them.
52371 ($(objpfx)tst-initorder2.out): New rule.
52372 * elf/tst-initorder2.c: New file.
52373 * elf/tst-initorder2.exp: New file.
52375 2011-08-22 Andreas Schwab <schwab@redhat.com>
52377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52379 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52380 dependencies back to end of function.
52382 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52383 $(elfobjdir)/ld.so.
52385 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52388 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52390 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52391 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52392 of __vdso_gettimeofday.
52393 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52394 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52396 (_libc_vdso_platform_setup): Remove initialization of
52397 __vdso_gettimeofday and __vdso_time.
52399 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52401 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52402 and fgetc_unlocked.
52403 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52406 * elf/dl-open.c (add_to_global): Report additions to the global scope
52407 for LD_DEBUG=scopes.
52408 (dl_open_worker): Also print scope of newly loaded dependencies.
52409 (_dl_show_scope): Indicate if there is no scope.
52412 * stdio-common/Makefile (tests): Add bug24.
52413 * stdio-common/bug24.c: New file.
52415 2011-08-19 Andreas Jaeger <aj@suse.de>
52418 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52419 non-existant file when using close-on-exec mode.
52421 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52424 the very first instruction.
52426 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52427 the CFI state in the end.
52428 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52429 inclusion of dl-trampoline.h.
52430 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52432 2011-08-19 Andreas Schwab <schwab@redhat.com>
52434 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52435 expectations for long double.
52437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52438 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52440 2011-08-14 David S. Miller <davem@davemloft.net>
52442 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52443 artificual limit depends upon the system page size.
52445 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52447 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52448 * resolv/Makefile: Define CFLAGS-libresolv.
52450 2011-08-17 Andreas Schwab <schwab@redhat.com>
52452 * nss/makedb.c (compute_tables): Make variables used in nested
52455 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52457 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52458 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52459 if buffer was too small.
52461 * elf/pldd.c (main): Attach to all threads in the process.
52462 Rewrite /proc handling to use *at functions.
52464 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52466 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52467 specifies first scope to show.
52468 (dl_open_worker): Update callers. Move printing scope of new
52469 object to before the relocation.
52470 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52471 * sysdeps/generic/ldsodefs.h: Update declaration.
52473 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52474 string for the scope number.
52476 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52478 * nscd/servicescache.c (cache_addserv): Make sure written is always
52481 2011-08-14 Roland McGrath <roland@hack.frob.com>
52483 * sysdeps/i386/i486/bits/atomic.h
52484 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52485 statement expression, so as to suppress "set but not used" warning.
52486 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52488 * string/strncat.c (STRNCAT): Use prototype definition.
52490 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52491 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52493 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52494 (localedef-modules): Add localedef.
52495 (locale-modules): Add locale.
52497 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52498 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52499 to avoid a warning.
52501 2011-08-14 David S. Miller <davem@davemloft.net>
52503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52504 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52506 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52508 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52509 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52510 * elf/rtld.c (dl_main): Set l_name of vDSO.
52511 Call _dl_show_scope when DL_DEBUG_SCOPES.
52512 (process_dl_debug): Recognize scopes flag and also set it for all.
52513 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52514 Declare _dl_show_scope.
52516 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52517 (do_dlopen): Pass caller_dlopen to dl_open.
52518 (__libc_dlopen_mode): Initialize caller_dlopen.
52520 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52521 of libc. Make tolower call locale-independent. Optimize a bit by
52522 using isdigit instead of isalnum.
52523 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52525 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52527 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52528 was a dependency or dynamically loaded.
52530 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52532 * intl/l10nflist.c: Allow architecture-specific pop function.
52533 * sysdeps/x86_64/l10nflist.c: New file.
52535 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52538 2011-08-10 Andreas Schwab <schwab@redhat.com>
52540 * include/dirent.h: Add libc_hidden_proto for scandirat and
52541 scandirat64. Don't declare __scandirat64.
52542 * dirent/scandirat.c: Add libc_hidden_def.
52543 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52544 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52546 2011-08-10 David S. Miller <davem@davemloft.net>
52548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52554 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52556 * Versions.def [libc]: Add GLIBC_2.15.
52557 * dirent/Makefile (routines): Add scandirat and scandirat64.
52558 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52560 * dirent/dirent.h: Declare scandirat and scandirat64.
52561 * dirent/scandirat.c: New file.
52562 * dirent/scandirat64.c: New file.
52563 * sysdeps/wordsize-64/scandirat.c: New file.
52564 * sysdeps/wordsize-64/scandirat64.c: New file.
52565 * dirent/opendir.c: Define opendirat.
52566 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52568 * dirent/scandir64.c: Adjust for scandir.c change.
52569 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52570 __scandirat64, and __scandir_cancel_handler.
52571 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52572 additional parameter and use openat instead of open (outside of ld.so).
52573 Add new __opendir as wrapper around __opendirat.
52574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52575 here without requiring old scandirat implementation.
52577 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52579 * dirent/scandir.c (cancel_handler): Renamed to
52580 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52581 defined. Adjust users.
52582 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52585 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52587 * string/test-string.h (IMPL): Use __STRING to expand name and then
52590 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52593 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52595 * string/Makefile: Update.
52596 (strop-tests): Append strncat.
52597 * string/test-wcscmp.c: New file.
52598 New comprehensive test for wcscmp.
52599 * string/test-strcmp.c: Update.
52600 (WIDE): New define.
52602 2011-07-22 Andreas Schwab <schwab@redhat.com>
52604 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52607 2011-07-26 Andreas Schwab <schwab@redhat.com>
52609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52610 encoding to ACE if AI_IDN.
52612 2011-08-01 Jakub Jelinek <jakub@redhat.com>
52614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52615 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52617 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52620 Fix overflow bug in strncat.
52621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52623 * string/test-strncat.c: Update.
52624 Add new tests for checking overflow bugs.
52626 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52629 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52630 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52631 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52633 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52634 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52635 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52636 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52639 (USE_AS_STRCAT): Define.
52640 Add strcat and strncat support.
52641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52643 2011-07-25 Andreas Schwab <schwab@redhat.com>
52645 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52646 __n bigger than INT_MAX+1.
52647 (__strncmp_g): Likewise.
52649 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52651 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52652 * libio/stido.h: Likewise.
52654 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52659 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52662 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52666 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52671 (_dl_x86_64_save_sse): Likewise.
52673 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52677 (_dl_x86_64_save_sse): Likewise.
52679 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52681 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52683 2011-07-21 Andreas Schwab <schwab@redhat.com>
52685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52687 (_dl_x86_64_save_sse): Use correct AVX check.
52689 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52692 bug in strncpy/strncat.
52693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52695 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52697 * string/tester.c (test_strcat): Add tests for different alignments
52698 of source and destination.
52699 (test_strncat): Likewise.
52701 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52704 * posix/glob.c (glob): Check passed in values before using them in
52705 expressions to avoid some overflows.
52706 (glob_in_dir): Likewise.
52709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52710 check for AVX enablement so that we don't crash with old kernels and
52712 * elf/tst-audit4.c: Add same checks here.
52713 * elf/tst-audit6.c: Likewise.
52715 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52717 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52719 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52721 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52723 * po/cs.po: Update from translation team.
52724 * po/bg.po: Likewise.
52726 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52728 * misc/sys/cdefs.h: Add support for const attribute.
52729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52730 to gnu_dev_{major,minor,makedev} functions.
52732 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52734 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52736 2011-07-20 Andreas Schwab <schwab@redhat.com>
52738 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52741 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52744 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52745 register in order to avoid conflicts with the soft frame pointer
52746 being held in r11 when necessary.
52747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52748 (INTERNAL_VSYSCALL_NCS): Likewise.
52750 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52752 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52753 * elf/dl-fini.c (_dl_fini): Adjust caller.
52754 * elf/dl-close.c (_dl_close_worker): Likewise.
52755 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52757 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52759 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52760 "aux_cache->nlibs < 0".
52762 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52763 in the reload-count case.
52765 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52768 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52769 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52770 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52771 * sysdeps/x86_64/multiarch/strcat.S: New file.
52772 * sysdeps/x86_64/multiarch/strncat.S: New file.
52773 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52774 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52775 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52776 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52778 (USE_AS_STRCAT): Define.
52779 Add strcat and strncat support.
52780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52781 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52782 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52783 * string/strncat.c: Update.
52784 (USE_AS_STRNCAT): Define.
52785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52786 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52788 * sysdeps/x86_64/multiarch/init-arch.h
52789 (bit_Prefer_PMINUB_for_stringop): New.
52790 (index_Prefer_PMINUB_for_stringop): Likewise.
52791 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52792 bit_Prefer_PMINUB_for_stringop.
52794 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52796 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52798 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52799 of casting of buffer.
52800 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52801 buffer32 and buffer64.
52802 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52803 writes instead of casting of buffer.
52804 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52806 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52809 2011-07-19 Andreas Schwab <schwab@redhat.com>
52811 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52813 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52815 * nscd/nscd.c (termination_handler): Don't do anything for a database
52816 if it has not yet been initialized.
52818 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52820 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52822 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52824 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52826 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52828 * po/nl.po: Update from translation team.
52829 * po/sv.po: Likewise.
52831 2011-07-16 Roland McGrath <roland@hack.frob.com>
52833 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52834 now disallowed by GCC.
52836 * configure.in (use-default-link): Default to yes if a test -shared
52837 link meets our qualifications.
52838 * configure: Regenerated.
52840 * config.make.in (output-format): New variable.
52841 * configure.in: Check for ld --print-output-format support.
52842 * configure: Regenerated.
52843 * Makerules ($(common-objpfx)format.lds)
52844 [$(output-format) != unknown]: Just use $(output-format),
52845 instead of the linker-script munging.
52847 2011-07-14 Roland McGrath <roland@hack.frob.com>
52849 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52850 of $(common-objpfx)shlib.lds.
52851 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52853 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52854 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52856 * configure.in (-z relro check): Adjust test code to add a large
52857 writable data section after it.
52858 * configure: Regenerated.
52860 2011-07-11 Roland McGrath <roland@hack.frob.com>
52862 * configure.in (-z relro check): Fix test code to make the variable
52864 * configure: Regenerated.
52866 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52868 * nscd/nscd.h (struct traced_file): Define.
52869 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52870 elements. Add traced_files.
52871 (inotify_fd): Declare.
52872 (register_traced_file): Declare.
52873 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52874 (inotify_fd): Export.
52875 (resolv_conf_descr): Remove.
52876 (nscd_init): Move inotify descriptor creation to main.
52877 Don't register files for notification here.
52878 (register_traced_file): New function.
52879 (invalidate_cache): Don't use reset_res to determine whether to call
52880 res_init, go through the list of registered files.
52881 (main_loop_poll): The inotify descriptors are now stored in the
52882 structures for the traced files.
52883 (main_loop_epoll): Likewise
52884 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52885 to __nss_disable_nscd.
52886 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52887 for a database anymore. Check the records for all the registered
52889 * nss/Makefile (libnss_files-routines): Add files-init.
52890 (libnss_db-routines): Add db-init.
52891 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52892 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52893 * nss/nss_db/db-init.c: New file.
52894 * nss/nss_files/files-init.c: New file.
52895 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52896 __nss_lookup_function.
52897 (__nss_lookup_function): Call nss_load_library.
52898 (nss_load_all_libraries): New function.
52899 (__nss_disable_nscd): Take parameter with callback function for files
52900 to register. Set is_nscd. Load all the DSOs for the NSS modules
52901 used for the cached services.
52902 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52903 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52904 options for features to all the files in nscd.
52906 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52908 2011-07-10 Roland McGrath <roland@hack.frob.com>
52910 * csu/elf-init.c (__libc_csu_init): Comment typo.
52912 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52914 * po/pl.po: Update from translation team.
52915 * po/ja.po: Likewise.
52916 * po/ru.po: Likewise.
52917 * po/ko.po: Likewise.
52918 * po/fr.po: Likewise.
52920 2011-07-09 Roland McGrath <roland@hack.frob.com>
52922 * configure.in (.ctors/.dtors header and trailer check):
52923 Use an empirical test on a built program.
52924 * configure: Regenerated.
52926 * configure.in (-z relro check): Use an empirical test on a built DSO.
52927 Detect, but do not require, on ia64.
52928 * configure: Regenerated.
52930 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52931 Update tests that use readelf to use $READELF instead.
52932 * configure: Regenerated.
52934 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52936 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52937 if the result is not used.
52939 2011-07-05 Andreas Jaeger <aj@suse.de>
52942 * stdlib/tst-strtod.c: Add testcase.
52944 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52946 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52947 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52948 The latter has a higher limit. Take additional parameter to pass to
52950 (__pathconf): Pass file to __statfs_link_max.
52951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52953 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52957 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52961 (__statfs_filesize_max): Likewise.
52962 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52964 2011-07-05 Andreas Jaeger <aj@suse.de>
52966 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52968 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52970 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52972 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52975 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52977 * Makefile (strop-tests): Add strncat.
52978 * string/test-strncat.c: New file.
52980 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52982 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52984 2011-06-21 Andreas Jaeger <aj@suse.de>
52986 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52987 Copy rule from iconvdata/Makefile.
52989 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52992 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52993 but no long options are defined, just return 'W'.
52995 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52998 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53000 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53002 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53004 (innetgr): Likewise.
53006 2011-07-05 Roland McGrath <roland@hack.frob.com>
53008 * config.make.in (install_root): Default to $(DESTDIR).
53010 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53014 2011-07-02 Roland McGrath <roland@hack.frob.com>
53016 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53018 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53019 containing directory rather than embedding absolute directory names.
53021 * scripts/check-local-headers.sh: Rewritten using awk.
53022 Match by word, not by line. Print error messages for matches.
53023 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53025 * Makerules [shlib-lds-flags empty]:
53026 ($(common-objpfx)libc_pic.opts): New target.
53027 ($(common-objpfx)libc_pic.os.clean): New target.
53028 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53030 * config.make.in (OBJCOPY): New variable.
53031 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53032 * configure: Regenerated.
53034 * config.make.in (use-default-link): New variable.
53035 * configure.in (use_default_link): Grok --with-default-link to set it.
53036 * configure: Regenerated.
53037 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53038 (shlib-lds, shlib-lds-flags): Define to empty.
53040 * Makerules (shlib-lds): New variable.
53041 (shlib-lds-flags): New variable.
53042 (build-shlib, build-moduile, build-module-asneeded): Use it.
53043 ($(common-objpfx)libc.so): Use $(shlib-lds).
53044 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53045 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53047 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53048 DT_FLAGS/DT_FLAGS_1 with zero flags.
53050 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53051 linker script munging.
53053 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53055 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53057 * crypt/sha512.c (sha512_process_block): Perform total addition using
53058 128-bit if possible.
53059 (__sha512_finish_ctx): Likewise.
53060 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53062 * crypt/sha256.c (SWAP64): Define.
53063 (sha256_process_block): Perform total addition using 64-bit if
53065 (__sha256_finish_ctx): Likewise.
53067 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53069 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53071 * nscd/hstcache.c (cache_addhst): Likewise.
53072 * nscd/grpcache.c (cache_addgr): Likewise.
53073 * nscd/aicache.c (addhstaiX): Likewise
53074 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53076 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53078 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53080 * nscd/hstcache.c (cache_addhst): Likewise.
53081 * nscd/grpcache.c (cache_addgr): Likewise.
53082 * nscd/aicache.c (addhstaiX): Likewise
53084 2011-07-01 Andreas Schwab <schwab@redhat.com>
53086 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53087 domain only when needed.
53089 2011-06-30 Andreas Schwab <schwab@redhat.com>
53091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53092 is always restored.
53094 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53096 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53097 are re-adding the entry.
53098 * nscd/servicescache.c (cache_addserv): Likewise.
53100 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53102 * sysdeps/generic/dl-irel.h: fix protection against multiple
53104 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53106 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53109 * malloc/memusage.sh: Fix quoting in message.
53110 * debug/xtrace.sh: Likewise.
53112 * configure.in: Remove support for --experimental-malloc option, make
53114 * config.make.in: Likewise.
53115 * malloc/Makefile: Likewise.
53117 2011-06-27 Andreas Schwab <schwab@redhat.com>
53119 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53120 two-byte characters.
53122 2011-06-27 Roland McGrath <roland@hack.frob.com>
53124 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53125 AC_CACHE_CHECK invocation.
53126 * configure: Regenerated.
53128 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53130 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53133 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53134 bit from old_res_options.
53136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53138 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53139 value type for setfct.
53141 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53144 __gettimeofday instead of gettimeofday.
53146 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53148 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53150 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53157 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53160 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53161 strcpy-sse2-unaligned strncpy-sse2-unaligned
53162 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53163 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53164 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53165 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53166 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53169 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53170 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53171 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53172 (STRCPY): Support SSE2 and SSSE3 versions.
53174 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53178 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53179 kernels which artificially limit size of requests.
53181 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53184 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53185 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53186 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53187 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53188 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53189 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53190 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53193 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53194 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53195 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53196 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53197 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53199 Enable unaligned load optimization for Intel Core i3, i5 and i7
53201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53203 (index_Fast_Unaligned_Load): Define.
53204 (HAS_FAST_UNALIGNED_LOAD): Define.
53206 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53208 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53210 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53214 until it is clear that the information is realy needed.
53215 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53217 2011-06-22 Andreas Schwab <schwab@redhat.com>
53219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53221 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53224 /sys/devices/system/cpu/online if it is usable.
53226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53227 reading the information from the /proc filesystem to once a second.
53229 2011-06-21 Andreas Jaeger <aj@suse.de>
53231 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53232 NULL after inclusion of kernel headers.
53234 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53236 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53237 calls to internal_setent.
53240 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53241 addresses using gethostbyname4_r ignore IPv4 addresses.
53243 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53244 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53246 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53248 2011-06-20 David S. Miller <davem@davemloft.net>
53250 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53252 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53254 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53255 (elf_irel): Use it.
53256 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53257 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53258 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53259 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53260 * sysdeps/x86_64/dl-irel.h: Likewise.
53262 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53263 * elf/dl-sym.c: Likewise.
53265 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53267 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53268 need to dereference resplen2.
53270 2011-06-14 Andreas Schwab <schwab@redhat.com>
53272 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53274 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53276 * Makeconfig: Define vardbdir and inst_vardbdir.
53277 * nss/Makefile: Add rules to install db-Makefile.
53279 * nss/nss_db/db-XXX.c: Cleanup.
53281 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53282 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53284 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53285 * nss/makedb.c: Implement -g option to specify that value strings
53286 are generated and should not be added to table iterated over for
53288 * nss/nss_db/db-initgroups.c: New file.
53290 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53293 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53294 (internal_getgrouplist): Adjust to name change.
53295 Update use_initgroups_entry if this is not the first call.
53296 * nss/databases.def: Add initgroups entry.
53298 * nss/makedb.c (compute_tables): Check result of multiple hash table
53299 sizes to minimize maximum chain length.
53301 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53303 * Versions.def: Add entry for libnss_db.
53304 * shlib-versions: Likewise.
53305 * nss/Makefile: Add rules to build libnss_db.
53306 * nss/Versions: Add libnss_db information. Organize libnss_files
53308 * nss/db-Makefile: Add gshadow support. Change rules for the new
53309 makedb progra. Some minor improvements to generate smaller files.
53310 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53312 * nss/makedb.c: ...here.
53313 Improve database format to be smaller and require less memory at
53315 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53317 * nss/nss_db/db-netgrp.c: Likewise.
53318 * nss/nss_db/db-open.c: Likewise.
53319 * nss/nss_files/flies-XXX.x: Adjust comments.
53320 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53321 * nss/nss_files/files-grp.c: Likewise.
53322 * nss/nss_files/files-hosts.c: Likewise.
53323 * nss/nss_files/files-network.c: Likewise.
53324 * nss/nss_files/files-proto.c: Likewise.
53325 * nss/nss_files/files-pwd.c: Likewise.
53326 * nss/nss_files/files-rpc.c: Likewise.
53327 * nss/nss_files/files-service.c: Likewise.
53328 * nss/nss_files/files-sgrp.c: Likewise.
53329 * nss/nss_files/files-spwd.c: Likewise.
53330 * nss/nss_db/db-alias.c: Removed.
53331 * nss/nss_db/dummy-db.h: Removed.
53333 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53335 * nss/makedb.c: Rewritten to not use database library.
53336 * nss/Makefile: Update to build new makedb program.
53338 2011-06-14 Andreas Jaeger <aj@suse.de>
53340 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53341 memset declaration.
53343 2011-06-10 Andreas Schwab <schwab@redhat.com>
53345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53348 2011-06-10 Roland McGrath <roland@hack.frob.com>
53350 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53351 * elf/Makefile ($(objpfx)ld.so): Likewise.
53353 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53354 Don't list ld.so twice in dependencies.
53356 * posix/bug-regex31.c: Include <stdlib.h>.
53358 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53360 * nis/nss_compat/compat-spwd.c
53361 (getspent_next_nss_netgr): Remove unused variable.
53362 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53364 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53365 nonmembers" output to use the right array.
53367 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53369 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53371 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53372 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53373 * catgets/gencat.c (read_input_file): Likewise.
53374 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53376 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53377 variable definition inside #if's controlling its use.
53379 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53381 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53383 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53385 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53388 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53390 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53391 * configure: Regenerated.
53393 * Makerules: Revert last change.
53394 * elf/Makefile: Likewise.
53396 2011-06-09 Roland McGrath <roland@hack.frob.com>
53398 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53399 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53400 (reloc-link): Likewise.
53402 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53404 * elf/Makefile: Add rules to build pldd.
53405 * elf/pldd.c: New file.
53406 * elf/pldd-xx.c: New file.
53408 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53410 * version.h: Update for 2.15 development version.
53412 2011-06-07 David S. Miller <davem@davemloft.net>
53414 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53417 elf_machine_lazy_rel): Likewise.
53418 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53420 elf_machine_lazy_rel): Likewise.
53421 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53422 dl_hwcap via passed in argument.
53423 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53426 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53428 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53430 2011-06-06 Roland McGrath <roland@hack.frob.com>
53433 * manual/fdl-1.1.texi: New file, verbatim from:
53434 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53435 * manual/lgpl-2.1.texi: New file, verbatim from:
53436 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53437 * manual/Makefile (licenses): New variable, list those new file names.
53439 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53441 * manual/fdl.texi: File removed.
53442 * manual/lesser.texi: File removed.
53443 * manual/libc.texinfo (Copying, Documentation License):
53444 Use new @include file names, put @appendix directive before @include.
53446 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53449 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53450 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53451 (mq_open): Add __NTH.
53453 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53456 Assume Intel Core i3/i5/i7 processor if AVX is available.
53458 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53463 2011-05-31 Andreas Schwab <schwab@redhat.com>
53465 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53466 memory. Use alloca_account. Fix memory leak when retrying.
53468 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53470 * version.h (RELEASE): Bump for 2.14 release.
53471 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53473 * config.make.in (RANLIB): Remove entry.
53475 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53477 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53478 (libc.pot): Work around missing support for .ksh extension in xgettext.
53481 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53482 if both request failed.
53483 (send_dg): In case of server errors clear resplen or *resplen2.
53486 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53487 when there are multiple maps.
53488 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53489 (_dl_fini): Remove test here.
53491 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53493 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53496 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53497 bit from old_res_options.
53498 (gaih_inet): Likewise.
53501 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53504 * resolv/res_init.c (res_setoptions): Make the code more compact.
53507 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53511 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53513 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53516 * malloc/malloc.h: Declare malloc hook variables as volatile.
53518 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53522 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53523 raise in the comment.
53524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53525 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53526 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53528 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53531 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53532 grow the buffers more if it already has to be sufficient.
53533 (build_wcs_upper_buffer): Likewise.
53534 * posix/regexec.c (check_matching): Likewise.
53535 (clean_state_log_if_needed): Likewise.
53536 (extend_buffers): Don't enlarge buffers beyond size of the input
53538 Patches mostly by Emil Wojak <emil@wojak.eu>.
53539 * posix/bug-regex32.c: New file.
53540 * posix/Makefile (tests): Add bug-regex32.
53542 * locale/findlocale.c (_nl_find_locale): Return right away if
53543 _nl_explode_name failed.
53544 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53548 * debug/xtrace.sh: Unify messages.
53549 * malloc/memusage.sh: Likewise.
53552 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53553 time symbol from vDSO. Substitute with vsyscall if not available.
53554 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53557 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53558 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53559 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53560 Add sendmmsg and internal_sendmmsg.
53561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53562 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53565 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53566 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53567 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53569 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53573 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53579 * iconvdata/Makefile (tests): Add bug-iconv9.
53580 * iconvdata/bug-iconv9.c: New file.
53582 2011-05-27 Andreas Schwab <schwab@redhat.com>
53585 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53587 2011-05-25 Jakub Jelinek <jakub@redhat.com>
53589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53590 (struct user_regs_struct): Change intcs field back to cs.
53592 2011-05-25 Ulrich Drepper <drepper@gmail.com>
53594 * po/ja.po: Update from translation team.
53596 2011-05-23 Ulrich Drepper <drepper@gmail.com>
53599 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53600 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53602 2011-05-20 Andreas Schwab <schwab@redhat.com>
53604 * stdlib/longlong.h: Update from GCC.
53606 2011-05-23 Andreas Schwab <schwab@redhat.com>
53608 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53610 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53611 Add parameter name.
53612 (__sysconf): Pass it down.
53614 2011-05-22 Ulrich Drepper <drepper@gmail.com>
53617 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53620 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53621 add in in __libc_use_alloca calls. Adjust callers.
53622 (glob): Use malloc in some situations.
53624 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53625 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53628 2011-05-21 Ulrich Drepper <drepper@gmail.com>
53630 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53631 and CLOCK_BOOTTIME_ALARM.
53634 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53637 * string/_strerror.c (__strerror_r): Print negative errors as signed
53641 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53642 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53643 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53645 * configure.in: Fix typo in redirection and correct removal of test
53646 files in two cases.
53649 * locale/setlocale.c (new_composite_name): Fix test to check for
53650 identical name of all categories.
53653 * libio/filedoalloc.c (local_isatty): New function.
53654 (_IO_file_doallocate): Use local_isatty.
53655 * stdio-common/perror.c (perror): In case a new stream is used
53656 forward the stream error.
53657 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53660 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53665 * include/alloca.h (extend_alloca_account): Define.
53668 * posix/regex.h: Fix comments with documentation of user-accessible
53669 fields after compilation and describe correct free'ing of pattern
53670 after re_compile_pattern.
53671 Patch by Reuben Thomas <rrt@sc3d.org>.
53673 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53675 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53676 and -mno-altivec to prevent the compiler from using Altivec and/or
53677 VSX instructions when the corresponding registers are not available.
53679 2011-05-19 Andreas Schwab <schwab@redhat.com>
53681 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53683 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53685 * libio/freopen.c (freopen): Use __dup2, not dup2.
53686 * libio/freopen64.c (freopen64): Likewise.
53688 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53691 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53692 * math/Makefile (tests): Add test-powl.
53693 (CFLAGS-test-powl.c): Define.
53694 * math/test-powl.c: New file.
53696 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53698 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53700 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53703 * iconvdata/gb18030.c: Update to GB18020-2005.
53705 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53707 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53708 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53709 Patch by Aharon Robbins <arnold@skeeve.com>.
53712 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53716 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53717 through underflows.
53720 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53721 point to strings before performing equality test for error_one_per_line
53725 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53729 (struct user_fpregs_struct): Avoid __uint*_t types.
53732 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53733 symbol info. Use it instead of calling _dl_addr locally.
53734 (lock_and_info): New function.
53735 (tr_freehook): Call lock_and_info and pass symbol info as additional
53736 parameter to tr_where.
53737 (tr_mallochook): Likewise.
53738 (tr_reallochook): Likewise.
53739 (tr_memalignhook): Likewise.
53741 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53742 used and couldn't be at all thread-safe.
53744 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53746 * libio/freopen.c (freopen): Don't close old file descriptor
53747 before the new one is opened. Instead dup the new file descriptor
53748 to the old one after the new stream is created.
53749 * libio/freopen64.c (freopen64): Likewise.
53750 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53751 * libio/fileops.c (_IO_new_file_close_it): Handle new
53752 _IO_FLAGS2_NOCLOSE flag.
53753 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53754 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53755 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53756 _IO_FLAGS2_NOCLOSE flag.
53757 * include/unistd.h: Add hidden_proto for dup3.
53758 Define __have_dup3.
53759 * io/dup3.c: Define hidden symbol.
53760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53763 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53764 when an incomplete long option is used.
53765 * posix/tst-getopt_long1.c: New file.
53766 * posix/Makefile (tests): Add tst-getopt_long1.
53769 * scripts/config.guess: Update from autoconf-2.68.
53770 * scripts/config.sub: Likewise.
53773 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53775 (has_cpuclock): ...this. New function.
53776 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53777 macro here based on has_cpuclock code.
53780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53781 First byte (not low byte) is now always NUL.
53782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53785 Use non-cancelable interfaces.
53788 * locale/iso-639.def: Add entry for Sorani.
53791 * include/stdlib.h: Move include protection to the right place.
53792 Define abort_msg_s. Declare __abort_msg with it.
53793 * stdlib/abort.c (__abort_msg): Adjust type.
53794 * assert/assert.c (__assert_fail_base): New function. Majority
53795 of code from __assert_fail. Allocate memory for __abort_msg with
53797 (__assert_fail): Now call __assert_fail_base.
53798 * assert/assert-perr.c: Remove bulk of implementation. Use
53799 __assert_fail_base.
53800 * include/assert.hL Declare __assert_fail_base.
53801 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53803 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53805 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53809 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53810 until all modules are registered in the DTV.
53811 * elf/Makefile: Add rules to build and run tst-tls19.
53812 * elf/tst-tls19.c: New file.
53813 * elf/tst-tls19mod1.c: New file.
53814 * elf/tst-tls19mod2.c: New file.
53815 * elf/tst-tls19mod3.c: New file.
53816 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53819 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53823 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53824 two-byte sequence errors.
53825 * iconvdata/Makefile (tests): Add bug-iconv8.
53826 * iconvdata/bug-iconv8.c: New file.
53829 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53832 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53835 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53836 (dummy_getcfa): New function.
53837 (init): Get _Unwind_GetCFA address, use dummy if not found.
53838 (backtrace_helper): In recursion check, also check whether CFA changes.
53839 (__backtrace): Completely initialize arg.
53841 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53842 storing incomplete byte sequence in state object. Avoid testing for
53843 guaranteed too small input if we know there is enough data available.
53845 2011-05-11 Andreas Schwab <schwab@redhat.com>
53847 * Makeconfig (+link-pie): Indent.
53848 * Rules (binaries-pie): Define if $(have-fpie) and
53850 (binaries-shared): Also filter out $(binaries-pie).
53851 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53852 * nscd/Makefile (others-pie): Add nscd.
53853 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53854 ($(objpfx)nscd): Remove command override.
53855 * login/Makefile (others-pie): Add pt_chown.
53856 ($(objpfx)pt_chown): Remove command override.
53857 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53858 remove command overrides.
53860 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53862 * libio/tst_putwc.c: Fix error messages.
53865 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53866 currently writing and seek to current position when not.
53867 * libio/Makefile (tests): Add bug-fclose1.
53868 * libio/bug-fclose1.c: New file.
53870 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53873 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53874 don't set DF_1_NODELETE here.
53875 (do_lookup_x): When entering new entry test for copy relocation
53876 and if necessary set DF_1_NODELETE flag.
53877 * elf/tst-unique4.cc: New file.
53878 * elf/tst-unique4.h: New file.
53879 * elf/tst-unique4lib.cc: New file.
53880 * elf/Makefile: Add rules to build and run tst-unique4.
53881 Patch by Piotr Bury <pbury@goahead.com>.
53883 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53886 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53889 * misc/mntent_r.c (addmntent): Flush the stream after the output
53892 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53893 (is_trusted_path_normalize): Skip initial colon. Append slash
53894 to empty buffer. Duplicate is_trusted_path code but allow
53895 constructed patch to be prefix.
53896 (is_dst): Allow $ORIGIN followed by /.
53897 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53898 Correct testing of result of is_trusted_path_normalize
53899 (decompose_rpath): Fix warning.
53901 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53904 * grp/initgroups.c (internal_getgrouplist): When we found the service
53905 list through the initgroups entry in nsswitch.conf do not always
53906 continue on a successful lookup. Don't always use the
53907 __nss_group_database value if it is set.
53908 * nss/nsswitch.conf (initgroups): Change action for successful db
53909 lookup to continue for compatibility.
53911 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53914 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53916 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53918 * iconvdata/tst-tables.sh: Likewise.
53919 * iconvdata/cp770.c: New file.
53920 * iconvdata/cp771.c: New file.
53921 * iconvdata/cp772.c: New file.
53922 * iconvdata/cp773.c: New file.
53923 * iconvdata/cp774.c: New file.
53924 * iconvdata/testdata/CP770: New file.
53925 * iconvdata/testdata/CP770..UTF8: New file.
53926 * iconvdata/testdata/CP771: New file.
53927 * iconvdata/testdata/CP771..UTF8: New file.
53928 * iconvdata/testdata/CP772: New file.
53929 * iconvdata/testdata/CP772..UTF8: New file.
53930 * iconvdata/testdata/CP773: New file.
53931 * iconvdata/testdata/CP773..UTF8: New file.
53932 * iconvdata/testdata/CP774: New file.
53933 * iconvdata/testdata/CP774..UTF8: New file.
53935 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53937 * iconvdata/gen-8bit-gap.sh: Likewise.
53938 * iconvdata/gen-8bit.sh: Likewise.
53940 * locale/iso-639.def: Add ary entry.
53943 * locale/C-translit.h.in: Add U20A1 transliteration.
53946 * locale/iso-639.def: Add wae entry.
53947 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53950 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53954 * locale/C-translit.h.in: Add entry for U20B9.
53955 Patch by pravin.d.s@gmail.com.
53957 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53960 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53961 ENAMETOOLONG use generic getcwd.
53962 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53963 in rtld. Use *stat64.
53964 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53965 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53966 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53967 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53968 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53969 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53970 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53971 __fstatat64 macros.
53972 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53973 * dirent/rewinddir.c: Add libc_hidden_def.
53974 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53975 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53977 * include/dirent.h (__alloc_dir): Add flags parameter.
53978 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53979 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53981 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53982 from fdopendir if O_CLOEXEC is already set.
53984 2011-03-15 Alan Modra <amodra@gmail.com>
53986 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53987 l_tls_firstbyte_offset non-zero. Save padding offset in
53988 l_tls_firstbyte_offset for later use.
53989 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53990 freeing static tls block.
53992 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53994 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53995 where #ifdef was intended. The intent is to prevent ARG_MAX from
53996 being defined by the kernel headers.
53998 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54001 * resolv/resolv.h: Define RES_NOTLDQUERY.
54002 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54003 no-tld-query and set RES_NOTLDQUERY.
54004 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54005 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54006 modern BIND to search name as TLD unless forbidden.
54008 2011-05-07 Petr Baudis <pasky@suse.cz>
54009 Ulrich Drepper <drepper@gmail.com>
54012 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54013 (is_trusted_path): ...to here.
54014 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54015 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54016 using is_trusted_path_normalize() in setuid scripts.
54018 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54021 __BEGIN/__END_DECLS.
54023 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54026 NSS_STATUS_NOTFOUND if no record was found.
54028 2011-05-05 Andreas Schwab <schwab@redhat.com>
54030 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54031 (headers-not-in-tirpc): Remove rpc/netdb.h
54032 * resolv/netdb.h: Revert last change.
54034 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54036 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54037 circular dependency between libgcc.a and libc.a.
54039 2011-05-05 Andreas Schwab <schwab@redhat.com>
54041 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54042 * nis/Makefile: Don't install rpcsvc/*.
54043 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54044 instead of <rpc/types.h>.
54045 (MAXHOSTNAMELEN): Define.
54047 2011-05-03 Andreas Schwab <schwab@redhat.com>
54049 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54051 2011-04-28 Maciej Babinski <mbabinski@google.com>
54054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54055 gethostbyname4_r when IPv6 results are possible.
54057 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54060 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54061 _PC_PIPE_BUF handling.
54063 2011-04-30 Bruno Haible <bruno@clisp.org>
54066 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54067 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54069 * inet/getnameinfo.c (getnameinfo): Likewise.
54071 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54073 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54074 to groups setting in database lookup.
54075 * nss/nsswitch.conf: Add initgroups entry.
54077 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54080 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54082 Patch by Eric Blake <eblake@redhat.com>.
54084 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54086 * sunrpc/Makefile (need-export-routines): Add svc_run.
54087 (routines): Remove svc_run.
54088 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54089 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54090 * sunrpc/svc_run.c (svc_run): Likewise.
54091 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54093 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54096 problem in reallocation in last patch.
54098 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54100 * sunrpc/Makefile: Move inclusion of Rules.
54102 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54104 * nss/nss_files/files-initgroups.c: New file.
54105 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54106 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54107 _nss_files_initgroups_dyn.
54109 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54111 * elf/elf.h (R_ARM_IRELATIVE): Define.
54113 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54115 * po/ru.po: Update from translation team.
54117 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54119 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54122 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54125 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54126 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54131 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54135 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54139 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54142 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54144 * stdlib/bug-getcontext.c: New file.
54145 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54147 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54149 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54150 instructions into .machine "z9-109".
54151 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54152 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54154 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54156 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54157 between environment variables and auxiliary vector.
54159 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54161 * Makefile: Add rules to build linkobj/libc.so.
54162 * include/libc-symbols.h: Define libc_hidden_nolink.
54163 * include/rpc/auth.h: Mark functions which are to be hidden.
54164 * include/rpc/auth_des.h: Likewise.
54165 * include/rpc/auth_unix.h: Likewise.
54166 * include/rpc/clnt.h: Likewise.
54167 * include/rpc/des_crypt.h: Likewise.
54168 * include/rpc/key_prot.h: Likewise.
54169 * include/rpc/pmap_clnt.h: Likewise.
54170 * include/rpc/pmap_prot.h: Likewise.
54171 * include/rpc/pmap_rmt.h: Likewise.
54172 * include/rpc/rpc_msg.h: Likewise.
54173 * include/rpc/svc.h: Likewise.
54174 * include/rpc/svc_auth.h: Likewise.
54175 * include/rpc/xdr.h: Likewise.
54176 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54177 * nss/Makefile: Likewise.
54178 * sunrpc/Makefile: Don't install headers. Build library with normal
54179 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54180 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54181 for the compat linking library. Remove use of INTDEF/INTUSE.
54182 * sunrpc/auth_none.c: Likewise.
54183 * sunrpc/auth_unix.c: Likewise.
54184 * sunrpc/authdes_prot.c: Likewise.
54185 * sunrpc/authuxprot.c: Likewise.
54186 * sunrpc/clnt_gen.c: Likewise.
54187 * sunrpc/clnt_perr.c: Likewise.
54188 * sunrpc/clnt_raw.c: Likewise.
54189 * sunrpc/clnt_simp.c: Likewise.
54190 * sunrpc/clnt_tcp.c: Likewise.
54191 * sunrpc/clnt_udp.c: Likewise.
54192 * sunrpc/clnt_unix.c: Likewise.
54193 * sunrpc/des_crypt.c: Likewise.
54194 * sunrpc/des_soft.c: Likewise.
54195 * sunrpc/get_myaddr.c: Likewise.
54196 * sunrpc/key_call.c: Likewise.
54197 * sunrpc/key_prot.c: Likewise.
54198 * sunrpc/netname.c: Likewise.
54199 * sunrpc/pm_getmaps.c: Likewise.
54200 * sunrpc/pm_getport.c: Likewise.
54201 * sunrpc/pmap_clnt.c: Likewise.
54202 * sunrpc/pmap_prot.c: Likewise.
54203 * sunrpc/pmap_prot2.c: Likewise.
54204 * sunrpc/pmap_rmt.c: Likewise.
54205 * sunrpc/publickey.c: Likewise.
54206 * sunrpc/rpc_cmsg.c: Likewise.
54207 * sunrpc/rpc_common.c: Likewise.
54208 * sunrpc/rpc_dtable.c: Likewise.
54209 * sunrpc/rpc_prot.c: Likewise.
54210 * sunrpc/rpc_thread.c: Likewise.
54211 * sunrpc/rtime.c: Likewise.
54212 * sunrpc/svc.c: Likewise.
54213 * sunrpc/svc_auth.c: Likewise.
54214 * sunrpc/svc_authux.c: Likewise.
54215 * sunrpc/svc_raw.c: Likewise.
54216 * sunrpc/svc_run.c: Likewise.
54217 * sunrpc/svc_simple.c: Likewise.
54218 * sunrpc/svc_tcp.c: Likewise.
54219 * sunrpc/svc_udp.c: Likewise.
54220 * sunrpc/svc_unix.c: Likewise.
54221 * sunrpc/svcauth_des.c: Likewise.
54222 * sunrpc/xcrypt.c: Likewise.
54223 * sunrpc/xdr.c: Likewise.
54224 * sunrpc/xdr_array.c: Likewise.
54225 * sunrpc/xdr_float.c: Likewise.
54226 * sunrpc/xdr_intXX_t.c: Likewise.
54227 * sunrpc/xdr_mem.c: Likewise.
54228 * sunrpc/xdr_rec.c: Likewise.
54229 * sunrpc/xdr_ref.c: Likewise.
54230 * sunrpc/xdr_sizeof.c: Likewise.
54231 * sunrpc/xdr_stdio.c: Likewise.
54233 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54236 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54237 * sysdeps/ia64/dl-tls.h: Likewise.
54238 * sysdeps/powerpc/dl-tls.h: Likewise.
54239 * sysdeps/s390/dl-tls.h: Likewise.
54240 * sysdeps/sh/dl-tls.h: Likewise.
54241 * sysdeps/sparc/dl-tls.h: Likewise.
54242 * sysdeps/x86_64/dl-tls.h: Likewise.
54243 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54245 2011-03-14 Andreas Schwab <schwab@redhat.com>
54247 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54248 rpath element also skip the following colon.
54249 (expand_dynamic_string_token): Add is_path parameter and pass
54250 down to DL_DST_REQUIRED and _dl_dst_substitute.
54251 (decompose_rpath): Call expand_dynamic_string_token with
54252 non-zero is_path. Ignore empty rpaths.
54253 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54256 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54261 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54264 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54265 Patch by Filipe David Manana <fdmanana@apache.org>.
54267 2011-04-07 Andreas Schwab <schwab@redhat.com>
54269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54270 Maintain aligned stack.
54271 (CHECK_RSP): Remove unused macro.
54273 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54275 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54276 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54278 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54280 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54282 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54284 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54287 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54288 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54289 * sysdeps/x86_64/memmove.c: New file.
54290 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54291 (memcpy): Renamed to ...
54292 (__new_memcpy): This.
54293 (memcpy): Provide GLIBC_2_14 memcpy.
54294 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54295 (memcpy): Provide GLIBC_2_2_5 memcpy.
54297 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54300 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54302 2011-03-30 Andreas Schwab <schwab@redhat.com>
54304 * misc/syncfs.c: New file.
54305 * misc/Makefile (routines): Add syncfs.
54306 * posix/unistd.h: Declare syncfs.
54307 * sysdeps/unix/syscalls.list: Add syncfs.
54309 2011-04-01 Andreas Schwab <schwab@redhat.com>
54311 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54313 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54318 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54321 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54325 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54331 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54332 sync_file_range.c with -fexceptions.
54333 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54334 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54335 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54336 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54337 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54338 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54340 sync_file_range as cancellation point
54341 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54342 now a wrapper around __call_sync_file_range with cancellation handling.
54343 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54344 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54345 function name to __call_sync_file_range.
54346 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54347 Add call_sync_file_range.
54349 2011-04-01 Andreas Schwab <schwab@redhat.com>
54351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54354 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54356 * iconv/iconv.h: Fix typo in comment.
54357 * io/fcntl.h: Likewise.
54358 * libio/stdio.h: Likewise.
54359 * posix/spawn.h: Likewise.
54360 * posix/unistd.h: Likewise.
54361 * stdlib/stdlib.h: Likewise.
54362 * time/time.h: Likewise.
54363 * wcsmbs/wchar.h: Likewise.
54365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54366 open_by_handle): Add.
54367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54368 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54369 Augment a few comments.
54370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54375 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54378 * io/fcntl.h (AT_EMPTY_PATH): Define.
54380 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54382 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54383 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54384 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54386 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54387 * Versions.def: Add GLIBC_2.14.
54388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54391 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54393 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54395 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54397 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54400 * string/test-strncmp.c (do_page_test): New function.
54401 (check2): Likewise.
54402 (test_main): Call check2.
54403 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54405 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54409 Handle cache information in CPU leaf 4.
54410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54412 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54415 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54416 character representation.
54417 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54419 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54422 END(__isnan) to END(__isnanf) to match function entry point/label
54423 EALIGN(__isnanf,...).
54425 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54427 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54429 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54432 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54433 copy from the symbol referenced in the relocation to initialize the
54435 Patch by Piotr Bury <pbury@goahead.com>.
54436 * elf/Makefile: Add rules to build and tst-unique3.
54437 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54438 * elf/tst-unique3.cc: New file.
54439 * elf/tst-unique3.h: New file.
54440 * elf/tst-unique3lib.cc: New file.
54441 * elf/tst-unique3lib2.cc: New file.
54443 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54445 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54447 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54448 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54451 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54453 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54454 to-be-loaded object along a path to loader is ld.so.
54456 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54457 Ulrich Drepper <drepper@gmail.com>
54459 * sysdeps/x86_64/memset.S: After aligning destination, code
54460 branches to different locations depending on the value of
54461 misalignment, when multiarch is enabled. Fix this.
54463 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54465 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54466 Set _x86_64_preferred_memory_instruction for AMD processsors.
54467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54468 Set bit_Prefer_SSE_for_memop for AMD processors.
54470 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54472 * libio/fmemopen.c (fmemopen): Optimize a bit.
54474 2011-03-03 Andreas Schwab <schwab@redhat.com>
54476 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54478 2011-03-03 Roland McGrath <roland@redhat.com>
54480 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54482 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54484 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54485 __bzero_ultra1 instead of __memset_ultra1.
54487 2011-02-23 Andreas Schwab <schwab@redhat.com>
54488 Ulrich Drepper <drepper@gmail.com>
54491 * include/link.h (struct link_map): Add l_orig_initfini.
54492 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54493 returning unsuccessfully.
54494 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54495 close of a file loaded at startup, restore the original l_initfini
54497 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54498 list, store the pointer.
54499 * elf/Makefile ($(objpfx)noload-mem): New rule.
54500 (noload-ENV): Define.
54501 (tests): Add $(objpfx)noload-mem.
54502 * elf/noload.c: Include <memcheck.h>.
54503 (main): Call mtrace. Close all opened handles.
54505 2011-02-17 Andreas Schwab <schwab@redhat.com>
54508 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54509 dependencies are missing.
54511 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54513 Fix __if_freereq crash: Unlike the generic version which uses free,
54515 * sysdeps/mach/hurd/ifreq.h: New file.
54517 2011-01-27 Petr Baudis <pasky@suse.cz>
54518 Ulrich Drepper <drepper@gmail.com>
54521 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54522 to extend_alloca().
54523 * stdio-common/bug23.c: New file.
54524 * stdio-common/Makefile (tests): Add bug23.
54526 2010-09-28 Andreas Schwab <schwab@redhat.com>
54527 Ulrich Drepper <drepper@gmail.com>
54530 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54531 before performing relro protection. At old place add assertion
54532 to make sure nothing changed.
54534 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54535 Glauber de Oliveira Costa <glommer@gmail.com>
54537 * elf/elf.h: Add new ARM TLS relocs.
54539 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54542 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54544 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54546 * sysdeps/wordsize-64/tst-writev.c: New file.
54548 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54550 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54551 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54552 insns in _dl_start to prevent a TOC reference before relocs are
54555 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54558 * Makeconfig: Remove RANLIB definition.
54559 * Makerules: Don't use RANLIB.
54560 * aclocal.m4: Remove ranlib test.
54561 * configure.in: No need to check for ranlib.
54562 * elf/rtld-Rules: Don't use RANLIB.
54564 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54566 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54568 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54569 inclusion protection macro.
54571 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54572 SIGRTMIN and SIGRTMAX and print information in that case only when
54573 SIGRTMIN is defined.
54575 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54577 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54578 arginfo fn returning -1.
54580 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54581 and thousands string is zero terminated.
54583 2011-02-03 Andreas Schwab <schwab@redhat.com>
54585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54586 sysdeps/unix/sysv/linux/bits/socket.h.
54588 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54590 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54591 (__CPU_COUNT): Remove old macros.
54592 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54593 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54594 (__CPU_ALLOC, __CPU_FREE): Add macros.
54595 (__sched_cpualloc, __sched_cpufree): Add declarations.
54597 2011-02-05 Ulrich Drepper <drepper@gmail.com>
54599 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54600 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54601 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54602 (readdhstai): Return value of addhstaiX call.
54603 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54604 (addgrbyX): Return value returned by cache_addgr.
54605 (readdgrbyname): Return value returned by addgrbyX.
54606 (readdgrbygid): Likewise.
54607 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54608 (addpwbyX): Return value returned by cache_addpw.
54609 (readdpwbyname): Return value returned by addhstbyX.
54610 (readdpwbyuid): Likewise.
54611 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54612 (addservbyX): Return value returned by cache_addserv.
54613 (readdservbyname): Return value returned by addservbyX:
54614 (readdservbyport): Likewise.
54615 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54616 (addhstbyX): Return value returned by cache_addhst.
54617 (readdhstbyname): Return value returned by addhstbyX.
54618 (readdhstbyaddr): Likewise.
54619 (readdhstbynamev6): Likewise.
54620 (readdhstbyaddrv6): Likewise.
54621 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54622 (readdinitgroups): Return value returned by addinitgroupsX.
54623 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54624 (prune_cache): Keep track of timeout value of re-added entries.
54625 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54626 * nscd/nscd.h: Adjust prototypes of readd* functions.
54628 2011-02-04 Roland McGrath <roland@redhat.com>
54630 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54631 (nis_stats): Likewise.
54632 * nis/nis_modify.c (nis_modify): Likewise.
54633 * nis/nis_remove.c (nis_remove): Likewise.
54634 * nis/nis_add.c (nis_add): Likewise.
54636 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54638 * posix/fnmatch_loop.c: Add some consts.
54640 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54642 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54645 * config.make.in (config-cflags-novzeroupper): Define.
54646 * configure.in: Substitute libc_cv_cc_novzeroupper.
54647 * elf/Makefile (AVX-CFLAGS): Define.
54648 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54649 (CFLAGS-tst-auditmod4a.c): Likewise.
54650 (CFLAGS-tst-auditmod4b.c): Likewise.
54651 (CFLAGS-tst-auditmod6b.c): Likewise.
54652 (CFLAGS-tst-auditmod6c.c): Likewise.
54653 (CFLAGS-tst-auditmod7b.c): Likewise.
54654 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54656 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54658 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54659 function to the callback.
54660 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54662 2011-02-02 Andreas Schwab <schwab@redhat.com>
54664 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54667 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54670 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54672 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54674 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54677 * elf/Makefile: Add rules to build and run new test.
54678 * elf/tst-initorder.c: New file.
54679 * elf/tst-initorder.exp: New file.
54680 * elf/tst-initordera1.c: New file.
54681 * elf/tst-initordera2.c: New file.
54682 * elf/tst-initordera3.c: New file.
54683 * elf/tst-initordera4.c: New file.
54684 * elf/tst-initorderb1.c: New file.
54685 * elf/tst-initorderb2.c: New file.
54686 * elf/tst-order-a1.c: New file.
54687 * elf/tst-order-a2.c: New file.
54688 * elf/tst-order-a3.c: New file.
54689 * elf/tst-order-a4.c: New file.
54690 * elf/tst-order-b1.c: New file.
54691 * elf/tst-order-b2.c: New file.
54692 * elf/tst-order-main.c: New file.
54693 New test case by George Gensure <werkt0@gmail.com>.
54695 2010-10-01 Andreas Schwab <schwab@redhat.com>
54697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54698 decoding ACE if AI_CANONIDN.
54700 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54702 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54704 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54706 * version.h (RELEASE): Bump for 2.13 release.
54707 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54709 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54713 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54714 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54715 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54720 * posix/getconf.c: Update copyright year.
54721 * catgets/gencat.c: Likewise.
54722 * csu/version.c: Likewise.
54723 * debug/catchsegv.sh: Likewise.
54724 * debug/xtrace.sh: Likewise.
54725 * elf/ldconfig.c: Likewise.
54726 * elf/ldd.bash.in: Likewise.
54727 * elf/sprof.c (print_version): Likewise.
54728 * iconv/iconv_prog.c: Likewise.
54729 * iconv/iconvconfig.c: Likewise.
54730 * locale/programs/locale.c: Likewise.
54731 * locale/programs/localedef.c: Likewise.
54732 * malloc/memusage.sh: Likewise.
54733 * malloc/mtrace.pl: Likewise.
54734 * nscd/nscd.c (print_version): Likewise.
54735 * nss/getent.c: Likewise.
54737 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54738 PF_CAIF, and PF_ALG.
54739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54741 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54743 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54744 (modules-names): Use them.
54745 (ifunc-test-modules, ifunc-pie-tests): Define.
54746 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54747 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54748 (test-extras): Likewise.
54749 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54750 $(compile-command.c).
54751 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54752 (all-built-dso): Define.
54753 (check-textrel.out, check-execstack.out): Depend on it.
54755 * configure.in: Don't override --enable-multi-arch.
54757 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54760 * nscd/hstcache.c (tryagain): Define.
54761 (cache_addhst): Return tryagain not notfound for temporary errors.
54762 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54765 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54768 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54769 to make the syscall.
54770 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54773 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54774 and fall back to matching as normal character if the string ends before
54775 the matching ']' is found. This is what POSIX requires.
54776 * posix/testfnm.c: Adjust test result.
54777 * posix/globtest.sh: Adjust test result. Add new test.
54778 * posix/tst-fnmatch.input: Likewise.
54779 * posix/tst-fnmatch2.c: Add new test.
54781 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54783 * elf/Makefile (check-execstack): Revert last change. Depend on
54785 (check-execstack.h): New target.
54786 (generated): Add check-execstack.h.
54787 * elf/check-execstack.c: Include "check-execstack.h".
54788 (main): Revert last change.
54789 (handle_file): Return zero if GNU_STACK is absent and
54790 DEFAULT_STACK_PERMS doesn't include PF_X.
54792 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54794 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54795 in child fails because the descriptor is already closed.
54796 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54797 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54801 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54805 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54806 temporary buffer used to handle multi lookups locally.
54807 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54809 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54811 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54814 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54816 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54817 alignment for SSE2.
54819 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54822 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54823 characters. When rounding increased number of integer digits recompute
54825 * stdio-common/tst-grouping.c: New file.
54826 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54828 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54830 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54831 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54833 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54835 * bits/select.h: Likewise.
54837 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54839 * po/ja.po: Update from translation team.
54841 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54844 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54845 implementation just like for lxstat, fxstatat, et al.
54847 2010-12-27 Jim Meyering <meyering@redhat.com>
54850 * posix/regexec.c (build_trtable): Return failure indication upon
54851 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54853 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54856 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54857 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54862 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54865 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54866 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54868 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54870 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54871 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54872 script has SORT_BY_INIT_PRIORITY.
54873 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54874 NO_CTORS_DTORS_SECTIONS is defined.
54875 * elf/soinit.c: Likewise.
54876 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54877 NO_CTORS_DTORS_SECTIONS is defined.
54878 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54879 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54880 * sysdeps/sh/init-first.c: Likewise.
54881 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54883 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54885 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54886 always use the slow path.
54888 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54890 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54891 similar rule which adds the sysdep directories to the header search in
54892 order to pick up the correct platform stackinfo.h.
54893 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54894 perform test if it is, otherwise return successfully without testing.
54895 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54896 DEFAULT_STACK_PERMS define in stackinfo.h.
54897 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54898 defined in stackinfo.h.
54899 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54900 DEFAULT_STACK_PERMS defined in stackinfo.h.
54901 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54902 * sysdeps/ia64/stackinfo.h: Likewise.
54903 * sysdeps/s390/stackinfo.h: Likewise.
54904 * sysdeps/sh/stackinfo.h: Likewise.
54905 * sysdeps/sparc/stackinfo.h: Likewise.
54906 * sysdeps/x86_64/stackinfo.h: Likewise.
54907 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54908 PF_X for powerpc64. Retain PF_X for powerpc32.
54910 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54912 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54914 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54915 GETDENTS_64BIT_ALIGNED.
54917 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54919 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54921 2010-12-10 Andreas Schwab <schwab@redhat.com>
54923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54926 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54927 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54929 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54930 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54932 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54935 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54938 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54940 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54942 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54944 * po/it.po: Update from translation team.
54946 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54951 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54953 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54955 2010-11-24 Andreas Schwab <schwab@redhat.com>
54957 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54959 (gaih_getanswer_slice): Likewise.
54961 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54965 2010-05-31 Petr Baudis <pasky@suse.cz>
54968 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54969 silently even in the chroot mode.
54971 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54974 last patch a bit. Pretty printing
54976 2010-05-31 Petr Baudis <pasky@suse.cz>
54979 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54980 initialization of skip_initgroups_dyn.
54982 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54987 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54989 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54991 2010-11-11 Andreas Schwab <schwab@redhat.com>
54993 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54994 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54995 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54996 ($(objpfx)tst-fnmatch-mem): New rule.
54997 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54998 * posix/tst-fnmatch.c (main): Call mtrace.
55000 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55003 Support Intel processor model 6 and model 0x2c.
55005 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55007 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55010 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55013 * string/test-strncasecmp.c (check_result): New function.
55014 (do_one_test): Use it.
55015 (check1): New function.
55016 (test_main): Use it.
55017 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55018 Support strcasecmp and strncasecmp.
55020 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55023 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55026 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55028 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55032 * sysdeps/x86_64/multiarch/bzero.S: New file.
55033 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55034 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55035 * sysdeps/x86_64/multiarch/memset.S: New file.
55036 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55038 Set bit_Prefer_SSE_for_memop for Intel processors.
55039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55041 (index_Prefer_SSE_for_memop): Define.
55042 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55044 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55046 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55047 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55049 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55052 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55053 (__x86_64_raw_data_cache_size_half): Likewise.
55054 (__x86_64_raw_shared_cache_size): Likewise.
55055 (__x86_64_raw_shared_cache_size_half): Likewise.
55057 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55058 (__x86_64_raw_data_cache_size_half): Likewise.
55059 (__x86_64_raw_shared_cache_size): Likewise.
55060 (__x86_64_raw_shared_cache_size_half): Likewise.
55061 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55062 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55063 and __x86_64_raw_shared_cache_size_half. Round
55064 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55065 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55066 to multiple of 256 bytes.
55068 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55072 of inacessible symlinks. Verify result of symlink before returning it.
55073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55074 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55076 2010-10-28 Erich Ritz <erichritz@gmail.com>
55078 * math/math.h (isinf): Fix typo in comment.
55080 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55082 * po/da.po: Update from translation team.
55084 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55086 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55087 is added to the list.
55089 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55090 Ulrich Drepper <drepper@gmail.com>
55092 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55093 the global list here. Move code to...
55094 (_dl_add_to_namespace_list): ...here. New function.
55095 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55096 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55097 * elf/dl-load.c (lose): Don't remove the element from the list.
55098 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55099 (_dl_map_object): Likewise.
55101 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55104 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55105 into all bytes of SSE register.
55106 Patch by Richard Li <richardpku@gmail.com>.
55108 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55111 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55114 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55116 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55117 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55119 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55124 2010-10-22 Andreas Schwab <schwab@redhat.com>
55126 * include/dlfcn.h (__RTLD_SECURE): Define.
55127 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55128 mode & __RTLD_SECURE instead.
55129 (open_path): Rename preloaded parameter to secure.
55130 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55131 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55132 * elf/dl-deps.c (openaux): Likewise.
55133 * elf/rtld.c (struct map_args): Remove is_preloaded.
55134 (map_doit): Don't use it.
55135 (dl_main): Likewise.
55136 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55137 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55139 2010-09-09 Andreas Schwab <schwab@redhat.com>
55141 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55142 (sysd-rules-targets): Remove duplicates.
55143 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55144 rtld-%.$o dependency.
55146 2010-10-18 Andreas Schwab <schwab@redhat.com>
55148 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55149 _dl_map_object do it.
55151 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55153 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55154 fast fma builtins, define the macros in the C99 standard.
55155 (FP_FAST_FMAF): Likewise.
55156 (FP_FAST_FMAL): Likewise.
55157 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55159 * bits/mathdef.h: Update copyright year.
55160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55162 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55164 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55165 builtins, define the macros in the C99 standard.
55166 (FP_FAST_FMAF): Likewise.
55167 (FP_FAST_FMAL): Likewise.
55168 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55170 (FP_FAST_FMAF): Likewise.
55172 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55175 * math/libm-test.inc (fma_test): Some new testcases.
55176 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55178 y and infinite z. Do multiplication by C already in long double.
55179 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55181 y and infinite z. Do bitwise or of inexact bit into u.d.
55182 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55183 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55184 * sysdeps/i386/fpu/s_fma.S: Removed.
55185 * sysdeps/i386/fpu/s_fmal.S: Removed.
55187 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55190 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55192 computation is not scheduled after fetestexcept. Fix value
55193 of minimum denormal long double.
55195 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55198 * math/libm-test.inc (fma_test): Add some more tests.
55199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55202 2010-10-15 Andreas Schwab <schwab@redhat.com>
55204 * scripts/data/localplt-s390-linux-gnu.data: New file.
55205 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55207 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55210 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55211 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55213 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55215 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55217 if one of x and y is very large and the other is subnormal.
55218 * sysdeps/s390/fpu/s_fmaf.c: New file.
55219 * sysdeps/s390/fpu/s_fma.c: New file.
55220 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55221 * sysdeps/powerpc/fpu/s_fma.S: New file.
55222 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55223 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55224 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55226 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55229 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55232 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55233 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55234 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55235 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55236 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55237 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55239 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55242 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55243 * posix/bug-regex31.input: Add test case.
55245 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55247 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55248 * posix/bug-regex31.input: New file.
55251 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55252 (parse_sub_exp): Fix last change, use postorder.
55254 * posix/bug-regex31.c: New file.
55255 * posix/Makefile: Add rules to build and run bug-regex31.
55257 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55260 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55263 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55264 to have entries in sys_siglist.
55267 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55270 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55273 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55274 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55275 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55276 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55278 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55279 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55280 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55281 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55282 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55283 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55284 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55285 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55286 * math/ftestexcept.c (fetestexcept): Likewise.
55287 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55288 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55289 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55290 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55291 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55292 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55293 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55295 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55298 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55301 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55303 * string/bug-strstr1.c: New file.
55304 * string/Makefile: Add rules to build and run bug-strstr1.
55306 2010-10-05 Eric Blake <eblake@redhat.com>
55309 * string/str-two-way.h (two_way_long_needle): Always clear memory
55310 when skipping input due to the shift table.
55312 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55315 * malloc/mcheck.c: Handle large requests.
55318 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55319 for strncmp and strncasecmp.
55320 * string/stratcliff.c: Add tests for strcmp and strncmp.
55321 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55323 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55325 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55328 2010-09-30 Andreas Jaeger <aj@suse.de>
55330 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55331 (CGROUP_SUPER_MAGIC): Define.
55332 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55333 Handle btrfs and cgroup file systems.
55334 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55337 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55339 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55340 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55342 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55345 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55346 trying to locate the ELF header.
55348 2010-09-27 Andreas Schwab <schwab@redhat.com>
55351 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55352 Mask out sign-bit copies when constructing f_fsid.
55354 2010-09-24 Petr Baudis <pasky@suse.cz>
55356 * debug/stack_chk_fail_local.c: Add missing licence exception.
55357 * debug/warning-nop.c: Likewise.
55359 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55362 implementing getdents64 using getdents syscall, set d_type if
55363 __ASSUME_GETDENTS32_D_TYPE.
55365 2010-09-16 Andreas Schwab <schwab@redhat.com>
55367 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55368 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55370 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55373 * posix/unistd.h: Undo change of feature selection for ftruncate from
55376 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55378 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55381 2010-09-20 Andreas Schwab <schwab@redhat.com>
55383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55387 2010-09-14 Andreas Schwab <schwab@redhat.com>
55389 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55390 variables after CHECK_SP call.
55391 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55393 2010-09-13 Andreas Schwab <schwab@redhat.com>
55394 Ulrich Drepper <drepper@redhat.com>
55396 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55397 re-relocationg ld.so.
55398 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55399 _dl_init_paths call.
55400 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55403 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55405 * resolv/res_init.c (__res_vinit): Count the default server we added.
55407 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55408 Ulrich Drepper <drepper@redhat.com>
55411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55412 (____longjmp_chk): Use %ebx for saving value across system call.
55415 2010-09-06 Andreas Schwab <schwab@redhat.com>
55417 * manual/Makefile: Don't mix pattern rules with normal rules.
55419 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55421 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55423 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55424 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55425 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55426 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55430 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55433 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55434 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55436 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55438 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55439 * sysdeps/x86_64/addmul_1.S: Likewise.
55440 * sysdeps/x86_64/lshift.S: Likewise.
55441 * sysdeps/x86_64/mul_1.S: Likewise.
55442 * sysdeps/x86_64/rshift.S: Likewise.
55443 * sysdeps/x86_64/sub_n.S: Likewise.
55444 * sysdeps/x86_64/submul_1.S: Likewise.
55446 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55448 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55449 Define __sched_param instead of SCHED_* and sched_param when
55450 <bits/sched.h> is included with __need_schedparam defined.
55451 * bits/sched.h [__need_schedparam]
55452 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55453 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55454 (__defined_schedparam): Define to 1.
55455 (__sched_param): New structure, identical to sched_param.
55456 (__need_schedparam): Undefine.
55458 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55461 (epoll_create1): Declare.
55463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55465 2010-08-31 Andreas Schwab <schwab@redhat.com>
55468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55469 shifting retval into place.
55471 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55473 * nis/rpcsvc/nis.h: Update copyright notice.
55474 * nis/rpcsvc/nis.x: Likewise.
55475 * nis/rpcsvc/nis_callback.h: Likewise.
55476 * nis/rpcsvc/nis_callback.x: Likewise.
55477 * nis/rpcsvc/nis_object.x: Likewise.
55478 * nis/rpcsvc/nis_tags.h: Likewise.
55479 * nis/rpcsvc/yp.h: Likewise.
55480 * nis/rpcsvc/yp.x: Likewise.
55481 * nis/rpcsvc/ypupd.h: Likewise.
55482 * nis/yp_xdr.c: Likewise.
55483 * nis/ypupdate_xdr.c: Likewise.
55485 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55486 mainly the body of pmap_getport. Add parameters to specify timeouts.
55487 (pmap_getport): Use __libc_rpc_getport.
55488 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55489 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55490 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55492 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55497 2010-08-27 Roland McGrath <roland@redhat.com>
55499 * sysdeps/i386/i686/multiarch/Makefile
55500 (CFLAGS-varshift.c): New variable.
55502 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55504 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55505 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55509 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55511 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55513 * sysdeps/x86_64/strlen.S: Unroll the loop.
55514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55515 strlen-sse2 strlen-sse2-bsf.
55516 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55517 __strlen_no_bsf if bit_Slow_BSF is set.
55518 (__strlen_sse42): Removed.
55519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55520 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55522 2010-08-25 Roland McGrath <roland@redhat.com>
55524 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55525 * sysdeps/x86_64/multiarch/varshift.c: New file.
55526 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55527 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55528 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55529 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55531 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55534 strlen-sse2 strlen-sse2-bsf.
55535 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55536 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55537 (__strlen_sse2): Removed.
55538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55541 bit_Slow_BSF for Atom.
55542 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55543 (index_Slow_BSF): Define.
55544 (HAS_SLOW_BSF): Define.
55546 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55549 * resolv/res_init.c (__res_vinit): When no server address at all
55550 is given default to loopback.
55552 2010-08-24 Roland McGrath <roland@redhat.com>
55554 * configure.in: Remove config-name.h generation.
55555 * configure: Regenerated.
55556 * config-name.in: File removed.
55557 * scripts/config-uname.sh: New file.
55558 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55559 ($(objdir)config-name.h): New target.
55561 * sunrpc/rpc_parse.h: Avoid nested comment.
55563 2010-08-24 Richard Henderson <rth@redhat.com>
55564 Ulrich Drepper <drepper@redhat.com>
55565 H.J. Lu <hongjiu.lu@intel.com>
55567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55569 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55570 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55571 _mm_alignr_epi8 with _mm_loadu_si128.
55572 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55573 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55574 (__m128i_shift_right): Removed.
55575 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55576 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55577 * sysdeps/x86_64/multiarch/varshift.h: New file.
55578 * sysdeps/x86_64/multiarch/varshift.S: New file.
55580 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55582 * configure.in: Move assembler checks to before sysdep dir checking.
55584 2010-08-20 Petr Baudis <pasky@suse.cz>
55586 * LICENSES: Sync the sunrpc license.
55588 2010-08-19 Ulrich Drepper <drepper@redhat.com>
55590 * sunrpc/auth_des.c: Update copyright notice once again.
55591 * sunrpc/auth_none.c: Likewise.
55592 * sunrpc/auth_unix.c: Likewise.
55593 * sunrpc/authdes_prot.c: Likewise.
55594 * sunrpc/authuxprot.c: Likewise.
55595 * sunrpc/bindrsvprt.c: Likewise.
55596 * sunrpc/clnt_gen.c: Likewise.
55597 * sunrpc/clnt_perr.c: Likewise.
55598 * sunrpc/clnt_raw.c: Likewise.
55599 * sunrpc/clnt_simp.c: Likewise.
55600 * sunrpc/clnt_tcp.c: Likewise.
55601 * sunrpc/clnt_udp.c: Likewise.
55602 * sunrpc/clnt_unix.c: Likewise.
55603 * sunrpc/des_crypt.c: Likewise.
55604 * sunrpc/des_soft.c: Likewise.
55605 * sunrpc/get_myaddr.c: Likewise.
55606 * sunrpc/getrpcport.c: Likewise.
55607 * sunrpc/key_call.c: Likewise.
55608 * sunrpc/key_prot.c: Likewise.
55609 * sunrpc/openchild.c: Likewise.
55610 * sunrpc/pm_getmaps.c: Likewise.
55611 * sunrpc/pm_getport.c: Likewise.
55612 * sunrpc/pmap_clnt.c: Likewise.
55613 * sunrpc/pmap_prot.c: Likewise.
55614 * sunrpc/pmap_prot2.c: Likewise.
55615 * sunrpc/pmap_rmt.c: Likewise.
55616 * sunrpc/rpc/auth.h: Likewise.
55617 * sunrpc/rpc/auth_unix.h: Likewise.
55618 * sunrpc/rpc/clnt.h: Likewise.
55619 * sunrpc/rpc/des_crypt.h: Likewise.
55620 * sunrpc/rpc/key_prot.h: Likewise.
55621 * sunrpc/rpc/netdb.h: Likewise.
55622 * sunrpc/rpc/pmap_clnt.h: Likewise.
55623 * sunrpc/rpc/pmap_prot.h: Likewise.
55624 * sunrpc/rpc/pmap_rmt.h: Likewise.
55625 * sunrpc/rpc/rpc.h: Likewise.
55626 * sunrpc/rpc/rpc_des.h: Likewise.
55627 * sunrpc/rpc/rpc_msg.h: Likewise.
55628 * sunrpc/rpc/svc.h: Likewise.
55629 * sunrpc/rpc/svc_auth.h: Likewise.
55630 * sunrpc/rpc/types.h: Likewise.
55631 * sunrpc/rpc/xdr.h: Likewise.
55632 * sunrpc/rpc_clntout.c: Likewise.
55633 * sunrpc/rpc_cmsg.c: Likewise.
55634 * sunrpc/rpc_common.c: Likewise.
55635 * sunrpc/rpc_cout.c: Likewise.
55636 * sunrpc/rpc_dtable.c: Likewise.
55637 * sunrpc/rpc_hout.c: Likewise.
55638 * sunrpc/rpc_main.c: Likewise.
55639 * sunrpc/rpc_parse.c: Likewise.
55640 * sunrpc/rpc_parse.h: Likewise.
55641 * sunrpc/rpc_prot.c: Likewise.
55642 * sunrpc/rpc_sample.c: Likewise.
55643 * sunrpc/rpc_scan.c: Likewise.
55644 * sunrpc/rpc_scan.h: Likewise.
55645 * sunrpc/rpc_svcout.c: Likewise.
55646 * sunrpc/rpc_tblout.c: Likewise.
55647 * sunrpc/rpc_util.c: Likewise.
55648 * sunrpc/rpc_util.h: Likewise.
55649 * sunrpc/rpcinfo.c: Likewise.
55650 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55651 * sunrpc/rpcsvc/key_prot.x: Likewise.
55652 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55653 * sunrpc/rpcsvc/mount.x: Likewise.
55654 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55655 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55656 * sunrpc/rpcsvc/rex.x: Likewise.
55657 * sunrpc/rpcsvc/rstat.x: Likewise.
55658 * sunrpc/rpcsvc/rusers.x: Likewise.
55659 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55660 * sunrpc/rpcsvc/spray.x: Likewise.
55661 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55662 * sunrpc/rtime.c: Likewise.
55663 * sunrpc/svc.c: Likewise.
55664 * sunrpc/svc_auth.c: Likewise.
55665 * sunrpc/svc_authux.c: Likewise.
55666 * sunrpc/svc_raw.c: Likewise.
55667 * sunrpc/svc_run.c: Likewise.
55668 * sunrpc/svc_simple.c: Likewise.
55669 * sunrpc/svc_tcp.c: Likewise.
55670 * sunrpc/svc_udp.c: Likewise.
55671 * sunrpc/svc_unix.c: Likewise.
55672 * sunrpc/svcauth_des.c: Likewise.
55673 * sunrpc/xcrypt.c: Likewise.
55674 * sunrpc/xdr.c: Likewise.
55675 * sunrpc/xdr_array.c: Likewise.
55676 * sunrpc/xdr_float.c: Likewise.
55677 * sunrpc/xdr_mem.c: Likewise.
55678 * sunrpc/xdr_rec.c: Likewise.
55679 * sunrpc/xdr_ref.c: Likewise.
55680 * sunrpc/xdr_sizeof.c: Likewise.
55681 * sunrpc/xdr_stdio.c: Likewise.
55683 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55686 2010-08-19 Andreas Schwab <schwab@redhat.com>
55688 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55690 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55692 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55694 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55695 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55696 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55697 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55698 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55699 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55701 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55702 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55703 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55704 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55705 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55707 2010-07-26 Anton Blanchard <anton@samba.org>
55709 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55710 * malloc/arena.c (heap_trim): Likewise.
55712 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55714 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55717 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55719 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55721 * sysdeps/i386/elf/Makefile: New file.
55723 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55725 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55726 from fanotify_init.
55727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55730 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55732 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55734 * sysdeps/multiarch/strcmp.S: Likewise.
55736 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55738 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55739 strncase_l-nonascii.
55740 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55741 Add strncase_l-ssse3.
55742 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55743 * sysdeps/x86_64/strcmp.S: Likewise.
55744 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55745 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55746 * sysdeps/x86_64/strncase.S: New file.
55747 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55748 * sysdeps/x86_64/strncase_l.S: New file.
55749 * string/Makefile (strop-tests): Add strncasecmp.
55750 * string/test-strncasecmp.c: New file.
55752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55755 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55756 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55758 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55760 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55762 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55764 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55768 2010-05-01 Alan Modra <amodra@gmail.com>
55770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55771 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55772 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55773 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55774 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55775 tidying. Don't tail-call __sigjmp_save for static lib.
55776 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55778 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55779 (CALL_MCOUNT): Add eh info, and nop after bl.
55780 (TAIL_CALL_SYSCALL_ERROR): New macro.
55781 (PSEUDO_RET): Use it.
55782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55783 Correct save location of integer regs and cr.
55784 (_dl_profile_resolve): Correct cr save location. Delete nops
55785 after bl when SHARED. Reduce cfi size a little by better
55786 placement of cfi directives.
55787 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55788 make a stack frame. Instead use parm save area as a temp.
55789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55790 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55792 Don't make a stack frame for parent, use parm save area.
55793 Increase child stack frame to 112 bytes. Don't save unused reg,
55794 and adjust reg usage. Set up cfi on error recovery and
55795 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55797 (__makecontext): Add dummy nop after jump to exit.
55798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55799 Use correct parm save area and cr save, reduce stack frame.
55800 Correct cfi for possible PSEUDO_RET frame setup.
55801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55802 Branch to local label emitted by PSEUDO_RET rather than
55805 2010-08-12 Andreas Schwab <schwab@redhat.com>
55808 * locale/programs/locale.c (print_assignment): New function.
55809 (show_locale_vars): Use it.
55811 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55813 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55815 (struct statfs64): Likewise.
55816 (_STATFS_F_FLAGS): Define.
55817 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55819 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55820 (ST_VALID): Define locally.
55821 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55822 __statvfs_getflags, use the provided value.
55823 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55824 __ASSUME_STATFS_F_FLAGS.
55826 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55829 Add sys/fanotify.h.
55830 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55831 fanotify_mask for GLIBC_2.13.
55832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55833 fanotify_init and fanotify_mark.
55834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55835 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55837 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55839 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55840 prlimit64 for GLIBC_2.13.
55841 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55846 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55851 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55854 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55855 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55857 * nss/Makefile: Add rules to build and run tst-nss-test1.
55858 * shlib-versions: Add entry for libnss_test1.
55859 * nss/nss_test1.c: New file.
55860 * nss/tst-nss-test1.c: New file.
55862 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55863 (__nss_configure_lookup): Set appropriate entry in
55864 __nss_configure_lookup to true.
55865 * nss/nsswitch.h: Define enum with indeces of databases in
55866 databases and __nss_database_custom arrays. Declare
55867 __nss_database_custom.
55868 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55869 to avoid using nscd when custom rules are installed.
55870 * nss/getXXbyYY_r.c: Likewise.
55871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55873 * nss/nss_files/files-parse.c: Whitespace fixes.
55875 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55878 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55879 * posix/fnmatch_loop.c: Likewise.
55881 2010-07-17 Andi Kleen <ak@linux.intel.com>
55883 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55884 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55885 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55886 * Versions.def [GLIBC_2.13]: Add.
55888 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55891 Also fail if tpwd after pwuid call is NULL.
55893 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55895 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55896 when converting to ms.
55898 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55900 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55901 EOPNOTSUPP errors with ENOTTY.
55902 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55903 EOPNOTSUPP errors with ENOTTY.
55905 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55907 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55908 Add strcasecmp_l-ssse3.
55909 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55911 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55913 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55915 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55917 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55919 * string/Makefile (strop-tests): Add strcasecmp.
55920 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55921 strcasecmp_l-nonascii.
55922 (gen-as-const-headers): Add locale-defines.sym.
55923 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55924 * sysdeps/x86_64/strcasecmp.S: New file.
55925 * sysdeps/x86_64/strcasecmp_l.S: New file.
55926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55927 * sysdeps/x86_64/locale-defines.sym: New file.
55928 * string/test-strcasecmp.c: New file.
55930 * string/test-strcasestr.c: Test both ends of the range of characters.
55931 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55933 2010-07-29 Roland McGrath <roland@redhat.com>
55936 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55938 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55940 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55943 2010-07-27 Andreas Schwab <schwab@redhat.com>
55945 * manual/memory.texi (Malloc Tunable Parameters): Document
55948 2010-07-26 Roland McGrath <roland@redhat.com>
55951 * configure.in (-fgnu89-inline check): Set and substitute
55952 gnu89_inline, not libc_cv_gnu89_inline.
55953 * configure: Regenerated.
55954 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55956 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55958 * string/test-strnlen.c: New file.
55959 * string/Makefile (strop-tests): Add strnlen.
55960 * string/tester.c (test_strnlen): Add a few more test cases.
55961 * string/tst-strlen.c: Better error reporting.
55963 * sysdeps/x86_64/strnlen.S: New file.
55965 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55967 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55968 lower-latency instructions.
55970 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55972 * string/test-strcasestr.c: New file.
55973 * string/test-strstr.c: New file.
55974 * string/Makefile (strop-tests): Add strstr and strcasestr.
55975 * string/str-two-way.h: Don't undefine MAX.
55976 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55978 2010-07-21 Andreas Schwab <schwab@redhat.com>
55980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55981 strcasestr-nonascii.
55982 (CFLAGS-strcasestr-nonascii.c): Define.
55983 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55985 Remove unused attribute.
55987 2010-07-20 Roland McGrath <roland@redhat.com>
55989 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55990 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55991 ld.so.cache was broken. With it, there is no way to disable dsocaps
55992 like LD_HWCAP_MASK can disable hwcaps.
55994 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55996 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55998 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56000 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56001 call in strcasestr.
56002 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56003 __strcasestr_sse42_nonascii.
56004 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56005 strcasestr-nonascii.c.
56006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56008 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56015 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56020 2010-07-06 Andreas Schwab <schwab@redhat.com>
56023 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56026 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56029 _PC_PIPE_BUF using F_GETPIPE_SZ.
56031 2010-07-05 Roland McGrath <roland@redhat.com>
56033 * manual/arith.texi (Rounding Functions): Fix rint description
56034 implicit in round description.
56036 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56038 * elf/Makefile: Fix linking for a few tests to make recent linker
56041 2010-06-30 Andreas Schwab <schwab@redhat.com>
56043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56044 $(common-objpfx)libc_nonshared.a.
56046 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56048 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56049 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56050 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56051 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56052 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56054 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56055 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56070 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56071 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56072 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56073 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56074 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56075 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56076 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56077 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56078 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56079 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56080 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56081 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56097 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56099 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56100 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56101 * string/memmove.c (memmove): Renamed to ...
56102 (MEMMOVE): ...this. Default to memmove.
56103 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56104 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56107 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56108 mempcpy-ssse3-back memmove-ssse3-back.
56109 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56112 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56113 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56114 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56115 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56116 * sysdeps/x86_64/multiarch/memmove.c: New file.
56117 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56118 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56119 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56120 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56124 (index_Fast_Copy_Backward): Define.
56125 (HAS_ARCH_FEATURE): Define.
56126 (HAS_FAST_REP_STRING): Define.
56127 (HAS_FAST_COPY_BACKWARD): Define.
56129 2010-06-21 Andreas Schwab <schwab@redhat.com>
56131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56132 Restore proper fallback handling.
56134 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56137 * posix/group_member.c (__group_member): Correct checking loop.
56139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56140 OOM in getpwuid_r correctly. Return error number when the caller
56141 should return, otherwise -1.
56142 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56143 call returning > 0 value.
56144 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56146 2010-06-07 Andreas Schwab <schwab@redhat.com>
56148 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56149 libc_nonshared.a from targets in modules-names.
56151 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56153 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56156 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56158 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56163 2010-06-02 Andreas Schwab <schwab@redhat.com>
56165 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56167 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56178 2010-06-14 Roland McGrath <roland@redhat.com>
56180 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56182 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56184 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56185 __REDIRECT followed by __THROW.
56186 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56187 * posix/getopt.h (getopt): Likewise.
56189 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56191 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56192 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56193 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56195 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56196 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56198 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56202 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56206 Properly check family and model.
56208 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56210 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56212 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56214 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56216 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56218 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56221 2010-05-19 Andreas Schwab <schwab@redhat.com>
56223 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56226 2010-05-21 Andreas Schwab <schwab@redhat.com>
56228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56229 and internal_recvmmsg.
56230 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56231 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56232 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56233 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56235 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56236 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56237 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56239 2010-05-20 Andreas Schwab <schwab@redhat.com>
56241 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56243 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56245 POWER7 optimizations.
56246 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56247 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56249 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56251 * version.h: Update for 2.13 development version.
56253 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56255 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56256 exceptions. Return 0.
56258 2010-05-07 Roland McGrath <roland@redhat.com>
56260 * elf/ldconfig.c (main): Add a const.
56262 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56264 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56265 (args_options): Add no-idn option.
56266 (ahosts_keys_int): Add idn_flags to ai_flags.
56267 (parse_option): Handle 'i' option to clear idn_flags.
56269 * malloc/malloc.c (_int_free): Possible race in the most recently
56270 added check. Only act on the data if no current modification
56273 See ChangeLog.17 for earlier changes.